summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-02-27 20:33:36 +0000
committerKarl Berry <karl@freefriends.org>2023-02-27 20:33:36 +0000
commit480fcf1f3af93dcc0b0c0e58009ea0809d2d3023 (patch)
tree49e6e0e35f1b6e6ce561c61a30a2619dae8a4e7c /Master/texmf-dist/tex
parentf1250cb3e0ea6180142c17d213c8f0897b0112d1 (diff)
photobook (27feb23)
git-svn-id: svn://tug.org/texlive/trunk@66223 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/photobook/photobook.cls18
1 files changed, 16 insertions, 2 deletions
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\<module-name>@[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}