Skip to content

Commit 04d53c5

Browse files
committed
📚 Install ImageMagick
1 parent a70591a commit 04d53c5

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v4
15+
- name: Install ImageMagick
16+
run: |
17+
sudo apt-get install -y imagemagick
1518
- name: Install ansitoimg
1619
run: |
1720
sudo apt-get install pipx

docs/src/man/latex/latex_examples.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ table = pretty_table(
6868
backend = :latex
6969
)
7070
71-
# create_latex_example(table, "latex_example_01.png")
71+
create_latex_example(table, "latex_example_01.png")
7272
```
7373

7474
```@raw html
@@ -150,7 +150,7 @@ table = pretty_table(
150150
table_format = latex_table_format__booktabs
151151
)
152152
153-
# create_latex_example(table, "latex_example_02.png")
153+
create_latex_example(table, "latex_example_02.png")
154154
```
155155

156156
![LaTeX Example 02](./latex_example_02.png)
@@ -217,7 +217,7 @@ table = pretty_table(
217217
table_format = latex_table_format__booktabs
218218
)
219219
220-
# create_latex_example(table, "latex_example_03.png")
220+
create_latex_example(table, "latex_example_03.png")
221221
```
222222

223223
```@raw html

docs/src/man/usage.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ function create_latex_example(table, filename)
2727
2828
run(`lualatex table.tex`)
2929
run(`lualatex table.tex`)
30-
run(`pwd`)
31-
run(`ls -la`)
3230
run(`magick -density 600 table.pdf -flatten -trim $filename`)
3331
run(`mv $filename ..`)
3432
cd("..")

0 commit comments

Comments
 (0)