From b8996f0f541d768f8f70ef9c6ca5b938ad164b70 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 25 Nov 2018 22:08:21 +0000 Subject: latex2man (25nov18) git-svn-id: svn://tug.org/texlive/trunk@49249 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/info/latex2man.info | 4 ++-- Master/texmf-dist/doc/man/man1/latex2man.1 | 8 ++++---- Master/texmf-dist/doc/man/man1/latex2man.man1.pdf | Bin 62019 -> 62025 bytes Master/texmf-dist/doc/support/latex2man/CHANGES | 4 +++- Master/texmf-dist/doc/support/latex2man/Makefile | 6 +++--- Master/texmf-dist/doc/support/latex2man/README | 4 ++-- .../doc/support/latex2man/THIS-IS-VERSION-1.28 | 1 - .../doc/support/latex2man/THIS-IS-VERSION-1.29 | 1 + .../doc/support/latex2man/latex2man-CHANGES.html | 4 +++- .../doc/support/latex2man/latex2man.html | 10 +++++----- .../texmf-dist/doc/support/latex2man/latex2man.pdf | Bin 280864 -> 281537 bytes .../texmf-dist/doc/support/latex2man/latex2man.tex | 8 ++++---- .../doc/support/latex2man/latex2man.texi | 6 +++--- .../texmf-dist/doc/support/latex2man/latex2man.txt | 6 +++--- Master/texmf-dist/scripts/latex2man/latex2man | 15 ++++++++------- .../texmf-dist/tex/latex/latex2man/latex2man.sty | 6 +++--- 16 files changed, 44 insertions(+), 39 deletions(-) delete mode 100644 Master/texmf-dist/doc/support/latex2man/THIS-IS-VERSION-1.28 create mode 100644 Master/texmf-dist/doc/support/latex2man/THIS-IS-VERSION-1.29 (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/info/latex2man.info b/Master/texmf-dist/doc/info/latex2man.info index 9357f1363dc..92d97c9f428 100644 --- a/Master/texmf-dist/doc/info/latex2man.info +++ b/Master/texmf-dist/doc/info/latex2man.info @@ -612,7 +612,7 @@ The following standard LaTeX commands are accepted: inside a itemize, enumerate, or description environment. `\today' - 22 November 2018(see also the rcsinfo LaTeXpackage). + 25 November 2018(see also the rcsinfo LaTeXpackage). `\ss,\"a, ...' \ss = ss, \"a= a", \"o= o", \"u= u", \"A= A", \"O= O", \"U= U". It @@ -993,7 +993,7 @@ File: latex2man.info, Node: Version, Next: License and Copyright, Prev: Chang Version ======= -Version: 1.28 of 2018/11/22. +Version: 1.29 of 2018/11/25.  File: latex2man.info, Node: License and Copyright, Next: Author, Prev: Version, Up: Top diff --git a/Master/texmf-dist/doc/man/man1/latex2man.1 b/Master/texmf-dist/doc/man/man1/latex2man.1 index 7c1445be187..d2b4b19c273 100644 --- a/Master/texmf-dist/doc/man/man1/latex2man.1 +++ b/Master/texmf-dist/doc/man/man1/latex2man.1 @@ -1,5 +1,5 @@ '\" t -.\" Manual page created with latex2man on Do 22. Nov 08:50:47 CET 2018 +.\" Manual page created with latex2man on Sun Nov 25 14:05:37 2018 .\" NOTE: This file is generated, DO NOT EDIT. .de Vb .ft CW @@ -10,7 +10,7 @@ .fi .. -.TH "LATEX2MAN" "1" "2018/11/22" "Documentation Tools " "Documentation Tools " +.TH "LATEX2MAN" "1" "2018/11/25" "Documentation Tools " "Documentation Tools " .SH NAME .PP @@ -725,7 +725,7 @@ description environment. .TP \\today -22 November 2018(see also the rcsinfo +25 November 2018(see also the rcsinfo LaTeXpackage). .TP \\ss,\\"a, ... @@ -1310,7 +1310,7 @@ acknowledgment to people contributing bugfixes or enhancements. .SH VERSION .PP -Version: 1.28 of 2018/11/22\&. +Version: 1.29 of 2018/11/25\&. .PP .SH LICENSE AND COPYRIGHT diff --git a/Master/texmf-dist/doc/man/man1/latex2man.man1.pdf b/Master/texmf-dist/doc/man/man1/latex2man.man1.pdf index 9ea085d74c2..0b32df89bfb 100644 Binary files a/Master/texmf-dist/doc/man/man1/latex2man.man1.pdf and b/Master/texmf-dist/doc/man/man1/latex2man.man1.pdf differ diff --git a/Master/texmf-dist/doc/support/latex2man/CHANGES b/Master/texmf-dist/doc/support/latex2man/CHANGES index f4b1a077b80..a72b1792983 100644 --- a/Master/texmf-dist/doc/support/latex2man/CHANGES +++ b/Master/texmf-dist/doc/support/latex2man/CHANGES @@ -2,7 +2,9 @@ Change history of the latex2man package ======================================= -$Id: CHANGES,v 1.71 2018/11/22 07:50:02 vollmer Exp $ +$Id: CHANGES,v 1.73 2018/11/25 13:00:53 vollmer Exp $ +1.29 25 Nov 2018 - Avoid some warnings and improve performance under MS Windows + thanks to Mike Molina 1.28 22 Nov 2018 - Added missing file latex2man.inc to tar archive 1.27 05 June 2018 - Fixed handling blanks in command path 1.26 06 Oct 2017 - Handle \end{document}, diff --git a/Master/texmf-dist/doc/support/latex2man/Makefile b/Master/texmf-dist/doc/support/latex2man/Makefile index 106aee8ecb4..90c56c1ff04 100644 --- a/Master/texmf-dist/doc/support/latex2man/Makefile +++ b/Master/texmf-dist/doc/support/latex2man/Makefile @@ -1,7 +1,7 @@ # Project: Documentation Tools # Descr: Latex --> MAN-page (groff -man), Makefile # Author: Dr. Jürgen Vollmer, Juergen.Vollmer@informatik-vollmer.de -# $Id: Makefile,v 1.127 2018/11/22 07:42:23 vollmer Exp $ +# $Id: Makefile,v 1.128 2018/11/25 12:57:59 vollmer Exp $ BASE = latex2man @@ -23,8 +23,8 @@ EX = --exclude "*.o" --exclude core --exclude "*.tar.gz" --exclude "*~" \ --exclude "*.a" --exclude "*.php" EXrcs = $(EX) --exclude "*/RCS/*" --exclude "*/RCS" -VERSION = 1.28 -V_DATE = 2018/11/22 +VERSION = 1.29 +V_DATE = 2018/11/25 latex2man = ./latex2man D = $ diff --git a/Master/texmf-dist/doc/support/latex2man/README b/Master/texmf-dist/doc/support/latex2man/README index b54b701c4fe..b3bd4215ea5 100644 --- a/Master/texmf-dist/doc/support/latex2man/README +++ b/Master/texmf-dist/doc/support/latex2man/README @@ -17,7 +17,7 @@ Requirements: - Latex2man requires Perl version >= 5.0004_03. - LaTeX2e -VERSION: 1.28 +VERSION: 1.29 Author and Copyright (c) 1998: Dr. Jürgen Vollmer @@ -33,4 +33,4 @@ License: If you find this software useful, please send me a postcard. -$Id: README,v 1.69 2018/11/22 07:42:26 vollmer Exp $ +$Id: README,v 1.70 2018/11/25 13:05:37 vollmer Exp $ diff --git a/Master/texmf-dist/doc/support/latex2man/THIS-IS-VERSION-1.28 b/Master/texmf-dist/doc/support/latex2man/THIS-IS-VERSION-1.28 deleted file mode 100644 index 84644f3b90d..00000000000 --- a/Master/texmf-dist/doc/support/latex2man/THIS-IS-VERSION-1.28 +++ /dev/null @@ -1 +0,0 @@ -VERSION 1.28 DATE=2018/11/22 diff --git a/Master/texmf-dist/doc/support/latex2man/THIS-IS-VERSION-1.29 b/Master/texmf-dist/doc/support/latex2man/THIS-IS-VERSION-1.29 new file mode 100644 index 00000000000..70088f752c3 --- /dev/null +++ b/Master/texmf-dist/doc/support/latex2man/THIS-IS-VERSION-1.29 @@ -0,0 +1 @@ +VERSION 1.29 DATE=2018/11/25 diff --git a/Master/texmf-dist/doc/support/latex2man/latex2man-CHANGES.html b/Master/texmf-dist/doc/support/latex2man/latex2man-CHANGES.html index 84124818d1d..b58c1c60f08 100644 --- a/Master/texmf-dist/doc/support/latex2man/latex2man-CHANGES.html +++ b/Master/texmf-dist/doc/support/latex2man/latex2man-CHANGES.html @@ -7,7 +7,9 @@ Change history of the latex2man package ======================================= -$Id: CHANGES,v 1.71 2018/11/22 07:50:02 vollmer Exp $ +$Id: CHANGES,v 1.73 2018/11/25 13:00:53 vollmer Exp $ +1.29 25 Nov 2018 - Avoid some warnings and improve performance under MS Windows + thanks to Mike Molina <mmolina.unphysics@gmail.com> 1.28 22 Nov 2018 - Added missing file latex2man.inc to tar archive 1.27 05 June 2018 - Fixed handling blanks in command path 1.26 06 Oct 2017 - Handle \end{document}, diff --git a/Master/texmf-dist/doc/support/latex2man/latex2man.html b/Master/texmf-dist/doc/support/latex2man/latex2man.html index 6f27e438b26..3d914c4c759 100644 --- a/Master/texmf-dist/doc/support/latex2man/latex2man.html +++ b/Master/texmf-dist/doc/support/latex2man/latex2man.html @@ -1,5 +1,5 @@ - @@ -11,8 +11,8 @@ LaTeX2man -
A Documentation Tool

