mirror of
				https://github.com/flynx/photobook.git
				synced 2025-10-31 19:30:08 +00:00 
			
		
		
		
	experimenting with cells...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									0a65489501
								
							
						
					
					
						commit
						e6a8b50a63
					
				
							
								
								
									
										27
									
								
								examples/endpaper-template.tex
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								examples/endpaper-template.tex
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,27 @@ | |||||||
|  | %---------------------------------------------------------------------- | ||||||
|  | 
 | ||||||
|  | \documentclass[ | ||||||
|  | 	layoutmode=endpaper, | ||||||
|  | 	% page size... | ||||||
|  | 	blockwidth=240mm, blockheight=220mm, | ||||||
|  | 	bleed=4mm, | ||||||
|  | 	bindingoffset=5mm, | ||||||
|  | 	% image block configuration... | ||||||
|  | 	imageblockwidth=0.98, imageblockheight=0.98, | ||||||
|  | 	imageblockoffsettop=-0.1, | ||||||
|  | 	% misc... | ||||||
|  | 	9pt,final,openany | ||||||
|  | ]{photobook} | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||||||
|  | 
 | ||||||
|  | \begin{document} | ||||||
|  | 
 | ||||||
|  | \GenerateTemplate | ||||||
|  | 
 | ||||||
|  | \end{document} | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | %---------------------------------------------------------------------- | ||||||
|  | %                                                  vim:set ts=4 sw=4 : | ||||||
| @ -14,14 +14,23 @@ | |||||||
| ]{photobook} | ]{photobook} | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | \begin{document} % - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||||||
| 
 |  | ||||||
| \begin{document} |  | ||||||
| 
 |  | ||||||
| \GenerateTemplate |  | ||||||
| 
 |  | ||||||
| \end{document} |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| %---------------------------------------------------------------------- | % XXX BUG: there is an offset (\bleed sized???) on the left... | ||||||
|  | \begin{leftside} | ||||||
|  |     \begin{cliptocell} | ||||||
|  |         \imagecell[fill]{}{DSC00403-2} | ||||||
|  |     \end{cliptocell} | ||||||
|  | \end{leftside} | ||||||
|  | 
 | ||||||
|  | \begin{rightside} | ||||||
|  |     \begin{cliptocell} | ||||||
|  |         \imagecell[fill]{}{DSC00403-2} | ||||||
|  |     \end{cliptocell} | ||||||
|  | \end{rightside} | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | \end{document} %------------------------------------------------------- | ||||||
| %                                                  vim:set ts=4 sw=4 : | %                                                  vim:set ts=4 sw=4 : | ||||||
|  | |||||||
| @ -40,6 +40,7 @@ | |||||||
| % | % | ||||||
| % XXX ASAP should cover/jacket/endpaper/spread cells set default cliptocell  | % XXX ASAP should cover/jacket/endpaper/spread cells set default cliptocell  | ||||||
| %		bleeds??? | %		bleeds??? | ||||||
|  | %		...needs testing and experimenting... | ||||||
| % XXX ASAP should cover/jacket/endpaper/spread templates/cells account | % XXX ASAP should cover/jacket/endpaper/spread templates/cells account | ||||||
| %		for \bindingoffset (likely no) and/or \gutteroffset ??? | %		for \bindingoffset (likely no) and/or \gutteroffset ??? | ||||||
| %		...especially relevant to endpaper/spread... | %		...especially relevant to endpaper/spread... | ||||||
| @ -3913,7 +3914,9 @@ | |||||||
| %%%%% Endpaper cells | %%%%% Endpaper cells | ||||||
| % | % | ||||||
| %% \DescribeEnv{leftside} | %% \DescribeEnv{leftside} | ||||||
|  | %%% \DescribeEnv{leftside*} | ||||||
| %% \DescribeEnv{rightside} | %% \DescribeEnv{rightside} | ||||||
|  | %%% \DescribeEnv{rightside*} | ||||||
| % | % | ||||||
| %% \begin{minipage}{\textwidth} | %% \begin{minipage}{\textwidth} | ||||||
| %% \begin{verbatim} | %% \begin{verbatim} | ||||||
| @ -3929,6 +3932,8 @@ | |||||||
| %% \end{verbatim} | %% \end{verbatim} | ||||||
| %% \end{minipage} | %% \end{minipage} | ||||||
| %% | %% | ||||||
|  | %%% The star versions set the appropriate bleeds for cliptocell. | ||||||
|  | %%% | ||||||
| 
 | 
 | ||||||
| % XXX for some reason naming these anything starting with endpaper will | % XXX for some reason naming these anything starting with endpaper will | ||||||
| %		make LaTeX complain that that is already defined... | %		make LaTeX complain that that is already defined... | ||||||
| @ -3937,6 +3942,12 @@ | |||||||
| 	\begin{pagecell}% | 	\begin{pagecell}% | ||||||
| }{% | }{% | ||||||
| 	\end{pagecell}} | 	\end{pagecell}} | ||||||
|  | % XXX EXPERIMENTAL | ||||||
|  | \newenvironment{leftside*}{% | ||||||
|  | 	\begin{leftside}% | ||||||
|  | 		\cliptocellbleeds{{\bleed} {\bleed} 0mm {\bleed}}% | ||||||
|  | }{% | ||||||
|  | 	\end{leftside}} | ||||||
| 
 | 
 | ||||||
| \newenvironment{rightside}{% | \newenvironment{rightside}{% | ||||||
| 	\begin{cell*}% | 	\begin{cell*}% | ||||||
| @ -3944,6 +3955,13 @@ | |||||||
| 			{\pageblockwidth}{\pageblockheight}% | 			{\pageblockwidth}{\pageblockheight}% | ||||||
| }{% | }{% | ||||||
| 	\end{cell*}} | 	\end{cell*}} | ||||||
|  | % XXX EXPERIMENTAL | ||||||
|  | \newenvironment{rightside*}{% | ||||||
|  | 	\begin{rightside}% | ||||||
|  | 		\cliptocellbleeds{0mm {\bleed} {\bleed} {\bleed}}% | ||||||
|  | }{% | ||||||
|  | 	\end{rightside}} | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user