summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-03-03 21:30:58 +0000
committerKarl Berry <karl@freefriends.org>2023-03-03 21:30:58 +0000
commit5c758086b3c65a3f1569cb218a8b6b578488491a (patch)
tree0cb3ce30043b964dfce78d7f83a547451641648b /Master
parent884c0765e3f378f45d4f79c30c1f96f36b325b2f (diff)
photobook (3mar23)
git-svn-id: svn://tug.org/texlive/trunk@66329 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/photobook/photobook.pdfbin140502 -> 140491 bytes
-rw-r--r--Master/texmf-dist/doc/latex/photobook/scripts/make-images.sh1
-rw-r--r--Master/texmf-dist/tex/latex/photobook/photobook.cls22
3 files changed, 15 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/photobook/photobook.pdf b/Master/texmf-dist/doc/latex/photobook/photobook.pdf
index 44c848ff5c4..c10cb7eba2f 100644
--- a/Master/texmf-dist/doc/latex/photobook/photobook.pdf
+++ b/Master/texmf-dist/doc/latex/photobook/photobook.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/photobook/scripts/make-images.sh b/Master/texmf-dist/doc/latex/photobook/scripts/make-images.sh
index 7be3a53cf89..bfec27d9782 100644
--- a/Master/texmf-dist/doc/latex/photobook/scripts/make-images.sh
+++ b/Master/texmf-dist/doc/latex/photobook/scripts/make-images.sh
@@ -80,6 +80,7 @@ shopt -s nullglob extglob
# ...something like:
# <template-name>-left.tpl
# <template-name>-right.tpl
+# - add multiple images/captions...
#
#
#
diff --git a/Master/texmf-dist/tex/latex/photobook/photobook.cls b/Master/texmf-dist/tex/latex/photobook/photobook.cls
index 202090fc278..c5e4f8d925e 100644
--- a/Master/texmf-dist/tex/latex/photobook/photobook.cls
+++ b/Master/texmf-dist/tex/latex/photobook/photobook.cls
@@ -71,7 +71,7 @@
%%% NOTE: \def\<module-name>@[A-Z]+ macros will be visible to both the
%%% code and the generated docs...
-\edef\photobook@FILEVERSION{v0.1.8}
+\edef\photobook@FILEVERSION{v0.1.9}
\edef\photobook@FILEDATE{2023-03-01}
@@ -623,6 +623,8 @@
%% \href{https://ctan.org/pkg/adjustbox}{adjustbox},
\RequirePackage{adjustbox}
%% \href{https://ctan.org/pkg/adjustbox}{adjustbox},
+% XXX BUG TEXTPOS textblock in absolute mode does not behave well with
+% sbox in absolute mode...
\RequirePackage[absolute]{textpos}
%% \href{https://ctan.org/pkg/fancyvrb}{fancyvrb},
\RequirePackage{fancyvrb}
@@ -1695,11 +1697,11 @@
%%
% XXX SYNTAX: place the second arg in braces...
% \begin{cell*}(<left>, <top>){<width>}{<height>}
+%\newenvironment{cell*}[3]{%
\newenvironment{cell*}[3]{%
\begingroup%
\setsepchar{,}%
\readlist*\photobook@cell@offset{#1}%
- %
% NOTE: if there is no \null before textblock then it can reset the
% non-standard page boxes...
% ...not sure yet if this is an issue with how/when foldout env
@@ -1708,7 +1710,7 @@
% XXX report this as a bug if issue is in textblock...
% XXX another place where this is relevant is in the resizedpages
% env...
- \null%
+ %\null%
\begin{textblock*}{#2}(#1)%
\begin{inlinecell*}{#2}{#3}%
\setlength\celloffsettop{\photobook@cell@offset[1]}%
@@ -1767,7 +1769,7 @@
%% This is similar to |\newsavebox{..}| and |\sbox{..}| but adds
%% cell functionality.
%%
-%% |\gsavecell{..}| is the same as |\savecell{..}| but greates a global
+%% |\gsavecell{..}| is the same as |\savecell{..}| but creates a global
%% cell.
%%
% XXX can/should we make this an env???
@@ -1777,21 +1779,25 @@
\newcommand\savecell[5][]{%
% only define a savebox once...
\@ifundefined{#2}{%
- \expandafter\newsavebox\csname #2\endcsname}{}
+ \expandafter\newsavebox\csname #2\endcsname}{}%
\expandafter\sbox\csname #2\endcsname{%
+ \TPoptions{absolute=false}%
\begin{inlinecell*}[#1]{#3}{#4}%
#5%
- \end{inlinecell*}}%
+ \end{inlinecell*}%
+ \TPoptions{absolute=true}}%
\ignorespaces}
\newcommand\gsavecell[5][]{%
% only define a savebox once...
\@ifundefined{#2}{%
- \expandafter\newsavebox\csname #2\endcsname}{}
+ \expandafter\newsavebox\csname #2\endcsname}{}%
\global\expandafter\sbox\csname #2\endcsname{%
+ \TPoptions{absolute=false}%
\begin{inlinecell*}[#1]{#3}{#4}%
#5%
- \end{inlinecell*}}%
+ \end{inlinecell*}%
+ \TPoptions{absolute=true}}%
\ignorespaces}