From 480fcf1f3af93dcc0b0c0e58009ea0809d2d3023 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 27 Feb 2023 20:33:36 +0000 Subject: photobook (27feb23) git-svn-id: svn://tug.org/texlive/trunk@66223 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/photobook/photobook.cls | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/photobook/photobook.cls b/Master/texmf-dist/tex/latex/photobook/photobook.cls index 4fb5c623ae7..06f00aa4bbe 100644 --- a/Master/texmf-dist/tex/latex/photobook/photobook.cls +++ b/Master/texmf-dist/tex/latex/photobook/photobook.cls @@ -44,6 +44,8 @@ % XXX see where we need to \ignorespaces... % XXX might be a good idea to add a spine calculator... % XXX might be fun to add a 'box' layout to build book boxes... +% XXX add a grid cell / image cell (???) +% make it trivial to define AxB cell layouts and fill them (fully/partially) % XXX manual / book: % - basic usage % - setup @@ -58,8 +60,8 @@ %%% NOTE: \def\@[A-Z]+ macros will be visible to both the %%% code and the generated docs... -\edef\photobook@FILEVERSION{v0.1.6} -\edef\photobook@FILEDATE{2023-01-17} +\edef\photobook@FILEVERSION{v0.1.7} +\edef\photobook@FILEDATE{2023-02-27} %% \documentclass{ltxdoc} @@ -601,6 +603,8 @@ \RequirePackage{trimclip} %% \href{https://ctan.org/pkg/xcolor}{xcolor}, \RequirePackage{xcolor} +%% \href{https://ctan.org/pkg/pagecolor}{pagecolor}, +\RequirePackage{pagecolor} %% \href{https://ctan.org/pkg/colorspace}{colorspace}, \RequirePackage{colorspace} %% \href{https://ctan.org/pkg/graphicx}{graphicx}, @@ -1133,6 +1137,13 @@ paperwidth=\bleedblockwidth, paperheight=\bleedblockheight, ]{geometry} +% colors... +% +% This prevents \pagecolor from getting drawn over other elements... +\pagecolor{white} +\pagecolor{none} +\color{black} + % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - % pre-document... @@ -2435,6 +2446,9 @@ \begin{minipage}[t][\cellheight][#2]{\cellwidth}% \begin{\photobook@captioncell@align}% \ignorespaces% + % XXX BUG: for some reason the text here will not line-break... + % putting it in a minipage here does nothing while the same + % minipage on the lient size fixes the issue... #3% \end{\photobook@captioncell@align}% \end{minipage} -- cgit v1.2.3