photobook/workflow/test.tex

56 lines
1.3 KiB
TeX
Raw Normal View History

%----------------------------------------------------------------------
\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{DSC00403-2}
\edef\TestImageV{DSC00403-2vert}
\writeimagelistfalse
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
\begin{document}
\ImagePageFill{\PageInfo}{\TestImage}
% XXX these are still a bit off...
% ...the problem is due to the code that accounts for binding offset when image fit...
\resizedpage{2\blockwidth}{\blockheight}{%
\ImagePageFill{\PageInfo}{\TestImageV}%
\ImagePageFill{\PageInfo}{\TestImage}}
\ImagePage{Caption text}{\TestImage}
\resizedpage{3\blockwidth}{\blockheight}{
\ImagePage{Caption text}{\TestImage}}
\ImagePage{Caption text}{\TestImage}
\end{document}
%----------------------------------------------------------------------
% vim:set ts=4 sw=4 :