summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/photobook/photobook.cls
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/photobook/photobook.cls')
-rw-r--r--macros/latex/contrib/photobook/photobook.cls29
1 files changed, 22 insertions, 7 deletions
diff --git a/macros/latex/contrib/photobook/photobook.cls b/macros/latex/contrib/photobook/photobook.cls
index c4f2d56c05..408acee173 100644
--- a/macros/latex/contrib/photobook/photobook.cls
+++ b/macros/latex/contrib/photobook/photobook.cls
@@ -58,7 +58,7 @@
%%% NOTE: \def\<module-name>@[A-Z]+ macros will be visible to both the
%%% code and the generated docs...
-\edef\photobook@FILEVERSION{v0.1}
+\edef\photobook@FILEVERSION{v0.1.3}
\edef\photobook@FILEDATE{2021-07-28}
@@ -926,14 +926,25 @@
\else
\def\pdfpagelayout{\photobook@pdfpagelayout}\fi
% items to ignore in different layouts...
- % XXX is this the correct way to go???
\ifcoverlayout
- \setlength\coverflap{\photobook@coverflap}
+ \setlength\coverflap{
+ \ifx\coverflap\empty
+ \photobook@coverflap
+ \else
+ \coverflap \fi}
\else
\setlength\coverflap{0pt}\fi
\ifjacketlayout
- \setlength\jacketwrap{\photobook@jacketwrap}
- \setlength\jacketflap{\photobook@jacketflap}
+ \setlength\jacketwrap{
+ \ifx\jacketwrap\empty
+ \photobook@jacketwrap
+ \else
+ \jacketwrap \fi}
+ \setlength\jacketflap{
+ \ifx\jacketflap\empty
+ \photobook@jacketflap
+ \else
+ \jacketflap \fi}
\else
\setlength\jacketwrap{0pt}
\setlength\jacketflap{0pt}\fi
@@ -1803,7 +1814,6 @@
\end{inlinecell*}%
\end{turn}}
-
%% \DescribeEnv{cliptocell}
%
%% Clip content to parent cell.
@@ -3697,7 +3707,7 @@
%% \begin{minipage}{\textwidth}
%% \begin{verbatim}
%%
-%% backflap spline/vspine frontflap
+%% backflap spine/vspine frontflap
%% . backcover . frontcover .
%% v v v v v
%% +---+---------------+---+---------------+---+
@@ -3711,6 +3721,11 @@
%% \end{verbatim}
%% \end{minipage}
%%
+%% Note that when typesetting a spine with both top-down and bottom-up
+%% text it is recommended to use |topdown|/|bottomup| in |zinlinecell|'s
+%% in a normal |spine| rather than using a |vspine| and trying to rotate
+%% part of the content.
+%%
\newenvironment{frontcover}{%
\begin{cell*}{
\bleed