photobook/examples/test.tex
Alex A. Naanou e88ea08060 working on foldout panels...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2021-09-25 14:39:04 +03:00

72 lines
1.3 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{DSC00403-2}
\edef\TestImageV{DSC00403-2vert}
\writeimagelistfalse
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
\begin{document}
\setsepchar{-}
\readlist*\lst{1-2}
item @1: \lst[1]
\par
len: \lstlen
\par
\ifnum\lstlen<2
one item
\else
two or more items
\fi
%\ImagePageFill{\PageInfo}{\TestImage}
%
%\begin{foldout}[3]
% \ImagePageFill{\PageInfo}{\TestImageV}%
% \ImagePageFill{\PageInfo}{\TestImage}
%\end{foldout}
%
%\ImagePage{Caption text}{\TestImage}
%\ImagePage{Caption text}{\TestImageV}
%
%\begin{foldout}[3]
% \ImagePageFill{\PageInfo}{\TestImage}
%\end{foldout}
\end{document}
%----------------------------------------------------------------------
% vim:set ts=4 sw=4 :