18
0

46 Commits

Author SHA1 Message Date
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
6643132141 paper_template: add cdsc-paper.sty (article-class style)
This is an article-class equivalent of the cdsc-article chapterstyle
from cdsc-memoir.sty, written so the paper template can drop memoir
(which is incompatible with the LaTeX tagging-project) while keeping
the same look and feel.

Uses titlesec for section heads, titling for the title block,
fancyhdr for the page styles, enumitem for tighter list spacing,
and caption for the caption font. The runin abstract and \\published
note hooks behave the same as before.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 11:15:53 -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
27e9bc3254 Drop Type-1 font defaults from cdsc-memoir.sty and mako-mem.sty
These set \rmdefault=ugm (URW Garamond) and \sfdefault=phv (Helvetica),
which only take effect under pdflatex. Under the lualatex workflow
adopted elsewhere, text fonts are selected via fontspec in the
template's main .tex file, and these defaults were dead code.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 21:11:28 -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
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
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
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