18
0
Commit Graph

104 Commits

Author SHA1 Message Date
22832af588 removed wiki page 2026-04-26 12:43:05 -07:00
dab1be34c5 README: reflect memo template, drop memoir incompatibility note
- Replace assignment_template references with memo_template.
- Update the type list in the new_tex_document section.
- Update the aliases section (new_tex_assignment -> new_tex_memo).
- Drop the migration entry for the assignment script.
- Rewrite the Accessibility section: now all four templates are
  PDF/UA-2 compliant (paper and memo were ported off memoir to the
  article class with custom .sty files), so the memoir-blocked
  caveat no longer applies.
- Add poster to the master-branch templates list.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 12:34:19 -07:00
0aee418e2a new_tex_document, cdsc_tex_aliases.sh: assignment -> memo
Update the script and the alias file to match the rename of
assignment_template to memo_template. The 'assignment' type is
replaced by 'memo' in new_tex_document; the new_tex_assignment
alias becomes new_tex_memo.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 12:34:11 -07:00
1e79d8d0f6 memo_template: add new article-class memo template
Replaces the assignment_template with a memo-format template based
on the article class. The look-and-feel is ported from the old
cdsc-memo chapterstyle in cdsc-memoir.sty: a single-line "TITLE
[hfill] AUTHOR" header and sans-serif uppercase section headings.

Like the migrated paper_template, this builds with lualatex and
produces a tagged, PDF/UA-2 compliant PDF. verapdf --flavour ua2:
0 failures, 1723 passed rules.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 12:33:37 -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
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
cc993ca40d README: document lualatex requirement and accessibility status
Adds texlive-luatex to the Debian dependency list, documents the
switch to LuaLaTeX + EB Garamond/TeX Gyre Heros, and adds a new
Accessibility section describing which templates produce tagged
PDF/UA-2 output and why the memoir-based templates don't (yet).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 21:14:46 -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
c4a709c22c poster_template: add tagged PDF (PDF/UA-2) accessibility
Enables \DocumentMetadata (pdfversion=2.0, pdfstandard=ua-2) and
tagpdf with activate-all. Adds an H1 structure tag around every
frame title via \addtobeamertemplate, wraps the overlay-only tikz
helpers (\marktopleft, \markbottomright, \credit) in artifact tags
so they don't pollute the reading order, and adds alt text to each
\includegraphics. Verified compliant with verapdf's PDF/UA-2 profile.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 21:13:50 -07:00
2b29f051a6 letter_template: add tagged PDF (PDF/UA-2) accessibility
Enables \DocumentMetadata (pdfversion=2.0, pdfstandard=ua-2) and loads
tagpdf with activate-all, plus hyperref metadata (pdftitle, pdfauthor,
pdflang, pdfdisplaydoctitle) since the letter class does not expose
\title/\author for the PDF management layer to pick up. Verified
compliant with verapdf's PDF/UA-2 profile.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 21:12:22 -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
bd8fa11def poster_template: embed fonts in example figure PDFs
The bundled example figures referenced base-14 Helvetica without
embedding it, which blocks PDF/UA-2 compliance for any poster that
includes them. Regenerated via ~/bin/embed-fonts (ghostscript with
-dEmbedAllFonts=true).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 21:11:21 -07:00
f43488ef70 poster_template: comment out biblatex-dependent stanza
\DeclareLanguageMapping and \defbibheading come from biblatex, which the
template does not load. The template has failed to compile without local
edits for some time as a result.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 21:11:14 -07:00
34b6fe4401 Remove duplicate assignment_template/HW1.tex
HW1.tex was identical to text.tex except for a stale author name
(TeGrotenhuis vs. TeBlunthuis). new_tex_document only uses text.tex
and renames it on checkout.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 21:07:57 -07:00
3b444f70fc Consolidate document creation scripts and fix bugs
Replace the individual new_knitr_document, new_tex_assignment, and
new_tex_letter scripts with a single new_tex_document script that takes
a document type as its first argument. Fix bugs present in all scripts:
unquoted variables, TMPDIR name collision, missing existence checks, and
mktemp running unconditionally. Add cdsc_tex_aliases.sh for backwards
compatibility with old script names. Add rename_tex_to_dirname script
(moved from ~/bin). Update README and wiki page to reflect new setup.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-29 10:31:08 -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
1eb1a43806 updated README file 2025-11-01 12:06:30 -07:00
a2b3c971ce Merge branch 'master' of code.communitydata.cc:cdsc_tex 2022-10-10 14:24:33 -07:00
fc3ab6b8d6 added a version of a single slide template (based on kaylea's taboo topics) 2022-10-10 14:24:02 -07: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
34433f5b82 deleted revealjs presentation file
- the branch itself is incomplete
- shouldn't be in our tex repository anyway
2019-08-08 11:01:34 -07:00
32d383d928 Merge branch 'master' of code.communitydata.cc:cdsc_tex 2019-08-08 10:53:43 -07:00
eb509bcfb8 changed sharelatex mode to overleaf mode 2019-08-08 10:53:40 -07:00
9bcc8f35bf updated copyright in script 2018-12-14 18:33:47 -08:00
Jeremy Foote
76674241c8 Starting to switch knitr to Rtex 2018-08-30 15:43:49 -05:00
Jeremy Foote
3a16b40a5c Adding revealjs option 2018-08-30 15:43:19 -05:00
2a0962338f updated the create documents scripts
- changed to use the new location
- switched to use the correct branches
2018-08-04 11:19:33 -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
e0a06dfb30 Merge branch 'master' of git://projects.mako.cc:/latex_mako 2018-07-18 13:22:27 -07:00
ba61988ec1 fix overflowing DOI urls in bibliography 2018-07-18 13:15:49 -07:00
c5c0f59072 updated links to git repository 2018-05-06 08:25:26 -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
fbafaeab3b finish creating assignment 2016-10-02 16:58:52 -07:00
53010002bf setup make file to work with beamer 2016-10-02 16:09:51 -07:00
ca123cd935 Merge branch 'groceryheist' into HEAD 2016-10-02 16:07:06 -07:00
3bee02988a adding a template for homework assignments 2016-10-02 16:01:25 -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
e23dad91fd Revert "change name, email for groceryheist branch"
This reverts commit ed02ed4070.
2016-01-22 10:31:49 -08:00