blob: 13afed261d4b8e380d3c790c38daf88b51a3b5ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
%%
%% This is file `booklet.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% booklet.dtx (with options: `usc')
%%
%% -----------------------------------------------------------------
%% Author: Peter Wilson (Herries Press)
%% Maintainer: Will Robertson (will dot robertson at latex-project dot org)
%% Copyright 2000--2005 Peter R. Wilson
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
%% version 1.3c of this license or (at your option) any
%% later version: <http://www.latex-project.org/lppl.txt>
%%
%% This work has the LPPL maintenance status "maintained".
%% The Current Maintainer of this work is Will Robertson.
%%
%% This work consists of the files listed in the README file.
%% -----------------------------------------------------------------
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{booklet}[2009/09/02 v0.7b booklet printing]
\newcommand*{\twoup@end}{\endinput}
\newdimen\pageseplength
\newdimen\pagesepwidth
\newdimen\pagesepoffset
\newif\ifsidebyside
\sidebysidetrue
\newif\ifuselandscape
\uselandscapefalse
\newif\ifprintoption
\printoptionfalse
\newcounter{signature}
\newcounter{sigcount}
\setcounter{sigcount}{0}
\newcommand*{\pagespersignature}[1]{\setcounter{signature}{#1}}
\pagespersignature{32}
\def\magstepminus#1{%
\ifcase#1 \@m\or 833\or 694\or 579\or 482\or 401\fi\relax}
\newcommand*{\target}[3]{}
\newcommand*{\source}[3]{}
\newcommand*{\setpdftargetpages}{}
\newcommand*{\setdvipstargetpages}{}
\newcommand*{\targettopbottom}{}
\newcommand*{\twoupemptypage}{}
\newcommand*{\twoupclearpage}{}
\newcommand*{\checkforlandscape}{%
\ifx\ifuselandscape\ifprintoption
\uselandscapefalse\else\uselandscapetrue\fi}
\DeclareOption{print}{\printoptiontrue\def\twoup@end{}}
\DeclareOption{noprint}{\printoptionfalse\def\twoup@end{\endinput}}
\DeclareOption{landscape}{\uselandscapetrue}
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{bkltprnt}}
\ProcessOptions\relax
\ifuselandscape
\PassOptionsToPackage{landscape}{bkltprnt}
\fi
\twoup@end
\RequirePackage{bkltprnt}
\endinput
%%
%% End of file `booklet.sty'.
|