From fb8f69e8be474162b1ec98c0e839e6b7ec6f2ff8 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 17 Jun 2023 19:59:17 +0000 Subject: eolang (17jun23) git-svn-id: svn://tug.org/texlive/trunk@67393 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/eolang/eolang.pdf | Bin 2063641 -> 2102365 bytes Master/texmf-dist/source/latex/eolang/eolang.dtx | 23 ++++++++++++++++++----- Master/texmf-dist/tex/latex/eolang/eolang.sty | 9 +++++---- 3 files changed, 23 insertions(+), 9 deletions(-) diff --git a/Master/texmf-dist/doc/latex/eolang/eolang.pdf b/Master/texmf-dist/doc/latex/eolang/eolang.pdf index cfd4ffcbfdb..79a75009326 100644 Binary files a/Master/texmf-dist/doc/latex/eolang/eolang.pdf and b/Master/texmf-dist/doc/latex/eolang/eolang.pdf differ diff --git a/Master/texmf-dist/source/latex/eolang/eolang.dtx b/Master/texmf-dist/source/latex/eolang/eolang.dtx index 3a38714fbd6..f11125a7e24 100644 --- a/Master/texmf-dist/source/latex/eolang/eolang.dtx +++ b/Master/texmf-dist/source/latex/eolang/eolang.dtx @@ -50,7 +50,7 @@ %\NeedsTeXFormat{LaTeX2e} %\ProvidesPackage{eolang} %<*package> -[2023-03-01 0.12.1 Formulas and Graphs for EO Programming Language] +[2023-06-17 0.12.2 Formulas and Graphs for EO Programming Language] % %<*driver> \documentclass{ltxdoc} @@ -463,7 +463,7 @@ % \pagestyle{empty} % \begin{document} % \begin{phiquation*} -% x -> \left\{\begin{matrix} \ +% foo -> \left\{\begin{matrix} \ % ? \\ % [[ L> ^ \times $.\alpha_0 ]] \\ % [[ D> 42 ]] \ @@ -601,6 +601,19 @@ % \end{document} % \end{docshot} +% When necessary to use a percentage sign, prepend it with a backward slash: +% \docshotOptions{firstline=5,lastline=10} +% \begin{docshot} +% \documentclass{article} +% \usepackage{eolang} +% \thispagestyle{empty} +% \begin{document} +% \begin{phiquation*} +% x -> sprintf("Hello, \%s!", name) +% \end{phiquation*} +% \end{document} +% \end{docshot} + % You can make a copy of a vertex together with its kids: % \docshotOptions{firstline=5,lastline=15} % \begin{docshot} @@ -783,7 +796,7 @@ $macro = $ARGV[0]; open(my $fh, '<', $ARGV[1]); my $tex; { local $/; $tex = <$fh>; } -print "% This file is auto-generated by 0.12.1\n"; +print "% This file is auto-generated by 0.12.2\n"; print '% There are ', length($tex), ' chars in the input: ', $ARGV[1], "\n"; print '% ---', "\n"; @@ -796,7 +809,7 @@ foreach my $t (@lines) { print '% ', $t, "\n"; } print '% ---', "\n"; -$tex =~ s/%.*\n/\n/g; +$tex =~ s/(?; } -print "% This file is auto-generated by 0.12.1\n"; +print "% This file is auto-generated by 0.12.2\n"; print '% There are ', length($tex), ' chars in the input: ', $ARGV[1], "\n"; print '% ---', "\n"; @@ -124,7 +125,7 @@ foreach my $t (@lines) { print '% ', $t, "\n"; } print '% ---', "\n"; -$tex =~ s/%.*\n/\n/g; +$tex =~ s/(?