From 444a2f3e979d034815bfd4e71142cf8a9eea5d18 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 3 Aug 2021 03:01:12 +0300 Subject: [PATCH] prepping for work on cover/jacket layouts... Signed-off-by: Alex A. Naanou --- photobook.cls | 39 +++++++++++++++++++++++++++++++++++---- workflow/jacket.tex | 0 2 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 workflow/jacket.tex diff --git a/photobook.cls b/photobook.cls index 879dabe..7c3b50b 100644 --- a/photobook.cls +++ b/photobook.cls @@ -11,6 +11,8 @@ % XXX BUG: fix \CAPTIONWIDTHFIX % XXX BUG: there seems to be a slight offset bias... % +% XXX might be a good idea to add a spine calculator... +% % %---------------------------------------------------------------------- @@ -641,12 +643,41 @@ %---------------------------------------------------------------------- % Cover/endpaper Templates... % -% XXX need: -% \begin{front} ... -% \begin{spine} ... -% \begin{spine} ... +% XXX need a way to place images / templates into these... +% XXX should these only be visible in respective modes??? % XXX +\newenvironment{front} + {} + {} +% XXX +\newenvironment{front-flap} + {} + {} + + +% XXX +% XXX should this be hirizontaly or vertically oriented??? +% ...options, different envs??? +\newenvironment{spine} + {} + {} + +% XXX +\newenvironment{back} + {} + {} +% XXX +\newenvironment{back-flap} + {} + {} + + +% XXX might be a good idea to have an ability to just render a template... +% ...guides and stuff with placeholders... +% XXX this should simply figure out the current mode from setup options... +\newcommand\GenerateTemplate{} + diff --git a/workflow/jacket.tex b/workflow/jacket.tex new file mode 100644 index 0000000..e69de29