diff options
author | Karl Berry <karl@freefriends.org> | 2024-12-05 21:22:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-12-05 21:22:35 +0000 |
commit | 8f18b6523ebb388bef832dfde0ff0258075fae9b (patch) | |
tree | 2ff1567ca086e5286f8889e5c1768df588c0e599 /Master/texmf-dist/doc | |
parent | a3aacbeaf94420c79fb19db16c30e0e0bd1dc0ce (diff) |
perltex (5dec24)
git-svn-id: svn://tug.org/texlive/trunk@73044 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/perltex/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/perltex/example.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/perltex/perltex.pdf | bin | 283945 -> 446671 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/man/man1/perltex.1 | 134 | ||||
-rw-r--r-- | Master/texmf-dist/doc/man/man1/perltex.man1.pdf | bin | 30185 -> 31891 bytes |
5 files changed, 30 insertions, 108 deletions
diff --git a/Master/texmf-dist/doc/latex/perltex/README b/Master/texmf-dist/doc/latex/perltex/README index 44905490684..2491641652a 100644 --- a/Master/texmf-dist/doc/latex/perltex/README +++ b/Master/texmf-dist/doc/latex/perltex/README @@ -42,7 +42,7 @@ perltex.gls", then "latex perltex.dtx" again, then "dvips perltex.dvi License ------- -Copyright (C) 2003-2019 Scott Pakin +Copyright (C) 2003-2024 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/Master/texmf-dist/doc/latex/perltex/example.tex b/Master/texmf-dist/doc/latex/perltex/example.tex index 4fe175a5324..fcd95e117ae 100644 --- a/Master/texmf-dist/doc/latex/perltex/example.tex +++ b/Master/texmf-dist/doc/latex/perltex/example.tex @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2003-2019 Scott Pakin <scott+pt@pakin.org> +%% Copyright (C) 2003-2024 Scott Pakin <scott+pt@pakin.org> %% %% 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/Master/texmf-dist/doc/latex/perltex/perltex.pdf b/Master/texmf-dist/doc/latex/perltex/perltex.pdf Binary files differindex 1c4ae950465..f55a9965171 100644 --- a/Master/texmf-dist/doc/latex/perltex/perltex.pdf +++ b/Master/texmf-dist/doc/latex/perltex/perltex.pdf diff --git a/Master/texmf-dist/doc/man/man1/perltex.1 b/Master/texmf-dist/doc/man/man1/perltex.1 index 71ebe2ae45a..90369f99d8a 100644 --- a/Master/texmf-dist/doc/man/man1/perltex.1 +++ b/Master/texmf-dist/doc/man/man1/perltex.1 @@ -1,4 +1,5 @@ -.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) +.\" -*- mode: troff; coding: utf-8 -*- +.\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== @@ -15,29 +16,12 @@ .ft R .fi .. -.\" Set up some character translations and predefined strings. \*(-- will -.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left -.\" double quote, and \*(R" will give a right double quote. \*(C+ will -.\" give a nicer C++. Capital omega is used to do unbreakable dashes and -.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, -.\" nothing in troff, for use with C<>. -.tr \(*W- -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' +.\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ -. ds -- \(*W- -. ds PI pi -. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch -. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch -. ds L" "" -. ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ -. ds -- \|\(em\| -. ds PI \(*p -. ds L" `` -. ds R" '' . ds C` . ds C' 'br\} @@ -68,79 +52,17 @@ . \} .\} .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. -. \" fudge factors for nroff and troff -.if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP -.\} -.if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& -.\} -. \" simple accents for nroff and troff -.if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds / -.\} -.if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -.\} -. \" troff and (daisy-wheel) nroff accents -.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' -.ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] -.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' -.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' -.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] -.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] -.ds ae a\h'-(\w'a'u*4/10)'e -.ds Ae A\h'-(\w'A'u*4/10)'E -. \" corrections for vroff -.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' -.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) -.if \n(.H>23 .if \n(.V>19 \ -\{\ -. ds : e -. ds 8 ss -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -.\} -.rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "PERLTEX 1" -.TH PERLTEX 1 "2019-09-15" "v2.2" " " +.TH PERLTEX 1 2024-12-03 v2.3 " " .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh -.SH "NAME" +.SH NAME perltex \- enable LaTeX macros to be defined in terms of Perl code -.SH "SYNOPSIS" +.SH SYNOPSIS .IX Header "SYNOPSIS" perltex [\fB\-\-help\fR] @@ -149,9 +71,9 @@ perltex [\fB\-\-permit\fR=\fIfeature\fR] [\fB\-\-makesty\fR] [\fIlatex options\fR] -.SH "DESCRIPTION" +.SH DESCRIPTION .IX Header "DESCRIPTION" -LaTeX \*(-- through the underlying TeX typesetting system \*(-- produces +LaTeX \-\- through the underlying TeX typesetting system \-\- produces beautifully typeset documents but has a macro language that is difficult to program. In particular, support for complex string manipulation is largely lacking. Perl is a popular general-purpose @@ -168,18 +90,18 @@ document includes a \f(CW\*(C`\eusepackage{perltex}\*(C'\fR in its preamble, the available. These behave just like LaTeX's \f(CW\*(C`\enewcommand\*(C'\fR and \&\f(CW\*(C`\erenewcommand\*(C'\fR except that the macro body contains Perl code instead of LaTeX code. -.SH "OPTIONS" +.SH OPTIONS .IX Header "OPTIONS" \&\fBperltex\fR accepts the following command-line options: -.IP "\fB\-\-help\fR" 4 +.IP \fB\-\-help\fR 4 .IX Item "--help" Display basic usage information. -.IP "\fB\-\-latex\fR=\fIprogram\fR" 4 +.IP \fB\-\-latex\fR=\fIprogram\fR 4 .IX Item "--latex=program" Specify a program to use instead of \fBlatex\fR. For example, \&\f(CW\*(C`\-\-latex=pdflatex\*(C'\fR would typeset the given document using \&\fBpdflatex\fR instead of ordinary \fBlatex\fR. -.IP "\fB\-\-\fR[\fBno\fR]\fBsafe\fR" 4 +.IP \fB\-\-\fR[\fBno\fR]\fBsafe\fR 4 .IX Item "--[no]safe" Enable or disable sandboxing. With the default of \fB\-\-safe\fR, \&\fBperltex\fR executes the code from a \f(CW\*(C`\eperlnewcommand\*(C'\fR or @@ -188,13 +110,13 @@ prohibits ``unsafe'' operations such as accessing files or executing external programs. Specifying \fB\-\-nosafe\fR gives the LaTeX document \&\fIcarte blanche\fR to execute any arbitrary Perl code, including that which can harm the user's files. See Safe for more information. -.IP "\fB\-\-permit\fR=\fIfeature\fR" 4 +.IP \fB\-\-permit\fR=\fIfeature\fR 4 .IX Item "--permit=feature" Permit particular Perl operations to be performed. The \fB\-\-permit\fR option, which can be specified more than once on the command line, enables finer-grained control over the \fBperltex\fR sandbox. See Opcode for more information. -.IP "\fB\-\-makesty\fR" 4 +.IP \fB\-\-makesty\fR 4 .IX Item "--makesty" Generate a LaTeX style file called \fInoperltex.sty\fR. Replacing the document's \f(CW\*(C`\eusepackage{perltex}\*(C'\fR line with \f(CW\*(C`\eusepackage{noperltex}\*(C'\fR @@ -209,7 +131,7 @@ These options are then followed by whatever options are normally passed to \fBlatex\fR (or whatever program was specified with \&\f(CW\*(C`\-\-latex\*(C'\fR), including, for instance, the name of the \fI.tex\fR file to compile. -.SH "EXAMPLES" +.SH EXAMPLES .IX Header "EXAMPLES" In its simplest form, \fBperltex\fR is run just like \fBlatex\fR: .PP @@ -241,49 +163,49 @@ permissions (\f(CW\*(C`:browse\*(C'\fR) plus the ability to open files and invok \& perltex \-\-permit=:browse \-\-permit=:filesys_open \& \-\-permit=time myfile.tex .Ve -.SH "ENVIRONMENT" +.SH ENVIRONMENT .IX Header "ENVIRONMENT" \&\fBperltex\fR honors the following environment variables: -.IP "\s-1PERLTEX\s0" 4 +.IP PERLTEX 4 .IX Item "PERLTEX" 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\*(R"\s0) overrides that. -.SH "FILES" +"OPTIONS") overrides that. +.SH FILES .IX Header "FILES" While compiling \fIjobname.tex\fR, \fBperltex\fR makes use of the following files: -.IP "\fIjobname.lgpl\fR" 4 +.IP \fIjobname.lgpl\fR 4 .IX Item "jobname.lgpl" log file written by Perl; helpful for debugging Perl macros -.IP "\fIjobname.topl\fR" 4 +.IP \fIjobname.topl\fR 4 .IX Item "jobname.topl" information sent from LaTeX to Perl -.IP "\fIjobname.frpl\fR" 4 +.IP \fIjobname.frpl\fR 4 .IX Item "jobname.frpl" information sent from Perl to LaTeX -.IP "\fIjobname.tfpl\fR" 4 +.IP \fIjobname.tfpl\fR 4 .IX Item "jobname.tfpl" ``flag'' file whose existence indicates that \fIjobname.topl\fR contains valid data -.IP "\fIjobname.ffpl\fR" 4 +.IP \fIjobname.ffpl\fR 4 .IX Item "jobname.ffpl" ``flag'' file whose existence indicates that \fIjobname.frpl\fR contains valid data -.IP "\fIjobname.dfpl\fR" 4 +.IP \fIjobname.dfpl\fR 4 .IX Item "jobname.dfpl" ``flag'' file whose existence indicates that \fIjobname.ffpl\fR has been deleted -.IP "\fInoperltex\-#.tex\fR" 4 +.IP \fInoperltex\-#.tex\fR 4 .IX Item "noperltex-#.tex" file generated by \fInoperltex.sty\fR for each PerlTeX macro invocation -.SH "NOTES" +.SH NOTES .IX Header "NOTES" \&\fBperltex\fR's sandbox defaults to what Opcode calls ``\f(CW\*(C`:browse\*(C'\fR''. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBlatex\fR\|(1), \fBpdflatex\fR\|(1), \fBperl\fR\|(1), \fBSafe\fR\|(3pm), \fBOpcode\fR\|(3pm) -.SH "AUTHOR" +.SH AUTHOR .IX Header "AUTHOR" Scott Pakin, \fIscott+pt@pakin.org\fR diff --git a/Master/texmf-dist/doc/man/man1/perltex.man1.pdf b/Master/texmf-dist/doc/man/man1/perltex.man1.pdf Binary files differindex 44e2420019b..902bd0a23d6 100644 --- a/Master/texmf-dist/doc/man/man1/perltex.man1.pdf +++ b/Master/texmf-dist/doc/man/man1/perltex.man1.pdf |