summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-03-01 21:04:01 +0000
committerKarl Berry <karl@freefriends.org>2023-03-01 21:04:01 +0000
commitb47028e3b0ef4b459fee767a65c311de5b264641 (patch)
tree54cead8c9edc94d444da249007c70c62c33faa3b
parent0b1bc13c60183f1af7d8a5b3e616c1e89e18e83e (diff)
eolang (1mar23)
git-svn-id: svn://tug.org/texlive/trunk@66274 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/eolang/eolang.pdfbin2063516 -> 2063641 bytes
-rw-r--r--Master/texmf-dist/source/latex/eolang/eolang.dtx17
-rw-r--r--Master/texmf-dist/tex/latex/eolang/eolang.sty8
3 files changed, 13 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/latex/eolang/eolang.pdf b/Master/texmf-dist/doc/latex/eolang/eolang.pdf
index 28e6bdeb340..cfd4ffcbfdb 100644
--- a/Master/texmf-dist/doc/latex/eolang/eolang.pdf
+++ b/Master/texmf-dist/doc/latex/eolang/eolang.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/eolang/eolang.dtx b/Master/texmf-dist/source/latex/eolang/eolang.dtx
index 6ad8663b55e..3a38714fbd6 100644
--- a/Master/texmf-dist/source/latex/eolang/eolang.dtx
+++ b/Master/texmf-dist/source/latex/eolang/eolang.dtx
@@ -50,7 +50,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}
%<package>\ProvidesPackage{eolang}
%<*package>
-[2023-02-09 0.12.0 Formulas and Graphs for EO Programming Language]
+[2023-03-01 0.12.1 Formulas and Graphs for EO Programming Language]
%</package>
%<*driver>
\documentclass{ltxdoc}
@@ -677,11 +677,11 @@
% \begin{document}
% \begin{sodg}
% v0
-% v1 xy:v0,-1,1 \\ v0->v1
-% v2 xy:v0,0,1 \\ v0->v2
-% v3 xy:v0,1,1 \\ v0->v3
+% v11 xy:v0,-1,1 \\ v0->v11
+% v12 xy:v0,0,1 \\ v0->v12
+% v13 xy:v0,1,1 \\ v0->v13
% \node[draw=red,rounded corners,\
-% dotted,fit=(v1) (v2)] {};
+% dotted,fit=(v11) (v12)] {};
% \end{sodg}
% \end{document}
% \end{docshot}
@@ -783,7 +783,7 @@
$macro = $ARGV[0];
open(my $fh, '<', $ARGV[1]);
my $tex; { local $/; $tex = <$fh>; }
-print "% This file is auto-generated by 0.12.0\n";
+print "% This file is auto-generated by 0.12.1\n";
print '% There are ', length($tex),
' chars in the input: ', $ARGV[1], "\n";
print '% ---', "\n";
@@ -1051,6 +1051,7 @@ print '\endinput';
% \changes{0.5.0}{2022/11/12}{It is possible to use TikZ commands inside the \texttt{sodg} environment.}
% \changes{0.6.0}{2022/11/13}{The \texttt{rrho} attribute is retired, now \texttt{rho} works just fine in all situations.}
% \changes{0.8.0}{2022/11/20}{The \texttt{tag} attribute is introduced for changing labels inside a vertex circle.}
+% \changes{0.12.1}{2023/03/01}{The bug is fixed related to the formatting of indexes of vertices.}
% Then, we create a Perl script for |sodg| graphs processing using |VerbatimOut| from
% \href{https://ctan.org/pkg/fancyvrb}{fancyvrb}:
% \begin{macrocode}
@@ -1071,9 +1072,9 @@ sub vertex {
if (index($v, 'v0') == 0) {
return '\Phi';
} else {
- $v =~ s/^v/v_/g;
+ $v =~ s/^v/v_{/g;
$v =~ s/[^0-9]$//g;
- return $v;
+ return $v . '}';
}
}
sub tailor {
diff --git a/Master/texmf-dist/tex/latex/eolang/eolang.sty b/Master/texmf-dist/tex/latex/eolang/eolang.sty
index dde0846d3fd..743f092b529 100644
--- a/Master/texmf-dist/tex/latex/eolang/eolang.sty
+++ b/Master/texmf-dist/tex/latex/eolang/eolang.sty
@@ -31,7 +31,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{eolang}
-[2023-02-09 0.12.0 Formulas and Graphs for EO Programming Language]
+[2023-03-01 0.12.1 Formulas and Graphs for EO Programming Language]
@@ -111,7 +111,7 @@
$macro = $ARGV[0];
open(my $fh, '<', $ARGV[1]);
my $tex; { local $/; $tex = <$fh>; }
-print "% This file is auto-generated by 0.12.0\n";
+print "% This file is auto-generated by 0.12.1\n";
print '% There are ', length($tex),
' chars in the input: ', $ARGV[1], "\n";
print '% ---', "\n";
@@ -355,9 +355,9 @@ sub vertex {
if (index($v, 'v0') == 0) {
return '\Phi';
} else {
- $v =~ s/^v/v_/g;
+ $v =~ s/^v/v_{/g;
$v =~ s/[^0-9]$//g;
- return $v;
+ return $v . '}';
}
}
sub tailor {