diff options
author | Karl Berry <karl@freefriends.org> | 2017-04-16 22:17:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-04-16 22:17:27 +0000 |
commit | e2f647f28d1d99392613d28f7b1a751a57f7bbd1 (patch) | |
tree | 2776aade78e1a3a4107ef38cc0c4284727d411bc /Master/texmf-dist/doc/support/latex2man | |
parent | 90a31c615c9b36d2dd5fff3ab99ba6760b9dbb78 (diff) |
latex2man (14apr17)
git-svn-id: svn://tug.org/texlive/trunk@43855 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support/latex2man')
-rw-r--r-- | Master/texmf-dist/doc/support/latex2man/CHANGES | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/latex2man/INSTALL | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/latex2man/Makefile | 24 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/latex2man/README | 14 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/latex2man/THIS-IS-VERSION-1.24 | 1 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/latex2man/THIS-IS-VERSION-1.25 | 1 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/latex2man/latex2man-CHANGES.html | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/latex2man/latex2man.html | 27 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/latex2man/latex2man.pdf | bin | 202717 -> 281109 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/support/latex2man/latex2man.tex | 36 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/latex2man/latex2man.texi | 20 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/latex2man/latex2man.trans | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/latex2man/latex2man.txt | 100 |
13 files changed, 109 insertions, 130 deletions
diff --git a/Master/texmf-dist/doc/support/latex2man/CHANGES b/Master/texmf-dist/doc/support/latex2man/CHANGES index c618553f980..45a1abaca79 100644 --- a/Master/texmf-dist/doc/support/latex2man/CHANGES +++ b/Master/texmf-dist/doc/support/latex2man/CHANGES @@ -2,7 +2,8 @@ Change history of the latex2man package ======================================= -$Id: CHANGES,v 1.64 2010/12/22 09:31:06 vollmer Exp $ +$Id: CHANGES,v 1.65 2017/04/13 14:34:26 vollmer Exp $ +1.25 13 Apr 2017 - Handle \input{filename} macro. 1.24 21 Dec 2010 - Thanks to "Tom Brand" <tbrand@manumit-systems.com>, who added the CSS support to the HTML generation procedure. 1.23 11 Nov 2008 - use /usr/bin/env to locate the perl interpreter @@ -105,4 +106,3 @@ $Id: CHANGES,v 1.64 2010/12/22 09:31:06 vollmer Exp $ 1.1 14 Jan 1998 - Fixed bug in HTML generation (no blanks emited after \hline) 1.0 11 Jan 1998 - Initial version - diff --git a/Master/texmf-dist/doc/support/latex2man/INSTALL b/Master/texmf-dist/doc/support/latex2man/INSTALL index be092740e3f..b21e80feb51 100644 --- a/Master/texmf-dist/doc/support/latex2man/INSTALL +++ b/Master/texmf-dist/doc/support/latex2man/INSTALL @@ -28,6 +28,7 @@ That's it. The following files should be part of this package: latex2man/latex2man latex2man/latex2man.tex + latex2man/latex2man.inc latex2man/latex2man.cfg latex2man/latex2man.sty latex2man/latex2man.trans @@ -46,5 +47,4 @@ The following files should be part of this package: Juergen -$Id: INSTALL,v 1.8 2010/12/22 09:32:31 vollmer Exp $ - +$Id: INSTALL,v 1.9 2017/04/13 14:54:19 vollmer Exp $ diff --git a/Master/texmf-dist/doc/support/latex2man/Makefile b/Master/texmf-dist/doc/support/latex2man/Makefile index 8a957ff4507..46addf65c52 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.110 2010/12/22 12:46:25 vollmer Exp $ +# $Id: Makefile,v 1.121 2017/04/13 14:47:10 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.24 -V_DATE = 2010/12/22 +VERSION = 1.25 +V_DATE = 2017/04/13 latex2man = ./latex2man D = $ @@ -43,12 +43,13 @@ all: $(BASE).1 $(BASE).html $(BASE).texi $(BASE).info $(BASE).txt $(BASE).pdf dvips -o $*.ps $*.dvi %.pdf: %.tex - rm -f /tmp/$*.tex /tmp/$*.pdf /tmp/$*.aux /tmp/$*.toc /tmp/$*.log /tmp/$*.sty - (cp $*.tex $*.sty /tmp && \ - cd /tmp && \ - pdflatex $*.tex && \ - pdflatex $*.tex); - mv /tmp/$*.pdf . + T=/tmp/$*-$$$$; mkdir $$T && \ + ( \ + cp $*.tex $*.sty $*.inc $$T && \ + cd $$T && \ + pdflatex $*.tex && \ + pdflatex $*.tex); \ + mv $$T/$*.pdf . %.info: %.texi makeinfo $*.texi @@ -170,7 +171,7 @@ src-tar: dist: rm -f THIS-IS-VERSION-* - @- co -l latex2man latex2man.tex latex2man.sty README + @- co -l latex2man latex2man.tex latex2man.inc latex2man.sty README @rm -f .xxx; cp latex2man .xxx @sed < .xxx -e 's/$VERSION = .*/$VERSION = "$(VERSION)";/' > latex2man @rm -f .xxx; cp latex2man.tex .xxx @@ -184,7 +185,7 @@ dist: rm -f .xxx; cp README .xxx @sed < .xxx -e 's/^VERSION:.*/VERSION: $(VERSION)/' > README @rm -f .xxx - ci -u -m"Distribution" latex2man latex2man.tex latex2man.sty README + ci -u -m"Distribution" latex2man latex2man.tex latex2man.inc latex2man.sty README - $(MAKE) realclean all @echo "VERSION $(VERSION) DATE=$(V_DATE)" > THIS-IS-VERSION-$(VERSION) @cd ..; tar $(EXrcs) -czvf $(BASE)/$(TAR_DIST) \ @@ -224,4 +225,3 @@ diff: @echo for i in RCS/* ; do [ -f `basename $$i ,v` ] && rcsdiff -q $$i; done @echo - diff --git a/Master/texmf-dist/doc/support/latex2man/README b/Master/texmf-dist/doc/support/latex2man/README index 66a025d7857..83d78f640b4 100644 --- a/Master/texmf-dist/doc/support/latex2man/README +++ b/Master/texmf-dist/doc/support/latex2man/README @@ -1,7 +1,9 @@ latex2man ========= - + +-*- coding: utf-8 -*- + Latex2man is a tool to translate UNIX manual pages written with LaTeX into the troff format understood by the UNIX man(1)-command. Alternatively HTML, TexInfo, or LaTeX code can be produced too. @@ -15,12 +17,12 @@ Requirements: - Latex2man requires Perl version >= 5.0004_03. - LaTeX2e -VERSION: 1.24 +VERSION: 1.25 Author and Copyright (c) 1998: - Dr. Jürgen Vollmer - Viktoriastraße 15 - D-76133 Karlsruhe + Dr. Jürgen Vollmer + Am Rennbuckel 21 + D-76185 Karlsruhe Email: <Juergen.Vollmer@informatik-vollmer.de> License: @@ -31,4 +33,4 @@ License: If you find this software useful, please send me a postcard. -$Id: README,v 1.63 2010/12/22 09:33:29 vollmer Exp $ +$Id: README,v 1.66 2017/04/13 19:20:00 vollmer Exp $ diff --git a/Master/texmf-dist/doc/support/latex2man/THIS-IS-VERSION-1.24 b/Master/texmf-dist/doc/support/latex2man/THIS-IS-VERSION-1.24 deleted file mode 100644 index 2835670c8a8..00000000000 --- a/Master/texmf-dist/doc/support/latex2man/THIS-IS-VERSION-1.24 +++ /dev/null @@ -1 +0,0 @@ -VERSION 1.24 DATE=2010/12/22 diff --git a/Master/texmf-dist/doc/support/latex2man/THIS-IS-VERSION-1.25 b/Master/texmf-dist/doc/support/latex2man/THIS-IS-VERSION-1.25 new file mode 100644 index 00000000000..42e245b63be --- /dev/null +++ b/Master/texmf-dist/doc/support/latex2man/THIS-IS-VERSION-1.25 @@ -0,0 +1 @@ +VERSION 1.25 DATE=2017/04/13 diff --git a/Master/texmf-dist/doc/support/latex2man/latex2man-CHANGES.html b/Master/texmf-dist/doc/support/latex2man/latex2man-CHANGES.html index 5adcc6c1109..6036b416c61 100644 --- a/Master/texmf-dist/doc/support/latex2man/latex2man-CHANGES.html +++ b/Master/texmf-dist/doc/support/latex2man/latex2man-CHANGES.html @@ -7,7 +7,8 @@ Change history of the latex2man package ======================================= -$Id: CHANGES,v 1.64 2010/12/22 09:31:06 vollmer Exp $ +$Id: CHANGES,v 1.65 2017/04/13 14:34:26 vollmer Exp $ +1.25 13 Apr 2017 - Handle \input{filename} macro. 1.24 21 Dec 2010 - Thanks to "Tom Brand" <tbrand@manumit-systems.com>, who added the CSS support to the HTML generation procedure. 1.23 11 Nov 2008 - use /usr/bin/env to locate the perl interpreter @@ -110,5 +111,4 @@ $Id: CHANGES,v 1.64 2010/12/22 09:31:06 vollmer Exp $ 1.1 14 Jan 1998 - Fixed bug in HTML generation (no blanks emited after \hline) 1.0 11 Jan 1998 - Initial version - </pre></body><html> diff --git a/Master/texmf-dist/doc/support/latex2man/latex2man.html b/Master/texmf-dist/doc/support/latex2man/latex2man.html index fb979503a37..3db38c79faa 100644 --- a/Master/texmf-dist/doc/support/latex2man/latex2man.html +++ b/Master/texmf-dist/doc/support/latex2man/latex2man.html @@ -1,5 +1,5 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> -<!-- Manual page created with latex2man on Mi 22. Dez 13:46:36 CET 2010 +<!-- Manual page created with latex2man on Do 13. Apr 21:21:18 CEST 2017 ** Author of latex2man: Juergen.Vollmer@informatik-vollmer.de ** NOTE: This file is generated, DO NOT EDIT. --> <html> @@ -11,8 +11,8 @@ LaTeX2man -<br> A Documentation Tool </h1> <h4 class="authorhead">Dr. Jürgen Vollmer </h4> -<h4 class="datehead">2010/12/22</h4> -<h4 class="versionhead">Version 1.24</h4> +<h4 class="datehead">2017/04/13</h4> +<h4 class="versionhead">Version 1.25</h4> <p> <font class="progname">Latex2man</font> is a tool to translate UNIX manual pages written with @@ -200,6 +200,10 @@ is printed. </dt> <dd> The LaTeX file containing this Man-page. </dd> +<dt><font class="filename">latex2man.inc</font> +</dt> +<dd> A file read with <tt>\input{..}</tt> . +</dd> <dt><font class="filename">latex2man.sty</font> </dt> <dd> The LaTeX package defining the environments and @@ -776,7 +780,7 @@ or environment. </dd> <dt>\today</dt> -<dd> 22 December 2010 (see also the <tt>rcsinfo</tt> +<dd> 13 April 2017 (see also the <tt>rcsinfo</tt> LaTeXpackage). </dd> <dt>\ss,\"a, ...</dt> @@ -798,6 +802,9 @@ becomes <tt>&Auml</tt>; in HTML and <tt>@"A</tt> in texinfo. </dd> +<dt>\input{..}</dt> +<dd> Read and process the given filename. +</dd> </dl> <p> <h4 class="subsectionname"><a name="section_13">Conditional Text</a></h4> @@ -1328,24 +1335,26 @@ manually. </dd> </dl> <p> +<!-- *********************************** start of \input{latex2man.inc} --> <h2 class="sectionname"><a name="section_23">Changes</a></h2> Please check the file <a class="urlstyle" href ="latex2man-CHANGES.html"><tt>latex2man-CHANGES.html</tt></a> for the list of changes and acknowledgment to people contributing bugfixes or enhancements. +<!-- *********************************** end of \input{latex2man.inc} --> <p> <h2 class="sectionname"><a name="section_24">Version</a></h2> <p> -Version: 1.24 of 2010/12/22. +Version: 1.25 of 2017/04/13. <p> <h2 class="sectionname"><a name="section_25">License and Copyright</a></h2> <p> <dl compact> <dt>Copyright</dt> -<dd> © 1998, Dr. Jürgen Vollmer, Viktoriastraße 15, -D-76133 Karlsruhe, Germany,<br> +<dd> © 1998, Dr. Jürgen Vollmer, Am Rennbuckel 21, +D-76185 Karlsruhe, Germany,<br> <a class="emailstyle" href ="mailto:Juergen.Vollmer@informatik-vollmer.de">Juergen.Vollmer@informatik-vollmer.de</a> <p> @@ -1374,9 +1383,9 @@ the place where you are living. <p> Dr. Jürgen Vollmer <br> -Viktoriastraße 15 <br> +Am Rennbuckel 21 <br> -D-76133 Karlsruhe <br> +D-76185 Karlsruhe <br> Email: <a class="emailstyle" href ="mailto:Juergen.Vollmer@informatik-vollmer.de">Juergen.Vollmer@informatik-vollmer.de</a> <br> diff --git a/Master/texmf-dist/doc/support/latex2man/latex2man.pdf b/Master/texmf-dist/doc/support/latex2man/latex2man.pdf Binary files differindex 2d85ef399c3..52ef3b2e337 100644 --- a/Master/texmf-dist/doc/support/latex2man/latex2man.pdf +++ b/Master/texmf-dist/doc/support/latex2man/latex2man.pdf diff --git a/Master/texmf-dist/doc/support/latex2man/latex2man.tex b/Master/texmf-dist/doc/support/latex2man/latex2man.tex index 5d1c5fa19df..5dbd448756b 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.191 2010/12/22 11:54:49 vollmer Exp $ +%% $Id: latex2man.tex,v 1.196 2017/04/13 14:46:35 vollmer Exp $ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% %% Latex2man is a tool to translate UNIX manual pages written with LaTeX into a @@ -15,7 +15,7 @@ %% and a PERL script (latex2man) doing the actual translation. %% %% Copyright (C) 1998, Dr. Juergen Vollmer -%% Viktoriastrasse 15, D-76133 Karlsruhe, Germany +%% Am Rennbuckel 21, D-76185 Karlsruhe, Germany %% Juergen.Vollmer@informatik-vollmer.de %% License: %% This program can be redistributed and/or modified under the terms @@ -53,15 +53,15 @@ %% do we have the `rcsinfo' package? \IfFileExists{rcsinfo.sty}{ \usepackage[nofancy]{rcsinfo} -\rcsInfo $Id: latex2man.tex,v 1.191 2010/12/22 11:54:49 vollmer Exp $ +\rcsInfo $Id: latex2man.tex,v 1.196 2017/04/13 14:46:35 vollmer Exp $ \setDate{\rcsInfoLongDate} }{ -\setDate{2010/12/22} %%%% must be manually set, if rcsinfo is not present +\setDate{2017/04/13} %%%% 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.24} +\setVersion{1.25} \begin{document} @@ -151,6 +151,7 @@ Using the \Opt{-L} option, \LaTeX\ ouput can be produced, instead of \begin{Description}\setlength{\itemsep}{0cm} \item[\File{latex2man.tex}] The \LaTeX\ file containing this Man-page. +\item[\File{latex2man.inc}] A file read with \verb+\input{..}+ . \item[\File{latex2man.sty}] The \LaTeX\ package defining the environments and commands. \item[\File{latex2man.cfg}] The configuration file for \Prog{Latex2man} @@ -456,6 +457,7 @@ The following standard \LaTeX\ commands are accepted: translated into the equivalent letter of the desired output format. E.g. \texttt{Ä} becomes \texttt{\Ä}; in HTML and \texttt{@"A} in texinfo. +\item[\Bs input\{..\}] Read and process the given filename. \end{description} \subsection{Conditional Text} @@ -759,19 +761,9 @@ but ignore comments following this: % this should be ignored \item[\LaTeX] \LaTeX 2e is required. \end{description} -\section{Changes} -%@% IF LATEX %@% -{\small\verbatiminput{CHANGES}} -%@% ELSE %@% -%@% IF HTML %@% -Please check the file \URL{latex2man-CHANGES.html} for the list of changes and -acknowledgment to people contributing bugfixes or enhancements. -%@% ELSE %@% -Please check the file \URL{latex2man-CHANGES} for the list of changes and -acknowledgment to people contributing bugfixes or enhancements. - -%@% END-IF %@% -%@% END-IF %@% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\input{latex2man.inc} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{Version} %%%%%%%%%%%%%%%%% @@ -782,8 +774,8 @@ Version: \Version\ of \Date. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{description} -\item[Copyright] \copyright\ 1998, Dr.~Jürgen Vollmer, Viktoriastraße 15, - D-76133 Karlsruhe, Germany,\\ +\item[Copyright] \copyright\ 1998, Dr.~Jürgen Vollmer, Am Rennbuckel 21, + D-76185 Karlsruhe, Germany,\\ \Email{Juergen.Vollmer@informatik-vollmer.de} @@ -804,8 +796,8 @@ Version: \Version\ of \Date. \noindent Dr.~Jürgen Vollmer \\ -Viktoriastraße 15 \\ -D-76133 Karlsruhe \\ +Am Rennbuckel 21 \\ +D-76185 Karlsruhe \\ Email: \Email{Juergen.Vollmer@informatik-vollmer.de} \\ WWW: \URL{http://www.informatik-vollmer.de}. diff --git a/Master/texmf-dist/doc/support/latex2man/latex2man.texi b/Master/texmf-dist/doc/support/latex2man/latex2man.texi index d299fa1907f..faa01bb6e91 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 Mi 22. Dez 13:46:37 CET 2010> +@c Manual page created with latex2man on Do 13. Apr 21:21:18 CEST 2017> @c NOTE: This file is generated, DO NOT EDIT. @dircategory Man-pages @direntry @@ -179,6 +179,8 @@ Show version information. @table @samp @item @file{latex2man.tex} The LaTeX file containing this Man-page. +@item @file{latex2man.inc} +A file read with @t{\input@{..@}} . @item @file{latex2man.sty} The LaTeX package defining the environments and commands. @@ -644,7 +646,7 @@ or @t{description} environment. @item \today -22 December 2010(see also the @t{rcsinfo} +13 April 2017(see also the @t{rcsinfo} LaTeXpackage). @item \ss,\"a, ... \ss = @ss{}, \"a= @"a, \"o= @"o, \"u= @"u, @@ -663,6 +665,8 @@ E.g. @t{@"A} becomes @t{Ä}; in HTML and @t{@@"A} in texinfo. +@item \input@{..@} +Read and process the given filename. @end table @node Conditional Text, Translation of User Defined Macros, Accepted LaTeX Macros, Top @@ -1063,6 +1067,7 @@ manually. LaTeX2e is required. @end table +@c *********************************** start of \input{latex2man.inc} @node Changes, Version, Requirements, Top @section Changes @@ -1070,11 +1075,12 @@ Please check the file @url{latex2man-CHANGES} for the list of changes and acknowledgment to people contributing bugfixes or enhancements. +@c *********************************** end of \input{latex2man.inc} @node Version, License and Copyright, Changes, Top @section Version -Version: 1.24 of 2010/12/22. +Version: 1.25 of 2017/04/13. @node License and Copyright, Author, Version, Top @section License and Copyright @@ -1082,8 +1088,8 @@ Version: 1.24 of 2010/12/22. @table @samp @item Copyright -@copyright{}1998, Dr. J@"urgen Vollmer, Viktoriastra@ss{}e 15, -D-76133 Karlsruhe, Germany,@* +@copyright{}1998, Dr. J@"urgen Vollmer, Am Rennbuckel 21, +D-76185 Karlsruhe, Germany,@* @email{Juergen.Vollmer@@informatik-vollmer.de} @@ -1112,9 +1118,9 @@ the place where you are living. Dr. J@"urgen Vollmer @* -Viktoriastra@ss{}e 15 @* +Am Rennbuckel 21 @* -D-76133 Karlsruhe @* +D-76185 Karlsruhe @* Email: @email{Juergen.Vollmer@@informatik-vollmer.de} @* diff --git a/Master/texmf-dist/doc/support/latex2man/latex2man.trans b/Master/texmf-dist/doc/support/latex2man/latex2man.trans index 2b77cc2fc21..a3e9ec3f8ff 100644 --- a/Master/texmf-dist/doc/support/latex2man/latex2man.trans +++ b/Master/texmf-dist/doc/support/latex2man/latex2man.trans @@ -2,8 +2,8 @@ # Project: Documentation Tools # Descr: Latex --> MAN-page (groff -man), and HTML; example of user macro # translations -# Author: Dr. Jürgen Vollmer, Juergen.Vollmer@acm.org -# $Id: latex2man.trans,v 1.2 1998/01/03 17:06:52 vollmer Exp $ +# Author: Dr. Jürgen Vollmer, Juergen.Vollmer@informatik-vollmer.de +# $Id: latex2man.trans,v 1.3 2017/04/11 18:30:56 vollmer Exp $ ################################################################################# ################################################################################# diff --git a/Master/texmf-dist/doc/support/latex2man/latex2man.txt b/Master/texmf-dist/doc/support/latex2man/latex2man.txt index 32ed428840b..652cf610552 100644 --- a/Master/texmf-dist/doc/support/latex2man/latex2man.txt +++ b/Master/texmf-dist/doc/support/latex2man/latex2man.txt @@ -9,12 +9,10 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) the text may be suppressed using the conditional text feature (for this, LaTeX generation may be used). - [1mSYNOPSIS[0m latex2man [[1m-t[4m[22mtransfile[24m] [[1m-c[4m[22mCSSfile[24m] [[1m-HMTL[22m] [[1m-h[22m] [[1m-V[22m] [[1m-C[4m[22mname[24m] [[1m-a[4m[22mchar[24m] [4minfile[24m [4moutfile[0m - [1mDESCRIPTION[0m Latex2man reads the file [4minfile[24m and writes [4moutfile[24m. The input must be a LaTeX document using the latex2man LaTeXpackage. Latex2man trans- @@ -31,8 +29,7 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) Using the [1m-M [22moption, [4mtroff[24m(1) input is produced. - Using the [1m-L [22moption, LaTeX ouput can be produced, instead of [4mtroff[24m(1). - + Using the [1m-L [22moption, LaTeX ouput can be produced, instead of [4mtroff[24m(1). [1mOPTIONS[0m [1m-t[4m[22mtransfile[0m @@ -43,22 +40,27 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) style sheets. The link to the CSS file is inserted into the gen- eratedHTML output using the specified [4mCSSfile[24m filename. - [1m-M [22mProduce output suitable for the [4mman[24m(1) command (default). + [1m-M[0m + Produce output suitable for the [4mman[24m(1) command (default). - [1m-H [22mInstead of producing output suitable for the [4mman[24m(1) command, + [1m-H[0m + Instead of producing output suitable for the [4mman[24m(1) command, HTML code is produced (despite the name of the command). - [1m-T [22mInstead of producing output suitable for the [4mman[24m(1) command, + [1m-T[0m + Instead of producing output suitable for the [4mman[24m(1) command, TexInfo code is produced (despite the name of the command). The generated .texi-file may be processed with [4mmakeinfo[24m(1) (to pro- duce an .info-file) which in turn may be installed using [4minstall-info[24m(1). The Info tags @dircategory and @direntry are provided. - [1m-L [22mThe LaTeX source is written to the [4moutfile[24m. This is useful in + [1m-L[0m + The LaTeX source is written to the [4moutfile[24m. This is useful in conjunction with the [1m-C[4m[22mname[24m option. - [1m-C[4m[22mname[24m Output the conditional text for [4mname[24m. If more than one name + [1m-C[4m[22mname[0m + Output the conditional text for [4mname[24m. If more than one name should be given use quotes: [1m-C[4m[22m'name1[24m [4mname2[24m [4m...'[0m The following names are defined automatically: @@ -70,8 +72,8 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) [1m* -L [22mdefines LATEX - - [1m-a[4m[22mchar[24m Is used only in conjunction with -T. + [1m-a[4m[22mchar[0m + Is used only in conjunction with -T. Background: TexInfo ignores all blanks before the first word on a new line. In order to produce some additional space before that word @@ -81,15 +83,19 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) supresses the indentation of a line. Note: only for the first \SP of a series that [4mchar[24m is printed. - [1m-h [22mShow a help text. - - [1m-V [22mShow version information. + [1m-h[0m + Show a help text. + [1m-V[0m + Show version information. [1mFILES[0m latex2man.tex The LaTeX file containing this Man-page. + latex2man.inc + A file read with \input{..} . + latex2man.sty The LaTeX package defining the environments and commands. @@ -113,25 +119,20 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) A LaTeX package used to extract and use RCS version control information in LaTeX documents. - [1mlatex2man.pdf[0m The PDF version of this document. - [1mSEE ALSO[0m LaTeX,TexInfo, [4mtroff[24m(1), [4mgroff[24m(1), [4mmakeinfo[24m(1). - [1mLaTeX COMMANDS[0m The LaTeX package latex2man is used to write the Man-pages with LaTeX.Since we translate into other text formats, not all LaTeX stuff can be translated. - [1mPACKAGE OPTIONS[0m The latex2man package accepts the following options: - fancy use the LaTeX package fancyheadings. fancyhdr @@ -142,7 +143,6 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) The default option may be specified in the file latex2man.cfg. - [1mPACKAGE SPECIFIC ENVIRONMENTS[0m The following environments are provided by the package: @@ -170,7 +170,6 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) will be typeset as: - Here am I ---------------------- A 1 A 2 A 3 1 2 @@ -207,22 +206,18 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) abc |abc - a |a \begin{Description} ab |ab abc |abc - a |a \begin{Description}[aa] ab |ab abc |abc - - [1mACCEPTED LaTeX ENVIRONMENTS[0m The following environments are accepted: @@ -249,8 +244,6 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) 2. b - - [1mPACKAGE SPECIFIC MACROS[0m The following commands are provided: @@ -379,7 +372,6 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) Note: Due to some ``problems'' with TexInfo, the lines starting with \SP have a leading . (dot) in the TexInfo output, see [1m-a[4m[22mchar[24m. - [1mACCEPTED MACROS FROM THE RCSINFO PACKAGE[0m \rcsInfo $Id ...$ if the LaTeX package rcsinfo is used, this command is used to @@ -389,7 +381,6 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) if the LaTeX package rcsinfo is used, this command is used to typeset the date coded in the $Id ..$ string. - [1mACCEPTED LaTeX MACROS[0m The following standard LaTeX commands are accepted: @@ -496,7 +487,7 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) \item inside a itemize, enumerate, or description environment. - \today 22 December 2010(see also the rcsinfo LaTeXpackage). + \today 13 April 2017(see also the rcsinfo LaTeXpackage). \ss,\"a, ... \ss = ß, \"a= ä, \"o= ö, \"u= ü, \"A= Ä, \"O= Ö, \"U= Ü. It is @@ -513,6 +504,8 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) translated into the equivalent letter of the desired output format. E.g. Ä becomes Ä in HTML and @"A in texinfo. + \input{..} + Read and process the given filename. [1mCONDITIONAL TEXT[0m latex2man preprocesses the LaTeX input to allow text to be used condi- @@ -533,8 +526,6 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) ``else''-part is skipped (and vice versa). The IF/ELSE/END-IF may be nested. As boolean operators the following are allowed: - - ( and ) for grouping are allowed. For example: @@ -562,11 +553,14 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) To check the conditional text feature, when latex2man is called with - [1m-C[4m[22mHTML[24m the lines 1a, 2b, 3b, and 4b; + [1m-C[4m[22mHTML[0m + the lines 1a, 2b, 3b, and 4b; - [1m-C[4m[22mTEXI[24m the lines 1b, 2a, 3b, and 4b; + [1m-C[4m[22mTEXI[0m + the lines 1b, 2a, 3b, and 4b; - [1m-C[4m[22mMAN[24m the lines 1b, 2b, 3a, and 4b; + [1m-C[4m[22mMAN[0m + the lines 1b, 2b, 3a, and 4b; [1m-C[4m[22mLATEX[0m the lines 1b, 2b, 3b, and 4a; @@ -584,14 +578,12 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) 4b. The LATEX conditional was not set. - [1mTRANSLATION OF USER DEFINED MACROS[0m The user macro translation file (given by the [[1m-t[4m[22mtransfile[24m]) contains Perl commands specifying the translation of LaTeX macros defined by the user. These macros may have none, one or two arguments. The following code is expected: - [1m* [22mComments start with a # up to the end of the line. [1m* [22mFor a macro \foo with no arguments, the following code must be @@ -608,7 +600,6 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) where ... is the translation. - [1m* [22mFor a macro \foo{..} with one argument, the following code must be specified: @@ -620,7 +611,6 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) $htmlMacro1a{'foo'} = '...'; $htmlMacro1b{'foo'} = '...'; - Translation to TexInfo $texiMacro1a{'foo'} = '...'; $texiMacro1b{'foo'} = '...'; @@ -628,7 +618,6 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) where ... is the translation. The 1a code is used before the argument, while 1b is typeset after the argument is set. - [1m* [22mFor a macro \foo{..}{..} with two arguments, the following code must be specified: @@ -653,7 +642,6 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) [1m* [22mThe file latex2man.trans contains some example code. - [1mVERBATIM ENVIRONMENT[0m This {is} @@ -664,19 +652,15 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) <this is no HTML tag> and no @* TexInfo command - [1mSUBSECTION WORKS[0m This is a \subsection. - [1mSubsubsection works[0m This is a \subsubsection. - [1mSubsubsection still works[0m This is another \subsubsection. - [1mGENERAL REMARKS[0m 1. Empty lines are typeset as paragraph separators. @@ -695,13 +679,11 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) you need GNU-make. If you don't have it, you should execute the steps shown in the Makefile manually. - [1mCSS CLASSNAMES[0m The table below shows the names of CSS classes that will be included in the HTML tags as attributes. You can specify the CSS style properties in the [4mCSSfile[24m for these classes: - [1mHTML tag Class Style applies to[0m body the body of the HTML page h1 titlehead the title at the top of the HTML @@ -756,7 +738,6 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) td cellstyle a cell of a table specified as a [4mTable[24m environment - [1mSOME BUG FIX TESTS[0m Leading . and ' Now leading . and ' in generation troff output should work prop- @@ -773,7 +754,6 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) abc ... abc . efg ' 123 - %in verbatim A % in a \verb and verbatim-environment was not emitted cor- rectly. Thanks to Aleksey Nogin [1mnogin@cs.caltech.edu [22mfor the bug @@ -786,7 +766,6 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) but ignore comments following this: - [1mREQUIREMENTS[0m Perl latex2man requires Perl version >= 5.0004_03. @@ -796,45 +775,36 @@ LATEX2MAN(1) Documentation Tools LATEX2MAN(1) LaTeX LaTeX2e is required. - [1mCHANGES[0m Please check the file [1mlatex2man-CHANGES [22mfor the list of changes and acknowledgment to people contributing bugfixes or enhancements. - [1mVERSION[0m - Version: 1.24 of 2010/12/22. - + Version: 1.25 of 2017/04/13. [1mLICENSE AND COPYRIGHT[0m Copyright - (C)1998, Dr. Jürgen Vollmer, Viktoriastraße 15, D-76133 Karl- - sruhe, Germany, + (C)1998, Dr. Jürgen Vollmer, Am Rennbuckel 21, D-76185 Karls- + ruhe, Germany, [1mJuergen.Vollmer@informatik-vollmer.de[0m The actual version of Latex2man may be found on my homepage [1mhttp://www.informatik-vollmer.de/software/latex2man.html[22m. - License This program can be redistributed and/or modified under the terms of the LaTeX Project Public License Distributed from CTAN archives in directory macros/latex/base/lppl.txt; either version 1 of the License, or any later version. - Misc If you find this software useful, please send me a postcard from the place where you are living. - [1mAUTHOR[0m Dr. Jürgen Vollmer - Viktoriastraße 15 - D-76133 Karlsruhe + Am Rennbuckel 21 + D-76185 Karlsruhe Email: [1mJuergen.Vollmer@informatik-vollmer.de[0m WWW: [1mhttp://www.informatik-vollmer.de[22m. - - - -Documentation Tools 2010/12/22 LATEX2MAN(1) +Documentation Tools 2017/04/13 LATEX2MAN(1) |