%%
%% 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'.
