Skip to content

Commit cf4218d

Browse files
committed
BRK: Use pandoc --pdf-engine=pdflatex because more lightweight
1 parent 0bcb40f commit cf4218d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
# test_pdf_pandoc
4040
- run: |
4141
sudo apt-get update && sudo apt-get install --no-install-recommends \
42-
texlive-xetex lmodern texlive-fonts-recommended
42+
texlive-latex-base lmodern texlive-fonts-recommended
4343
- run: wget --no-clobber -O/tmp/pandoc.deb https://github.com/jgm/pandoc/releases/download/3.1.12.2/pandoc-3.1.12.2-1-amd64.deb || true
4444
- run: sudo dpkg -i /tmp/pandoc.deb
4545

pdoc/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ def docfilter(obj, _filters=args.filter.strip().split(',')):
625625
_PANDOC_COMMAND = '''\
626626
pandoc --metadata=title:"MyProject Documentation" \\
627627
--from=markdown+abbreviations+tex_math_single_backslash \\
628-
--pdf-engine=xelatex --variable=mainfont:"DejaVu Sans" \\
628+
--pdf-engine=pdflatex --variable=mainfont:"DejaVu Sans" \\
629629
--toc --toc-depth=4 --output=/tmp/pdoc.pdf pdf.md
630630
'''
631631

0 commit comments

Comments
 (0)