diff options
author | Karl Berry <karl@freefriends.org> | 2023-04-11 22:26:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-04-11 22:26:03 +0000 |
commit | 1b1ffb2c7d12640bed14bcd0a53a3bd22f0ae29f (patch) | |
tree | 12a523a301833c183615ff7b5df32c523d1f8931 /Master/texmf-dist/tex/lualatex/piton/piton.sty | |
parent | 2849eec117ee8e6603b7f68a8845df591d44b4d3 (diff) |
piton (12apr23)
git-svn-id: svn://tug.org/texlive/trunk@66827 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/piton/piton.sty')
-rw-r--r-- | Master/texmf-dist/tex/lualatex/piton/piton.sty | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/lualatex/piton/piton.sty b/Master/texmf-dist/tex/lualatex/piton/piton.sty index 645a643e9ee..66f0787b1f6 100644 --- a/Master/texmf-dist/tex/lualatex/piton/piton.sty +++ b/Master/texmf-dist/tex/lualatex/piton/piton.sty @@ -18,8 +18,8 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\def\myfileversion{1.5} -\def\myfiledate{2023/04/04} +\def\myfileversion{1.5a} +\def\myfiledate{2023/04/11} \NeedsTeXFormat{LaTeX2e} @@ -297,7 +297,7 @@ \bool_if:NT \l__piton_line_numbers_bool { \bool_if:NF \l__piton_all_line_numbers_bool - { \tl_if_empty:nF { #1 } } + { \tl_if_eq:nnF { #1 } { \PitonStyle {Prompt}{} } } % corrected 2023/04/10 \__piton_print_number: } \clist_if_empty:NF \l__piton_bg_color_clist @@ -655,15 +655,15 @@ \footnotesize \bool_if:NTF \l__piton_all_line_numbers_bool { - \int_to_arabic:n - { \g__piton_visual_line_int + \l__piton_nb_lines_int } + \int_to_arabic:n + { \g__piton_visual_line_int + \l__piton_nb_lines_int } } { - \lua_now:n - { piton.CountNonEmptyLinesFile(token.scan_argument()) } - { #3 } - \int_to_arabic:n - { \g__piton_visual_line_int + \l__piton_nb_non_empty_lines_int } + \lua_now:n + { piton.CountNonEmptyLinesFile(token.scan_argument()) } + { #3 } + \int_to_arabic:n + { \g__piton_visual_line_int + \l__piton_nb_non_empty_lines_int } } } \dim_set:Nn \l__piton_left_margin_dim |