mirror of
				https://github.com/flynx/photobook.git
				synced 2025-11-03 21:00:18 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			143 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			TeX
		
	
	
	
	
	
			
		
		
	
	
			143 lines
		
	
	
		
			2.5 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}
 | 
						|
 | 
						|
\edef\foldmarkoffset{-10mm}
 | 
						|
%\foldmarksfalse
 | 
						|
 | 
						|
% XXX should '12cm in in 5cm' size the second panel to 12cm???
 | 
						|
%		...i.e. should we adjust max width when manually sizing panels???
 | 
						|
\begin{foldout}[12cm 12cm 5cm]
 | 
						|
	\ImagePageFill{\PageInfo}{\TestImage}
 | 
						|
\end{foldout}
 | 
						|
 | 
						|
\null
 | 
						|
\newpage
 | 
						|
\null
 | 
						|
\newpage
 | 
						|
 | 
						|
\begin{foldout}[in out]
 | 
						|
	auto-calculate
 | 
						|
\end{foldout}
 | 
						|
 | 
						|
\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}
 | 
						|
	\begin{bottomup}
 | 
						|
		\lipsum
 | 
						|
		\lipsum
 | 
						|
		\lipsum
 | 
						|
	\end{bottomup}
 | 
						|
	\end{cliptocell}
 | 
						|
	\end{foldoutcell*}
 | 
						|
	%
 | 
						|
	\begin{foldoutcell*}
 | 
						|
		\lipsum
 | 
						|
		\lipsum
 | 
						|
		\lipsum
 | 
						|
	\end{foldoutcell*}
 | 
						|
	%
 | 
						|
	% auto-advance page...
 | 
						|
	\begin{foldoutcell}
 | 
						|
		\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 :
 |