texlive[67795] Master/texmf-dist: eolang (2aug23)
commits+karl at tug.org
commits+karl at tug.org
Wed Aug 2 22:05:50 CEST 2023
Revision: 67795
http://tug.org/svn/texlive?view=revision&revision=67795
Author: karl
Date: 2023-08-02 22:05:49 +0200 (Wed, 02 Aug 2023)
Log Message:
-----------
eolang (2aug23)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/eolang/DEPENDS.txt
trunk/Master/texmf-dist/doc/latex/eolang/eolang.pdf
trunk/Master/texmf-dist/source/latex/eolang/eolang.dtx
trunk/Master/texmf-dist/tex/latex/eolang/eolang.sty
Modified: trunk/Master/texmf-dist/doc/latex/eolang/DEPENDS.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/eolang/DEPENDS.txt 2023-08-02 08:10:19 UTC (rev 67794)
+++ trunk/Master/texmf-dist/doc/latex/eolang/DEPENDS.txt 2023-08-02 20:05:49 UTC (rev 67795)
@@ -1,13 +1,35 @@
-hard stmaryrd
+hard adjustbox
+hard amsfonts
hard amsmath
-hard amsfonts
+hard fancyvrb
+hard hyperref
hard iexec
+hard pdftexcmds
hard pgf
-hard fancyvrb
hard pgfopts
-hard pdftexcmds
-hard ifluatex
-hard ifxetex
-hard adjustbox
-hard hyperref
-hard xstring
\ No newline at end of file
+hard stmaryrd
+hard xstring
+soft acmart
+soft biber
+soft biblatex
+soft booktabs
+soft caption
+soft cmap
+soft comment
+soft docshots
+soft environ
+soft href-ul
+soft hypdoc
+soft hyperxmp
+soft iexec
+soft ifmtarg
+soft l3build
+soft libertine
+soft ncctools
+soft scheme-basic
+soft setspace
+soft standalone
+soft textcase
+soft tools
+soft totpages
+soft xetex
\ No newline at end of file
Modified: trunk/Master/texmf-dist/doc/latex/eolang/eolang.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/eolang/eolang.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/eolang/eolang.dtx 2023-08-02 08:10:19 UTC (rev 67794)
+++ trunk/Master/texmf-dist/source/latex/eolang/eolang.dtx 2023-08-02 20:05:49 UTC (rev 67795)
@@ -50,7 +50,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}
%<package>\ProvidesPackage{eolang}
%<*package>
-[2023-07-01 0.13.0 Formulas and Graphs for EO Programming Language]
+[2023-08-02 0.14.0 Formulas and Graphs for EO Programming Language]
%</package>
%<*driver>
\documentclass{ltxdoc}
@@ -219,15 +219,16 @@
% The following markers are supported for a vertex:
% \begin{itemize}\setlength\itemsep{0em}
-% \item ``|tag:<math>|'' puts a custom label |<math>| into the circle,
+% \item ``|tag:<math>|'' puts a custom label |<math>| into the circle;
% \item ``|data:[<box>]|'' makes it a data vertex with an optional attached ``|<box>|''
-% (the content of the box may only be numeric data),
+% (the content of the box may only be numeric data);
% \item ``|atom:[<box>]|'' makes it an atom with an optional attached ``|<box>|''
-% (the content of the box is a math formula),
-% \item ``|box:<txt>|'' attaches a ``|<box>|'' to it,
+% (the content of the box is a math formula);
+% \item ``|box:<txt>|'' attaches a ``|<box>|'' to it;
% \item ``|xy:<v>,<r>,<d>|'' places this vertex in a position relative to the vertex ``|<v>|,''
-% shifting it right by ``|<r>|'' and down by ``|<d>|'' centimetres.
-% \item ``|+:<v>|'' makes a copy of an existing vertex and all its kids.
+% shifting it right by ``|<r>|'' and down by ``|<d>|'' centimetres;
+% \item ``|+:<v>|'' makes a copy of an existing vertex and all its kids;
+% \item ``|edgeless|'' removes the border from the vertex.
% \end{itemize}
% The following markers are supported for an edge:
@@ -691,7 +692,7 @@
% \usetikzlibrary{fit}
% \begin{document}
% \begin{sodg}
-% v0
+% v0 edgeless
% v11 xy:v0,-1,1 \\ v0->v11
% v12 xy:v0,0,1 \\ v0->v12
% v13 xy:v0,1,1 \\ v0->v13
@@ -799,7 +800,7 @@
$macro = $ARGV[0];
open(my $fh, '<', $ARGV[1]);
my $tex; { local $/; $tex = <$fh>; }
-print "% This file is auto-generated by 0.13.0\n";
+print "% This file is auto-generated by 0.14.0\n";
print '% There are ', length($tex),
' chars in the input: ', $ARGV[1], "\n";
print '% ---', "\n";
@@ -1069,6 +1070,7 @@
% \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.}
+% \changes{0.14.0}{2023/07/26}{The \texttt{edgeless} tag of a vertex removes the border of it.}
% Then, we create a Perl script for |sodg| graphs processing using |VerbatimOut| from
% \href{https://ctan.org/pkg/fancyvrb}{fancyvrb}:
% \begin{macrocode}
@@ -1135,7 +1137,9 @@
my ($q, $t) = split(/:/, $p);
$opts{$q} = $t;
}
- if (index($head, '->') >= 0) {
+ if (index($head, '\\') == 0) {
+ print $cmd;
+ } elsif (index($head, '->') >= 0) {
my $draw = '\draw[';
if (exists $opts{'pi'}) {
$draw = $draw . '<MB:phi-pi><F:draw=none>';
@@ -1306,6 +1310,9 @@
} else {
print ',phi-object';
}
+ if (exists $opts{'edgeless'}) {
+ print ',draw=none';
+ }
print ']';
print ' (' . $head . ')';
print ' {';
@@ -1326,8 +1333,6 @@
print $head, '.south east) {';
print $opts{'box'}, '}';
}
- } else {
- print $cmd;
}
print ";\n";
}
Modified: trunk/Master/texmf-dist/tex/latex/eolang/eolang.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/eolang/eolang.sty 2023-08-02 08:10:19 UTC (rev 67794)
+++ trunk/Master/texmf-dist/tex/latex/eolang/eolang.sty 2023-08-02 20:05:49 UTC (rev 67795)
@@ -31,7 +31,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{eolang}
-[2023-07-01 0.13.0 Formulas and Graphs for EO Programming Language]
+[2023-08-02 0.14.0 Formulas and Graphs for EO Programming Language]
@@ -112,7 +112,7 @@
$macro = $ARGV[0];
open(my $fh, '<', $ARGV[1]);
my $tex; { local $/; $tex = <$fh>; }
-print "% This file is auto-generated by 0.13.0\n";
+print "% This file is auto-generated by 0.14.0\n";
print '% There are ', length($tex),
' chars in the input: ', $ARGV[1], "\n";
print '% ---', "\n";
@@ -403,7 +403,9 @@
my ($q, $t) = split(/:/, $p);
$opts{$q} = $t;
}
- if (index($head, '->') >= 0) {
+ if (index($head, '\\') == 0) {
+ print $cmd;
+ } elsif (index($head, '->') >= 0) {
my $draw = '\draw[';
if (exists $opts{'pi'}) {
$draw = $draw . '<MB:phi-pi><F:draw=none>';
@@ -574,6 +576,9 @@
} else {
print ',phi-object';
}
+ if (exists $opts{'edgeless'}) {
+ print ',draw=none';
+ }
print ']';
print ' (' . $head . ')';
print ' {';
@@ -594,8 +599,6 @@
print $head, '.south east) {';
print $opts{'box'}, '}';
}
- } else {
- print $cmd;
}
print ";\n";
}
More information about the tex-live-commits
mailing list.