Skip to content

Commit 4e098cd

Browse files
ClémentClément
authored andcommitted
Adding dep. to pdftoppm.
1 parent 9cfed01 commit 4e098cd

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build_and_deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
sudo apt-get update
5757
test -f pandoc-3.6.3-1-amd64.deb || wget https://github.com/jgm/pandoc/releases/download/3.6.3/pandoc-3.6.3-1-amd64.deb
5858
sudo dpkg -i pandoc-3.6.3-1-amd64.deb
59-
sudo apt-get install -y texlive texlive-xetex texlive-latex-extra lmodern librsvg2-bin fonts-symbola pdf2svg
59+
sudo apt-get install -y texlive texlive-xetex texlive-latex-extra lmodern librsvg2-bin fonts-symbola pdf2svg pdftoppm
6060
6161
pip install --upgrade pip
6262
pip install Pygments pandoc-include

.github/workflows/build_and_deploy_no_fetch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
sudo apt-get update
5353
test -f pandoc-3.6.3-1-amd64.deb || wget https://github.com/jgm/pandoc/releases/download/3.6.3/pandoc-3.6.3-1-amd64.deb
5454
sudo dpkg -i pandoc-3.6.3-1-amd64.deb
55-
sudo apt-get install -y texlive texlive-xetex texlive-latex-extra lmodern librsvg2-bin fonts-symbola pdf2svg
55+
sudo apt-get install -y texlive texlive-xetex texlive-latex-extra lmodern librsvg2-bin fonts-symbola pdf2svg pdftoppm
5656
pip install --upgrade pip
5757
pip install Pygments pandoc-include
5858
- name: Setup mermaid-filter

source/docs/about/dev_guide.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ The `{ width=80% }` attribute is optional.
217217
##### Images generated by LaTeX
218218

219219
Some images are generated by LaTeX: the `.tex` file is what is used to generate the `.pdf` file, and then pdf2svg converts the `.pdf` into a `.svg` file.
220+
pdftoppm furthermore convert the `.pdf` into a `.png`.
221+
<!-- TODO: update the following. -->
220222
The `.svg` files are used in the `.html`, `.odt` and `.docx` documents, while the `.pdf` is used in the `.pdf` documents.
221223
The resulting images are added to the repository so that there is no need to re-compile them every time, or to set-up LaTeX and latexmk on each system.
222224

0 commit comments

Comments
 (0)