20
0
Commit Graph

70 Commits

Author SHA1 Message Date
e051d4dca3 Show the subtitle on the title page
Ports the fix now proposed upstream: trantor's title page never printed
\subtitle, so a deck that set one silently lost it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-14 10:09:15 -07:00
288d571df2 Rewrite the port's README as Markdown
Converts it and fills in what was missing: install instructions, links to
ltx-talk, trantor, veraPDF and the presenter viewers, the upstream issues
behind the speaker-notes workaround and the overlay tagging bug, and how to
use the notes machinery in another document.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 07:26:23 -07:00
9495928ff5 Show the new theme and notes features in the example
Adds a subsection with its divider, and after \appendix a table and a
figure, so the appendix numbering, table tagging and alt text all have
something exercising them. The table declares its header row, without which
the header cells are tagged TD like any other.

Frame titles are given as \frametitle rather than as the argument to
\begin{frame}, since only the command form is tagged as a heading.

The palette override moves above \usepackage{trantor} so the theme picks it
up, and the notes show both forms: plain \note and \note[item].

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 07:26:23 -07:00
b7a276996a Fix the build targets after the port
veraPDF was wired in as a make dependency, which it should not be: it is a
check to run by hand, not something a build needs installed. The validate
target goes away.

The vc target came back. It generates the git revision file and was lost in
the port, so \input{vc} had nothing to read. spell came back with it.

notes.config is deliberately not restored. It existed to flip
\setbeameroption between slides, notes-on-second-screen and notes-only, and
ltx-talk has no such option: the slides build never contains notes and the
notes PDF is assembled afterwards by mknotes.

fonts.tex has to be kept out of the wildcard. It is a fragment with no
\documentclass, and make otherwise tries to typeset it and hangs waiting
for input.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 07:26:23 -07:00
c779140c01 Follow beamer's model for notes, and lay the page out like it
Notes were rendered as a bullet list, which beamer does not do. Reading
beamerbasenotes.sty: a plain \note appends its text to a running block with
no separator at all, and \note[item] accumulates separately into an
enumerate printed after that block.

Match both. talk-notes.sty takes \note<spec>[item]{text}, as beamer does,
and records which kind it is. The one deviation is a paragraph break
between plain notes instead of running them together, which is easier to
read on a page.

The notes half is laid out like beamer's too: a grey band across the head
carrying the section and the position in the talk, the current slide flush
into the outer corner, and the notes below. The heading is set in the
sans face against the roman body so it reads as apparatus rather than as
part of the notes.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 07:26:23 -07:00
27304c853a Share the font setup between the slides and the notes
The notes pages were typeset in the default Latin Modern while the slides
used OpenSans and RobotoMono, so the two halves of a presenter page did not
match.

Move the font declarations to fonts.tex, which the slides \input and
mknotes passes to the notes document. mknotes uses it by default when it
exists, so a deck that copies the two notes files in gets matching fonts
without having to remember a flag; --preamble names a different fragment,
and a file named there but missing is an error rather than ignored.

The notes document now compiles from the document directory with
-output-directory rather than running inside the temporary one, so the
relative font paths in the fragment resolve.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 07:26:23 -07:00
01534406dc Update the vendored theme from the trantor fork
Brings across the work now sitting in pull requests upstream: a palette of
named colours in place of hardcoded black and white, the frame title in a
dark band, section and subsection dividers set metropolis-style on the
light background over a progress bar, \appendix so backup slides stay out
of the frame count, and a fix for the divide by zero the progress bar hit
before the aux file existed.

The separate MIT licence file goes away. The notice it carried now sits in
the header of trantor.sty itself, which is what the licence asks for and
leaves one licence file in the repository.

Fork: https://github.com/makoshark/trantor
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 07:26:23 -07:00
79bd697440 Give frame titles as \frametitle so they are tagged as headings
Only \frametitle{...} produces a tagged heading in ltx-talk. Giving the
title as the argument to \begin{frame}{...} silently yields a frame with
no heading element at all, which is why the deck had sections but nothing
per slide. Use the command form throughout.

The resulting headings sit at ltx-talk's default H4, nested under the H1
that a section produces. That level can be remapped with \tagpdfsetup if
assistive software turns out to want frame titles higher up.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 19:16:25 -07:00
109d9dc5c2 Document the ltx-talk port and what is still missing
Covers the build targets, why only the slides build is expected to
validate, and how the notes are captured. Also records the known gaps so
they are not rediscovered later: frame titles are not emitted as
headings despite the role map declaring frametitle -> H4, overlay
tagging has an open upstream bug for the \only forms, and talk-notes.sty
depends on two ltx-talk internals that a future release may rename.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 19:12:23 -07:00
95a368afc6 Port the template from beamer to ltx-talk
Beamer cannot produce a genuinely tagged PDF. The master template
validates as PDF/UA-2 only because tagpdf marks everything it was not
told about as decorative, so a screen reader gets the frame titles and
nothing else. Beamer 3.77 then made matters worse by refusing
\DocumentMetadata outright, which breaks tagging on TeX Live 2025 and
leaves the deck failing validation altogether.

