A personal collection of defaults files for pandoc (specified via the -d switch).
ms.yaml and companions is a set of defaults files for (g)roff ms output, primarily for PDF. It assumes the presence of the lua filters listed in ms.yaml, as well as the template bk.ms.
Aside from the main file, the following additional defaults for ms are currently present:
-
ms/div: Filtering settings for fenced divs, by class and by attribute (such aslang). -
ms/toc: Adds a table of contents to the end of the document. -
ms/coverpage: Adds a table of contents and renders a title page (instead of a title/author section at the top of the first page). -
Font (family, pointsize, lineheight) settings under
ms/fonts/:als: Alegreya Sans.cm: New Computer Modern Serif + New Computer Modern Sans (for headings).cr: Crimson Text.gar: EB Garamond + FiraGO.garlib: Garamond Libre + FiraGO.lf: Libertinus + FiraGO.lora: Lora.mm: Minion + Myriad.plain: Times + Helvetica ("native" fonts T and H)pal: Palatino + Avant Garde ("native" fonts P and A)ss: Source Serif + Source Sans.t: Free Serif (a Times-like font, hence the abbreviation).
Typical usage:
pandoc -d ms -d ms/div -d ms/fonts/gar -o my.pdf my.mdxe.yaml and companions is a set of default files for LaTeX/PDF output using XeLaTex. The files in the xe/ directory are font settings, named by short mnemonic. Currently these are:
cam: Cambria + Source Sanscaslon: Caslon + Futuracm: New Computer Modern Serif + Sanscrim: Crimson Pro + Alegreya Sansgar: EB Garamond + FiraGO.mm: Minion + Myriadpal: Palatino + Avant Gardept: PT Serif + PT Sanssabon: Sabon + Futura
Typical usage:
pandoc -d xe -d xe/gar -o my.pdf my.mdThe default fontsize is 11pt; to change this set the fontsize variable.