From 325e312e4a6c608b649e38bec1ba3aa4525d7572 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 13 Oct 2021 00:28:37 +0300 Subject: [PATCH] docs + minor refactoring... Signed-off-by: Alex A. Naanou --- examples/test.tex | 6 ++--- photobook.cls | 60 +++++++++++++++++++++++++++-------------------- 2 files changed, 37 insertions(+), 29 deletions(-) diff --git a/examples/test.tex b/examples/test.tex index e29bb39..6898251 100644 --- a/examples/test.tex +++ b/examples/test.tex @@ -42,10 +42,8 @@ \ImagePageFill{\PageInfo}{\TestImage} \end{foldout} -\null -\newpage -\null -\newpage +\emptypage +\emptypage \begin{foldout}[in out] auto-calculate diff --git a/photobook.cls b/photobook.cls index d934fc4..69ae270 100644 --- a/photobook.cls +++ b/photobook.cls @@ -171,6 +171,7 @@ %% \DescribeMacro{blockheight=} %% \DescribeMacro{bindingoffset=} %% \DescribeMacro{bleed=} +%% \DescribeMacro{flatfold=} % %% This is similar to what |geometry| does, but adds bleed support. %% @@ -203,7 +204,9 @@ %% \end{verbatim} %% \end{minipage} %% -% +%% |flatfold| sets the clearance set aside for a flat fold, used for +%% foldouts (see: \nameref{subsec:Foldout page cells} section). +%% % NOTE: if blockwidth/blockheight are set they will force recalculations % and overriding of the paperwidth/paperheight if they were changed % by the user code anywhere between \documentclass[..]{photobook} @@ -212,6 +215,7 @@ \DeclareStringOption{blockheight} \DeclareStringOption[0pt]{bindingoffset}[10mm] \DeclareStringOption[5mm]{bleed}[5mm] +\DeclareStringOption[0pt]{flatfold}[0.5mm] %%%%% layout @@ -221,7 +225,9 @@ %% \DescribeMacro{endpaper} %% \DescribeMacro{cover} %% \DescribeMacro{jacket} -%% +% +%% Sat page layout mode. +% %% >> layoutmode=