texlive[66827] Master/texmf-dist: piton (12apr23)

commits+karl at tug.org commits+karl at tug.org
Wed Apr 12 00:26:03 CEST 2023


Revision: 66827
          http://tug.org/svn/texlive?view=revision&revision=66827
Author:   karl
Date:     2023-04-12 00:26:03 +0200 (Wed, 12 Apr 2023)
Log Message:
-----------
piton (12apr23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/lualatex/piton/piton-french.pdf
    trunk/Master/texmf-dist/doc/lualatex/piton/piton-french.tex
    trunk/Master/texmf-dist/doc/lualatex/piton/piton.pdf
    trunk/Master/texmf-dist/source/lualatex/piton/piton.dtx
    trunk/Master/texmf-dist/tex/lualatex/piton/piton.sty

Modified: trunk/Master/texmf-dist/doc/lualatex/piton/piton-french.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/lualatex/piton/piton-french.tex
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/piton/piton-french.tex	2023-04-11 22:25:41 UTC (rev 66826)
+++ trunk/Master/texmf-dist/doc/lualatex/piton/piton-french.tex	2023-04-11 22:26:03 UTC (rev 66827)
@@ -906,7 +906,10 @@
   les caractères \texttt{'} ou \texttt{"} non triplés. En Python, les chaînes de caractères courtes ne peuvent pas
   s'étendre sur plusieurs lignes de code.} de Python ne sont pas prises en compte).
 
+\medskip
+Concernant les fonctions |\alt| et |\temporal|, aucun retour à la ligne ne doit se trouver dans les arguments de ces fonctions.
 
+
 \medskip
 Voici un exemple complet de fichier :
 
@@ -1730,6 +1733,18 @@
 documentation ici présente, ainsi que le code source commenté et un historique des versions. 
 
 
+\medskip
+Les versions successives du fichier |piton.sty| fournies par
+TeXLive sont disponibles sur le serveur \textsc{svn} de TeXLive :
+
+\smallskip
+{
+\small
+\nolinkurl{https://tug.org/svn/texlive/trunk/Master/texmf-dist/tex/lualatex/piton/piton.sty}
+}
+
+
+
 \tableofcontents
 
 \end{document}
\ No newline at end of file

Modified: trunk/Master/texmf-dist/doc/lualatex/piton/piton.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/lualatex/piton/piton.dtx
===================================================================
--- trunk/Master/texmf-dist/source/lualatex/piton/piton.dtx	2023-04-11 22:25:41 UTC (rev 66826)
+++ trunk/Master/texmf-dist/source/lualatex/piton/piton.dtx	2023-04-11 22:26:03 UTC (rev 66827)
@@ -15,8 +15,8 @@
 %
 % \fi
 % \iffalse
-\def\myfileversion{1.5}
-\def\myfiledate{2023/04/04}
+\def\myfileversion{1.5a}
+\def\myfiledate{2023/04/11}
 %
 %
 %<*batchfile> 
@@ -955,6 +955,10 @@
 % can't extend on several lines.} of Python are not considered. 
 %
 % \medskip
+% Regarding the fonctions |\alt| and |\temporal| there should be no carriage
+% returns in the mandatory arguments of these functions.
+%
+% \medskip
 % Here is a complete example of file:
 %
 % \begin{Verbatim}[formatcom = \small\color{gray}]
@@ -2370,7 +2374,7 @@
         \bool_if:NT \l_@@_line_numbers_bool
           {
             \bool_if:NF \l_@@_all_line_numbers_bool
-              { \tl_if_empty:nF { #1 } }
+              { \tl_if_eq:nnF  { #1 } { \PitonStyle {Prompt}{} } } % corrected 2023/04/10
               \@@_print_number:
           }
         \clist_if_empty:NF \l_@@_bg_color_clist 
@@ -2875,15 +2879,15 @@
              \footnotesize
              \bool_if:NTF \l_@@_all_line_numbers_bool
                {
-                  \int_to_arabic:n 
-                    { \g_@@_visual_line_int + \l_@@_nb_lines_int }  
+                 \int_to_arabic:n 
+                   { \g_@@_visual_line_int + \l_@@_nb_lines_int }  
                }
                {
-                  \lua_now:n 
-                    { piton.CountNonEmptyLinesFile(token.scan_argument()) } 
-                    { #3 }
-                  \int_to_arabic:n 
-                    { \g_@@_visual_line_int + \l_@@_nb_non_empty_lines_int }   
+                 \lua_now:n 
+                   { piton.CountNonEmptyLinesFile(token.scan_argument()) } 
+                   { #3 }
+                 \int_to_arabic:n 
+                   { \g_@@_visual_line_int + \l_@@_nb_non_empty_lines_int }   
                 }
             }
           \dim_set:Nn \l_@@_left_margin_dim 
@@ -5057,6 +5061,15 @@
 % \vspace{1cm}
 % \section{History}
 %
+% The successive versions of the file |piton.sty| provided by TeXLive are available on the
+% \textsc{svn} server of TeXLive:\par\nobreak
+%
+% \smallskip
+% {
+% \small
+% \nolinkurl{https://tug.org/svn/texlive/trunk/Master/texmf-dist/tex/lualatex/piton/piton.sty}
+% }
+%
 % % \subsection*{Changes between versions 1.4 and 1.5}
 %
 % New key |numbers-sep|.

Modified: trunk/Master/texmf-dist/tex/lualatex/piton/piton.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/piton/piton.sty	2023-04-11 22:25:41 UTC (rev 66826)
+++ trunk/Master/texmf-dist/tex/lualatex/piton/piton.sty	2023-04-11 22:26:03 UTC (rev 66827)
@@ -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



More information about the tex-live-commits mailing list.