Skip to content

Commit fd301ee

Browse files
resolve comments
1 parent 28c63e4 commit fd301ee

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
[![Total Downloads](https://img.shields.io/packagist/dt/thethunderturner/filament-latex.svg?style=flat-square)](https://packagist.org/packages/thethunderturner/filament-latex)
77

88
Filament LaTeX is a powerful package that allows you to generate PDFs from LaTeX templates. The plugin is still in development, but the basic functionality is implemented.
9+
<div style="display: flex; align-items: center; justify-content: center;">
10+
<img src="assets/filament-latex.png" alt="Filament LaTeX" style="margin-right: 10px; width: 45%;">
11+
<img src="assets/filament-latex-upload.png" alt="Filament LaTeX Upload" style="width: 45%;">
12+
</div>
913

1014
## Installation
1115

@@ -16,7 +20,7 @@ sudo pacman -S texlive-full # for arch based systems
1620
brew install texlive-full # for MacOS
1721
```
1822
If you are on Windows then please visit the [TeX Live website](https://tug.org/texlive/windows.html) and follow the instructions. \
19-
After you have installed `textlive`, find where the `pdflatex` binary is located by running this in your console:
23+
After you have installed `texlive`, find where the `pdflatex` binary is located by running this in your console:
2024
```bash
2125
which pdflatex # for Unix based systems
2226
where pdflatex # for Windows

assets/filament-latex-upload.png

161 KB
Loading

assets/filament-latex.png

152 KB
Loading

database/migrations/create_filament_latex_table.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@
1111
*/
1212
public function up(): void
1313
{
14-
// Dont forget to delete (DEV ONLY)
15-
if (Schema::hasTable('filament-latex')) {
16-
Schema::dropIfExists('filament-latex');
17-
}
1814
Schema::create('filament-latex', function (Blueprint $table) {
1915
$table->id();
2016
$table->string('name');

resources/views/components/latex-index.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class="border border-gray-200 rounded-lg dark:border-gray-700"
2929
@if($pdfUrl)
3030
<iframe
3131
x-data="{ pdfUrl: @js($pdfUrl) }"
32-
x-on:document-compiled.window="pdfUrl = @js($pdfUrl) + '?' + new Date().getTime()"
32+
x-on:document-compiled.window="pdfUrl"
3333
class="w-full h-screen"
3434
:src="pdfUrl"
3535
>

0 commit comments

Comments
 (0)