diff options
Diffstat (limited to 'tex/context/base/verb-eif.tex')
-rw-r--r-- | tex/context/base/verb-eif.tex | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tex/context/base/verb-eif.tex b/tex/context/base/verb-eif.tex index 16ee611e1..5904abc6e 100644 --- a/tex/context/base/verb-eif.tex +++ b/tex/context/base/verb-eif.tex @@ -8,13 +8,13 @@ %D copyright={Berend de Boer \& Hans Hagen}] %C %C This module is part of the \CONTEXT\ macro||package and is -%C therefore copyrighted by \PRAGMA. See mreadme.pdf for -%C details. +%C therefore copyrighted by \PRAGMA. See mreadme.pdf for +%C details. % This module will be cleaned up a bit in the process of more % flexible verbatim options. -\writestatus{loading}{Context Support Macros / Pretty EIFFEL Verbatim} +\writestatus{loading}{ConTeXt Verbatim Macros / Pretty EIFFEL Verbatim} %D \startbuffer %D \startEIFFEL @@ -32,7 +32,7 @@ %D %D end %D \stopEIFFEL -%D \stopbuffer +%D \stopbuffer %D %D %D If a variable in a comment is quoted with `..', it is typeset @@ -41,18 +41,18 @@ %D \startbuffer %D \startEIFFEL %D class TEST -%D +%D %D feature -%D +%D %D say (something: STRING) is %D -- say `something' to stdout %D do %D print (something) %D end -%D +%D %D end -- class TEST %D \stopEIFFEL -%D \stopbuffer +%D \stopbuffer %D %D %D Recommended, OOSC2 style setting is: @@ -71,7 +71,7 @@ %D \EIFFEL\ has only the one line comment sequence \type{--}. \gdef\EIFsetspecials% - {\PLsetspecials + {\PLsetspecials \setpretty`\#=32 \setpretty`\{=33 \setpretty`\}=33 \setpretty`\[=33 \setpretty`\]=33 \setpretty`\(=33 \setpretty`\)=33 @@ -80,7 +80,7 @@ \setpretty`\==33 \setpretty`\~=33 \setpretty`\<=33 \setpretty`\>=33 \setpretty`\-=33 \setpretty`\+=33 \setpretty`\/=33 \setpretty`\*=33 \setpretty`\^=33 - \setpretty`\%=41 \setpretty`\-=45 + \setpretty`\%=41 \setpretty`\-=45 \setpretty`\`=81 \setpretty`\'=82 } \gdef\EIFsethandlers% @@ -119,7 +119,7 @@ {\endPLtypesix \ifinPLcomment \getpretty{#1}% - \else + \else {\prettynaturalfont\/% \beginofpretty[\!!prettythree]\getpretty{#1}\endofpretty}% \fi} @@ -208,4 +208,4 @@ \useprettyidentifiers \EIFvariables \EIFsetspecials not-yet-defined -\protect \endinput +\protect \endinput |