From 6b55d88293fd8665fbdecde56bb693157fac7f35 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 6 Mar 2023 21:39:56 +0000 Subject: minim (all) (6mar23) git-svn-id: svn://tug.org/texlive/trunk@66395 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/luatex/minim-pdf/minim-pdf.doc | 24 ++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/doc/luatex/minim-pdf/minim-pdf.doc') diff --git a/Master/texmf-dist/doc/luatex/minim-pdf/minim-pdf.doc b/Master/texmf-dist/doc/luatex/minim-pdf/minim-pdf.doc index 71e8cea89cc..3030378bcb9 100644 --- a/Master/texmf-dist/doc/luatex/minim-pdf/minim-pdf.doc +++ b/Master/texmf-dist/doc/luatex/minim-pdf/minim-pdf.doc @@ -14,8 +14,8 @@ all other features of the package are described here. \else \startmetadata author {Esger Renkema} title {minim-pdf} - date {2022-03-03} - version {2022/1.1} + date {2023-03-03} + version {2023/1.2} keywords {LuaTeX; Plain TeX; PDF/A; Tagged PDF; accessibility; a11y; hypertext; bookmarks; document outline; associated files} stopmetadata @@ -292,6 +292,8 @@ Keep in mind that the reassignment is local: if a paragraph marked with Auto-marking paragraphs can be (locally) disabled or enabled by saying ⟦*\markparagraphsfalse⟧ or ⟦*\markparagraphstrue⟧. +You can query the place in the document structure of any point with +⟦*\showdocumentstructure⟧. \section Structure element aliases % 1 @@ -324,21 +326,26 @@ current SE from a named identifier ⟦\name⟧. \section Structure element options % 1 -The ⟦\startelement⟧ command allows a few options that are not mentioned -above: its full syntax is ⟦*\startelement {Tag}⟧. +The ⟦\startelement⟧ command allows a few options that are not mentioned above: +its full syntax is ⟦*\startelement {Tag}⟧. The three most useful options are ⟦alt⟧ for setting an alt-text (the ⟦/Alt⟧ entry in the structure element dicionary), ⟦actual⟧ for a text replacement (⟦/ActualText⟧) and ⟦lang⟧ for the language (⟦/Lang⟧; see the next section). The alternative and actual texts can also be given after the fact with -⟦*\setalttext{...}⟧ and ⟦*\setactualtext{...}⟧; these apply to the current +⟦*\setalttext {...}⟧ and ⟦*\setactualtext {...}⟧; these apply to the current structure element. Structure element attributes can be given with -⟦attr ⟧, e.g. ⟦attr Layout Placement /Inline⟧. +⟦attr ⟧, e.g. ⟦attr Layout Placement /Inline⟧ or added +later with ⟦*\tagattribute⟧. Note that for the ⟦owner⟧ and ⟦key⟧ the initial slash must be omitted; the ⟦value⟧ on the other hand will be written to the pdf verbatim. Any number of attributes can be added. +An identifier can be set with the ⟦id⟧ option, or after the fact with +⟦*\settagid {...}⟧. This identifier will be added to the ⟦IDTree⟧ and is +entirely optional; you will probably already know when you need it. + Finally, structure element classes can be given with the ⟦class ⟧ keyword, which can be repeated. Classes can be defined with @@ -394,8 +401,9 @@ the ⟦lbl⟧ is a section number and can also be empty.) For marking up tables, a whole array of helper macros is available. First, ⟦*\marktable⟧ should be given \emph{before} the ⟦\halign⟧. -Then, in the template, the first cell should start with ⟦*\marktablerow⟧ and -each subsequent cell with ⟦*\marktablecell⟧. +Then, in the template, the first cell should start with ⟦*\marktablerow⟧ +⟦*\marktablecell⟧ and +each subsequent cell with ⟦\marktablecell⟧. If your table starts with a header, insert ⟦*\marktableheader⟧ before it and ⟦*\marktablebody⟧ after. Before a table footer, insert ⟦*\marktablefooter⟧. -- cgit v1.2.3