18
0

53 Commits

Author SHA1 Message Date
c95896bd50 templates: swap EB Garamond for Libertinus Serif
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>
2026-05-11 15:59:55 -07:00
a3e469ca3f paper_template (knitr): port to master's article + lualatex stack
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>
2026-05-11 09:47:22 -07:00
9b5ca55478 Merge branch 'master' into knitr 2026-03-23 12:49:32 +09:00
86fbf0f0a6 remove deprecated option to xcolor (usenames) 2026-03-23 12:48:34 +09:00
da76fb674e remove deprecated option to xcolor (usenames) 2026-03-23 12:47:39 +09:00
5af07a555f Merge branch 'master' into knitr
moving both versions from color to xcolor
2026-03-21 16:04:59 +09:00
5d115f3b36 move from color to xcolor 2026-03-21 16:03:32 +09:00
d8e90cd7d3 Merge branch 'master' into knitr 2026-03-21 16:01:47 +09:00
c92fd3b8be Merge branch 'knitr' of ssh://gitea.communitydata.science:2200/collective/cdsc_tex into knitr 2026-03-21 16:01:09 +09:00
ec596703e2 fix color hook for newer knitr versions
Newer knitr injects \usepackage[]{xcolor} instead of \usepackage[]{color},
so the old hook never matched and dvipsnames colors (e.g. Blue) were undefined.
2026-03-21 15:55:24 +09:00
c3e2622e1d set vertical whitespace around subsection headers to be the same as section headers in memos. 2020-06-16 17:13:22 -07:00
eb509bcfb8 changed sharelatex mode to overleaf mode 2019-08-08 10:53:40 -07:00
Jeremy Foote
ee4ba6c2b4 Changing to Rtex 2018-08-30 15:45:19 -05:00
5526efbaee Merge branch 'master' into knitr
- merged in CDSC branding from the master branch
2018-08-04 11:12:16 -07:00
ce30e1ac61 hand-merged knitr material
- branch is now knitrified
- added material to the gitignore for tex files
2018-08-04 11:10:39 -07:00
c46fe4b78e rename tex to Rnw as part of knitr branch 2018-08-04 11:10:31 -07:00
7abc105835 moved things over to cdsc branding
- 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
2018-08-04 10:04:37 -07:00
4e24839b53 make it a generic name 2018-07-18 13:25:15 -07:00
d02648e693 Merge branch 'groceryheist' 2018-07-18 13:23:34 -07:00
ba61988ec1 fix overflowing DOI urls in bibliography 2018-07-18 13:15:49 -07:00
4ab1ccbf9d added \samethanks command 2016-12-16 20:05:01 -08:00
8f2b03c57c fixed footnote symbols for \thanks 2016-12-16 20:04:03 -08:00
4a46d62800 buildstamp alternative to git markings 2016-10-22 16:48:49 -07:00
e5a3725ffc remove duplicated comment 2016-10-22 16:46:00 -07:00
e9eab4225d change my name 2016-10-15 12:23:40 -07:00
53010002bf setup make file to work with beamer 2016-10-02 16:09:51 -07:00
42469788ed Merge branch 'master' of git://projects.mako.cc:/latex_mako into groceryheist 2016-08-25 11:37:25 -07:00
0e7100a49e updated to use biber/biblatex instead of bitex 2016-08-03 15:53:11 -04:00
31158d210f updated color of git info to be red
The previous blue was confusing because it looked like a hyperlink.
2016-02-03 11:28:58 -08:00
2dabb156a1 make .tex files .PRECIOUS
This is not necessary in the default arragement but it becomes important
if/when we switch to having it be for Rnw/Rtex files.
2016-01-25 08:58:09 -08:00
387b8f07db change the name for groceryheist branch 2016-01-22 10:32:39 -08:00
d449d749d8 a series of updates to the mako-mem template
- 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.
2015-12-29 13:21:14 -08:00
f3b3d82957 updated makefile and .gitignore to us latexmk instead of rubber 2015-11-03 09:28:01 -08:00
8439b49dd3 updated template to remove deprecated chicago.bst 2014-11-02 15:51:04 -08:00
31c19f136b added a gitignore file to ignore the extra files generated 2014-04-23 12:36:35 -07:00
141c6a211a updated makefile to not hardcode the file name 2014-03-26 20:13:40 -07:00
8e6dd96bbe three small changes to the template
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).
2014-01-10 21:57:20 -08:00
fc613f1b26 added a perl script to clean out some common broken encoding stuff 2014-01-09 14:49:48 -08:00
8cbbd2d3b7 fix bug with page number periods 2014-01-04 14:07:21 -08:00
cbedfda996 small changes to article-2
(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
2014-01-04 13:26:44 -08:00
010540f5c2 updated my email address 2013-12-03 16:48:08 -08:00
666e60d856 tweaked it so that the abstract display a bit more cleanly 2012-12-12 21:40:08 -05:00
b2378ce9f4 created a new memoir style for use in simple memos 2012-08-22 15:39:43 -04:00
aaronshaw
b30e702ef1 Patch to remove annoying copyright symbols from Jstor exports in bib.
Signed-off-by: aaronshaw <aaron.d.shaw@gmail.com>
2012-03-13 18:44:26 -04:00
de4773b84b added code to deal with utf8 bibliographies 2012-03-13 13:54:54 -04:00
a98cc6d7d7 changed remaining kjh notes to mako-mem 2011-10-03 14:47:14 -04:00
86bd368f44 added pagenumbers back for git documents 2011-05-10 16:59:50 -04:00
Benjamin Mako Hill
30bc819c5b improved abstract so that it removes the text from the file 2011-01-20 15:22:54 -05:00
Benjamin Mako Hill
283b41d89a singlespace the bibliographies 2010-12-13 16:27:20 -05:00
5dd5bdede0 small changes to fix title headings 2010-10-10 18:41:05 -04:00