mirror of
https://github.com/flynx/photobook.git
synced 2025-11-01 20:00:13 +00:00
tweak...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
c7333e4a4b
commit
9f2697234c
@ -2025,8 +2025,11 @@
|
|||||||
% XXX revise name...
|
% XXX revise name...
|
||||||
|
|
||||||
\NewEnviron{spreadtopages*}[2][2]{%
|
\NewEnviron{spreadtopages*}[2][2]{%
|
||||||
\newcounter{spreadtopages#2page}
|
% setup page count...
|
||||||
|
\@ifundefined{thespreadtopages#2page}{%
|
||||||
|
\newcounter{spreadtopages#2page}}{}
|
||||||
\setcounter{spreadtopages#2page}{1}
|
\setcounter{spreadtopages#2page}{1}
|
||||||
|
%
|
||||||
\begingroup%
|
\begingroup%
|
||||||
% create the actual cell...
|
% create the actual cell...
|
||||||
\setlength\cellparentwidth{\cellwidth}%
|
\setlength\cellparentwidth{\cellwidth}%
|
||||||
@ -2064,8 +2067,6 @@
|
|||||||
\setlength\cellheight{\pageblockheight}%
|
\setlength\cellheight{\pageblockheight}%
|
||||||
%
|
%
|
||||||
\savecell{photobook@spreadtopages}{\cellwidth}{\cellheight}{\BODY}%
|
\savecell{photobook@spreadtopages}{\cellwidth}{\cellheight}{\BODY}%
|
||||||
%
|
|
||||||
% generate pages...
|
|
||||||
\foreach \photobook@spreadtopages@page in {1, ..., #1}{%
|
\foreach \photobook@spreadtopages@page in {1, ..., #1}{%
|
||||||
\usespreadpage[\photobook@spreadtopages@page]{photobook@spreadtopages}}%
|
\usespreadpage[\photobook@spreadtopages@page]{photobook@spreadtopages}}%
|
||||||
\endgroup%
|
\endgroup%
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user