pdftex[920] branches/stable/doc/manual: towards tagging

commits+karl at tug.org commits+karl at tug.org
Tue Jan 16 18:16:01 CET 2024


Revision: 920
          https://tug.org/svn/pdftex?view=revision&revision=920
Author:   karl
Date:     2024-01-16 18:16:01 +0100 (Tue, 16 Jan 2024)
Log Message:
-----------
towards tagging

Modified Paths:
--------------
    branches/stable/doc/manual/ChangeLog
    branches/stable/doc/manual/pdftex.tex

Modified: branches/stable/doc/manual/ChangeLog
===================================================================
--- branches/stable/doc/manual/ChangeLog	2024-01-15 15:36:33 UTC (rev 919)
+++ branches/stable/doc/manual/ChangeLog	2024-01-16 17:16:01 UTC (rev 920)
@@ -1,3 +1,11 @@
+2024-01-16  Karl Berry  <karl at freefriends.org>
+
+	* pdftex.tex: simplify PDF inclusion for tagging,
+	mention alternatives for small verbatim,
+	use table option instead of firstaid.
+	(Still does not actually pass )
+	https://tug.org/pipermail/pdftex/2024-January/009377.html
+
 2024-01-08  Karl Berry  <karl at freefriends.org>
 
 	* pdftex.tex: add alt text for graphic and extra \par

Modified: branches/stable/doc/manual/pdftex.tex
===================================================================
--- branches/stable/doc/manual/pdftex.tex	2024-01-15 15:36:33 UTC (rev 919)
+++ branches/stable/doc/manual/pdftex.tex	2024-01-16 17:16:01 UTC (rev 920)
@@ -2,7 +2,13 @@
 % Karl Berry, 2023. Content not significantly changed.
 % Released under the GFDL v1.2+, same as the ConTeXt version.
 %
-%\DocumentMetadata{testphase={phase-III,firstaid}}
+% Not quite tagging-ready, numerous warnings like:
+% Package tagpdf Warning: The structure Sect can not be closed.
+% and ends with:
+% ./pdftex.tex:4336: Package tagpdf Error: The number of automatic begin
+%   (1351) and end (1352) ...
+%
+%\DocumentMetadata{testphase={phase-III,table}}
 \documentclass{pdftexmanual}
 \svnscan $Id$
 
@@ -126,9 +132,8 @@
 
 \begin{figure}[p]
 % Why isn't \vsize enough?
-\moveright 2pc
-\hbox{\includegraphics[height=1.27\vsize,alt={small PDF file}]
-                      {incl/pdfmin-crop.pdf}}
+\includegraphics[height=1.27\vsize,alt={small PDF file}]
+                      {incl/pdfmin-crop.pdf}
 \caption{The \PDF\ output for the \TeX\ source in figure~\ref{fig.titlesource}.}
 \label{fig.titleout}
 \end{figure}
@@ -414,7 +419,8 @@
 cmr10 CMR10 <cmr10.pfb
 ptmr8y NimbusRomNo9L-Regu " TeXnANSIEncoding ReEncodeFont " <texnansi.enc <utmr8a.pfb
 \end{verbatim}
-\par % needed for tagging
+\par % needed for tagging; alternative: \begin{small}...\end{small}
+     % another alternative: \AddToHookNext{env/verbatim/begin}{\small}
 }
 
 It is mandatory that \varname{tfmname} is the first field. If a



More information about the pdftex-commits mailing list.