20
0
Commit Graph

200 Commits

Author SHA1 Message Date
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
f2d871cbd7 Suppress page number on standout slides
The black page number is illegible against the dark standout background.
Defines a custom frame numbering template that outputs nothing on standout
frames and the normal fraction on all others.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 17:25:19 -07:00
4d1302d5b5 Make \e{} render as \textit{} on standout slides
\alert{} is invisible on standout frames due to the inverted color
scheme; fall back to \textit{} using the metropolis@standout boolean.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 17:10:07 -07:00
c65b81f82f move down the header setting which was being reset by \metroset 2026-03-31 17:04:11 -07:00
b4e5fa7be1 remove extra files now being created as part of clean 2026-03-31 15:09:34 -07:00
3aadf6cbeb Tag beamer frame titles as H1 headings for PDF accessibility
Patches the frametitle template to emit tagpdf H1 structure tags,
addressing accessibility reports about missing headings.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 15:02:21 -07:00
6d8817c3cf added alt text for logo 2026-03-31 11:24:53 -07:00
2841ae97df Add tagged PDF accessibility support
Switch to LuaLaTeX (better tagged PDF support), add \DocumentMetadata
for PDF 2.0 and language metadata, enable tagpdf tagging, and mark
tikz overlay commands (\credit, \marktopleft, \markbottomright) as
PDF artifacts.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 11:14:19 -07:00
047c603347 Add symlink setup instructions to README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-29 10:54:35 -07:00
82f63da138 Add README and fix Makefile
Add README with dependencies, clone instructions, script usage, and
patch submission guidance. Remove stale rubber invocation from the
clean target in the Makefile.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-29 10:45:28 -07:00
77b38546ca Fix bugs and modernize new_beamer_presentation script
Switch from git checkout-index to git archive with a temp directory,
fixing unquoted variables, TMPDIR name collision, missing set -e,
missing existence check for destination, and mktemp running
unconditionally. Fix typo in error message.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-29 10:34:50 -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
e365225153 promotion from assistant to associate 2024-11-03 12:17:09 -08: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
fccd63da29 switch to the 16:9 aspect ratio 2022-06-21 21:58:18 +02:00
d6b5aca193 updated gitignore to ignore xdv 2022-01-05 10:15:57 +09:00
e8dc3b2ed5 symlinks fonts instead of copying them each time 2022-01-05 10:13:43 +09:00
7d0fbc9275 also move the gitignore file 2022-01-05 09:10:02 +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
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
83923df608 add fonts to this directory that they come with it 2018-05-22 16:34:16 -07:00
665c71a04a added pdfpc rule to makefile 2018-05-22 16:15:01 -07:00
a6513b81bf examples of how to use section pages 2018-05-20 14:01:45 -07:00
c5c0f59072 updated links to git repository 2018-05-06 08:25:26 -07:00
2459524372 fixed a series of bugs
These are things that came up when I was working on the "Whither Peer
Production" talk.
2018-04-12 19:05:00 -07:00
3b97c6be84 first stab at new template based on metropolis
- moved from pdflatex to xelatex
- changed all the .sty files to those build from th latest version of
  mtheme
- reworked the default template in a series of ways
- removed a bunch of cruft
- changed the logo to the new centered logo
2018-03-21 11:20:50 -07:00
a86f1f8370 move the credit command up 2018-03-20 17:19:57 -07:00
Jeremy Foote
cc07c90b5f Changing to relative location of vc-git.awk 2017-05-16 19:02:24 -07:00
4ab1ccbf9d added \samethanks command 2016-12-16 20:05:01 -08:00