18
0
Commit Graph

31 Commits

Author SHA1 Message Date
6ee5dbd35d templates: enable TeX input ligatures with fontspec
fontspec does not enable the classic TeX input ligatures by default,
so under lualatex our existing -- / --- / `` / '' input was being
typeset as literal hyphens and straight quotes rather than en-dashes,
em-dashes, and curly quotes.

Add \defaultfontfeatures{Ligatures=TeX} right after \usepackage{fontspec}
in each template that loads fontspec (paper, memo, and letter). The
poster template uses beamer's default fonts (Latin Modern under
lualatex), where TeX ligatures already work via the font tables, so
no change there.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-10 18:22:42 -07:00
c0406f157f paper_template: migrate to article class with full UA-2 tagging
Drops the memoir class in favor of the standard article class so the
LaTeX tagging-project can produce fully tagged PDFs. The metadata-only
\\DeclareDocumentMetadata workaround is replaced by the full
\\DocumentMetadata{pdfstandard=ua-2} path with tagpdf activated.

text.tex is now built against cdsc-paper.sty (added in the previous
commit); cdsc-memoir.sty is removed. Other changes:

- pdftitle/pdfauthor are set explicitly in \\hypersetup. UA-2 strict
  mode requires dc:title in the XMP packet, and pdfusetitle does not
  propagate \\title{}/\\author{} into XMP under this setup.
- The memoir-only \\firmlists call is dropped (cdsc-paper.sty handles
  list spacing via enumitem).
- The memoir-only \\prebibhook reference is removed from defbibheading.

verapdf --flavour ua2: 0 failures, 1723 passed rules.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 11:21:42 -07:00
c316de3312 paper + assignment: add PDF metadata via pdfmanagement-testphase
memoir is not yet compatible with the LaTeX tagged-PDF code, so full
\DocumentMetadata (which pulls in all the latex-lab tagging machinery)
crashes at compile time. Use \RequirePackage{pdfmanagement-testphase}
plus \DeclareDocumentMetadata to get the PDF-management layer — document
language, PDF 2.0 — without triggering tagging. Also adds pdflang and
pdfdisplaydoctitle to the existing hypersetup.

The \DocumentMetadata block and tagpdf load are left in the file as
commented-out lines so this is a one-edit swap once memoir gains
tagging support upstream:

    https://github.com/latex3/tagging-project/issues/910

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 21:14:38 -07:00
a0674e7f87 Switch templates to LuaLaTeX with fontspec
Moves paper, assignment, and letter templates from pdflatex to
lualatex, and replaces the Type-1 font setup (mathdesign/garamond,
ucs/utf8x, T1 fontenc) with fontspec using EB Garamond for the main
font and TeX Gyre Heros for sans. This produces PDFs whose text
extracts cleanly and is a prerequisite for tagged/accessible PDF
output.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 21:11:51 -07:00
86fbf0f0a6 remove deprecated option to xcolor (usenames) 2026-03-23 12:48:34 +09:00
5d115f3b36 move from color to xcolor 2026-03-21 16:03:32 +09:00
eb509bcfb8 changed sharelatex mode to overleaf mode 2019-08-08 10:53:40 -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
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
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
8439b49dd3 updated template to remove deprecated chicago.bst 2014-11-02 15:51:04 -08: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
010540f5c2 updated my email address 2013-12-03 16:48:08 -08:00
b2378ce9f4 created a new memoir style for use in simple memos 2012-08-22 15:39:43 -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
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
47fc9249ce fixed another misspelling 2010-04-26 11:03:09 -04:00
13a6ed682c changed "with" to "without" 2010-04-24 15:19:45 -04:00
08ac9e2dea moved both templates to use underscores 2009-12-22 22:06:31 -05:00