mirror of
https://github.com/flynx/photobook.git
synced 2025-12-24 20:21:58 +00:00
minor tweaks, fixes and cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
baf27952ed
commit
e03cdae7d5
@ -26,13 +26,27 @@
|
|||||||
\RequirePackage{geometry}
|
\RequirePackage{geometry}
|
||||||
|
|
||||||
|
|
||||||
|
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
% Helpers...
|
||||||
|
|
||||||
|
\newcommand\@DeclareLiteralOptionTo[2]{%
|
||||||
|
\DeclareVoidOption{#2}{%
|
||||||
|
\expandafter\edef\csname photobook@#1\endcsname{#2}}}
|
||||||
|
|
||||||
|
|
||||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
% options...
|
% options...
|
||||||
|
|
||||||
% pdf layout...
|
% pdf layout...
|
||||||
%
|
%
|
||||||
% see: hyperref's pdfpagelayout for more options...
|
% see: hyperref's pdfpagelayout for more options...
|
||||||
\DeclareStringOption[TwoPageRight]{pdfpagelayout}
|
\DeclareStringOption[TwoPageRight]{pdfpagelayout}[TwoPageRight]
|
||||||
|
\@DeclareLiteralOptionTo{pdfpagelayout}{SinglePage}
|
||||||
|
\@DeclareLiteralOptionTo{pdfpagelayout}{OneColumn}
|
||||||
|
\@DeclareLiteralOptionTo{pdfpagelayout}{TwoColumnRight}
|
||||||
|
\@DeclareLiteralOptionTo{pdfpagelayout}{TwoColumnLeft}
|
||||||
|
\@DeclareLiteralOptionTo{pdfpagelayout}{TwoPageRight}
|
||||||
|
\@DeclareLiteralOptionTo{pdfpagelayout}{TwoPageLeft}
|
||||||
|
|
||||||
|
|
||||||
% page geometry...
|
% page geometry...
|
||||||
@ -190,13 +204,12 @@
|
|||||||
% paper size (incl. bleeds)...
|
% paper size (incl. bleeds)...
|
||||||
paperwidth=\bleedblockwidth, paperheight=\bleedblockheight,
|
paperwidth=\bleedblockwidth, paperheight=\bleedblockheight,
|
||||||
bindingoffset=\bindingoffset,
|
bindingoffset=\bindingoffset,
|
||||||
|
|
||||||
% XXX these should be overridable...
|
% XXX these should be overridable...
|
||||||
% include header/footer/margin notes in printed area
|
% include header/footer/margin notes in printed area
|
||||||
twoside, includeall, nomarginpar,
|
twoside, includeall, nomarginpar,
|
||||||
ignorehead=false, ignorefoot=false, ignoremp=false,
|
ignorehead=false, ignorefoot=false, ignoremp=false,
|
||||||
% center printed area on page
|
% center printed area on page
|
||||||
vcentering, hcentering, }
|
vcentering, hcentering}
|
||||||
|
|
||||||
|
|
||||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user