summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-11-23 21:15:08 +0000
committerKarl Berry <karl@freefriends.org>2023-11-23 21:15:08 +0000
commit423224b7cf529771a8f49b2e193b764f4922f27c (patch)
treeb91b0ada00da82b96067c397ce39eaf5c34a751d /Master/texmf-dist/source
parent2f8c4419211d8862a6c9a6289595528c46489b70 (diff)
pfarrei (23nov23)
git-svn-id: svn://tug.org/texlive/trunk@68947 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/latex/pfarrei/README63
-rw-r--r--Master/texmf-dist/source/latex/pfarrei/pfarrei.dtx27
2 files changed, 16 insertions, 74 deletions
diff --git a/Master/texmf-dist/source/latex/pfarrei/README b/Master/texmf-dist/source/latex/pfarrei/README
deleted file mode 100644
index 267356c6941..00000000000
--- a/Master/texmf-dist/source/latex/pfarrei/README
+++ /dev/null
@@ -1,63 +0,0 @@
-$Id: README 36 2013-10-16 18:54:26Z mjk $
-============================================================================
-pfarrei - A bundle of executables, LaTeX documents and packages for pastors
-----------------------------------------------------------------------------
-Maintainer: Markus Kohm
-E-Mail: komascript at gmx info
-Abstract: In "Die TeXnische Komödie" 1/2013 Christian Justen told
- about his practise using LaTeX at his work as pastor. One
- point was to arrange A5 papers onto A4 landscape paper
- either side-by-side or as a booklet. He made two bash
- scripts for this. `pfarrei' provides one texlua script for
- the same.
- Other points would be, e.g, special limitations of the
- page break. `pfarrei' provides LaTeX commands and
- environments to help for that too.
-Requires: LaTeX2e, ifpdf, pdfpages, TeXLua
-License: LPPL 1.3c or later
-State: Maintained
-Topics: compact output, typically multiple pages/sheet
-----------------------------------------------------------------------------
-Special installation note:
- To extract all the files just call `tex pfarrei.dtx'. Note,
- that you have to use tex NOT latex or pdflatex!
- The manual may be done using `pdflatex pfarrei.dtx' two
- times.
-
- After this, you should copy the files like this into a valid
- TEXMF tree (aka TDS tree):
- a5toa4.tlu --> scripts/pfarrei/a5toa5.tlu
- pfarrei.tlu --> scripts/pfarrei/pfarrei.tlu
- a5toa4.tex --> tex/latex/pfarrei/a5toa4.tex
- pfarrei.sty --> tex/latex/pfarrei/pfarrei.sty
- pfarrei.pdf --> doc/latex/pfarrei/pfarrei.pdf
- README --> source/latex/pfarrei/README
- pfarrei.dtx --> source/latex/pfarrei/pfarrei.dtx
-
- Users, that do not use Windows, should also copy a5toa4.tlu
- to the binary directory of their TeX distribution and rename
- that copy into a5toa4 (without extension).
-
- Windows users using TeX Live, should make a copy
- of runscript.exe with the name a5toa4.exe in the binary
- directory of their TeX distribution.
-
- Windows users using MiKTeX <= 2.9 should remove
- scripts/pfarrei/a5toa4.tlu and rename
- scripts/pfarrei/pfarrei.tlu -->
- scripts/pfarrei/a5toa4.tlu
- because MiKTeX <= 2.9 uses an outdated texlua, that does not
- search for modules correctly.
-
- Wndows users using MiKTeX should also copy
- ...\MiKTeX\miktex\bin\internal\runtexlua.exe -->
- ...\MiKTeX\miktex\bin\a5toa4.exe
- and start the MiKTeX Package Manager to install package
- miktex-cairo-bin-2.9, if not already installed.
-
- Please note, that there's also a TDS distribution of
- `pfarrei' that may be installed simply by extraction of
- `pfarrei.tds.zip' at a TEXMF tree and additionally copying
- the binary to the binary directory of the TeX distribution
- as described above.
-============================================================================
diff --git a/Master/texmf-dist/source/latex/pfarrei/pfarrei.dtx b/Master/texmf-dist/source/latex/pfarrei/pfarrei.dtx
index 17ab1140490..9f3b663a511 100644
--- a/Master/texmf-dist/source/latex/pfarrei/pfarrei.dtx
+++ b/Master/texmf-dist/source/latex/pfarrei/pfarrei.dtx
@@ -12,9 +12,9 @@
% and version 1.3c or later is part of all distributions of LaTeX
% version 2005/12/01.
%
-% This work has the LPPL maintenance status `maintained'.
+% This work has the LPPL maintenance status `unmaintained'.
%
-% The Current Maintainer and author of this work is Markus Kohm.
+% This package is currently unmaintained.
%
% This work consists of the files `README' and `pfarrei.dtx'.
%
@@ -36,9 +36,9 @@
% und Version 1.3c ist Teil aller Verteilungen von LaTeX
% Version 2005/12/01.
%
-% Dieses Wert hat den LPPL-Verwaltungszustand `maintained' (verwaltet).
+% Dieses Wert hat den LPPL-Verwaltungszustand `unmaintained' (verwaltet).
%
-% Der Aktuelle Verwalter und Autor dieses Werkes ist Markus Kohm.
+% Autor dieses Werkes ist Markus Kohm.
%
% Das Werk besteht aus den Dateien `README' und `pfarrei.dtx'.
%
@@ -72,10 +72,10 @@
\begingroup
\def\revisiondate$#1: #2-#3-#4 #5${%
\gdef\pfarreirevisiondate{#2/#3/#4}%
- }\revisiondate$Date: 2013-10-16 20:54:26 +0200 (Mi, 16. Okt 2013) $
+ }\revisiondate$Date: 2023-11-22 20:54:26 +0200 (Mi, 22. Nov 2023) $
\def\revision$#1: #2 #3${%
\gdef\pfarreirevision{#2}%
- }\revision$Revision: 36 $
+ }\revision$Revision: 37 $
\endgroup
%<*dtx>
\def\LaTeXformat{LaTeX2e}
@@ -152,9 +152,10 @@ with the work `pfarrei'. You may however distribute the work
<http://www.latex-project.org/lppl.txt> for additional
information.
-This work has the LPPL maintenance status `maintained'.
+This work has the LPPL maintenance status `unmaintained'.
-The Current Maintainer of this work is Markus Kohm.
+
+This package is currently unmaintained.
The list of files belonging to the work `pfarrei' is given in
the file `pfarrei.dtx'.
@@ -1034,7 +1035,7 @@ the file `pfarrei.dtx'.
%<*a5toa4>
% \fi^^A meta-comment
% \begin{macrocode}
--- $Id: pfarrei.dtx 36 2013-10-16 18:54:26Z mjk $
+-- $Id: pfarrei.dtx 37 2023-11-22 18:54:26Z ps $
kpse.set_program_name(arg[-1], 'a5toa4')
require('pfarrei.pfarrei')
@@ -1049,7 +1050,7 @@ require('pfarrei.pfarrei')
%<*pfarrei>
% \fi^^A meta-comment
% \begin{macrocode}
-local version_number = string.sub( '$Revision: 36 $', 12, -2 )
+local version_number = string.sub( '$Revision: 37 $', 12, -2 )
local action_version = ' r' .. version_number .. '\n' .. [[
Copyright (c) 2013 Markus Kohm.
@@ -1121,11 +1122,15 @@ while arg[i] do
-- build the temporary tex file
local tmpdir = os.tmpdir("pfarrei.XXXXXX" )
local tmpfile = string.match( arg[i], '.*/(.*)$') or arg[i]
+ -- pdflatex's -output-directory search for source pdf works with path specification but fails
+ -- when simple file name in the current working directory is provided, we need to provide '../' then
+ local local_source=''
+ if tmpfile == arg[i] then local_source = '../' end
local basename = string.match( tmpfile,'(.*)%.[^.]*$') or tmpfile
tmpfile = tmpdir..'/'..basename..'.tex'
local file = assert( io.open( tmpfile, 'w' ) )
if booklet then assert( file:write("\\PassOptionsToPackage{booklet}{pfarrei}\n") ) end
- assert( file:write("\\def\\OriginalFile{",arg[i],"}\n") )
+ assert( file:write("\\def\\OriginalFile{"..local_source,arg[i],"}\n") )
assert( file:write("\\input{a5toa4.tex}\n") )
assert( file:flush() )
file:close()