From 0aa20aee0f6938159c5292bd58d0d98e67f44714 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 10 Oct 2021 06:40:44 +0300 Subject: [PATCH] makefile bug found.... Signed-off-by: Alex A. Naanou --- Makefile | 3 +++ photobook.cls | 18 +++++++++--------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index ea0a173..de119a6 100644 --- a/Makefile +++ b/Makefile @@ -28,6 +28,9 @@ TEX := latexmk -lualatex $(ARGS) # in both the repo and in installed form. # NOTE: this is evolving as need arises, when this gets too complicated # we'll split it out into it's own script. +# XXX BUG: for some odd reason this produces different results when called +# from 'bash' and 'bash --login -i', mainly the egrep rule seems +# to be broken... texToDoc = \ @echo "texToDoc: $1 -> $2"; \ cat $1 \ diff --git a/photobook.cls b/photobook.cls index 2b5f53c..6d29e5d 100644 --- a/photobook.cls +++ b/photobook.cls @@ -2745,7 +2745,7 @@ %% \begin{minipage}{\textwidth} %% \begin{verbatim} %% -%% v paperfoldwidth v +%% v \paperfoldwidth v %% %% - --=----------------++---------------++--------------+ %% = .. .. | @@ -2773,7 +2773,7 @@ %% | (1) .. (2) .. (3) = %% +--------------++---------------++----------------=-- - %% -%% ^ paperfoldwidth ^ +%% ^ \paperfoldwidth ^ %% %% \end{verbatim} %% \end{minipage} @@ -2811,10 +2811,10 @@ %% \end{minipage} %% %% -%% \DescribeMacro{\paperfoldwidth} -%% \DescribeMacro{\clearfoldoutbinding} -%% \DescribeMacro{\clearfoldoutedge} -%% \DescribeMacro{\clearfoldoutfold} +%% \DescribeMacro{\paperfoldwidth=} +%% \DescribeMacro{\clearfoldoutbinding=} +%% \DescribeMacro{\clearfoldoutedge=} +%% \DescribeMacro{\clearfoldoutfold=} % %% Fold panel sizing for similar fold sequence: %% @@ -3033,7 +3033,7 @@ \foldoutcellwidths,\the\photobook@foldout@panelwidth}% \stepcounter{photobook@foldoutpanel}} -% XXX also add this to jacket/cover... +% XXX also add this to jacket/cover/endpaper... \newlength\photobook@showmarks@offset \setlength\photobook@showmarks@offset{0pt} \newcommand\photobook@showmarks{% @@ -3149,8 +3149,6 @@ %% \DescribeEnv{foldoutcell} %% \DescribeEnv{foldoutcell*} % -%% \EXPERIMENTAL -%% %% Create a cell spanning one or more foldout panels. % %% >> \begin{foldoutcell}[] ... \end{foldoutcell} @@ -3169,6 +3167,8 @@ %% Neither version clips its content, to explicitly clip use the |cliptocell| %% environment. %% +%% These can only be used from within a |foldout| cell. +%% \newlength\photobook@foldoutcell@left \setlength\photobook@foldoutcell@left{0pt} \newlength\photobook@foldoutcell@width