@@ -29,7 +29,7 @@ runlatex.packageregex = [
29
29
30
30
31
31
32
- # Using the LaTeX prototype for accessible PDF (as of 2024/11 )
32
+ # Using the LaTeX prototype for accessible PDF (as of 2025/02 )
33
33
34
34
The new code can be used with pdfLaTeX or the Unicode engine
35
35
luaLaTeX. The latter is the preferred engine recommended for new
51
51
pdfversion = 2.0,
52
52
pdfstandard = ua-2,
53
53
pdfstandard = a-4f, %or a-4
54
- testphase =
55
- {phase-III,
56
- title,
57
- table,
58
- math,
59
- firstaid}
54
+ testphase = latest
60
55
}
61
56
\documentclass{article}
62
57
\begin{document}
@@ -71,6 +66,11 @@ document should comply with.
71
66
Tagging is then enabled by loading various modules through the
72
67
` testphase ` key.
73
68
69
+ - The ` latest ` key loads all modules that we think are sensible. This is the recommended
70
+ value, it will load new modules automatically once they are added.
71
+
72
+
73
+ It is possible to load only individual modules
74
74
- The ` phase-III ` module activates tagging and loads support for most
75
75
standard document elements like paragraphs, lists, sectioning, table
76
76
of contents, graphics, floats, links and more. You should always use
@@ -80,7 +80,7 @@ Tagging is then enabled by loading various modules through the
80
80
care that the title and author are added to the XMP metadata.
81
81
82
82
- The ` table ` module adds tagging support to tables like ` tabular ` ,
83
- ` tabularx ` , ` tabulary ` and ` longtable ` .
83
+ ` tabularx ` , ` tabulary ` and ` longtable ` .
84
84
- The ` math ` module enables basic tagging of equations.
85
85
- Finally, the ` firstaid ` contains small fixes of
86
86
external packages to make them compatible with the tagging code, e.g.,
@@ -134,12 +134,12 @@ key as shown below.
134
134
135
135
At the moment this isn't transferred well by the derivation algorithm
136
136
from PDF to HTML, but this area will see improvements. (The PDF structure
137
- is already correct, as one cane see in ngPDF, but the HTML/CSS
137
+ is already correct, as one can see in ngPDF, but the HTML/CSS
138
138
styling currently loses the grid layout.)
139
139
140
140
## Handling lists and other block structures
141
141
142
- Most lists using standard LaTeX enviornmenst such as ` enumerate ` will
142
+ Most lists using standard LaTeX environments such as ` enumerate ` will
143
143
be tagged automatically. The new list implementation also implement an
144
144
optional _ key-value_ interface with similar features to the well known
145
145
` enumitem ` package, although with a different implementation.
@@ -149,7 +149,7 @@ optional _key-value_ interface with similar features to the well known
149
149
150
150
A list starting at 5
151
151
152
- \begin{enumerate}[start=5]
152
+ \begin{enumerate}[start=5]
153
153
\item Level A1
154
154
\begin{enumerate}
155
155
\item Level B1
@@ -184,7 +184,7 @@ LuaLaTeX, but may also be provided by the author.
184
184
Technically there are two methods of associating MathML with each
185
185
formula:
186
186
187
- * As an _ associated file_ This is an embedded stream of XML within
187
+ * As an _ associated file_ . This is an embedded stream of XML within
188
188
the PDF that exactly matches the MathML that you would use in other
189
189
contexts such as a web page.
190
190
* Using MathML Namespace _ Structure Element_ tagging. This is a
@@ -236,7 +236,8 @@ A matrix equation.
236
236
237
237
To use MathML Structure Element tagging you may use the
238
238
` math/mathml/structelem ` key as shown below. Here we also suppress
239
- adding the Associated Files.
239
+ adding the Associated Files. With a current lualatex-dev the same can be achieved
240
+ with the key ` math/setup=mathml-SE ` .
240
241
241
242
```
242
243
\DocumentMetadata{uncompress,lang=en,
@@ -330,8 +331,8 @@ A matrix equation.
330
331
\end{document}
331
332
```
332
333
333
- Here we supply an additional file with MathML versions of each formula.
334
- [ pdflatexexample-mathml.html] ( pdflatexexample-mathml.html )
334
+ Here we supply an additional file with MathML versions of each formula.
335
+ [ pdflatexexample-mathml.html] ( pdflatexexample-mathml.html )
335
336
_ View Source_ to see the MathML markup used.
336
337
337
338
** Note:** If the math in the above example is edited, the checksum will not match
@@ -427,4 +428,4 @@ provided by DANTE and Duallab respectively.
427
428
Please do not over use the services, they aren't set up to process heavy loads
428
429
but are intended just to run small examples in order to show how to use it on your local machine.</p >
429
430
430
- </details >
431
+ </details >
0 commit comments