better defaults + minor fixes + notes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-02-25 12:46:21 +03:00
parent 649bc8aa4e
commit 07c6310ffd
2 changed files with 14 additions and 0 deletions

View File

@ -49,6 +49,7 @@
\end{pagecell} \end{pagecell}
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
\begin{spreadtopages*}{bg-spread-image} \begin{spreadtopages*}{bg-spread-image}
\imagecell[fill, clearance=-\bleed]{}{\TestImage}% \imagecell[fill, clearance=-\bleed]{}{\TestImage}%

View File

@ -44,6 +44,8 @@
% XXX see where we need to \ignorespaces... % XXX see where we need to \ignorespaces...
% XXX might be a good idea to add a spine calculator... % XXX might be a good idea to add a spine calculator...
% XXX might be fun to add a 'box' layout to build book boxes... % XXX might be fun to add a 'box' layout to build book boxes...
% XXX add a grid cell / image cell (???)
% make it trivial to define AxB cell layouts and fill them (fully/partially)
% XXX manual / book: % XXX manual / book:
% - basic usage % - basic usage
% - setup % - setup
@ -601,6 +603,8 @@
\RequirePackage{trimclip} \RequirePackage{trimclip}
%% \href{https://ctan.org/pkg/xcolor}{xcolor}, %% \href{https://ctan.org/pkg/xcolor}{xcolor},
\RequirePackage{xcolor} \RequirePackage{xcolor}
%% \href{https://ctan.org/pkg/pagecolor}{pagecolor},
\RequirePackage{pagecolor}
%% \href{https://ctan.org/pkg/colorspace}{colorspace}, %% \href{https://ctan.org/pkg/colorspace}{colorspace},
\RequirePackage{colorspace} \RequirePackage{colorspace}
%% \href{https://ctan.org/pkg/graphicx}{graphicx}, %% \href{https://ctan.org/pkg/graphicx}{graphicx},
@ -1133,6 +1137,12 @@
paperwidth=\bleedblockwidth, paperheight=\bleedblockheight, paperwidth=\bleedblockwidth, paperheight=\bleedblockheight,
]{geometry} ]{geometry}
% colors...
% This prevents \pagecolor from getting drawn over other elements...
\pagecolor{white}
\pagecolor{none}
\color{black}
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
% pre-document... % pre-document...
@ -2435,6 +2445,9 @@
\begin{minipage}[t][\cellheight][#2]{\cellwidth}% \begin{minipage}[t][\cellheight][#2]{\cellwidth}%
\begin{\photobook@captioncell@align}% \begin{\photobook@captioncell@align}%
\ignorespaces% \ignorespaces%
% XXX BUG: for some reason the text here will not line-break...
% putting it in a minipage here does nothing while the same
% minipage on the lient size fixes the issue...
#3% #3%
\end{\photobook@captioncell@align}% \end{\photobook@captioncell@align}%
\end{minipage} \end{minipage}