summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/verb-ini.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/verb-ini.tex')
-rw-r--r--Master/texmf-dist/tex/context/base/verb-ini.tex15
1 files changed, 8 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/context/base/verb-ini.tex b/Master/texmf-dist/tex/context/base/verb-ini.tex
index c76e0847f69..e30c9ecfe8f 100644
--- a/Master/texmf-dist/tex/context/base/verb-ini.tex
+++ b/Master/texmf-dist/tex/context/base/verb-ini.tex
@@ -13,7 +13,10 @@
%D Today I would implement the pretty handler slightly
%D different, using stack and intermediate flushing. Maybe
-%D even without active chars. So, someday \unknown
+%D even without active chars. So, someday \unknown. Also
+%D I think that there are better ways (the current approach
+%D is an accumulation; for instance, we could save a second
+%D argument by turning chars into numbers and vise versa.
%D Because this module is quite independant of system macros,
%D it can be used as a stand||alone verbatim environment.
@@ -59,11 +62,9 @@
%D use the following construction for display verbatim:
%D
%D \starttyping
-%D \starttyping
%D The Dutch word 'typen' stands for 'typing', therefore in the Dutch version
%D one will not find the word 'verbatim'.
%D \stoptyping
-%D \stoptyping
%D
%D In \CONTEXT\ files can be typed with \type{\typefile} and
%D inline verbatim can be accomplished with \type{\type}. This
@@ -760,7 +761,7 @@
{\par
\bgroup
\processingverbatimtrue
- \global\verbatimlinenumber0
+ \global\verbatimlinenumber\zerocount
\global\linepartrue
\beginofverbatimlines
\bgroup
@@ -781,7 +782,8 @@
\obeycharacters
\ignoreeofs
\catcode`\^^M=\@@ignore % \par is already taken care of
- \openin\verbatiminput=#1\relax
+% \openin\verbatiminput=#1\relax
+ \openinputfile\verbatiminput{#1}%
\skipfirstverbatimlinefalse
\initializeverbatimline
\def\readline%
@@ -1393,7 +1395,7 @@
%D text and files verbatim. The inline alternative also accepts
%D user supplied delimiters.
%D
-%D \starttyping
+%D
%D \type{text}
%D
%D \starttyping
@@ -1401,7 +1403,6 @@
%D \stoptyping
%D
%D \typefile{filename}
-%D \stoptyping
%D
%D We can turn on the options by:
%D