diff options
author | Karl Berry <karl@freefriends.org> | 2023-03-03 21:33:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-03-03 21:33:20 +0000 |
commit | fcf320b3d74a4c4dd0e9132a4316cc8d7400a48c (patch) | |
tree | a1d91b776a830f70c0c73b737ccef2f47619e9ae /Master/texmf-dist/tex/latex | |
parent | f767564a53eda80e5c4b9644668858730e0da1c5 (diff) |
photobook (3mar23) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2022.final@66336 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/photobook/photobook.cls | 22 |
1 files changed, 14 insertions, 8 deletions
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} |