We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2683f9a commit 2b21cd5Copy full SHA for 2b21cd5
.github/workflows/book.yml
@@ -31,7 +31,7 @@ jobs:
31
32
- name: Build Some LaTeX
33
run: |
34
- pandoc --to latex md/cover.md $(grep -o '\(md/.*\.md\)' md/SUMMARY.md | tr -d '(' | tr -d ')') --toc --template ./eisvogel.latex --top-level-division=chapter -V documentclass=book -V classoption=oneside --no-highlight |
+ pandoc --to latex md/cover.md $(grep -o '\(.*\.md\)' md/SUMMARY.md | tr -d '(' | tr -d ')' | sed 's/^/md\//') --toc --template ./eisvogel.latex --top-level-division=chapter -V documentclass=book -V classoption=oneside --no-highlight |
35
sed -e 's/\\begin{verbatim}/\\begin{minted}{Lean}/' -e 's/{verbatim}/{minted}/' -e's/% Listings/\\usepackage{minted}\n\\newmintinline[lean]{pygments\/lean4.py:Lean4Lexer -x}{bgcolor=white}\n\\newminted[leancode]{pygments\/lean4.py:Lean4Lexer -x}{fontsize=\\footnotesize}\n\\setminted{fontsize=\\footnotesize, breaklines}\n/' >out.tex
36
37
- name: Build a PDF
0 commit comments