diff options
author | Hans Hagen <pragma@wxs.nl> | 2022-12-21 18:00:37 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2022-12-21 18:00:37 +0100 |
commit | 36355f3d0c23357fccf2c76b3e9605a41cae519d (patch) | |
tree | 7b2bfa701a21ed8b075deba24112583461706770 /tex/context/base/mkxl/buff-ver.mkxl | |
parent | 8f472c629a996f1c08281198210354a253d7f56b (diff) | |
download | context-36355f3d0c23357fccf2c76b3e9605a41cae519d.tar.gz |
2022-12-21 17:12:00
Diffstat (limited to 'tex/context/base/mkxl/buff-ver.mkxl')
-rw-r--r-- | tex/context/base/mkxl/buff-ver.mkxl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tex/context/base/mkxl/buff-ver.mkxl b/tex/context/base/mkxl/buff-ver.mkxl index 6fef148f1..28ffe4988 100644 --- a/tex/context/base/mkxl/buff-ver.mkxl +++ b/tex/context/base/mkxl/buff-ver.mkxl @@ -915,11 +915,11 @@ % line numbering, keep broken lines together -\newcount\nofverbatimlines +\newinteger\nofverbatimlines \protected\def\buff_verbatim_begin_of_line {\ifconditional\verbatimnumberinglines - \global\advance\nofverbatimlines\plusone + \global\advanceby\nofverbatimlines\plusone \c_attr_verbatimline\nofverbatimlines \fi \noindent @@ -947,8 +947,8 @@ % hooks (todo: frozen): -\newcount \c_buff_verbatim_noflines -\newcount \c_buff_verbatim_current +\newinteger \c_buff_verbatim_noflines +\newinteger \c_buff_verbatim_current \newconditional\c_buff_optimize_linebreaks \permanent\protected\def\doverbatimspace {\obeyedspace} @@ -959,10 +959,10 @@ \permanent\protected\def\doinlineverbatimnewline {\obeyedspace} \permanent\protected\def\doinlineverbatimemptyline {\obeyedspace} -\permanent\protected\def\dodisplayverbatimstart {\advance\c_buff_verbatim_current\plusone +\permanent\protected\def\dodisplayverbatimstart {\advanceby\c_buff_verbatim_current\plusone \buff_verbatim_begin_of_line} \permanent\protected\def\dodisplayverbatimstop {\buff_verbatim_end_of_line} -\permanent\protected\def\dodisplayverbatimbeginline{\advance\c_buff_verbatim_current\plusone +\permanent\protected\def\dodisplayverbatimbeginline{\advanceby\c_buff_verbatim_current\plusone \buff_verbatim_begin_of_line} \permanent\protected\def\dodisplayverbatimnewline {\buff_verbatim_end_of_line \par |