From 5c758086b3c65a3f1569cb218a8b6b578488491a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 3 Mar 2023 21:30:58 +0000 Subject: photobook (3mar23) git-svn-id: svn://tug.org/texlive/trunk@66329 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/photobook/photobook.pdf | Bin 140502 -> 140491 bytes .../doc/latex/photobook/scripts/make-images.sh | 1 + .../texmf-dist/tex/latex/photobook/photobook.cls | 22 +++++++++++++-------- 3 files changed, 15 insertions(+), 8 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/photobook/photobook.pdf b/Master/texmf-dist/doc/latex/photobook/photobook.pdf index 44c848ff5c4..c10cb7eba2f 100644 Binary files a/Master/texmf-dist/doc/latex/photobook/photobook.pdf and b/Master/texmf-dist/doc/latex/photobook/photobook.pdf 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: # -left.tpl # -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\@[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*}(, ){}{} +%\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} -- cgit v1.2.3