diff options
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 |