texlive[65751] Master/texmf-dist: eolang (7feb23)

commits+karl at tug.org commits+karl at tug.org
Tue Feb 7 21:46:17 CET 2023


Revision: 65751
          http://tug.org/svn/texlive?view=revision&revision=65751
Author:   karl
Date:     2023-02-07 21:46:17 +0100 (Tue, 07 Feb 2023)
Log Message:
-----------
eolang (7feb23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/eolang/LICENSE.txt
    trunk/Master/texmf-dist/doc/latex/eolang/eolang.pdf
    trunk/Master/texmf-dist/source/latex/eolang/eolang.dtx
    trunk/Master/texmf-dist/source/latex/eolang/eolang.ins
    trunk/Master/texmf-dist/tex/latex/eolang/eolang.sty

Modified: trunk/Master/texmf-dist/doc/latex/eolang/LICENSE.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/eolang/LICENSE.txt	2023-02-07 20:45:45 UTC (rev 65750)
+++ trunk/Master/texmf-dist/doc/latex/eolang/LICENSE.txt	2023-02-07 20:46:17 UTC (rev 65751)
@@ -1,6 +1,6 @@
 (The MIT License)
 
-Copyright (c) 2021-2022 Yegor Bugayenko
+Copyright (c) 2021-2023 Yegor Bugayenko
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the 'Software'), to deal

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-02-07 20:45:45 UTC (rev 65750)
+++ trunk/Master/texmf-dist/source/latex/eolang/eolang.dtx	2023-02-07 20:46:17 UTC (rev 65751)
@@ -1,7 +1,7 @@
 % \iffalse meta-comment
 % (The MIT License)
 %
-% Copyright (c) 2021-2022 Yegor Bugayenko
+% Copyright (c) 2021-2023 Yegor Bugayenko
 %
 % Permission is hereby granted, free of charge, to any person obtaining a copy
 % of this software and associated documentation files (the 'Software'), to deal
@@ -50,7 +50,7 @@
 %<package>\NeedsTeXFormat{LaTeX2e}
 %<package>\ProvidesPackage{eolang}
 %<*package>
-[2023-01-30 0.11.0 Formulas and Graphs for EO Programming Language]
+[2023-02-07 0.11.1 Formulas and Graphs for EO Programming Language]
 %</package>
 %<*driver>
 \documentclass{ltxdoc}
@@ -767,7 +767,7 @@
 $macro = $ARGV[0];
 open(my $fh, '<', $ARGV[1]);
 my $tex; { local $/; $tex = <$fh>; }
-print '% This file is auto-generated', "\n";
+print "% This file is auto-generated by 0.11.1\n";
 print '% There are ', length($tex),
   ' chars in the input: ', $ARGV[1], "\n";
 print '% ---', "\n";
@@ -782,9 +782,13 @@
 print '% ---', "\n";
 $tex =~ s/%.*\n/\n/g;
 $tex =~ s/^\s+|\s+$//g;
-my $gathered = (0 == $tex =~ /\n\s+/g);
+my $indents = $tex =~ /\n +/g;
+my $gathered = (0 == $indents);
 if ($gathered) {
 	print '% The "gathered" is used since all lines are left-aligned' . "\n";
+} else {
+  print '% The "gathered" is NOT used because ' .
+    $indents . " lines are indented\n";
 }
 my $align = 0;
 print '% The "align" is NOT used by default' . "\n";
@@ -861,7 +865,7 @@
 	}
 }
 $tex =~ s/\$/\\xi{}/g;
-$tex =~ s/(?<!\{)\^/\\rho{}/g;
+$tex =~ s/(?<!\{)\^(?!\{)/\\rho{}/g;
 $tex =~ s/\[\[/\\llbracket\\mathbin{}/g;
 $tex =~ s/\]\]/\\mathbin{}\\rrbracket{}/g;
 $tex =~ s/([\s,>(])([0-9A-F]{2}(?:-[0-9A-F]{2})+|

Modified: trunk/Master/texmf-dist/source/latex/eolang/eolang.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/eolang/eolang.ins	2023-02-07 20:45:45 UTC (rev 65750)
+++ trunk/Master/texmf-dist/source/latex/eolang/eolang.ins	2023-02-07 20:46:17 UTC (rev 65751)
@@ -1,6 +1,6 @@
 %% (The MIT License)
 %%
-%% Copyright (c) 2021-2022 Yegor Bugayenko
+%% Copyright (c) 2021-2023 Yegor Bugayenko
 %%
 %% Permission is hereby granted, free of charge, to any person obtaining a copy
 %% of this software and associated documentation files (the 'Software'), to deal
@@ -26,7 +26,7 @@
 \preamble
 (The MIT License)
 
-Copyright (c) 2021-2022 Yegor Bugayenko
+Copyright (c) 2021-2023 Yegor Bugayenko
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the 'Software'), to deal

Modified: trunk/Master/texmf-dist/tex/latex/eolang/eolang.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/eolang/eolang.sty	2023-02-07 20:45:45 UTC (rev 65750)
+++ trunk/Master/texmf-dist/tex/latex/eolang/eolang.sty	2023-02-07 20:46:17 UTC (rev 65751)
@@ -7,7 +7,7 @@
 %% eolang.dtx  (with options: `package')
 %% (The MIT License)
 %% 
-%% Copyright (c) 2021-2022 Yegor Bugayenko
+%% Copyright (c) 2021-2023 Yegor Bugayenko
 %% 
 %% Permission is hereby granted, free of charge, to any person obtaining a copy
 %% of this software and associated documentation files (the 'Software'), to deal
@@ -31,7 +31,7 @@
 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{eolang}
-[2023-01-30 0.11.0 Formulas and Graphs for EO Programming Language]
+[2023-02-07 0.11.1 Formulas and Graphs for EO Programming Language]
 
 
 
@@ -110,7 +110,7 @@
 $macro = $ARGV[0];
 open(my $fh, '<', $ARGV[1]);
 my $tex; { local $/; $tex = <$fh>; }
-print '% This file is auto-generated', "\n";
+print "% This file is auto-generated by 0.11.1\n";
 print '% There are ', length($tex),
   ' chars in the input: ', $ARGV[1], "\n";
 print '% ---', "\n";
@@ -125,9 +125,13 @@
 print '% ---', "\n";
 $tex =~ s/%.*\n/\n/g;
 $tex =~ s/^\s+|\s+$//g;
-my $gathered = (0 == $tex =~ /\n\s+/g);
+my $indents = $tex =~ /\n +/g;
+my $gathered = (0 == $indents);
 if ($gathered) {
 print '% The "gathered" is used since all lines are left-aligned' . "\n";
+} else {
+  print '% The "gathered" is NOT used because ' .
+    $indents . " lines are indented\n";
 }
 my $align = 0;
 print '% The "align" is NOT used by default' . "\n";
@@ -204,7 +208,7 @@
 }
 }
 $tex =~ s/\$/\\xi{}/g;
-$tex =~ s/(?<!\{)\^/\\rho{}/g;
+$tex =~ s/(?<!\{)\^(?!\{)/\\rho{}/g;
 $tex =~ s/\[\[/\\llbracket\\mathbin{}/g;
 $tex =~ s/\]\]/\\mathbin{}\\rrbracket{}/g;
 $tex =~ s/([\s,>(])([0-9A-F]{2}(?:-[0-9A-F]{2})+|



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