From 94c2e367c3690be2a3c715b4577c81200652ad81 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 24 Sep 2019 03:00:39 +0000 Subject: CTAN sync 201909240300 --- macros/latex/contrib/perltex/README | 2 +- macros/latex/contrib/perltex/perltex.1 | 35 +++++++++++++-------- macros/latex/contrib/perltex/perltex.dtx | 52 +++++++++++++++++-------------- macros/latex/contrib/perltex/perltex.ins | 4 +-- macros/latex/contrib/perltex/perltex.pdf | Bin 333786 -> 283945 bytes 5 files changed, 54 insertions(+), 39 deletions(-) (limited to 'macros/latex/contrib/perltex') diff --git a/macros/latex/contrib/perltex/README b/macros/latex/contrib/perltex/README index cf6fcdcb5e..4490549068 100644 --- a/macros/latex/contrib/perltex/README +++ b/macros/latex/contrib/perltex/README @@ -42,7 +42,7 @@ perltex.gls", then "latex perltex.dtx" again, then "dvips perltex.dvi License ------- -Copyright (C) 2010 Scott Pakin +Copyright (C) 2003-2019 Scott Pakin These files may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c of this license or diff --git a/macros/latex/contrib/perltex/perltex.1 b/macros/latex/contrib/perltex/perltex.1 index 28c0508e68..71ebe2ae45 100644 --- a/macros/latex/contrib/perltex/perltex.1 +++ b/macros/latex/contrib/perltex/perltex.1 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man 2.1801 (Pod::Simple 3.05) +.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== @@ -38,27 +38,36 @@ . ds PI \(*p . ds L" `` . ds R" '' +. ds C` +. ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" -.\" If the F register is turned on, we'll generate index entries on stderr for +.\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. -.ie \nF \{\ -. de IX -. tm Index:\\$1\t\\n%\t"\\$2" +.\" +.\" Avoid warning from groff about undefined register 'F'. +.de IX .. -. nr % 0 -. rr F -.\} -.el \{\ -. de IX +.nr rF 0 +.if \n(.g .if rF .nr rF 1 +.if (\n(rF:(\n(.g==0)) \{\ +. if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" .. +. if !\nF==2 \{\ +. nr % 0 +. nr F 2 +. \} +. \} .\} +.rr rF .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. @@ -124,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "PERLTEX 1" -.TH PERLTEX 1 "2010-07-10" "v2.1" " " +.TH PERLTEX 1 "2019-09-15" "v2.2" " " .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -240,7 +249,7 @@ permissions (\f(CW\*(C`:browse\*(C'\fR) plus the ability to open files and invok Specify the filename of the LaTeX compiler. The LaTeX compiler defaults to ``\f(CW\*(C`latex\*(C'\fR''. The \f(CW\*(C`PERLTEX\*(C'\fR environment variable overrides this default, and the \fB\-\-latex\fR command-line option (see -\&\*(L"\s-1OPTIONS\s0\*(R") overrides that. +\&\*(L"\s-1OPTIONS\*(R"\s0) overrides that. .SH "FILES" .IX Header "FILES" While compiling \fIjobname.tex\fR, \fBperltex\fR makes use of the following @@ -274,7 +283,7 @@ file generated by \fInoperltex.sty\fR for each PerlTeX macro invocation \&\fBperltex\fR's sandbox defaults to what Opcode calls ``\f(CW\*(C`:browse\*(C'\fR''. .SH "SEE ALSO" .IX Header "SEE ALSO" -\&\fIlatex\fR\|(1), \fIpdflatex\fR\|(1), \fIperl\fR\|(1), \fISafe\fR\|(3pm), \fIOpcode\fR\|(3pm) +\&\fBlatex\fR\|(1), \fBpdflatex\fR\|(1), \fBperl\fR\|(1), \fBSafe\fR\|(3pm), \fBOpcode\fR\|(3pm) .SH "AUTHOR" .IX Header "AUTHOR" Scott Pakin, \fIscott+pt@pakin.org\fR diff --git a/macros/latex/contrib/perltex/perltex.dtx b/macros/latex/contrib/perltex/perltex.dtx index 3f61570dda..ec04181817 100644 --- a/macros/latex/contrib/perltex/perltex.dtx +++ b/macros/latex/contrib/perltex/perltex.dtx @@ -1,7 +1,7 @@ % \iffalse meta-comment % -% Copyright (C) 2010 Scott Pakin -% --------------------------------------------------- +% Copyright (C) 2003-2019 Scott Pakin +% -------------------------------------------------------- % % This file may be distributed and/or modified under the conditions of % the LaTeX Project Public License, either version 1.3c of this license @@ -22,7 +22,7 @@ %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesPackage{perltex} %<*package> - [2010/07/10 v2.1 LaTeX macros for use with PerlTeX] + [2019/09/14 v2.2 LaTeX macros for use with PerlTeX] % % %<*driver> @@ -41,17 +41,15 @@ \usepackage{flafter} \usepackage{textcomp} \usepackage{graphicx} -\IfFileExists{hyperref.sty}{% - \usepackage{hyperref} - \hypersetup{% - hyperindex=false, - bookmarksopen, - pdftitle={PerlTeX: Defining LaTeX macros in terms of Perl code}, - pdfauthor={Scott Pakin, scott+pt@pakin.org}, - pdfsubject={Using Perl to define LaTeX macros}, - pdfkeywords={programming, LaTeX, macros, Perl} - } -}{} +\usepackage{hyperref} +\hypersetup{% + hyperindex=false, + bookmarksopen, + pdftitle={PerlTeX: Defining LaTeX macros in terms of Perl code}, + pdfauthor={Scott Pakin, scott+pt@pakin.org}, + pdfsubject={Using Perl to define LaTeX macros}, + pdfkeywords={programming, LaTeX, macros, Perl} +} \EnableCrossrefs \CodelineIndex \RecordChanges @@ -62,7 +60,7 @@ % % \fi % -% \CheckSum{602} +% \CheckSum{605} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -921,7 +919,7 @@ % \section{License agreement} % \label{sec:license} % -% Copyright \textcopyright{} 2010 Scott Pakin \texttt{} +% Copyright \textcopyright{} 2003--2019 Scott Pakin \texttt{} % % \providecommand{\url}[1]{\texttt{##1}} % @@ -943,9 +941,11 @@ % final draft; to Andrei Alexandrescu for providing a few bug fixes; to % Nick Andrewes for identifying and helping diagnose a problem running % \PerlTeX\ with \XeTeX\ and to Jonathan Kew for suggesting a -% workaround; and to Linus K\"allberg for reporting and helping diagnose -% some problems with running \PerlTeX\ on Windows. Also, thanks to the -% many people who have sent me fan mail or submitted bug reports, +% workaround; to Linus K\"allberg for reporting and helping diagnose +% some problems with running \PerlTeX\ on Windows; and to Ulrike Fischer +% for reporting and helping correct a bug encountered when using +% \noperlmac\ with newer versions of \LaTeX\@. Also, thanks to the many +% people who have sent me fan mail or submitted bug reports, % documentation corrections, or feature requests. (The % \texttt{\string\perldo} macro and the \texttt{--makesty} option were % particularly popular requests.) @@ -1049,8 +1049,10 @@ % option to suppress the ``must be compiled using perltex'' error % message} % \begin{macrocode} -\newif\ifplmac@required \plmac@requiredtrue -\DeclareOption{optional}{\plmac@requiredfalse} \ProcessOptions\relax +\newif\ifplmac@required +\plmac@requiredtrue +\DeclareOption{optional}{\plmac@requiredfalse} +\ProcessOptions\relax % \end{macrocode} % \end{macro} % \end{macro} @@ -1109,10 +1111,14 @@ % not defined, \perlmac{} gives an error message and---as we shall see % on page~\pageref{page:define-dummies}---defines dummy versions of % |\perl|[|re|]|newcommand| and |\perl|[|re|]|newenvironment|. +% \changes{v2.2}{2019/09/14}{Let-bind \cs{plmac@tag} to \cs{relax} if +% \cs{plmac@tag} is undefined. This corrects a problem when +% \noexpand\texttt{noperltex} is used with newer versions of +% \noexpand\LaTeX} % \begin{macrocode} \newif\ifperl \perltrue -\@ifundefined{plmac@tag}{\perlfalse}{} +\@ifundefined{plmac@tag}{\perlfalse\let\plmac@tag=\relax}{} \@ifundefined{plmac@tofile}{\perlfalse}{} \@ifundefined{plmac@fromfile}{\perlfalse}{} \@ifundefined{plmac@toflag}{\perlfalse}{} @@ -2145,7 +2151,7 @@ # # This is a generated file. # -# Copyright (C) 2010 Scott Pakin +# Copyright (C) 2003-2019 Scott Pakin # # This file may be distributed and/or modified under the conditions # of the LaTeX Project Public License, either version 1.3c of this diff --git a/macros/latex/contrib/perltex/perltex.ins b/macros/latex/contrib/perltex/perltex.ins index 6f5b1b2fa5..0d1ea5f286 100644 --- a/macros/latex/contrib/perltex/perltex.ins +++ b/macros/latex/contrib/perltex/perltex.ins @@ -1,5 +1,5 @@ %% -%% Copyright (C) 2010 Scott Pakin +%% Copyright (C) 2003--2019 Scott Pakin %% %% This file may be distributed and/or modified under the conditions of %% the LaTeX Project Public License, either version 1.3c of this license @@ -21,7 +21,7 @@ This is a generated file. -Copyright (C) 2010 Scott Pakin +Copyright (C) 2003-2019 Scott Pakin This file may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c of this license diff --git a/macros/latex/contrib/perltex/perltex.pdf b/macros/latex/contrib/perltex/perltex.pdf index 7b66c014ab..1c4ae95046 100644 Binary files a/macros/latex/contrib/perltex/perltex.pdf and b/macros/latex/contrib/perltex/perltex.pdf differ -- cgit v1.2.3