texlive[66336] branches/branch2022.final/Master/texmf-dist: photobook
commits+karl at tug.org
commits+karl at tug.org
Fri Mar 3 22:33:21 CET 2023
Revision: 66336
http://tug.org/svn/texlive?view=revision&revision=66336
Author: karl
Date: 2023-03-03 22:33:20 +0100 (Fri, 03 Mar 2023)
Log Message:
-----------
photobook (3mar23) (branch)
Modified Paths:
--------------
branches/branch2022.final/Master/texmf-dist/doc/latex/photobook/photobook.pdf
branches/branch2022.final/Master/texmf-dist/doc/latex/photobook/scripts/make-images.sh
branches/branch2022.final/Master/texmf-dist/tex/latex/photobook/photobook.cls
Modified: branches/branch2022.final/Master/texmf-dist/doc/latex/photobook/photobook.pdf
===================================================================
(Binary files differ)
Modified: branches/branch2022.final/Master/texmf-dist/doc/latex/photobook/scripts/make-images.sh
===================================================================
--- branches/branch2022.final/Master/texmf-dist/doc/latex/photobook/scripts/make-images.sh 2023-03-03 21:33:08 UTC (rev 66335)
+++ branches/branch2022.final/Master/texmf-dist/doc/latex/photobook/scripts/make-images.sh 2023-03-03 21:33:20 UTC (rev 66336)
@@ -80,6 +80,7 @@
# ...something like:
# <template-name>-left.tpl
# <template-name>-right.tpl
+# - add multiple images/captions...
#
#
#
Modified: branches/branch2022.final/Master/texmf-dist/tex/latex/photobook/photobook.cls
===================================================================
--- branches/branch2022.final/Master/texmf-dist/tex/latex/photobook/photobook.cls 2023-03-03 21:33:08 UTC (rev 66335)
+++ branches/branch2022.final/Master/texmf-dist/tex/latex/photobook/photobook.cls 2023-03-03 21:33:20 UTC (rev 66336)
@@ -71,7 +71,7 @@
%%% NOTE: \def\<module-name>@[A-Z]+ macros will be visible to both the
%%% code and the generated docs...
-\edef\photobook at FILEVERSION{v0.1.8}
+\edef\photobook at FILEVERSION{v0.1.9}
\edef\photobook at 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 at 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 at 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}
More information about the tex-live-commits
mailing list.