basic-book-builder/templates/pandoc.yaml

64 lines
1.5 KiB
YAML

# pandoc.yaml
input-files:
# - chapters/Preface.md
- chapters/00_Introduction.md
- chapters/01_Getting_Started.md
# - chapters/02_Usage.md
- chapters/03_Features.md
- chapters/04_Design.md
# - chapters/Appendix.md
# - chapters/AppendixA.md
# - chapters/AppendixB.md
- chapters/Glossary.md
- chapters/Index.md
- chapters/Bibliography.md
from: markdown+yaml_metadata_block+raw_tex
standalone: true
metadata:
mainfont: "TeX Gyre Termes"
sansfont: "TeX Gyre Heros"
monofont: "TeX Gyre Cursor"
# mainfont: "Libertinus Serif"
# sansfont: "Libertinus Sans"
# monofont: "Libertinus Mono"
# mainfont: "Times New Roman"
# sansfont: "Arial"
# monofont: "Consolas"
# mainfont: "Noto Serif"
# sansfont: "Noto Sans"
# monofont: "Noto Sans Mono"
# mainfont: "Libertinus Serif"
# sansfont: "Libertinus Sans"
# monofont: "DejaVu Sans Mono"
date: "" # <-- forces maketitle to exist, but blank
link-citations: true
variables:
documentclass: extbook # options: report, book, article
fontsize: 9pt
geometry:
- margin=1in
toc: true # ✅ Pandoc-recognized variable
toc-depth: 3 # ✅ nested inside variables
toc-title: "Contents" # ✅ controls TOC heading
numbersections: true # ✅ correct key (not number-sections)
colorlinks: true # nice PDF hyperlinks
linkcolor: blue
graphics: true
float: false
figure-latex-placement: H
# suppress-chapter: true
resource-path:
- .
- lib/img
- lib/diag
citeproc: true
bibliography: lib/zotero.bib