From 0e7524a778f10398d0f7458935a1d24c6854883b Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 17 Sep 2023 17:27:28 +0300 Subject: [PATCH] leftside and rightside cells' star/non-star versions now follow the general convention of the star version not clipping it's content (POLS). Signed-off-by: Alex A. Naanou --- examples/endpaper.tex | 8 ++++---- photobook.cls | 35 ++++++++++++++++++----------------- 2 files changed, 22 insertions(+), 21 deletions(-) diff --git a/examples/endpaper.tex b/examples/endpaper.tex index 674e813..aed69ea 100644 --- a/examples/endpaper.tex +++ b/examples/endpaper.tex @@ -47,12 +47,12 @@ \begin{page} -\begin{leftside*} +\begin{leftside} \imagecell[fill, right, clearance=\cliptocellclearances]{}{DSC00403-2} -\end{leftside*} -\begin{rightside*} +\end{leftside} +\begin{rightside} \imagecell[fill, left, clearance=\cliptocellclearances]{}{DSC00403-2} -\end{rightside*} +\end{rightside} \end{page} diff --git a/photobook.cls b/photobook.cls index 9bf9764..a2a8480 100644 --- a/photobook.cls +++ b/photobook.cls @@ -92,7 +92,7 @@ %%% NOTE: \def\@[A-Z]+ macros will be visible to both the %%% code and the generated docs... -\edef\photobook@FILEVERSION{v0.1.28} +\edef\photobook@FILEVERSION{v0.1.29} \edef\photobook@FILEDATE{2023-08-24} @@ -4033,9 +4033,9 @@ %%%%% Endpaper cells % %% \DescribeEnv{leftside} -%%% \DescribeEnv{leftside*} +%% \DescribeEnv{leftside*} %% \DescribeEnv{rightside} -%%% \DescribeEnv{rightside*} +%% \DescribeEnv{rightside*} % %% \begin{minipage}{\textwidth} %% \begin{verbatim} @@ -4051,41 +4051,42 @@ %% \end{verbatim} %% \end{minipage} %% -%%% The star versions set the appropriate bleeds for cliptocell. -%%% +%% The non-star versions will clip to bleeds except for the gutter side +%% that has no bleeds. +%% +%% The star versions will not clip. +%% % XXX for some reason naming these anything starting with endpaper will % make LaTeX complain that that is already defined... % ...collision with bools??? -\newenvironment{leftside}{% +\newenvironment{leftside*}{% \begin{cell*}% {\bleed, \bleed}% {\pageblockwidth}{\pageblockheight}% }{% \end{cell*}} -% XXX EXPERIMENTAL -\newenvironment{leftside*}{% - \begin{leftside}% +\newenvironment{leftside}{% + \begin{leftside*}% \begin{cliptocell}[{\bleed} {\bleed} 0mm {\bleed}]% - \setcliptocellbleeds{{\bleed} {\bleed} 0mm {\bleed}}% + \setcliptocellbleeds{{\bleed} {\bleed} 0mm {\bleed}}% }{% \end{cliptocell} - \end{leftside}} + \end{leftside*}} -\newenvironment{rightside}{% +\newenvironment{rightside*}{% \begin{cell*}% {\bleed + \pageblockwidth, \bleed}% {\pageblockwidth}{\pageblockheight}% }{% \end{cell*}} -% XXX EXPERIMENTAL -\newenvironment{rightside*}{% - \begin{rightside}% +\newenvironment{rightside}{% + \begin{rightside*}% \begin{cliptocell}[0mm {\bleed} {\bleed} {\bleed}]% - \setcliptocellbleeds{0mm {\bleed} {\bleed} {\bleed}}% + \setcliptocellbleeds{0mm {\bleed} {\bleed} {\bleed}}% }{% \end{cliptocell} - \end{rightside}} + \end{rightside*}}