diff options
author | Karl Berry <karl@freefriends.org> | 2021-02-25 19:22:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-02-25 19:22:25 +0000 |
commit | ad547a6b5986815fda458221149728d9d9ab1d87 (patch) | |
tree | 16296910eb3eca724371474ea9aea3994dc69614 /Build/source/texk/dvidvi/a5bookle.bat | |
parent | 947b43de3dd21d58ccc2ffadefc4441ea1c2a813 (diff) |
restore Build,TODO from r57911
git-svn-id: svn://tug.org/texlive/trunk@57915 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvidvi/a5bookle.bat')
-rw-r--r-- | Build/source/texk/dvidvi/a5bookle.bat | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/Build/source/texk/dvidvi/a5bookle.bat b/Build/source/texk/dvidvi/a5bookle.bat new file mode 100644 index 00000000000..0cae6b918f9 --- /dev/null +++ b/Build/source/texk/dvidvi/a5bookle.bat @@ -0,0 +1,49 @@ +@echo off
+REM Given a DVI file, this command file carries out some of the steps
+REM needed to produce an A5 booklet suitable for folding and stapling.
+REM It is assumed the user has set up a page format suitable for A5 paper.
+REM The fancy pagination is done by Tom Rokicki's DVIDVI program.
+REM Note that 148mm = A5 width = half A4 height.
+REM
+REM We assume that the following symbols have been defined:
+REM a5booklet :== @disk$utils:[utilities.tex.dvidvi]a5booklet
+REM dvidvi :== $disk$utils:[utilities.tex.dvidvi]dvidvi
+REM
+if not "%1" == "" goto :file_given
+echo.
+echo.
+echo Usage: a5booklet file[.dvi]
+echo.
+goto :exit
+
+:file_given
+dvidvi -m 4:-1,2(148mm,0mm) %1 part1
+dvidvi -m 4:-3,0(148mm,0mm) %1 part2
+REM
+REM Now explain how to preview or PSPRINT the new DVI files.
+REM
+echo.
+echo.
+echo PART1.DVI and PART2.DVI have been created; each part contains the pages that
+echo must be printed on the same side of the paper. In both parts, each A4 page
+echo contains two side-by-side A5 pages from your original document.
+echo.
+echo To preview these DVI files you need to tell DVISCR to display each page
+echo in a landscaped orientation; for example:
+echo.
+echo $ dviscr part1
+echo.
+echo To create an A5 booklet suitable for folding and stapling, carry out the
+echo following steps (assuming you are using a LaserWriter):
+echo.
+echo 1. $ psprint /land /nobanner /notify part1
+echo 2. When this job has finished, take the output and put it back into
+echo the input cassette without changing the orientation in any way.
+echo 3. $ psprint /land part2
+echo 4. Depending on the number of pages, the final output may not be collated.
+echo You may need to change the placement of the bottom sheet(s).
+echo.
+echo.
+
+:exit
+
|