aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-05-15 11:37:50 -0700
committerJohn MacFarlane <[email protected]>2025-05-15 11:37:50 -0700
commitcf795b0cf5bb76ced10578385e82acc6e327efcb (patch)
tree037b0c282d10c7f8586ff2a3ecd104d9b217c390 /data
parent2918ac41b39a1828b7bf30391a7fca4d06a21134 (diff)
Fix context writer/template to produce tagged PDFs.
As before, the `tagging` extension must be enabled. We now add the command that tells ConTeXt to start tagging. Closes #10846.
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.context4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/templates/default.context b/data/templates/default.context
index 4814333cd..a2a5a45bb 100644
--- a/data/templates/default.context
+++ b/data/templates/default.context
@@ -1,3 +1,7 @@
+$if(tagging)$
+\setupbackend[format=pdf/ua-2]
+\setuptagging[state=start]
+$endif$
$if(context-lang)$
\mainlanguage[$context-lang$]
$endif$