summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/photobook
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-02-28 03:02:32 +0000
committerNorbert Preining <norbert@preining.info>2023-02-28 03:02:32 +0000
commited106ad4cb2e3cb0269bdc9f721ff75df77532cf (patch)
tree4cbe8c477935516497526c9a01ed2ab240c782bb /macros/latex/contrib/photobook
parent86d5a04282aa958addab4585c4df899ec9a92e50 (diff)
CTAN sync 202302280302
Diffstat (limited to 'macros/latex/contrib/photobook')
-rw-r--r--macros/latex/contrib/photobook/LICENSE2
-rw-r--r--macros/latex/contrib/photobook/README.md2
-rw-r--r--macros/latex/contrib/photobook/photobook.cls18
-rw-r--r--macros/latex/contrib/photobook/photobook.pdfbin138172 -> 138003 bytes
4 files changed, 18 insertions, 4 deletions
diff --git a/macros/latex/contrib/photobook/LICENSE b/macros/latex/contrib/photobook/LICENSE
index d28638300d..b6912847b4 100644
--- a/macros/latex/contrib/photobook/LICENSE
+++ b/macros/latex/contrib/photobook/LICENSE
@@ -1,6 +1,6 @@
BSD 3-Clause License
-Copyright (c) 2021, Alex A. Naanou
+Copyright (c) 2021-2023, Alex A. Naanou
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/macros/latex/contrib/photobook/README.md b/macros/latex/contrib/photobook/README.md
index 8a1aea8caa..e2fd880008 100644
--- a/macros/latex/contrib/photobook/README.md
+++ b/macros/latex/contrib/photobook/README.md
@@ -51,7 +51,7 @@ For more info on `make` targets see the: [./Makefile](./Makefile)
[BSD 3-Clause License](./LICENSE)
-Copyright (c) 2021-2022, Alex A. Naanou,
+Copyright (c) 2021-2023, Alex A. Naanou,
All rights reserved.
diff --git a/macros/latex/contrib/photobook/photobook.cls b/macros/latex/contrib/photobook/photobook.cls
index 4fb5c623ae..06f00aa4bb 100644
--- a/macros/latex/contrib/photobook/photobook.cls
+++ b/macros/latex/contrib/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}
diff --git a/macros/latex/contrib/photobook/photobook.pdf b/macros/latex/contrib/photobook/photobook.pdf
index 5772d347a9..1380393835 100644
--- a/macros/latex/contrib/photobook/photobook.pdf
+++ b/macros/latex/contrib/photobook/photobook.pdf
Binary files differ