mirror of
				https://github.com/flynx/photobook.git
				synced 2025-10-31 19:30:08 +00:00 
			
		
		
		
	better defaults + minor fixes + notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									649bc8aa4e
								
							
						
					
					
						commit
						07c6310ffd
					
				| @ -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}% | ||||||
|  | |||||||
| @ -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} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user