ltx-talk was written by the LaTeX Project with tagging as a design goal.
The slides built here carry real paragraphs, lists as L/LI/Lbl/LBody,
sections as headings, formulas as MathML, and alt text that reaches the
PDF. veraPDF passes on the strength of that structure rather than in
spite of its absence.

The metropolis theme files go with beamer; trantor replaces them. Fonts,
figures and the purple palette are unchanged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 19:12:16 -07:00
2b0c14209a Add speaker notes for ltx-talk, captured and assembled outside LaTeX
ltx-talk has no \note command. Its README and website list speaker notes
among what the class is for, but the feature is unwritten: the request is
open upstream as issue #156, where the maintainer has said notes are
wanted but that the interface needs thought first. Nothing has landed as
of v0.5.3.

So notes are captured rather than typeset. talk-notes.sty defines \note
to contribute nothing to the slides and instead record its text, and
mknotes reads that afterwards to assemble the presenter PDF: slide on the
left, and on the right a grey header band, a thumbnail of the current
slide flush into the corner, and the notes below. Previous and next
slides are left to dspdfviewer and pdfpc, which show them already.

The hard part is that a frame is not a page, since overlays expand one
frame into an unpredictable number of slides. Records are therefore
written from the shipout hook, the first point at which the frame and
slide identity of a page is settled, which makes the mapping exact rather
than guessed. Notes honour the usual overlay specifications, so
\note<1>{...} appears beside only the first slide of its frame.

The assembled PDF is not tagged and is not meant to be shared; only the
slides build is.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 19:12:03 -07:00
9c473a8419 Vendor the trantor theme for ltx-talk
trantor is Marco Pompili's Metropolis-like theme for ltx-talk, added
under its MIT license so the deck keeps roughly its present look after
the class change. Two things differ from upstream: font selection moves
out to the document, since this template ships OpenSans and RobotoMono,
and the Euler maths font it loaded by default is dropped because
lum-euler is not packaged in Debian's TeX Live.

Upstream: https://github.com/mrc-pop/trantor

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 19:11:51 -07:00
80f817dfdb Document what the accessibility support does and does not do
Slides-only builds validate as PDF/UA-2, which is what upload targets
check for, but only frame titles and links are actually tagged. Say so
rather than leaving the veraPDF pass to imply more than it means.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 16:42:01 -07:00
62237fea88 Load unicode-math so formulas carry Unicode mappings
The Computer Modern math fonts have no ToUnicode entries, which failed
ISO 14289-2 clause 8.4.5.8 on six checks and left every formula opaque
to assistive software. Switching to an OpenType math font changes the
rendering of math only slightly.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 16:41:55 -07:00
ab9f5cfac4 Declare PDF/UA-2 and announce the document title
veraPDF reported two metadata failures against ISO 14289-2: nothing
identified the file as PDF/UA (clause 5), and ViewerPreferences was
missing DisplayDocTitle (clause 8.11.2), so viewers announced the
filename instead of the title.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 16:41:49 -07:00
3cc4c8ffa9 Fix dependency list to match the LuaLaTeX build
The Makefile has built with lualatex since the tagged PDF work in
2841ae9, but the README still told people to install texlive-xetex.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 16:41:41 -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
e365225153 promotion from assistant to associate 2024-11-03 12:17:09 -08: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
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
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
df243815bf fine tune location of \credit{} output 2016-12-10 19:05:39 -08:00
9cbba9f4aa fixed location of the git revid on the titlepage 2016-12-10 19:02:43 -08:00
bd62230856 move vc to resources (as per the paper template) 2016-12-10 18:56:34 -08:00
a79f406af7 fixed berkman affiliation information 2016-12-10 18:56:27 -08:00
cad3265799 added version of the logo file w/ and w/o text 2016-04-05 16:38:23 -07:00
7e1a9a4faa now a faculty affiliate at berkman 2016-04-05 16:38:03 -07:00
f2a0a8eada updated example to use the new style pdfpc notes 2015-11-30 13:56:45 -08:00
7c9bc81495 added vc-git files 2015-11-30 13:40:03 -08:00
729032d0e4 moved from rubber to latexmk (at least for now) 2015-11-30 13:29:44 -08:00
71bb2638e2 added logos for uw and nu back (these may be useful) 2015-11-30 13:29:16 -08:00
a54e0a81a1 updated logo to the new CDSC logo (used instead of our individual institutional logos) 2015-11-30 13:28:23 -08:00
c6ac0ce8e8 change my title from acting to normal 2014-11-06 13:19:24 -08:00