[latex3-commits] [latex3/pdfresources] outline: correct guards (72aba916)

github at latex-project.org github at latex-project.org
Fri Jun 28 21:05:37 CEST 2024


Repository : https://github.com/latex3/pdfresources
On branch  : outline
Link       : https://github.com/latex3/pdfresources/commit/72aba916294656090ea3fad096b2e8067833cbc5

>---------------------------------------------------------------

commit 72aba916294656090ea3fad096b2e8067833cbc5
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri Jun 28 21:05:37 2024 +0200

    correct guards


>---------------------------------------------------------------

72aba916294656090ea3fad096b2e8067833cbc5
 l3pdfoutline.dtx | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/l3pdfoutline.dtx b/l3pdfoutline.dtx
index 866e1b02..d3976851 100644
--- a/l3pdfoutline.dtx
+++ b/l3pdfoutline.dtx
@@ -151,7 +151,7 @@
 % it is possible to build the outline directly while compiling the document and
 % one doesn't have to use the \texttt{aux} or to delay code until the end of the document.
 %
-% When using \pdfTeX{}, \luaTeX{} or the \texttt{dvips} backend, a count must be given
+% When using \pdfTeX{}, lua\TeX{} or the \texttt{dvips} backend, a count must be given
 % in the primitive which describes the number of direct children of the outline. 
 % The backend then collects (recursively) following items until all children are found 
 % and then goes up a level again. 
@@ -165,7 +165,7 @@
 % stores it for every bookmark in a command. When the
 % \texttt{.aux} file is read in again at the end of the document, it decodes
 % content and attributes again and so can process the outline commands 
-% for \pdfTeX{} and \luaTeX{} directly in the
+% for \pdfTeX{} and lua\TeX{} directly in the
 % first compilation. With the \texttt{dvips} backend it creates a \texttt{.ps} file
 % which is then read in at the next compilation.
 % 
@@ -276,7 +276,7 @@
 %
 % \begin{function}[EXP]{\pdfoutline_parent_ref:n}
 % \begin{syntax}
-%  \cs{\pdfoutline_parent_ref:n}\Arg{id}
+%  \cs{pdfoutline_parent_ref:n}\Arg{id}
 % \end{syntax}
 % This retrieves the parent of the bookmark with id \meta{id}. 
 % If the bookmark is at the root level the value is 1. 
@@ -373,6 +373,7 @@
 %    \end{macrocode}
 % \end{variable} 
 % 
+% \begin{variable}{\g_@@_current_level_int}
 % This holds the (relative) level. It starts at 1 as dvipdfmx counts this way.
 %    \begin{macrocode}
 \int_new:N   \g_@@_current_level_int
@@ -645,8 +646,6 @@
 % \begin{macro}{\pdfoutline_parent_ref:n}
 %    \begin{macrocode}
 \cs_new:Npn \pdfoutline_parent_ref:n #1 { \intarray_item:Nn\g_@@_parent_id_intarray{#1} }
-%    \end{macrocode}
-% \end{macro}
 %</package>
 %    \end{macrocode}
 % \end{macro}





More information about the latex3-commits mailing list.