1
0
Commit Graph

20 Commits

Author SHA1 Message Date
c7aa5d9e92 convert README to markdown 2026-08-15 10:04:10 +09:00
90958c3e81 removed extra extraneous comments 2026-08-15 10:01:49 +09:00
a024557f7d Enable tagging so the PDF/UA-2 claim is true
The template declared pdfstandard=ua-2 and loaded tagpdf with
\tagpdfsetup{activate-all}, which sets /Marked true and writes the
conformance claim but does not turn on the kernel code that tags
document structure. The result passed veraPDF's ua2 profile while its
structure tree held nothing but /Document: every paragraph of the
letter was marked as an artifact, so the checker had no untagged real
content to complain about, and both alt= descriptions were dropped on
the floor.

That is a worse failure than an outright invalid file. A letter that
announces itself as accessible and contains nothing readable is the
one a person relying on a screen reader will trust.

Adding tagging=on fixes it: the built letter now carries twenty tagged
paragraphs and a Figure element holding the signature's alt text, and
still passes ua2. The manual tagpdf lines are dropped since the kernel
loads it.

This requires TeX Live 2025 or later; on TeX Live 2024 the key is
unknown and the build stops. The README gains that requirement, an
Accessibility section, and a warning that a veraPDF pass is necessary
but not sufficient.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 18:30:55 -07:00
014b80ee72 use placeholder contact details in template defaults
Replace Mako's real phone number, email, and website with placeholder
values to match the rest of the fake "John Hancock" example content.
This commit is for the public master branch only and should not be
merged into branches customized with real contact details.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-28 15:30:36 -07:00
756ed13429 README: require LuaLaTeX rather than XeTeX
The Requirements section still described the XeTeX toolchain from
before the switch to lualatex in 2d28230.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-28 15:30:29 -07:00
28760d5622 new_tex_uwletter: also remove README and COPYING from generated directories
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 16:55:37 -07:00
3ba1610503 new_tex_uwletter: remove itself from generated directories
The install script was being copied into every new letter directory
it created. Delete it after unpacking so new letter directories only
contain the template itself.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 16:54:02 -07:00
3d10917a40 title should be name not email 2026-04-12 16:47:44 -07:00
2d28230c53 Switch to lualatex and generate accessible PDF/UA-2 output
Add \DocumentMetadata for PDF 2.0 / PDF/UA-2, load tagpdf with
activate-all, extend hypersetup with pdftitle/pdfauthor/pdflang/
pdfdisplaydoctitle, and add alt text to the letterhead and signature
images. Drop xetex-only xltxtra and switch the Makefile from xelatex
to lualatex. Verified compliant with verapdf's PDF/UA-2 profile.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 16:43:47 -07:00
c89a06cb19 Fix new_tex_uwletter to use master branch on master
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-29 10:56:30 -07:00
ce94879122 Add new_tex_uwletter script and update README
Add new_tex_uwletter script (moved from ~/bin) with bug fixes: set -e,
quoted variables, WORK_DIR instead of TMPDIR, existence check for
destination, and mktemp inside the conditional. Update README to fix
stale URLs, ShareLaTeX -> Overleaf, MacOSX -> macOS, typo in
Dasgupta's email, and add script usage section.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-29 10:56:16 -07:00
ab31cfe004 added page numbers for longer letters 2018-04-04 10:32:35 -07:00
2fc2a05e54 define sffamily separately from main font 2018-02-18 19:45:07 -08:00
0bb99e9461 remove the dependency on gpg
I removed the dependency on GPG by making the encrypted signature file optional
rather than required.
2018-02-18 16:43:55 -08:00
1f74ac2ea0 several cleanup steps
- fully incorporated back sayamindu's stuff for dealing with encrypted
  signatures files (not a bad idea!)

- removed an old uw-header file from a previous version
2018-02-18 16:37:57 -08:00
7095325c61 merge sayamindu's old repository with my new one 2018-02-18 16:22:46 -08:00
2be6b8a43a initial import of UW matrix letterhead template 2018-02-18 15:59:49 -08:00
Sayamindu Dasgupta
435ff5cc90 Fix typos 2017-11-24 20:22:50 -08:00
Sayamindu Dasgupta
7277ca5891 Update .gitignore 2017-11-24 20:14:39 -08:00
Sayamindu Dasgupta
fd870ead08 Initial import 2017-11-24 20:09:28 -08:00