texlive[66329] Master/texmf-dist: photobook (3mar23)

commits+karl at tug.org commits+karl at tug.org
Fri Mar 3 22:30:58 CET 2023


Revision: 66329
          http://tug.org/svn/texlive?view=revision&revision=66329
Author:   karl
Date:     2023-03-03 22:30:58 +0100 (Fri, 03 Mar 2023)
Log Message:
-----------
photobook (3mar23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/photobook/photobook.pdf
    trunk/Master/texmf-dist/doc/latex/photobook/scripts/make-images.sh
    trunk/Master/texmf-dist/tex/latex/photobook/photobook.cls

Modified: trunk/Master/texmf-dist/doc/latex/photobook/photobook.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/photobook/scripts/make-images.sh
===================================================================
--- trunk/Master/texmf-dist/doc/latex/photobook/scripts/make-images.sh	2023-03-03 21:30:46 UTC (rev 66328)
+++ trunk/Master/texmf-dist/doc/latex/photobook/scripts/make-images.sh	2023-03-03 21:30:58 UTC (rev 66329)
@@ -80,6 +80,7 @@
 #			...something like:
 #				<template-name>-left.tpl
 #				<template-name>-right.tpl
+#		- add multiple images/captions...
 #
 #
 #

Modified: trunk/Master/texmf-dist/tex/latex/photobook/photobook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/photobook/photobook.cls	2023-03-03 21:30:46 UTC (rev 66328)
+++ trunk/Master/texmf-dist/tex/latex/photobook/photobook.cls	2023-03-03 21:30:58 UTC (rev 66329)
@@ -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.