summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/plain/pitex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-07-11 01:03:25 +0000
committerKarl Berry <karl@freefriends.org>2010-07-11 01:03:25 +0000
commit7c7993a9245bb4a0439e094373123ba90ea219d1 (patch)
treec540dbf9ed08883859ee9c0446fba38fef23f36c /Master/texmf-dist/tex/plain/pitex
parent4c99b6b0cfd6cb0435afa931ddc25dd788a4db5e (diff)
pitex update (10jul10)
git-svn-id: svn://tug.org/texlive/trunk@19362 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/plain/pitex')
-rw-r--r--Master/texmf-dist/tex/plain/pitex/pitex.tex3
-rw-r--r--Master/texmf-dist/tex/plain/pitex/sections.ptx6
2 files changed, 5 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/plain/pitex/pitex.tex b/Master/texmf-dist/tex/plain/pitex/pitex.tex
index 7f6e1823865..e66c674f8bb 100644
--- a/Master/texmf-dist/tex/plain/pitex/pitex.tex
+++ b/Master/texmf-dist/tex/plain/pitex/pitex.tex
@@ -19,7 +19,7 @@
% luaotfload.sty (an independent package (not by me))
% sections.ptx (piTeX sectionning commands)
%
-% Date: June 2010.
+% Date: July 2010.
%
%
% User interface
@@ -162,6 +162,7 @@
}
\def\arg#1{{\codefont\it<#1>}\iffnext\spacechar{\kern.2ex }}
\def\barg#1{{\codefont\char"007B\relax{\it<#1>}\char"007D\relax}}
+\def\oarg#1{{\codefont[{\it<#1>}]}}
\def\exampleskip{\vskip\baselineskip}
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{}}%
}