diff --git a/examples/test.tex b/examples/test.tex index 40b5467..f0c4d22 100644 --- a/examples/test.tex +++ b/examples/test.tex @@ -36,6 +36,8 @@ \edef\foldmarkoffset{-10mm} %\foldmarksfalse +% XXX should '12cm in in 5cm' size the second panel to 12cm??? +% ...i.e. should we adjust max width when manually sizing panels??? \begin{foldout}[12cm 12cm 5cm] \ImagePageFill{\PageInfo}{\TestImage} \end{foldout} diff --git a/photobook.cls b/photobook.cls index da62a42..de3a8f3 100644 --- a/photobook.cls +++ b/photobook.cls @@ -2978,6 +2978,8 @@ \edef\photobook@foldout@prevfold{in} % >> \photobook@foldout@pushpanel{}{} +% +% XXX should we set maxpanelwidth when manually setting panel widths??? % XXX might be good to warn the user if the manual fold will not work... % after two folds in same direction panels must be strictly smaller... % ...would be nice to maintain maxpanelwidth and warn if explicit @@ -3016,6 +3018,10 @@ \photobook@foldout@panelwidth}% % explicit width... \else% + % XXX should we set the maxpanelwidth here too??? + % ...if yes, should we be more thorough and size it to the + % available space (accounting for last two folds)?? + %\setlength\photobook@foldout@maxpanelwidth{#1}% \setlength\photobook@foldout@panelwidth{#1}\fi% % accumulate width... \setlength\foldoutwidth{