%----------------------------------------------------------------------

\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}

\edef\foldmarkoffset{-10mm}
%\foldmarksfalse

\begin{foldout}[10cm 10cm 10cm]
	\ImagePageFill{\PageInfo}{\TestImage}
\end{foldout}

\begin{foldout}[in out]
	auto-calculate
\end{foldout}

\begin{foldout}[3]
	count
	\begin{foldoutcell}[2]
		\lipsum
		\lipsum
		\lipsum
	\end{foldoutcell}
	\newpage
	\begin{foldoutcell*}[1]
		\lipsum
		\lipsum
		\lipsum
	\end{foldoutcell*}
	\begin{foldoutcell*}[2]
	\begin{cliptocell}
	\begin{bottomup}
		\lipsum
		\lipsum
		\lipsum
	\end{bottomup}
	\end{cliptocell}
	\end{foldoutcell*}
	% XXX too much goes into right bleed...
	\begin{foldoutcell*}[3]
		\lipsum
		\lipsum
		\lipsum
	\end{foldoutcell*}
\end{foldout}

\begin{foldout}[in]
	in
\end{foldout}

%
%\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}
%
%\begin{foldout}[3]
%	\begin{foldoutcell}[2]
%		\lipsum
%		\lipsum
%		\lipsum
%	\end{foldoutcell}
%	\begin{foldoutcell}[3]
%		\lipsum
%		\lipsum
%		\lipsum
%	\end{foldoutcell}
%	\newpage
%	\begin{foldoutcell}[2-3]
%	\begin{bottomup}
%	\begin{cliptocell}
%		\lipsum
%		\lipsum
%		\lipsum
%		\lipsum
%		\lipsum
%	\end{cliptocell}
%	\end{bottomup}
%	\end{foldoutcell}
%\end{foldout}

\end{document}


%----------------------------------------------------------------------
%                                                  vim:set ts=4 sw=4 :
