\starttext \type<<...>> \stoptext It doesn't seem to see the end delimiter, nikolai -- ::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden ::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
Nikolai Weibull wrote:
\starttext \type<<...>> \stoptext
It doesn't seem to see the end delimiter, nikolai
patch for core-ver
\starttext
\unprotect
\def\dodotypeC<#1% normal/slanted <<... <<...>> ...>>
{\initializetype
\verbatimcolor
\if#1<%
\@EA\setupalternativetypegrouping
\else
\@EA#1%
\fi}
\bgroup
\catcode`\<=\@@active
\catcode`\>=\@@active
\gdef\setupalternativetypegrouping
{\catcode`\<=\@@active
\catcode`\>=\@@active
\def\doless
{\ifx<\next
\def\next
{\bgroup\switchslantedtype
\let\next=}%
\else
\let\next\lesscharacter
\fi
\next}%
\def\domore
{\ifx>\next
\def\next
{\egroup
\let\next=}%
\else
\let\next\morecharacter
\fi
\next}%
\def<{\futurelet\next\doless}%
\def>{\futurelet\next\domore}}
\egroup
\protect
\startTEXpage
normal: \par \type{xx<<..xx..<
participants (2)
-
Hans Hagen
-
Nikolai Weibull