mirror of
https://github.com/flynx/photobook.git
synced 2025-10-28 18:00:10 +00:00
105 lines
1.8 KiB
TeX
105 lines
1.8 KiB
TeX
%----------------------------------------------------------------------
|
|
|
|
\documentclass[
|
|
layoutmode=block,
|
|
% page size...
|
|
blockwidth=240mm, blockheight=220mm,
|
|
bleed=4mm,
|
|
bindingoffset=5mm,
|
|
% image block configuration...
|
|
imageblockwidth=0.98, imageblockheight=0.98,
|
|
imageblockoffsettop=-0,
|
|
% misc...
|
|
9pt,final,openany
|
|
]{photobook}
|
|
|
|
\usepackage{lipsum}
|
|
\usepackage{ragged2e}
|
|
|
|
|
|
\setlength\parindent{0pt}
|
|
|
|
\edef\TestImage{landscape}
|
|
\edef\TestImageV{portrait}
|
|
|
|
\writeimagelistfalse
|
|
|
|
|
|
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
|
|
|
|
|
|
\begin{document} % - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
|
|
|
|
% XXX move relevant bits of this to demo.tex...
|
|
\edef\foldmarkoffset{-10mm}
|
|
%\foldmarksfalse
|
|
|
|
\begin{foldout}[12cm 12cm 5cm]
|
|
\ImagePageFill{\PageInfo}{\TestImage}
|
|
\end{foldout}
|
|
|
|
|
|
\emptypage
|
|
\emptypage
|
|
|
|
|
|
\begin{foldout}[in out]
|
|
auto-calculate
|
|
\end{foldout}
|
|
|
|
%\begin{foldout}[in 15cm 10cm]
|
|
\begin{foldout}[in in 10cm]
|
|
count
|
|
\begin{foldoutcell}[2]
|
|
\lipsum
|
|
\lipsum
|
|
\lipsum
|
|
\end{foldoutcell}
|
|
%
|
|
\newpage
|
|
%
|
|
\begin{foldoutcell*}
|
|
\lipsum
|
|
\lipsum
|
|
\lipsum
|
|
\end{foldoutcell*}
|
|
%
|
|
\begin{foldoutcell*}
|
|
\begin{cliptocell}
|
|
\imagecell[fill, right, offsetleft=\bleed]{}{\TestImage}
|
|
\end{cliptocell}
|
|
\end{foldoutcell*}
|
|
%
|
|
\begin{foldoutcell*}
|
|
\lipsum
|
|
\lipsum
|
|
\lipsum
|
|
\end{foldoutcell*}
|
|
%
|
|
% auto-advance page...
|
|
\begin{foldoutcell}
|
|
\lipsum
|
|
\lipsum
|
|
\lipsum
|
|
\end{foldoutcell}
|
|
%
|
|
\newpage
|
|
%
|
|
\begin{foldoutcell}[2-3]
|
|
\lipsum
|
|
\lipsum
|
|
\lipsum
|
|
\end{foldoutcell}
|
|
\end{foldout}
|
|
|
|
\begin{foldout}[in]
|
|
in
|
|
\end{foldout}
|
|
|
|
|
|
|
|
%----------------------------------------------------------------------
|
|
\end{document} % vim:set ts=4 sw=4 :
|