Skip to content

Commit

Permalink
correct docu
Browse files Browse the repository at this point in the history
  • Loading branch information
u-fischer committed Dec 4, 2024
1 parent 4ff9033 commit 8319c41
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/tagpdf.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@ \subsubsection{Retrieving data} \label{sec:retrieve}
\pkg{tagpdf-base} is loaded nesting of structure is not tracked and
so the command gives back the number of the last structure that has
been created. In luatex this number can also be retrieved with the
lua function \texttt{ltx.tag.get_struct_num()}.
lua function \verb+ltx.tag.get_struct_num()+.

\item \verb+struct_counter+: This returns a number and works also if
only \pkg{tagpdf-base} has been loaded. It gives back the state of
Expand All @@ -1181,9 +1181,9 @@ \subsubsection{Retrieving data} \label{sec:retrieve}
code there are structure commands. Be aware that this is a \LaTeX{}
counter and so is reset in some places.
In luatex this number can also be retrieved with the
lua function \texttt{ltx.tag.get_struct_counter()}. The number of the next
structure to be created is then \texttt{ltx.tag.get_struct_counter()} increased by
one), this can also be retrieved with the function \texttt{ltx.tag.get_struct_num_next()}.
lua function \verb+ltx.tag.get_struct_counter()+. The number of the next
structure to be created is then \verb+ltx.tag.get_struct_counter()+ increased by
one), this can also be retrieved with the function \verb+ltx.tag.get_struct_num_next()+.

\item \verb+mc_counter+: This returns a number and works also if only
\pkg{tagpdf-base} has been loaded. It gives back the state of the
Expand Down

0 comments on commit 8319c41

Please sign in to comment.