mirror of
https://github.com/flynx/photobook.git
synced 2025-10-28 18:00:10 +00:00
started work on macros for building screen versions of books...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
9be9ed3062
commit
957fb33de2
@ -5329,6 +5329,41 @@
|
||||
+ ((#2 mm) * 2)
|
||||
\relax}}
|
||||
|
||||
|
||||
%% \DescribeMacro{\pdfspreadstopages\{..\}}
|
||||
%
|
||||
%% include pdf block spreads as pages
|
||||
%%
|
||||
%% >> \pdfspreadstopages[<delta>]{<block-pdf>}
|
||||
%%
|
||||
% XXX do we skip the first/last single pages? ...an option?
|
||||
\newcommand\pdfspreadstopages[2][0.3mm]{%
|
||||
\includepdf[pages={{},1-}, nup=2x1, delta=#1 #1]{#2}}
|
||||
|
||||
|
||||
% XXX
|
||||
\newcommand\pdfcoverfront[1]{%
|
||||
% XXX crop to frontcover cell..
|
||||
\includepdf{#1}}
|
||||
\newcommand\pdfcoverback[1]{%
|
||||
% XXX crop to backcover cell..
|
||||
\includepdf{#1}}
|
||||
% XXX do we need this???
|
||||
%\newcommand\pdfendpaper[1]{%
|
||||
% \includepdf{#1}}
|
||||
|
||||
|
||||
% XXX
|
||||
\newcommand\pdfweb[2]{%
|
||||
\pdfcoverfront{#1}%
|
||||
% XXX endpaper...
|
||||
\pdfspreadstopages{#2}%
|
||||
% XXX endpaper...
|
||||
\pdfcoverback{#1}}
|
||||
|
||||
|
||||
|
||||
|
||||
% XXX DOC...
|
||||
\def\TEX{%
|
||||
{\fontfamily{lmr}\selectfont \TeX}}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user