mirror of
https://github.com/flynx/photobook.git
synced 2025-10-28 09:50:09 +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}
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
\begin{document}
|
||||
|
||||
\GenerateTemplate
|
||||
|
||||
\end{document}
|
||||
\begin{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 :
|
||||
|
||||
@ -40,6 +40,7 @@
|
||||
%
|
||||
% XXX ASAP should cover/jacket/endpaper/spread cells set default cliptocell
|
||||
% bleeds???
|
||||
% ...needs testing and experimenting...
|
||||
% XXX ASAP should cover/jacket/endpaper/spread templates/cells account
|
||||
% for \bindingoffset (likely no) and/or \gutteroffset ???
|
||||
% ...especially relevant to endpaper/spread...
|
||||
@ -3913,7 +3914,9 @@
|
||||
%%%%% Endpaper cells
|
||||
%
|
||||
%% \DescribeEnv{leftside}
|
||||
%%% \DescribeEnv{leftside*}
|
||||
%% \DescribeEnv{rightside}
|
||||
%%% \DescribeEnv{rightside*}
|
||||
%
|
||||
%% \begin{minipage}{\textwidth}
|
||||
%% \begin{verbatim}
|
||||
@ -3929,6 +3932,8 @@
|
||||
%% \end{verbatim}
|
||||
%% \end{minipage}
|
||||
%%
|
||||
%%% The star versions set the appropriate bleeds for cliptocell.
|
||||
%%%
|
||||
|
||||
% XXX for some reason naming these anything starting with endpaper will
|
||||
% make LaTeX complain that that is already defined...
|
||||
@ -3937,6 +3942,12 @@
|
||||
\begin{pagecell}%
|
||||
}{%
|
||||
\end{pagecell}}
|
||||
% XXX EXPERIMENTAL
|
||||
\newenvironment{leftside*}{%
|
||||
\begin{leftside}%
|
||||
\cliptocellbleeds{{\bleed} {\bleed} 0mm {\bleed}}%
|
||||
}{%
|
||||
\end{leftside}}
|
||||
|
||||
\newenvironment{rightside}{%
|
||||
\begin{cell*}%
|
||||
@ -3944,6 +3955,13 @@
|
||||
{\pageblockwidth}{\pageblockheight}%
|
||||
}{%
|
||||
\end{cell*}}
|
||||
% XXX EXPERIMENTAL
|
||||
\newenvironment{rightside*}{%
|
||||
\begin{rightside}%
|
||||
\cliptocellbleeds{0mm {\bleed} {\bleed} {\bleed}}%
|
||||
}{%
|
||||
\end{rightside}}
|
||||
|
||||
|
||||
|
||||
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user