EB Garamond's bold weight ships with only 127 cmapped glyphs --- no
Latin Extended-A, no Vietnamese, no Greek, no Cyrillic, no fi/fl
ligatures --- so any bold text containing accented characters
(Polish, Czech, Vietnamese, etc., as well as bold author names in
citations) renders as tofu boxes or font-fallback substitutions.
Switch the default body font in paper_template, memo_template, and
letter_template to Libertinus Serif. It ships in texlive-fonts-extra,
has comprehensive Latin / Vietnamese / Greek / Cyrillic coverage in
every weight, and includes all the standard f-ligatures explicitly.
Each template also picks up a commented-out
\\setmainfont{Garamond Premier Pro} block plus a short note: Adobe
Garamond Premier Pro is Mako's preferred body font but is commercial
and not redistributable, so the public templates default to
Libertinus and CDSC members can swap in once they have the font
installed (e.g., in ~/.fonts/).
README updated to match.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Bring the knitr paper template up to date with the typography work
on master. The preamble now mirrors master's paper_template/text.tex:
- \DocumentMetadata{pdfstandard=ua-2} + tagpdf instead of the old
memoir / pdfmanagement-only setup
- article class with cdsc-paper.sty (the article-class replacement
for cdsc-memoir.sty added on master)
- fontspec with EB Garamond and TeX Gyre Heros, plus
\defaultfontfeatures{Ligatures=TeX} so --, ---, ``, '' work
- Makefile builds with latexmk -lualatex instead of -pdf
The knitr-specific bits are preserved unchanged:
- <<init>>= chunk for knit_hooks and resources/preamble.R
- <<test_table>>= chunk demonstrating kable inside a table float
- %.tex: %.Rtex pattern rule for knit() in the Makefile
verapdf --flavour ua2: 0 failures, 1723 passed rules.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Newer knitr injects \usepackage[]{xcolor} instead of \usepackage[]{color},
so the old hook never matched and dvipsnames colors (e.g. Blue) were undefined.
- removed article-1 form since this is never used
- renamed styles as cdsc-article and cdsc-memo
- added documentation to the text.tex file
- copied similar code out of the chapterstyle definitions
- rebranded things so they are now cdsc-memoir instead of mako-mem
- Padded right/left margins to decrease line length based on research into
general typographic standards.
- Shrunk linespacing to decrease line-spacing to bring this in line with
general typographic standards.
- Added comments explaining the changes and basic typographic decisions.
- Renamed some variables to make it more clear about the relationships between
pagestyles.
- Added the vc-git and vc-awk scripts into the repository so folks don't have
to go hunting for them.
- Made VC stuff generated by default in Makefile.
- Increased the amount of sample text so we can actually see the effects on
full pages of text.
1. Tweaked the refs.bib work in the makefile so that it removes the
refs-cleaned.bib intermediary step and so that it only rebuilds the
refs when it needs to.
2. Tweaked the article-2 stylesheet so that subsubsection headers are
not smaller than normal text.
3. Changed the list rendering so that it's smaller (firmlists).
(1) by default, use slightly smaller section headings font style
(2) by default, use "real" \scshape w/o \MakeLowerCase
(3) add commented out code to turn on (sub)section numbering