summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-11-25 22:08:21 +0000
committerKarl Berry <karl@freefriends.org>2018-11-25 22:08:21 +0000
commitb8996f0f541d768f8f70ef9c6ca5b938ad164b70 (patch)
tree5de4e9493cec390cbb7b0da0375f0cf96ca3d402 /Build/source
parent36c552d0c50c8963c1b2bc835b68e66c398a0b4b (diff)
latex2man (25nov18)
git-svn-id: svn://tug.org/texlive/trunk@49249 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/latex2man/latex2man15
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/texlive/tlmgr.pl38
2 files changed, 36 insertions, 17 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/latex2man/latex2man b/Build/source/texk/texlive/linked_scripts/latex2man/latex2man
index 8541f593f31..e117d3370be 100755
--- a/Build/source/texk/texlive/linked_scripts/latex2man/latex2man
+++ b/Build/source/texk/texlive/linked_scripts/latex2man/latex2man
@@ -4,7 +4,7 @@
# Descr: Latex --> MAN-page (groff -man), HTML and TexInfo;
# Language: PERL (>= 5.0)
# Author: Dr. Jürgen Vollmer, Juergen.Vollmer@informatik-vollmer.de
-# $Id: latex2man,v 1.177 2018/11/22 07:42:26 vollmer Exp $
+# $Id: latex2man,v 1.181 2018/11/25 13:05:37 vollmer Exp $
#
# Copyright (C) 1998 Dr. Juergen Vollmer
# Am Rennbuckel 21, D-76185 Karlsruhe, Germany
@@ -20,15 +20,16 @@
require 5.0004_03;
use Getopt::Std;
+use File::Basename;
no warnings 'once';
# use strict 'vars';
-$CMD=`basename "$0"`; chop ($CMD);
-$gen_date = `date`; chomp $gen_date; # date when the output was generated
+$CMD = basename ($0);
+$gen_date = localtime(); # date when the output was generated
sub date2str;
-$VERSION = "1.28";
-$DATE = date2str ('$Date: 2018/11/22 07:42:26 $' =~ m|(\d+/\d+/\d+)|);
+$VERSION = "1.29";
+$DATE = date2str ('$Date: 2018/11/25 13:05:37 $' =~ m|(\d+/\d+/\d+)|);
$tmp = "/tmp/$CMD.$$";
@@ -1092,7 +1093,7 @@ sub texiParagraph
sub texiVerb
{
$arg = $_[0];
- $arg =~ s/({|})/\@$1/g;
+ $arg =~ s/([{]|})/\@$1/g;
Print $arg;
}
@@ -1398,7 +1399,7 @@ sub interpret_word
$add_blank = 0;
last SWITCH;
};
- /\\({|}|\$|_|#|&|-|%|,|\.|;)/ && do {$s=$`;$m=$1;$r=$'; #'
+ /\\([{]|}|\$|_|#|&|-|%|,|\.|;)/ && do {$s=$`;$m=$1;$r=$'; #'
interpret_word $s;
PrintM $Macro->{$m};
interpret_word $r;
diff --git a/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl b/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl
index 0c018897935..22a0ee30c1d 100755
--- a/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl
+++ b/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl
@@ -1,12 +1,12 @@
#!/usr/bin/env perl
-# $Id: tlmgr.pl 49070 2018-11-03 21:12:00Z karl $
+# $Id: tlmgr.pl 49226 2018-11-22 23:37:16Z karl $
#
# Copyright 2008-2018 Norbert Preining
# This file is licensed under the GNU General Public License version 2
# or any later version.
-my $svnrev = '$Revision: 49070 $';
-my $datrev = '$Date: 2018-11-03 22:12:00 +0100 (Sat, 03 Nov 2018) $';
+my $svnrev = '$Revision: 49226 $';
+my $datrev = '$Date: 2018-11-23 00:37:16 +0100 (Fri, 23 Nov 2018) $';
my $tlmgrrevision;
my $tlmgrversion;
my $prg;
@@ -9704,10 +9704,9 @@ automatically selected by the installer. The order of selection is:
=item 1.
-If the environment variable C<TEXLIVE_DOWNLOADER> is
-defined, use it; abort if the specified program doesn't work.
-Possible values: C<curl>, C<wget>. The necessary options are added
-internally.
+If the environment variable C<TEXLIVE_DOWNLOADER> is defined, use it;
+abort if the specified program doesn't work. Possible values: C<lwp>,
+C<curl>, C<wget>. The necessary options are added internally.
=item 2.
@@ -9730,8 +9729,27 @@ If wget is available (either from the system or TL) and working, use that.
=back
-TL still provides C<wget> binaries for some platforms, so
-some download method should always be available.
+TL provides C<wget> binaries for platforms where necessary, so some
+download method should always be available.
+
+=item C<TEXLIVE_PREFER_OWN>
+
+By default, compression and download programs provided by the system,
+i.e., found along C<PATH> are preferred over those shipped with TeX
+Live.
+
+This can create problems with systems that are too old, and so can be
+overridden by setting the environment variable C<TEXLIVE_PREFER_OWN> to
+1. In this case, executables shipped with TL will be preferred.
+
+Extra compression/download programs not provided by TL, such as gzip,
+lwp, and curl, are still checked for on the system and used if
+available, per the above. C<TEXLIVE_PREFER_OWN> only applies when the
+program being checked for is shipped with TL, namely the lz4 and
+xz compressors and wget downloader.
+
+Exception: on Windows, the C<tar.exe> shipped with TL is always used,
+regardless of any setting.
=back
@@ -9742,7 +9760,7 @@ This script and its documentation were written for the TeX Live
distribution (L<http://tug.org/texlive>) and both are licensed under the
GNU General Public License Version 2 or later.
-$Id: tlmgr.pl 49070 2018-11-03 21:12:00Z karl $
+$Id: tlmgr.pl 49226 2018-11-22 23:37:16Z karl $
=cut
# test HTML version: pod2html --cachedir=/tmp tlmgr.pl >/tmp/tlmgr.html