diff options
-rwxr-xr-x | Makefile | 2 | ||||
-rw-r--r-- | pdf/template.tex | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -5,7 +5,7 @@ METADATA = ebook/metadata.xml TOC = --toc --toc-depth=2 --epub-chapter-level=2 COVER_IMAGE = docs/cover.png LATEX_CLASS = book -PANDOC_TEX = pandoc --from="markdown_mmd+link_attributes" $(TOC) --latex-engine=xelatex -V documentclass=book +PANDOC_TEX = pandoc --from="markdown_mmd+link_attributes+backtick_code_blocks" $(TOC) --latex-engine=xelatex -V documentclass=book TEMPLATE=./pdf PREFACES = docs/foreword-trans.md \ docs/foreword-v3.md \ diff --git a/pdf/template.tex b/pdf/template.tex index 5e4e1ed..d0f0eb4 100644 --- a/pdf/template.tex +++ b/pdf/template.tex @@ -171,6 +171,7 @@ framexleftmargin=20pt % below for code syntax highlight \usepackage{fancyvrb} +\VerbatimFootnotes %\DefineShortVerb[commandchars=\\\{\}]{\|} \DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\},frame=leftline,fontsize=\small} % Add ',fontsize=\small' for more characters per line |