summaryrefslogtreecommitdiff
path: root/tex/context/base/type-run.tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2004-06-20 00:00:00 +0200
committerHans Hagen <pragma@wxs.nl>2004-06-20 00:00:00 +0200
commit0bfaf7db3a4495c91871b17e20cebecdff4a5dde (patch)
tree6a8fcba94cba07f786eb5506ef665dc51e9ffbbc /tex/context/base/type-run.tex
parent51d573f4c0e8d3b8499bff7a3c6fba3dcd71d725 (diff)
downloadcontext-0bfaf7db3a4495c91871b17e20cebecdff4a5dde.tar.gz
stable 2004.06.20
Diffstat (limited to 'tex/context/base/type-run.tex')
-rw-r--r--tex/context/base/type-run.tex17
1 files changed, 9 insertions, 8 deletions
diff --git a/tex/context/base/type-run.tex b/tex/context/base/type-run.tex
index 5070c791e..2e9f02a84 100644
--- a/tex/context/base/type-run.tex
+++ b/tex/context/base/type-run.tex
@@ -11,22 +11,23 @@
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
-\unprotect
+\unprotect
-\gdef\typetypescript
+\gdef\typetypescript%
{\dotripleempty\dotypetypescript}
\gdef\dotypetypescript[#1][#2][#3]%
{\bgroup
- \def\dochecktypescript##1##2% script use
+ \def\dochecktypescript##1##2% script use
{\doifelsenothing{##1##2}
{\donetrue}
- {\ExpandBothAfter\doifcommonelse{##1}{##2}\donetrue\donefalse}}
+ {\donefalse
+ \ExpandBothAfter\doifcommonelse{##1}{##2}\donetrue\donefalse}}
\edef\typescriptone {\truetypescript{#1}}%
\edef\typescripttwo {\truetypescript{#2}}%
\edef\typescriptthree{\truetypescript{#3}}%
\def\starttypescript
- {\bgroup
+ {\bgroup
\obeylines % else we loose the first line due to lookahead
\dotripleempty\dostarttypescript}
\def\dostarttypescript[##1][##2][##3]%
@@ -37,7 +38,7 @@
\def\next%
{\def\stoptypescript%
{\egroup\type{\stoptypescript}}
- % what follows now is quite ugly
+ % what follows now is quite ugly
\skipfirstverbatimlinefalse
\processdisplayverbatim{\stoptypescript}%
\type{\starttypescript}
@@ -45,8 +46,8 @@
\doifsomething{##2}{\type{[##2]}}
\doifsomething{##3}{\type{[##3]}}}
\fi\fi\fi
- \next}
+ \next}
\processcommacommand[\typescriptfiles]\dodousetypescript
\egroup}
-\protect \endinput
+\protect \endinput