diff options
author | Norbert Preining <norbert@preining.info> | 2023-09-06 03:01:07 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-09-06 03:01:07 +0000 |
commit | 30e902c79d7838a9ec84133dec2415eb48968762 (patch) | |
tree | 98f80627e917fc91308cdd784a43e58ce7e187f4 /macros/latex/contrib/photobook/photobook.cls | |
parent | 42959ab19eab5531850a6067d53d13f777ec160b (diff) |
CTAN sync 202309060301
Diffstat (limited to 'macros/latex/contrib/photobook/photobook.cls')
-rw-r--r-- | macros/latex/contrib/photobook/photobook.cls | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/macros/latex/contrib/photobook/photobook.cls b/macros/latex/contrib/photobook/photobook.cls index 899a488069..54b7d1f0b3 100644 --- a/macros/latex/contrib/photobook/photobook.cls +++ b/macros/latex/contrib/photobook/photobook.cls @@ -93,7 +93,7 @@ %%% NOTE: \def\<module-name>@[A-Z]+ macros will be visible to both the %%% code and the generated docs... -\edef\photobook@FILEVERSION{v0.1.25} +\edef\photobook@FILEVERSION{v0.1.26} \edef\photobook@FILEDATE{2023-08-24} @@ -2046,7 +2046,7 @@ \setlength\photobook@cliptocell@right{0mm}% \newlength\photobook@cliptocell@bottom \setlength\photobook@cliptocell@bottom{0mm}% -\def\cliptocellclearances{0mm 0mm 0mm 0mm}% +\def\cliptocellclearances{{0mm} {0mm} {0mm} {0mm}}% %% Set the default bleeds for |cliptocell| environments %% @@ -2061,9 +2061,8 @@ %%% %%% Set by |\cliptocellbleeds{..}| and contains clearances (negative %%% clipping bleeds) usable by imagecell. -% -% XXX BUG: bleeds is set correctly for one value but 2 and 4 seem to be -% misbehaving (see: ./examples/endpaper.tex) +%%% +%%% XXX still testing.... \newcommand\cliptocellbleeds[1]{ \setsepchar{ }% \readlist*\photobook@cliptocell@bleeds{#1}% @@ -2099,12 +2098,15 @@ \setlength\photobook@cliptocell@top{% \photobook@cliptocell@bleeds[4]}\fi% % NOTE: trailing spaces here are significant... + % XXX should we use \the here? + % ...it makes things printable... \def\cliptocellclearances{% - {-\photobook@cliptocell@left} % - {-\photobook@cliptocell@bottom} % - {-\photobook@cliptocell@right} % - {-\photobook@cliptocell@top}}} + {-\the\photobook@cliptocell@left} % + {-\the\photobook@cliptocell@bottom} % + {-\the\photobook@cliptocell@right} % + {-\the\photobook@cliptocell@top}}} +% XXX use \cliptocellclearances as default... \newenvironment{cliptocell}[1][0mm]{% \begingroup% \cliptocellbleeds{#1} @@ -4270,10 +4272,16 @@ % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - %%%%% Basic book information -%% \DescribeMacro{BookType=<text>} -\def\BookType{book} % XXX Document metadata -- move to globals... % XXX Use LaTeX generic metadata... +%% \DescribeMacro{BookType=<text>} +% +%% Used in page macro text to indicate the type of document built, by default +%% this is set to |book| for the most common case but can be set to anything +%% (e.g. |brochure|, |magazine|, |presentation|, ...etc.) +%% +\def\BookType{book} + %% \DescribeMacro{BookTitle=<text>} \def\BookTitle{} %% \DescribeMacro{BookVersion=<text>} |