texlive[72724] trunk: eolang (31oct24)
commits+karl at tug.org
commits+karl at tug.org
Thu Oct 31 21:34:15 CET 2024
Revision: 72724
https://tug.org/svn/texlive?view=revision&revision=72724
Author: karl
Date: 2024-10-31 21:34:15 +0100 (Thu, 31 Oct 2024)
Log Message:
-----------
eolang (31oct24)
Modified Paths:
--------------
trunk/Build/source/texk/texlive/linked_scripts/eolang/eolang.pl
trunk/Master/texmf-dist/doc/latex/eolang/DEPENDS.txt
trunk/Master/texmf-dist/doc/latex/eolang/README.md
trunk/Master/texmf-dist/doc/latex/eolang/eolang.bib
trunk/Master/texmf-dist/doc/latex/eolang/eolang.pdf
trunk/Master/texmf-dist/doc/man/man1/eolang.1
trunk/Master/texmf-dist/doc/man/man1/eolang.man1.pdf
trunk/Master/texmf-dist/scripts/eolang/eolang.pl
trunk/Master/texmf-dist/source/latex/eolang/eolang.dtx
trunk/Master/texmf-dist/tex/latex/eolang/eolang.sty
Modified: trunk/Build/source/texk/texlive/linked_scripts/eolang/eolang.pl
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/eolang/eolang.pl 2024-10-31 20:34:01 UTC (rev 72723)
+++ trunk/Build/source/texk/texlive/linked_scripts/eolang/eolang.pl 2024-10-31 20:34:15 UTC (rev 72724)
@@ -1,7 +1,7 @@
#!/usr/bin/perl
# (The MIT License)
#
-# Copyright (c) 2022-2024 Yegor Bugayenko
+# Copyright (c) 2021-2024 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
@@ -21,58 +21,22 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
-# 2024-02-14 0.18.1
+# 0000-00-00 0.18.2
package eolang;
use warnings;
use strict;
+use lib('.');
+use tools;
use File::Basename;
# Hash of incoming command line arguments.
my %args = map { $_ => 1 } @ARGV;
-# Read file content.
-sub readfile {
- my ($path) = @_;
- open(my $h, '<', $path) or die('Cannot open file: ' . $path);
- my $content; { local $/; $content = <$h>; }
- return $content;
-}
-
-# Save content to file.
-sub savefile {
- my ($path, $content) = @_;
- open(my $f, '>', $path) or error('Cannot open file for writing: ' . $path);
- print $f $content;
- close($f);
- my $size = -s $path;
- info("File saved to '$path' ($size bytes)");
-}
-
-# Print INFO message to the console.
-sub info {
- my ($txt) = @_;
- print $txt . "\n";
-}
-
-# Print DEBUG message to the console.
-sub debug {
- my ($txt) = @_;
- if (exists $args{'--verbose'}) {
- print $txt . "\n";
- }
-}
-
-# Print ERROR message to the console.
-sub error {
- my ($txt) = @_;
- print STDERR $txt . "\n";
-}
-
if (@ARGV+0 eq 0 or exists $args{'--help'} or exists $args{'-?'}) {
info("This script helps embedding \\phiquation and \\phiq into .tex document\n\n" .
"Usage:\n" .
- " eolang [<options>] <.tex file path>\n\n" .
+ " eolang [<options>] <.tex input file path> <.tex output file path>\n\n" .
"Options:\n" .
" -v, --version Print the current version of the tool and exit\n" .
" -?, --help Print this help screen\n" .
@@ -80,7 +44,7 @@
" --tmpdir=path Temp directory with .tex files ('_eolang' by default)\n\n" .
"If any issues, report to GitHub: https://github.com/yegor256/bibcop");
} elsif (exists $args{'--version'} or exists $args{'-v'}) {
- info('0.18.1 2024-02-14');
+ info('0.18.2 0000-00-00');
} else {
my ($src, $target) = grep { not($_ =~ /^-.*$/) } @ARGV;
if (not $src) {
Modified: trunk/Master/texmf-dist/doc/latex/eolang/DEPENDS.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/eolang/DEPENDS.txt 2024-10-31 20:34:01 UTC (rev 72723)
+++ trunk/Master/texmf-dist/doc/latex/eolang/DEPENDS.txt 2024-10-31 20:34:15 UTC (rev 72724)
@@ -1,6 +1,7 @@
hard adjustbox
hard amsfonts
hard amsmath
+hard everyshi
hard fancyvrb
hard hyperref
hard iexec
Modified: trunk/Master/texmf-dist/doc/latex/eolang/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/eolang/README.md 2024-10-31 20:34:01 UTC (rev 72723)
+++ trunk/Master/texmf-dist/doc/latex/eolang/README.md 2024-10-31 20:34:15 UTC (rev 72724)
@@ -1,3 +1,5 @@
+# LaTeX package for 𝜑-calculus
+
[![l3build](https://github.com/objectionary/eolang.sty/actions/workflows/l3build.yml/badge.svg)](https://github.com/objectionary/eolang.sty/actions/workflows/l3build.yml)
[![CTAN](https://img.shields.io/ctan/v/eolang)](https://ctan.org/pkg/eolang)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/objectionary/eolang.sty/blob/master/LICENSE.txt)
@@ -6,7 +8,7 @@
draw [SODG](https://github.com/objectionary/sodg) graphs
for [EO](https://www.eolang.org) programming language.
-First, [install it](https://en.wikibooks.org/wiki/LaTeX/Installing_Extra_Packages)
+First, [install it][install]
from [CTAN](https://ctan.org/pkg/eolang)
and then use in the preamble:
@@ -22,10 +24,13 @@
\end{document}
```
-Otherwise, you can download [`eolang.sty`](https://objectionary.github.io/eolang.sty/eolang.sty) and add to your project.
+Otherwise, you can download [`eolang.sty`][sty] and add to your project.
-If you want to contribute yourself, make a fork, then create a branch,
+If you want to contribute yourself, make a fork, then create a branch,
then run `l3build ctan` in the root directory.
It should compile everything without errors. If not, submit an issue and wait.
Otherwise, make your changes and then run `l3build ctan` again. If the build is
still clean, submit a pull request.
+
+[install]: https://en.wikibooks.org/wiki/LaTeX/Installing_Extra_Packages
+[sty]: https://objectionary.github.io/eolang.sty/eolang.sty
Modified: trunk/Master/texmf-dist/doc/latex/eolang/eolang.bib
===================================================================
--- trunk/Master/texmf-dist/doc/latex/eolang/eolang.bib 2024-10-31 20:34:01 UTC (rev 72723)
+++ trunk/Master/texmf-dist/doc/latex/eolang/eolang.bib 2024-10-31 20:34:15 UTC (rev 72724)
@@ -1,3 +1,25 @@
+% (The MIT License)
+%
+% Copyright (c) 2021-2024 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
+% in the Software without restriction, including without limitation the rights
+% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+% copies of the Software, and to permit persons to whom the Software is
+% furnished to do so, subject to the following conditions:
+%
+% The above copyright notice and this permission notice shall be included in all
+% copies or substantial portions of the Software.
+%
+% THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+% SOFTWARE.
+
@misc{bugayenko2021eolang,
title={EOLANG and $\varphi$-calculus},
author={Yegor Bugayenko},
Modified: trunk/Master/texmf-dist/doc/latex/eolang/eolang.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/man/man1/eolang.1
===================================================================
--- trunk/Master/texmf-dist/doc/man/man1/eolang.1 2024-10-31 20:34:01 UTC (rev 72723)
+++ trunk/Master/texmf-dist/doc/man/man1/eolang.1 2024-10-31 20:34:15 UTC (rev 72724)
@@ -1,4 +1,4 @@
-.TH eolang 1 "2024-02-14"
+.TH eolang 1 "0000-00-00"
.SH NAME
eolang \- Automated Editor of TeX Files that Use "eolang" Package
.SH SYNOPSIS
@@ -21,4 +21,4 @@
Please log issues on the GitHub homepage:
https://github.com/objectionary/eolang.sty/issues.
.SH SEE ALSO
-See eolang.pdf for more details.
+See eolang.pdf for more details.
\ No newline at end of file
Modified: trunk/Master/texmf-dist/doc/man/man1/eolang.man1.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/scripts/eolang/eolang.pl
===================================================================
--- trunk/Master/texmf-dist/scripts/eolang/eolang.pl 2024-10-31 20:34:01 UTC (rev 72723)
+++ trunk/Master/texmf-dist/scripts/eolang/eolang.pl 2024-10-31 20:34:15 UTC (rev 72724)
@@ -1,7 +1,7 @@
#!/usr/bin/perl
# (The MIT License)
#
-# Copyright (c) 2022-2024 Yegor Bugayenko
+# Copyright (c) 2021-2024 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
@@ -21,58 +21,22 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
-# 2024-02-14 0.18.1
+# 0000-00-00 0.18.2
package eolang;
use warnings;
use strict;
+use lib('.');
+use tools;
use File::Basename;
# Hash of incoming command line arguments.
my %args = map { $_ => 1 } @ARGV;
-# Read file content.
-sub readfile {
- my ($path) = @_;
- open(my $h, '<', $path) or die('Cannot open file: ' . $path);
- my $content; { local $/; $content = <$h>; }
- return $content;
-}
-
-# Save content to file.
-sub savefile {
- my ($path, $content) = @_;
- open(my $f, '>', $path) or error('Cannot open file for writing: ' . $path);
- print $f $content;
- close($f);
- my $size = -s $path;
- info("File saved to '$path' ($size bytes)");
-}
-
-# Print INFO message to the console.
-sub info {
- my ($txt) = @_;
- print $txt . "\n";
-}
-
-# Print DEBUG message to the console.
-sub debug {
- my ($txt) = @_;
- if (exists $args{'--verbose'}) {
- print $txt . "\n";
- }
-}
-
-# Print ERROR message to the console.
-sub error {
- my ($txt) = @_;
- print STDERR $txt . "\n";
-}
-
if (@ARGV+0 eq 0 or exists $args{'--help'} or exists $args{'-?'}) {
info("This script helps embedding \\phiquation and \\phiq into .tex document\n\n" .
"Usage:\n" .
- " eolang [<options>] <.tex file path>\n\n" .
+ " eolang [<options>] <.tex input file path> <.tex output file path>\n\n" .
"Options:\n" .
" -v, --version Print the current version of the tool and exit\n" .
" -?, --help Print this help screen\n" .
@@ -80,7 +44,7 @@
" --tmpdir=path Temp directory with .tex files ('_eolang' by default)\n\n" .
"If any issues, report to GitHub: https://github.com/yegor256/bibcop");
} elsif (exists $args{'--version'} or exists $args{'-v'}) {
- info('0.18.1 2024-02-14');
+ info('0.18.2 0000-00-00');
} else {
my ($src, $target) = grep { not($_ =~ /^-.*$/) } @ARGV;
if (not $src) {
Modified: trunk/Master/texmf-dist/source/latex/eolang/eolang.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/eolang/eolang.dtx 2024-10-31 20:34:01 UTC (rev 72723)
+++ trunk/Master/texmf-dist/source/latex/eolang/eolang.dtx 2024-10-31 20:34:15 UTC (rev 72724)
@@ -50,7 +50,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}
%<package>\ProvidesPackage{eolang}
%<*package>
-[2024-02-14 0.18.1 Formulas and Graphs for EO Programming Language]
+[2024/10/31 0.18.2 Formulas and Graphs for EO Programming Language]
%</package>
%<*driver>
\documentclass{ltxdoc}
@@ -877,7 +877,7 @@
$macro = $ARGV[0];
open(my $fh, '<', $ARGV[1]);
my $tex; { local $/; $tex = <$fh>; }
-print "% This file is auto-generated by 0.18.1\n";
+print "% This file is auto-generated by eolang.sty 0.18.2\n";
print '% There are ', length($tex),
' chars in the input: ', $ARGV[1], "\n";
print '% ---', "\n";
@@ -1149,7 +1149,7 @@
{\eolang at tmpdir/\jobname/\hash-phiq-post.tex}
{%
\iexec[log,trace,quiet,stdout=\eolang at tmpdir/\jobname/phiq.tex]{
- /bin/echo '\clean'}%
+ printf '\%s' '\clean'}%
\iexec[quiet,null]{cp "\eolang at tmpdir/\jobname/phiq.tex"
"\eolang at tmpdir/\jobname/\hash-phiq.tex"}%
\iexec[trace,stdout=\eolang at tmpdir/\jobname/\hash-phiq-post.tex]{
Modified: trunk/Master/texmf-dist/tex/latex/eolang/eolang.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/eolang/eolang.sty 2024-10-31 20:34:01 UTC (rev 72723)
+++ trunk/Master/texmf-dist/tex/latex/eolang/eolang.sty 2024-10-31 20:34:15 UTC (rev 72724)
@@ -31,7 +31,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{eolang}
-[2024-02-14 0.18.1 Formulas and Graphs for EO Programming Language]
+[2024/10/31 0.18.2 Formulas and Graphs for EO Programming Language]
@@ -148,7 +148,7 @@
$macro = $ARGV[0];
open(my $fh, '<', $ARGV[1]);
my $tex; { local $/; $tex = <$fh>; }
-print "% This file is auto-generated by 0.18.1\n";
+print "% This file is auto-generated by eolang.sty 0.18.2\n";
print '% There are ', length($tex),
' chars in the input: ', $ARGV[1], "\n";
print '% ---', "\n";
@@ -392,7 +392,7 @@
{\eolang at tmpdir/\jobname/\hash-phiq-post.tex}
{%
\iexec[log,trace,quiet,stdout=\eolang at tmpdir/\jobname/phiq.tex]{
- /bin/echo '\clean'}%
+ printf '\%s' '\clean'}%
\iexec[quiet,null]{cp "\eolang at tmpdir/\jobname/phiq.tex"
"\eolang at tmpdir/\jobname/\hash-phiq.tex"}%
\iexec[trace,stdout=\eolang at tmpdir/\jobname/\hash-phiq-post.tex]{
More information about the tex-live-commits
mailing list.