Dr. Jürgen Vollmer

-

2018/11/22

-

Version 1.28

+

2018/11/25

+

Version 1.29

Latex2man is a tool to translate UNIX manual pages written with @@ -780,7 +780,7 @@ or environment.

\today
-
22 November 2018 (see also the rcsinfo +
25 November 2018 (see also the rcsinfo LaTeXpackage).
\ss,\"a, ...
@@ -1348,7 +1348,7 @@ acknowledgment to people contributing bugfixes or enhancements.

Version

-Version: 1.28 of 2018/11/22. +Version: 1.29 of 2018/11/25.

License and Copyright

diff --git a/Master/texmf-dist/doc/support/latex2man/latex2man.pdf b/Master/texmf-dist/doc/support/latex2man/latex2man.pdf index 3ae811d4c2e..45e9c2aa279 100644 Binary files a/Master/texmf-dist/doc/support/latex2man/latex2man.pdf and b/Master/texmf-dist/doc/support/latex2man/latex2man.pdf differ diff --git a/Master/texmf-dist/doc/support/latex2man/latex2man.tex b/Master/texmf-dist/doc/support/latex2man/latex2man.tex index 142460e65ff..cc4a1e436ca 100644 --- a/Master/texmf-dist/doc/support/latex2man/latex2man.tex +++ b/Master/texmf-dist/doc/support/latex2man/latex2man.tex @@ -2,7 +2,7 @@ %% Project: Documentation Tools %% Descr: Latex --> MAN-page (groff -man), LATEX documentation %% Author: Dr. Jürgen Vollmer, Juergen.Vollmer@informatik-vollmer.de -%% $Id: latex2man.tex,v 1.202 2018/11/22 07:42:26 vollmer Exp $ +%% $Id: latex2man.tex,v 1.203 2018/11/25 13:05:37 vollmer Exp $ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% %% Latex2man is a tool to translate UNIX manual pages written with LaTeX into a @@ -53,15 +53,15 @@ %% do we have the `rcsinfo' package? \IfFileExists{rcsinfo.sty}{ \usepackage[nofancy]{rcsinfo} -\rcsInfo $Id: latex2man.tex,v 1.202 2018/11/22 07:42:26 vollmer Exp $ +\rcsInfo $Id: latex2man.tex,v 1.203 2018/11/25 13:05:37 vollmer Exp $ \setDate{\rcsInfoLongDate} }{ -\setDate{2018/11/22} %%%% must be manually set, if rcsinfo is not present +\setDate{2018/11/25} %%%% must be manually set, if rcsinfo is not present \message{package rcsinfo not present, discard it} } \setVersionWord{Version:} %%% that's the default, no need to set it. -\setVersion{1.28} +\setVersion{1.29} \begin{document} diff --git a/Master/texmf-dist/doc/support/latex2man/latex2man.texi b/Master/texmf-dist/doc/support/latex2man/latex2man.texi index 06a54b4876b..5dc5baebcb1 100644 --- a/Master/texmf-dist/doc/support/latex2man/latex2man.texi +++ b/Master/texmf-dist/doc/support/latex2man/latex2man.texi @@ -3,7 +3,7 @@ @setfilename latex2man.info @settitle latex2man @c %**end of header -@c Manual page created with latex2man on Do 22. Nov 08:50:47 CET 2018> +@c Manual page created with latex2man on Sun Nov 25 14:05:38 2018> @c NOTE: This file is generated, DO NOT EDIT. @dircategory Man-pages @direntry @@ -646,7 +646,7 @@ or @t{description} environment. @item \today -22 November 2018(see also the @t{rcsinfo} +25 November 2018(see also the @t{rcsinfo} LaTeXpackage). @item \ss,\"a, ... \ss = @ss{}, \"a= @"a, \"o= @"o, \"u= @"u, @@ -1082,7 +1082,7 @@ acknowledgment to people contributing bugfixes or enhancements. @section Version -Version: 1.28 of 2018/11/22. +Version: 1.29 of 2018/11/25. @node License and Copyright, Author, Version, Top @section License and Copyright diff --git a/Master/texmf-dist/doc/support/latex2man/latex2man.txt b/Master/texmf-dist/doc/support/latex2man/latex2man.txt index 48f1a7efdf5..5018b8aab6c 100644 --- a/Master/texmf-dist/doc/support/latex2man/latex2man.txt +++ b/Master/texmf-dist/doc/support/latex2man/latex2man.txt @@ -487,7 +487,7 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) \item inside a itemize, enumerate, or description environment. - \today 22 November 2018(see also the rcsinfo LaTeXpackage). + \today 25 November 2018(see also the rcsinfo LaTeXpackage). \ss,\"a, ... \ss = ß, \"a= ä, \"o= ö, \"u= ü, \"A= Ä, \"O= Ö, \"U= Ü. It is @@ -783,7 +783,7 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) acknowledgment to people contributing bugfixes or enhancements. [1mVERSION[0m - Version: 1.28 of 2018/11/22. + Version: 1.29 of 2018/11/25. [1mLICENSE AND COPYRIGHT[0m Copyright @@ -810,4 +810,4 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) Email: [1mJuergen.Vollmer@informatik-vollmer.de[0m WWW: [1mhttp://www.informatik-vollmer.de[22m. -Documentation Tools 2018/11/22 LATEX2MAN(1) +Documentation Tools 2018/11/25 LATEX2MAN(1) diff --git a/Master/texmf-dist/scripts/latex2man/latex2man b/Master/texmf-dist/scripts/latex2man/latex2man index 8541f593f31..e117d3370be 100755 --- a/Master/texmf-dist/scripts/latex2man/latex2man +++ b/Master/texmf-dist/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/Master/texmf-dist/tex/latex/latex2man/latex2man.sty b/Master/texmf-dist/tex/latex/latex2man/latex2man.sty index d69bfbd3734..e3b6e0185ff 100644 --- a/Master/texmf-dist/tex/latex/latex2man/latex2man.sty +++ b/Master/texmf-dist/tex/latex/latex2man/latex2man.sty @@ -2,8 +2,8 @@ %% Project: Documentation Tools %% Descr: Latex --> MAN-page (groff -man), LaTeX package %% Author: Dr. Jürgen Vollmer, Juergen.Vollmer@informatik-vollmer.de -%% $Id: latex2man.sty,v 1.92 2018/11/22 07:42:26 vollmer Exp $ -%% VERSION: 1.28 +%% $Id: latex2man.sty,v 1.93 2018/11/25 13:05:37 vollmer Exp $ +%% VERSION: 1.29 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% %% `latex2man' package to use with LaTeX2e. @@ -31,7 +31,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{latex2man}[2018/11/22 v1.28] +\ProvidesPackage{latex2man}[2018/11/25 v1.29] \usepackage{ifthen} \newif\if@LM@UseFancy@ -- cgit v1.2.3