diff options
Diffstat (limited to 'Master/texmf-dist/tex/plain/pitex/sections.ptx')
-rw-r--r-- | Master/texmf-dist/tex/plain/pitex/sections.ptx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/plain/pitex/sections.ptx b/Master/texmf-dist/tex/plain/pitex/sections.ptx index aae16e4192e..0a8280f0d43 100644 --- a/Master/texmf-dist/tex/plain/pitex/sections.ptx +++ b/Master/texmf-dist/tex/plain/pitex/sections.ptx @@ -14,14 +14,14 @@ % % Sections have an internal count, incremented here. \storevalueor\ptx@tempsectioncount #1 : internalcount {\def\ptx@tempsectioncount{0}}% - \setparameter #1 : e:internalcount = {\the\numexpr(\ptx@tempsectioncount+1)}\par + \esetattribute #1 : internalcount = {\the\numexpr(\ptx@tempsectioncount+1)} \resetbelow{#1}% Resets all internal counts of sections which depend on the current one (i.e. "section" depends on "chapter", etc.). % % \ifvalue #1 : link = true {% \global\advance\ptx@section_link 1 \pdfdest num \ptx@section_link xyz - \pdfoutline attr {/Border [0 0 2]} goto num \ptx@section_link {\detokenize{#2}}}{}% + \pdfoutline attr {/Border [0 0 0]} goto num \ptx@section_link {\detokenize{#2}}}{}% \noindent \hskip\usevalueor #1 : indent {0pt}% \bgroup @@ -45,7 +45,7 @@ \newwhile\resetbelow1{}{% \ifattribute #1 : below {\storevalue\tempbelow #1 : below - \setparameter\tempbelow : e:internalcount = 0\par + \esetattribute\tempbelow : internalcount = 0 \passvalue{\changewhile} #1 : below }{\breakwhile{}}% } |