diff options
author | Karl Berry <karl@freefriends.org> | 2010-12-08 00:29:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-12-08 00:29:42 +0000 |
commit | b8dac36db6bad339e035d237cfed1b86713971ce (patch) | |
tree | 90f5205c580f7e74eb7eb18297a1c0936808ad19 /Master/texmf-dist/tex/latex/piff/duplicat.sty | |
parent | ec292c03bd7f22b6c53cc292304730e8a07b10b0 (diff) |
piff pd (8dec10)
git-svn-id: svn://tug.org/texlive/trunk@20676 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/piff/duplicat.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/piff/duplicat.sty | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/piff/duplicat.sty b/Master/texmf-dist/tex/latex/piff/duplicat.sty new file mode 100644 index 00000000000..0956ffe3f5c --- /dev/null +++ b/Master/texmf-dist/tex/latex/piff/duplicat.sty @@ -0,0 +1,33 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{duplicat} +% M.Piff@sheffield.ac.uk +% This package marks each page of the dvi file with its sequence number. +% Useful if there are duplicate page numbers in the output, eg, +% 1, 2, 3, 1, 2, 3, 4, 5, 6, ... +% become +% 1.1, 2.2, 3.3, 1.4, 2.5, 3.6, 4.7, 5.8, 6.9, ... +% +% These numbers do not appear in the page number itself, but can be used +% in the driver command to select a page range, eg, in emTeX, use +% dvihplj filename /b1.4 /e 4.7 +% +% If you are using dvips, this package is unnecessary, since it uses the +% convention that the avove pages have names +% 1, 2, 3, 1.1, 2.1, 3.1, 4, 5, 6, ... +% where .0 is optional (first occurrence of that page number). +% dvips -p1.1 -l4 filename +% +% This file is placed in the public domain. No provision is made for +% support of the use of the facilities herein. +% +\let\duplicat@tmp\relax +\DeclareOption{dvips}{\let\duplicat@tmp\endinput} +\ProcessOptions + +\duplicat@tmp +\let\duplicat@tmp\undefined + +\global\let\dup@shipout\shipout +\gdef\shipout{\global\advance\count1 by 1\relax\dup@shipout} + +\endinput |