From 6925a15396a955498e1d1663204e7fa7da3d1728 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 5 Oct 2022 03:01:34 +0000 Subject: CTAN sync 202210050301 --- support/bundledoc/README | 18 +++++++++--------- support/bundledoc/arlatex | 23 +++++++++++------------ support/bundledoc/arlatex.1 | 20 ++++++++++---------- support/bundledoc/arlatex.pdf | Bin 33296 -> 32073 bytes 4 files changed, 30 insertions(+), 31 deletions(-) (limited to 'support/bundledoc') diff --git a/support/bundledoc/README b/support/bundledoc/README index bf65ec4454..4717a23f1c 100644 --- a/support/bundledoc/README +++ b/support/bundledoc/README @@ -25,16 +25,16 @@ as its archiver in place of tar, zip, etc. Files ----- --rwxrwxr-x 1 pakin users 9978 May 22 2018 arlatex --rw-r--r-- 1 pakin users 10262 Sep 6 22:21 arlatex.1 --rw-r--r-- 1 pakin users 33296 Sep 6 22:26 arlatex.pdf --rwxrwxr-x 1 pakin users 31263 Sep 7 23:17 bundledoc --rw-r--r-- 1 pakin users 23351 Sep 7 23:18 bundledoc.1 --rw-r--r-- 1 pakin users 49713 Sep 7 23:18 bundledoc.pdf --rw-rw-r-- 1 pakin users 342 Jan 22 2014 miktex.cfg --rw-r--r-- 1 pakin users 4435 Sep 7 23:18 README +-rwxr-xr-x 1 pakin users 9850 Oct 3 21:24 arlatex +-rw-r--r-- 1 pakin users 10187 Oct 3 21:24 arlatex.1 +-rw-r--r-- 1 pakin users 32073 Oct 3 21:24 arlatex.pdf +-rwxr-xr-x 1 pakin users 31263 Sep 7 2019 bundledoc +-rw-r--r-- 1 pakin users 23351 Sep 7 2019 bundledoc.1 +-rw-r--r-- 1 pakin users 49713 Sep 7 2019 bundledoc.pdf +-rw-r--r-- 1 pakin users 342 Jan 22 2014 miktex.cfg +-rw-r--r-- 1 pakin users 4435 Oct 3 21:27 README -rw-r--r-- 1 pakin users 248 Aug 24 2014 texlive-unix-arlatex.cfg --rw-rw-r-- 1 pakin users 230 Apr 9 2010 texlive-unix.cfg +-rw-r--r-- 1 pakin users 230 Apr 9 2010 texlive-unix.cfg Requirements diff --git a/support/bundledoc/arlatex b/support/bundledoc/arlatex index 9a50f03048..f0031654e2 100755 --- a/support/bundledoc/arlatex +++ b/support/bundledoc/arlatex @@ -9,7 +9,7 @@ ######################################################################## # arlatex # -# Copyright (C) 2018 Scott Pakin # +# Copyright (C) 2018-2022 Scott Pakin # # # # This program may be distributed and/or modified under the conditions # # of the LaTeX Project Public License, either version 1.3c of this # @@ -27,7 +27,7 @@ ######################################################################## use 5.006; # Fail gracefully if we're not using Perl v5.6.0. -our $VERSION = "1.03"; # Specify the version of arlatex. +our $VERSION = "1.1"; # Specify the version of arlatex. use Getopt::Long; use Pod::Usage; use File::Basename; @@ -50,7 +50,7 @@ sub includefile ($) next if $basefilename eq $baseoutfile; # Don't let a file overwrite itself. $basefilename = "\"$basefilename\"" if $basefilename =~ /\s/ && substr($basefilename, 0, 1) ne '"'; open (SOMEFILE, "<$filename") || die "${progname}: $! ($filename)\n"; - print OUTFILE "\\begin{filecontents*}{$basefilename}\n"; + print OUTFILE "\\begin{filecontents*}[overwrite]{$basefilename}\n"; print OUTFILE ; print OUTFILE "\\end{filecontents*}\n"; close SOMEFILE; @@ -88,7 +88,6 @@ open (OUTFILE, ">$outfile") || die "${progname}: $! ($outfile)\n"; while ($entirefile[0] =~ /^\s*(\%.*)?$/) { print OUTFILE (shift @entirefile); } -print OUTFILE "\\IfFileExists{filecontents.sty}{\\RequirePackage{filecontents}}{}\n"; my @expandedARGV; foreach my $filename (@ARGV) { if (-f $filename) { @@ -268,14 +267,14 @@ See the B documentation for more information. =head1 CAVEATS -B makes use of LaTeX2e's C environment. -C refuses to overwrite an existing file. However, it -also refuses to create a file that exists I that LaTeX can -find it. That is, if the user running B on an -B-generated F<.tex> file already has a -F file then -C will refuse to create a F file, even in -a different directory. +B makes use of LaTeX's C environment. It +passes C the C option to indicate that +existing files with the same name should be overwritten. Be +forewarned that building the generated file will overwrite the files +used to create it. + +It is best to avoid bundling binary files (e.g., included graphics) +with B. These typically do not extract cleanly. =head1 SEE ALSO diff --git a/support/bundledoc/arlatex.1 b/support/bundledoc/arlatex.1 index 8ffce4fe1a..17807b103a 100644 --- a/support/bundledoc/arlatex.1 +++ b/support/bundledoc/arlatex.1 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) +.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.42) .\" .\" Standard preamble: .\" ======================================================================== @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "ARLATEX 1" -.TH ARLATEX 1 "2018-05-23" "v1.03" "User Commands" +.TH ARLATEX 1 "2022-10-04" "v1.1" "User Commands" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -272,14 +272,14 @@ might use in a \fBbundledoc\fR configuration file: See the \fBbundledoc\fR documentation for more information. .SH "CAVEATS" .IX Header "CAVEATS" -\&\fBarlatex\fR makes use of LaTeX2e's \f(CW\*(C`filecontents*\*(C'\fR environment. -\&\f(CW\*(C`filecontents*\*(C'\fR refuses to overwrite an existing file. However, it -also refuses to create a file that exists \fIanywhere\fR that LaTeX can -find it. That is, if the user running \fBlatex\fR on an -\&\fBarlatex\fR\-generated \fI.tex\fR file already has a -\&\fI/usr/share/texmf/tex/latex/whatever/whatever.sty\fR file then -\&\f(CW\*(C`filecontents*\*(C'\fR will refuse to create a \fIwhatever.sty\fR file, even in -a different directory. +\&\fBarlatex\fR makes use of LaTeX's \f(CW\*(C`filecontents*\*(C'\fR environment. It +passes \f(CW\*(C`filecontents*\*(C'\fR the \f(CW\*(C`overwrite\*(C'\fR option to indicate that +existing files with the same name should be overwritten. Be +forewarned that building the generated file will overwrite the files +used to create it. +.PP +It is best to avoid bundling binary files (e.g., included graphics) +with \fBarlatex\fR. These typically do not extract cleanly. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBbundledoc\fR\|(1), \fBlatex\fR\|(1), \fBshar\fR\|(1), \fBtar\fR\|(1), \fBzip\fR\|(1) diff --git a/support/bundledoc/arlatex.pdf b/support/bundledoc/arlatex.pdf index 66eb04a4eb..ed75581aff 100644 Binary files a/support/bundledoc/arlatex.pdf and b/support/bundledoc/arlatex.pdf differ -- cgit v1.2.3