From 1b1ffb2c7d12640bed14bcd0a53a3bd22f0ae29f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 11 Apr 2023 22:26:03 +0000 Subject: piton (12apr23) git-svn-id: svn://tug.org/texlive/trunk@66827 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/lualatex/piton/piton.sty | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'Master/texmf-dist/tex/lualatex/piton/piton.sty') 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 -- cgit v1.2.3