poster_template: drop the PDF/UA-2 claim beamer cannot honour
The poster declared \DocumentMetadata with pdfstandard=ua-2 and patched
the frametitle template to emit H1 tags. On TeX Live 2024 that produced
an untagged PDF carrying an accessibility claim it did not meet. On TeX
Live 2025, which is what Overleaf runs, it does not build at all:
! Class beamer Error: The beamer class is not compatible with
\DocumentMetadata
The LaTeX Tagging Project lists beamer and beamerposter as no-support,
meaning incompatible and not expected to change, and beamerposter pulls
in textpos and subfig which are incompatible in their own right. There
is no fix available, so the template now makes no claim and says why.
Removing the block also gets the poster building again.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,24 +1,19 @@
|
|||||||
\DocumentMetadata{
|
% ACCESSIBILITY: this poster is not a tagged PDF. The beamer class
|
||||||
pdfversion=2.0,
|
% rejects \DocumentMetadata outright ("Class beamer Error: The beamer
|
||||||
pdfstandard=ua-2,
|
% class is not compatible with \DocumentMetadata"), and the LaTeX
|
||||||
lang=en-US,
|
% Tagging Project lists both beamer and beamerposter as no-support,
|
||||||
}
|
% meaning incompatible and not expected to change. beamerposter also
|
||||||
|
% pulls in textpos and subfig, which are incompatible in their own
|
||||||
|
% right.
|
||||||
|
%
|
||||||
|
% There is no way to make this template produce an accessible PDF
|
||||||
|
% today. Rather than declare PDF/UA-2 and ship an untagged file, it
|
||||||
|
% makes no claim at all. If a poster has to be accessible, supply a
|
||||||
|
% tagged companion document built from the paper or memo template.
|
||||||
\documentclass[xcolor=dvipsnames, 12pt]{beamer}
|
\documentclass[xcolor=dvipsnames, 12pt]{beamer}
|
||||||
|
|
||||||
\usepackage[size=custom, width=114, height=80, scale=1.5]{beamerposter}
|
\usepackage[size=custom, width=114, height=80, scale=1.5]{beamerposter}
|
||||||
|
|
||||||
\usepackage{tagpdf}
|
|
||||||
\tagpdfsetup{activate-all}
|
|
||||||
|
|
||||||
% Tag frame titles as H1 headings for PDF accessibility
|
|
||||||
\addtobeamertemplate{frametitle}{%
|
|
||||||
\tagstructbegin{tag=H1}%
|
|
||||||
\tagmcbegin{tag=H1}%
|
|
||||||
}{%
|
|
||||||
\tagmcend%
|
|
||||||
\tagstructend%
|
|
||||||
}
|
|
||||||
|
|
||||||
\usepackage[absolute,overlay]{textpos}
|
\usepackage[absolute,overlay]{textpos}
|
||||||
% set up the file to create notes in the output PDFs
|
% set up the file to create notes in the output PDFs
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user