summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/buff-ver.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv/buff-ver.mkiv')
-rw-r--r--tex/context/base/mkiv/buff-ver.mkiv7
1 files changed, 6 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/buff-ver.mkiv b/tex/context/base/mkiv/buff-ver.mkiv
index 5b3ed6f2a..27535dba9 100644
--- a/tex/context/base/mkiv/buff-ver.mkiv
+++ b/tex/context/base/mkiv/buff-ver.mkiv
@@ -751,6 +751,10 @@
\definetyping[\v!typing]
+% the \zeropoint forces the number to the margin but also works ok in text
+
+\setuplinenumbering[\v!typing][\c!location=\v!left,\c!width=\zeropoint]
+
\setuptyping [\v!file] [\s!parent=\??typing \v!typing] % we don't want \start..\stop overload
\setuplinenumbering[\v!file] [\s!parent=\??linenumbering\v!typing]
@@ -970,7 +974,8 @@
\fi\fi\fi}
\unexpanded\def\dodisplayverbatiminitialize#1%
- {\c_buff_verbatim_noflines#1\relax
+ {\forgetparindent % maybe more
+ \c_buff_verbatim_noflines#1\relax
\c_buff_verbatim_current\zerocount}
\loadmarkfile{buff-imp-default} % preloaded as otherwise spurious spaces inline due to loading