summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/novel
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-08-01 21:34:40 +0000
committerKarl Berry <karl@freefriends.org>2017-08-01 21:34:40 +0000
commit7ba0b2e501e4b5d83a48295804d3570ef3407f8a (patch)
tree84ceb1534f87b41ff6aca6b306fed3b33466ecb2 /Master/texmf-dist/tex/lualatex/novel
parentb26f035ced2518fea3f81bb1c8bd54de090262df (diff)
novel (1aug17)
git-svn-id: svn://tug.org/texlive/trunk@44933 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/novel')
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo2
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-CalculateLayout.sty53
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty21
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo2
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty16
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty20
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty66
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-HeadFootStyles.sty42
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-Images.sty21
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-JC200103.clo2
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-LayoutSettings.sty102
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty37
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-example.tex140
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-glyphtounicode.tex2
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-microtype.cfg2
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty38
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-xmppacket.sty2
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel.cls233
18 files changed, 473 insertions, 328 deletions
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo b/Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo
index 683aaabfcbf..fd22ffdef38 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo
@@ -1,4 +1,4 @@
-% Typically used in the USA. Novel file version 1.32
+% Typically used in the USA. Novel file version 1.34
% The values of the arguments are public industry standards.
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-CalculateLayout.sty b/Master/texmf-dist/tex/lualatex/novel/novel-CalculateLayout.sty
index e43cb14445e..cd2cdc4ff35 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-CalculateLayout.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-CalculateLayout.sty
@@ -12,15 +12,17 @@
%%
%%
\ProvidesFile{novel-CalculateLayout.sty}%
-[2017/07/26 v1.32 LaTeX file (layout calculations)]
+[2017/07/31 v1.34 LaTeX file (layout calculations)]
%%
-
%%
%% This file is loaded \AtEndPreamble, which precedes \AtBeginDocument.
%%
-\newlength\normalFontSize % becomes 1em in normal text, after \AtBeginDocument
+%% Novel Tracking messages in this file begin with 9.
+\NDB{9.0 in novel-CalculateLayout.sty.}
+
+\newlength\normalFontSize % becomes 1em in normal text.
\newlength\normalBaselineSkip % also abbreviated as \nbs
@@ -35,6 +37,7 @@
\SetMediaSize{5.5in}{8.5in}
\fi
\fi
+\NDB{9.1 in novel-CalculateLayout.sty.}
% Default margins are based on Trim Height, if user does not set margins.
% Works for standard w/h aspect ratios, but not for exotically narrow.
\if@MarginsSet\else
@@ -69,6 +72,7 @@
} % end internal dimtest
} % end dimtest for margins.
\fi % end default margins
+\NDB{9.2 in novel-CalculateLayout.sty.}
%
% Choose default font size based on Trim Width, unless font size set by user:
\if@FontSizeSet\else
@@ -82,6 +86,7 @@
} % end internal dimtest
} % end dimtest for font size.
\fi
+\NDB{9.3 in novel-CalculateLayout.sty.}
%
% Default lines/page based on Trim Height, font size, unless LPP set by user:
\if@LinesPerPageSet\else
@@ -97,6 +102,7 @@
\FPclip{\@tempLPP}{\@tempLPP} % remove excess trailing 0.
\gdef\my@LinesPerPage{\@tempLPP}
\fi
+\NDB{9.4 in novel-CalculateLayout.sty.}
%
% Correct bottom margin for descenders, assumed to be 0.3em:
\addtolength\Old@BottomMargin{0.3\Old@FontSize}
@@ -114,6 +120,7 @@
%
%% end set default sizes and initial corrections
+\NDB{9.5 in novel-CalculateLayout.sty.}
%% OLD, NEW, CURRENT, LIVE, TEXT MACRO DEFINITIONS
@@ -173,7 +180,7 @@
%
%% End old, new... macro definitions.
-
+\NDB{9.6 in novel-CalculateLayout.sty.}
%% PRELIMINARY CALCULATION OF BASELINESKIP
%% -----------------------------------------------------------------------------
@@ -192,6 +199,7 @@
\if@gotFooter % allow for footer jump
\FPadd{\adj@LinesPerPage}{\adj@LinesPerPage}{\@footjump}
\fi
+\NDB{9.7 in novel-CalculateLayout.sty.}
%
% Baseline Skip is Live Height divided by adjusted number of lines.
% Thus initially, Text (with header/footer) occupies full Live Height.
@@ -213,6 +221,7 @@
%
%% End preliminary calculation of baselineskip.
+\NDB{9.8 in novel-CalculateLayout.sty.}
%% FIT CurrentTextWidth TO NewLiveWidth
@@ -226,7 +235,7 @@
%
%% end fit CurrentTextWidth to NewLiveWidth
-
+\NDB{9.9 in novel-CalculateLayout.sty.}
%% ADJUST CurrentBaselineSkip TO FIT NewLiveHeight
%% -----------------------------------------------------------------------------
@@ -238,6 +247,7 @@
\setlength\Current@BaselineSkip{\Current@BaselineSkipNum pt}
\FPmul{\Current@TextHeightNum}{\Current@BaselineSkipNum}{\adj@LinesPerPage}
\fi
+\NDB{9.10 in novel-CalculateLayout.sty.}
% Check if the revised skip is too small:
\FPdiv{\@ratioBLtoFS}{\Current@BaselineSkipNum}{\Current@FontSizeNum}
\FPiflt{\@ratioBLtoFS}{1.2} % Too small. Re-tweak font, text width, skip.
@@ -256,6 +266,7 @@
%
%% end adjust CurrentBaselineSkip to fit NewLiveHeight.
+\NDB{9.11 in novel-CalculateLayout.sty.}
%% DISTRIBUTE SIDE EXCESS
@@ -269,6 +280,7 @@
%
%% end distribute side excess.
+\NDB{9.12 in novel-CalculateLayout.sty.}
%% SET TEXTWIDTH, FONT SIZE, BASELINESKIP
@@ -278,18 +290,18 @@
%
\setlength\normalFontSize{\Current@FontSizeNum pt}
\setlength\normalBaselineSkip{\Current@BaselineSkipNum pt}
-
+%
\@setfontsize\normalsize\normalFontSize{\normalBaselineSkip}%
-
-
\normalsize % Defined in `novel.cls'. Uses numbers, not lengths.
%
+\NDB{9.13 in novel-CalculateLayout.sty.}
\newlength\nfs % abbreviation for normal fontsize
\setlength\nfs{\normalFontSize}
\gdef\nfsnum{\strip@pt\nfs}
\newlength\nbs % abbreviation for normal baselineskip
\setlength\nbs{\normalBaselineSkip}
\gdef\nbsnum{\strip@pt\nbs} % just the numerical part
+\NDB{9.14 in novel-CalculateLayout.sty.}
%
% This document class limits range of normal point size:
\FPiflt{\Current@FontSizeNum}{8}%
@@ -315,6 +327,7 @@
\typeout{^^JClass `novel' Alert: Line spacing is allowable, but wide.^^J%
Consider more lines per page, or add header or footer.^^J}%
\fi
+\NDB{9.15 in novel-CalculateLayout.sty.}
%
\FPdiv{\Ratio@BaselineSkip}{\Current@BaselineSkipNum}{\Old@BaselineSkipNum}
\FPround{\Ratio@BaselineSkip}{\Ratio@BaselineSkip}{3}
@@ -323,6 +336,7 @@
\FPdiv{\Ratio@EM}{\Current@FontSizeNum}{\Old@FontSizeNum}
\FPround{\Ratio@EM}{\Ratio@EM}{3}
\FPclip{\Ratio@EM}{\Ratio@EM}
+\NDB{9.16 in novel-CalculateLayout.sty.}
% Alert if images scaled by \Rework:
\ifthenelse{\equal{\Ratio@EM}{1} \AND \equal{\Ratio@BaselineSkip}{1}}{}{%
\typeout{^^JClass `novel' Alert: Due to \string\Rework\space there may be^^J%
@@ -348,7 +362,7 @@
%
%% end set textwidth, font size, baselineskip
-
+\NDB{9.17 in novel-CalculateLayout.sty.}
@@ -364,6 +378,7 @@
\setlength\headheight{0pt}
\setlength\headsep{0pt}
\fi
+\NDB{9.18 in novel-CalculateLayout.sty.}
%
% Prior to this, the following were set by user or calculated:
% \textwidth \headsep \headheight
@@ -381,6 +396,8 @@
\fi
%%
+\NDB{9.19 in novel-CalculateLayout.sty.}
+
%
% Standard TeX \hoffset and \voffset is not relative to the MediaBox, but is
@@ -422,6 +439,8 @@
\fi
%%
+\NDB{9.20 in novel-CalculateLayout.sty.}
+
%
% \evensidemargin is at the left (outside edge) of verso pages.
% Calculation as above, but using \New@OutsideMargin
@@ -438,6 +457,8 @@
\fi
%%
+\NDB{9.21 in novel-CalculateLayout.sty.}
+
%
@@ -463,7 +484,7 @@
\fi
%%
-
+\NDB{9.22 in novel-CalculateLayout.sty.}
% Vertical position of the textblock is measured to the "top" of the first line
% of text. But that could be an X height, or an accented character height,
@@ -498,7 +519,7 @@
\fi
%%
-
+\NDB{9.23 in novel-CalculateLayout.sty.}
%% End layout calculations.
@@ -528,7 +549,7 @@
\fi
% End when Media Size exceeds Trim Size.
-
+\NDB{9.24 in novel-CalculateLayout.sty.}
% When Media Size = Trim Size, cropmarks are disabled.
% Too late for \@cropviewfalse; OK since CropBox already calculated properly.
@@ -548,6 +569,7 @@
\newlength\adj@NewLiveHeight
\setlength\adj@NewLiveHeight{\New@LiveHeight+0.3\normalFontSize}
%
+\NDB{9.25 in novel-CalculateLayout.sty.}
\gdef\@getPageXY{
\check@IsVerso % defined in novel-HeadFootStyles.sty
\if@isVerso
@@ -569,7 +591,7 @@
\setlength\Live@By{\Trim@By+\New@BottomMargin-0.3\normalFontSize}
}
%
-
+\NDB{9.26 in novel-CalculateLayout.sty.}
%% With class option `shademargins' (only effective in draft mode):
@@ -603,6 +625,7 @@
\fi%
\fi % end \if@shademargins
%
+\NDB{9.27 in novel-CalculateLayout.sty.}
% Labels each page with DRAFT at upper left, if in draft mode:
\if@useDraftMode
@@ -611,7 +634,7 @@
}%
\fi
%
-
+\NDB{9.28 in novel-CalculateLayout.sty.}
% Cropmarks (trim marks, really) are not important in this document class.
% That's because the targeted printing services generally do not want them.
@@ -671,6 +694,8 @@
%
%% end cropmarks
+\NDB{9.29 in novel-CalculateLayout.sty.}
+
%%
%% End of file `novel-CalculateLayout.sty'.
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty b/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty
index 17adb6ff2c1..e9801e14573 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty
@@ -13,9 +13,12 @@
%%
%%
\ProvidesFile{novel-ChapterScene.sty}%
-[2017/07/26 v1.32 LaTeX file (chapter and scene macros)]
+[2017/07/31 v1.34 LaTeX file (chapter and scene macros)]
%%
+%% Novel Tracking messages in this file begin with 6.
+\NDB{6.0 in novel-ChapterScene.sty.}
+
% Class `novel' does not use \maketitle.
\gdef\maketitle{%
@@ -24,6 +27,7 @@
You must make your own title pages!^^J}%
}
%
+\NDB{6.1 in novel-ChapterScene.sty.}
%% SCENE CHANGES
@@ -53,6 +57,7 @@
\raisebox{-.3em}{*\quad\quad*\quad\quad*}\hfil\par%
}
%% end scene changes
+\NDB{6.2 in novel-ChapterScene.sty.}
%% Repair \FirstLine{} command from `magaz' package.
@@ -70,7 +75,7 @@
\oldFirstLine{#1}\par\vspace{-\nbs}\strut\par%
}
%%
-
+\NDB{6.3 in novel-ChapterScene.sty.}
%% ChapterStart environment.
@@ -85,6 +90,7 @@
% The argument is the number of normal baselineskips high:
\newenvironment{ChapterStart}[1][10]
{%
+ \NDB{6.4.0 in novel-ChapterScene.sty.}%
\setlength\@oldparindent{\parindent}%
\global\@oldparindent=\@oldparindent%
\setlength\parindent{0pt}%
@@ -96,7 +102,9 @@
\null%
\setcounter{@linequarter}{0}%
\begin{textblock*}{\textwidth}[0,0](0pt,0pt)%
-}{%
+ \NDB{6.4.1 in novel-ChapterScene.sty.}%
+}{% close the environment:
+ \NDB{6.4.3 in novel-ChapterScene.sty.}%
\ifthenelse{%
\equal{\value{@linequarter}}{1} \OR \equal{\value{@linequarter}}{5}%
\OR \equal{\value{@linequarter}}{9} \OR \equal{\value{@linequarter}}{13}%
@@ -115,11 +123,12 @@
\setlength\parindent{\@oldparindent}%
\global\parindent=\parindent%
\nov@AfterGroup\NoIndentAfterThis% etextools and noindentafter
+ \NDB{6.4.4 in novel-ChapterScene.sty.}%
}
%%
\LetLtxMacro\ChapterDisplay\ChapterStart\relax % deprecated
\LetLtxMacro\endChapterDisplay\endChapterStart\relax % deprecated
-
+\NDB{6.5 in novel-ChapterScene.sty.}
%
\newcommand\ChapterTitle[2][c]{% optional alignment l, c, r
\ignorespaces%
@@ -135,6 +144,7 @@
\fi%
{\@csalign\stake\smash{{\chapterfont{}#2}}\par}%
}
+\NDB{6.6 in novel-ChapterScene.sty.}
%
\newcommand\ChapterSubtitle[2][c]{% optional alignment l, c, r
\vspace{0.25\nbs}\addtocounter{@linequarter}{1}
@@ -149,6 +159,7 @@
\fi%
{\@csalign{\stake\smash{\subchfont #2}}\par}%
}
+\NDB{6.7 in novel-ChapterScene.sty.}
% In ChapterDeco, a trick is used. Instead of two optional arguments, and
% instead of using expl3 syntax to create different argument delimiters,
% the arguments for alignment and scale are passed as a single option.
@@ -179,6 +190,7 @@
}
%
%%
+\NDB{6.8 in novel-ChapterScene.sty.}
%% \Epigraph[align,scale,width]{text} OBSOLETE IN CODE VERSION 1.2
@@ -214,6 +226,7 @@
\NoIndentAfterThis%
} % end \QuickChapter
%%
+\NDB{6.9 in novel-ChapterScene.sty.}
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo b/Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo
index bd0e377f0e8..0101a03b921 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo
@@ -1,4 +1,4 @@
-% Typically used in Europe. Novel file version 1.32
+% Typically used in Europe. Novel file version 1.34
% The values of the arguments are public industry standards.
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty b/Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty
index 9b276ca0728..bb079c6c7cc 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty
@@ -13,9 +13,12 @@
%%
%%
\ProvidesFile{novel-FileData.sty}%
-[2017/07/26 v1.32 LaTeX file (File Data settings)]
+[2017/07/31 v1.34 LaTeX file (File Data settings)]
%%
+%% Novel Tracking codes in this file begin with 2.
+\NDB{2.0 in novel-FileData.sty.}
+
%% FILE DATA (see class documentation for technical meaning of this term).
%% -----------------------------------------------------------------------------
@@ -32,6 +35,7 @@
\gdef\thetitle{\@title}
\gdef\theTitle{\@title}
\title{}
+\NDB{2.1 in novel-FileData.sty.}
%
% \author{} or \SetAuthor{}
% Copied to metadata at end of preamble, unless not set or over-ridden.
@@ -43,6 +47,7 @@
\gdef\theauthor{\@author}
\gdef\theAuthor{\@author}
\author{}
+\NDB{2.2 in novel-FileData.sty.}
%
% \subtitle{} or \SetSubtitle{} (if any)
% Not copied to metadata by itself, as there is no such metadata entry.
@@ -54,6 +59,7 @@
\gdef\thesubtitle{\@subtitle}
\gdef\theSubtitle{\@subtitle}
\subtitle{}
+\NDB{2.3 in novel-FileData.sty.}
%
% \SetApplication{} (rarely used)
% Also known as CreatorTool.
@@ -62,6 +68,7 @@
% Normally leave as default, but can change if urgent.
\gdef\SetApplication#1{\gdef\@novelApplication{#1}}
\SetApplication{LaTeX with novel and microtype} % default
+\NDB{2.4 in novel-FileData.sty.}
%
% \SetProducer{} (rarely used)
% Name of the software that compiles to source to make PDF.
@@ -69,6 +76,7 @@
% Normally leave as default, but can change if urgent.
\gdef\SetProducer#1{\gdef\@novelProducer{#1}}
\SetProducer{LuaTeX with novel-pdfx and hyperref} % default
+\NDB{2.5 in novel-FileData.sty.}
%
% Although some other data fields could have been added,
% they do not pertain to fiction, especially if your book is print-on-demand.
@@ -98,18 +106,22 @@
\gdef\@OIregistry{}
\gdef\@OIprofile{}
%
+\NDB{2.6 in novel-FileData.sty.}
%%
\gdef\SetPDFX{\@ifstar\@setpdfxst\@setpdfxns}
\newcommand\@setpdfxst[2][CGATSTR001]{
\global\@noembediccfalse
\@setpdfx{#1}{#2}
}
+\NDB{2.7 in novel-FileData.sty.}
\newcommand\@setpdfxns[2][CGATSTR001]{
\global\@noembedicctrue
\@setpdfx{#1}{#2}
}
+\NDB{2.8 in novel-FileData.sty.}
%
\newcommand\@setpdfx[2]{
+ \NDB{2.9.0 in novel-FileData.sty.}
\ifthenelse{\equal{#2}{off}}{
\global\pdfx@isOFFtrue
\@chosenComplianceOKtrue
@@ -150,6 +162,7 @@
\ClassError{novel}{Bad compliance argument for \string\SetPDFX}%
{Choose: off, X-1a:2001, X-1a:2003, X-3:2002, X-3:2003.^^J}%
\fi
+ \NDB{2.9.1 in novel-FileData.sty.}
%
\ifpdfx@isOFF\else % Output Intent ignored if compliance is `off'.
% Grab the file that defines the output intent information:
@@ -163,6 +176,7 @@
}
\makeatother % back to usual
\fi
+ \NDB{2.9.2 in novel-FileData.sty.}
} % end \@setpdfx
%
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty b/Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty
index dadd4e2805c..d8219eaa728 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty
@@ -13,13 +13,17 @@
%%
%%
\ProvidesFile{novel-FontDefaults.sty}%
-[2017/07/26 v1.32 LaTeX file (default fonts)]
+[2017/07/31 v1.34 LaTeX file (default fonts)]
%%
%%
%% This file is loaded \AtEndPreamble.
%%
+
+%% Novel Tracking messages in this file begin with 10.
+\NDB{10.0 in novel-FontDefaults.sty.}
+
%% Most TeX installations will use Latin Modern or Computer Modern
%% as default fonts. These are unsuitable for commercial fiction.
%% But `novel' class uses Libertinus as defaults.
@@ -35,6 +39,7 @@
\defaultfontfeatures[\ttfamily]{% monofont has no kerning or common ligatures
SmallCapsFeatures={Renderer=Basic},Ligatures=TeX,%
}%
+\NDB{10.1 in novel-FontDefaults.sty.}
\ifthenelse{\equal{\ttdefault}{lmtt}\OR\equal{\ttdefault}{cmtt}}{% over-ride:
\IfFontExistsTF{Libertinus Mono}{
\setmonofont[%
@@ -50,6 +55,7 @@
}
}
}{} % User \setmonofont, so leave alone.
+\NDB{10.2 in novel-FontDefaults.sty.}
%%
\defaultfontfeatures{} % reset
% Main and sans fonts: kerning, ligatures, and OldStyle numbers if available:
@@ -69,6 +75,7 @@
}
}
}{} % User \setsansfont, so leave alone.
+\NDB{10.3 in novel-FontDefaults.sty.}
%%
% At this point, if \rmdefault is something other than lmr, it means
% that the user attempted to set the main font using ordinary TeX commands,
@@ -103,11 +110,13 @@
}
}
\fi
+\NDB{10.4 in novel-FontDefaults.sty.}
% Now we are ready to set the main font:
\setmainfont[\@parentfontfeatures]{\@parentfontname}
\let\textfont\rmfamily\relax % compatibility
\let\mainfont\rmfamily\relax % compatibility
%
+\NDB{10.5 in novel-FontDefaults.sty.}
%%
\defaultfontfeatures{} % reset
% The novel-specific display fonts use these defaults:
@@ -115,6 +124,7 @@
SmallCapsFeatures={Renderer=Basic},Kerning=On,%
Ligatures=TeX,Ligatures=CommonOff,Numbers=Lining,%
}%
+\NDB{10.6 in novel-FontDefaults.sty.}
%% The novel-specific fonts:
\if@chapterfontset\else
\SetChapterFont[\@parentfontfeatures,Scale=1.6]{\@parentfontname}
@@ -132,6 +142,7 @@
\global\@headfontdefaulttrue
\fi
\newfontfamily\headfont[\@headfontfeatures]{\@headfontname}
+\NDB{10.7 in novel-FontDefaults.sty.}
%%
\defaultfontfeatures{} % reset
\defaultfontfeatures{% for decofont
@@ -143,6 +154,7 @@
\SetDecoFont{NovelDeco}
}{}
\fi
+\NDB{10.8 in novel-FontDefaults.sty.}
%%
\gdef\acronym#1{#1}% Re-defined below, if decofont available.
%%
@@ -190,6 +202,8 @@
%
\fi% end \if@gotdeco
%
+\NDB{10.9 in novel-FontDefaults.sty.}
+%
%%
% Any other fonts will use these defaults:
\defaultfontfeatures{} % reset
@@ -213,8 +227,10 @@
\let\setdefaultlanguage\relax
\let\setotherlanguage\relax
\let\setotherlanguages\relax
+\NDB{10.10 in novel-FontDefaults.sty.}
% Now that the basic fonts are defined, we can load these packages:
\RequirePackage{polyglossia} % Instead of babel.
+\NDB{10.11 in novel-FontDefaults.sty.}
%
\ifthenelse{\equal{\@setmainlang}{}}{
\setmainlanguage{english}
@@ -239,6 +255,7 @@
\setotherlanguages[\@setotherlangsopt]{\@setotherlangs}
}
}
+\NDB{10.12 in novel-FontDefaults.sty.}
%% This provides default microtype settings, allows the user to over-ride,
% and hopefully prevents the user from choosing inappropriate settings:
\let\microtypesetup\relax % fake command no longer needed
@@ -257,6 +274,7 @@
%
%%
+\NDB{10.13 in novel-FontDefaults.sty.}
%
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty b/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty
index 7398356ff8f..fb1b42528bc 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty
@@ -13,9 +13,12 @@
%%
%%
\ProvidesFile{novel-Footnotes.sty}%
-[2017/07/26 v1.32 LaTeX file (commands for footnotes and endnotes)]
+[2017/07/31 v1.34 LaTeX file (commands for footnotes and endnotes)]
%%
+%% Novel Tracking codes in this file begin with 8.
+\NDB{8.0 in novel-Footnotes.sty.}
+
%% FOOTNOTES
%% -----------------------------------------------------------------------------
@@ -47,6 +50,7 @@
\gdef\ResetFootnoteSymbol{\setcounter{@fnsymbolcount}{1}} % only symbols
\gdef\Resetendnote{\setcounter{@rnnumbercount}{1}}
%
+\NDB{8.1 in novel-Footnotes.sty.}
\newtoggle{@usenomark} % when true: no mark, no increment count
\newtoggle{@placedfootnotenumber} % true if any numerical footnote placed
%
@@ -59,6 +63,7 @@
}
\let\footnoterule\@fourem
%
+\NDB{8.2 in novel-Footnotes.sty.}
% \@makefnmark applies to the footnote marker in the flow of main text:
@@ -69,6 +74,7 @@
{\forceindent#1}%
{\forceindent\@getbotfnmark\,#1}%
} % end \@makefntext
+\NDB{8.3 in novel-Footnotes.sty.}
% Now re-define \footnote:
\newcommand\footnote[2][]{%
\ifthenelse{\equal{#1}{0}}{%
@@ -84,6 +90,7 @@
\unskip\my@oldfootnote{#2}%
\endgroup%
} % end \footnote
+\NDB{8.4 in novel-Footnotes.sty.}
%
% \@rollfnsymbol prevents running out of symbolic markers:
\gdef\@rollfnsymbol{%
@@ -92,6 +99,7 @@
\setcounter{@fnsymbolcount}{1}%
}{}%
} % end \@rollfnsymbol
+\NDB{8.5 in novel-Footnotes.sty.}
%
% \@getfnmark places a footnote marker in the running text.
% The marker depends upon whether it should be a number or a symbol.
@@ -124,6 +132,7 @@
\sups{\arabic{@fnnumbercount}}%
}%
} % end \@getfnmark
+\NDB{8.6 in novel-Footnotes.sty.}
%
% \@getbotfnmark places the marker in front of the actual footnote,
% towards the bottom of the textblock. It duplicates the marker used in
@@ -161,6 +170,8 @@
%
%% end footnotes
+\NDB{8.7 in novel-Footnotes.sty.}
+
%% ENDNOTES
%% -----------------------------------------------------------------------------
@@ -180,6 +191,7 @@
\stepcounter{@endnotecount}\sups{\arabic{@endnotecount}}%
\long\edef\@endnotelist{\@endnotelist\space (\arabic{@endnotecount},p.\thepage)}%
}
+\NDB{8.8 in novel-Footnotes.sty.}
%%
% \endnotetext{ID}{text} where ID is (usually) the endnote number.
% If ID is other than space or tilde, it prints at left margin, followed by
@@ -195,52 +207,16 @@
}
%% end endnotes
+\NDB{8.9 in novel-Footnotes.sty.}
+
+
+%% See novel.cls for the accompanying AtBeginDocument routine.
+
+%% See novel.cls for the accompanying AtEndDocument routine.
+
+
-%% ATBEGINDOCUMENT
-%% -----------------------------------------------------------------------------
-%%
-\AtBeginDocument{
- \gdef\SetFootnoteMarker#1{%
- \typeout{^^JClass `novel' Alert: %
- \string\SetFootnoteMarker\space ineffective after Preamble.^^J}%
- }
- % Must wait for \nbs to be calculated:
- \setlength\footnotesep{0.8\nbs}
- % Must wait for main font and its size to be active:
- \newlength\@hoaring
- \setlength\@hoaring{\heightof{Å}}
- \global\@hoaring=\@hoaring
- \newlength\@twast % tweaks asterisk
- \setlength\@twast{\heightof{*}}
- \addtolength\@twast{-\@hoaring}
- \global\@twast=\@twast
- \newlength\@twdag % tweaks dagger
- \setlength\@twdag{\heightof{†}}
- \addtolength\@twdag{-0.2\@twdag}
- \addtolength\@twdag{-\@hoaring}
- \global\@twdag=\@twdag
- \newlength\@twdbldag % tweaks double dagger
- \setlength\@twdbldag{\heightof{‡}}
- \addtolength\@twdbldag{-0.2\@twdbldag}
- \addtolength\@twdbldag{-\@hoaring}
- \global\@twdbldag=\@twdbldag
- \newlength\@twsect % tweaks section mark
- \setlength\@twsect{\heightof{§}}
- \addtolength\@twsect{-0.2\@twsect}
- \addtolength\@twsect{-\@hoaring}
- \global\@twsect=\@twsect
- \newlength\@tweight % tweaks 8, reliably the tallest digit
- \setlength\@tweight{\heightof{8}}%
- \addtolength\@tweight{-0.2\@tweight}%
- \addtolength\@tweight{-\@hoaring}%
- \global\@tweight=\@tweight%
- % Must wait to see how \SetFootnoteMarker was used:
- \ifthenelse{\equal{\@myfnsymbols}{*}}{\setcounter{@maxfnsymbol}{8}}{}
- \ifthenelse{\equal{\@myfnsymbols}{†}}{\setcounter{@maxfnsymbol}{6}}{}
- %
-} % end \AtBeginDocument
-%%
%% ATENDDOCUMENT
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-HeadFootStyles.sty b/Master/texmf-dist/tex/lualatex/novel/novel-HeadFootStyles.sty
index 19492dc93fc..851efc97ce6 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-HeadFootStyles.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-HeadFootStyles.sty
@@ -13,9 +13,12 @@
%%
%%
\ProvidesFile{novel-HeadFootStyles.sty}%
-[2017/07/26 v1.32 LaTeX file (header and footer styles)]
+[2017/07/31 v1.34 LaTeX file (header and footer styles)]
%%
+%% Novel Tracking messages in this file begin with 5.
+\NDB{5.0 in novel-HeadFootStyles.sty.}
+
%% File `novel-LayoutSettings.sty' reserved space for header/footer,
%% but did not place anything there. In this file, `fancyhdr' syntax
@@ -39,6 +42,7 @@
%
\newtoggle{@inheadfoot} % true in header or footer
%%
+\NDB{5.1 in novel-HeadFootStyles.sty.}
%% INITIALIZE FANCYHDR
@@ -50,14 +54,15 @@
\renewcommand\footrulewidth{0pt}
\fancyhead[LO,RE,LE,RO,CE,CO]{}
\fancyfoot[LO,RE,LE,RO,CE,CO]{}
-% \SetLooseHead looseness factor (microtype) 0=tight, 50=default
+% \SetLooseHead looseness factor (fontspec LetterSpace) 0=tight, 50=default
\gdef\SetLooseHead#1{
\gdef\@@loosehead{#1}
\FPdiv{\@loosehead}{\@@loosehead}{10} % change in method of using fontspec with microtype
\FPmin{\@looseheadnum}{\@loosehead}{50} % Don't want numbers too loose.
}
+\NDB{5.2 in novel-HeadFootStyles.sty.}
\SetLooseHead{50}
-
+\NDB{5.3 in novel-HeadFootStyles.sty.}
% Create flags to know if \fancyhead and \fancyfoot have been defined by user,
% somewhere in the Preamble. If not, then pre-defined styles based on trimsize
% will be applied \AtEndPreamble.
@@ -67,6 +72,7 @@
\@tempFancyhead[#1]{\toggletrue{@inheadfoot}{\normalsize#2}}%
}
%
+\NDB{5.4 in novel-HeadFootStyles.sty.}
\LetLtxMacro{\@tempFancyfoot}{\fancyfoot}
\renewcommand\fancyfoot[2][]{%
\@styledFootertrue%
@@ -78,12 +84,15 @@
}%
}
%
+\NDB{5.5 in novel-HeadFootStyles.sty.}
\LetLtxMacro{\@myTempTPS}{\thispagestyle}
% Re-define \thispagestyle based on layout. When style requests only the page
% number, decide what to do based on this command and whether footer is used:
\newif \if@thispagestyleset \@thispagestylesetfalse
-\AtBeginShipout{\global\@thispagestylesetfalse}
%
+%% See AtBeginShipout routine in novel.cls.
+%
+\NDB{5.6 in novel-HeadFootStyles.sty.}
\gdef\thispagestyle#1{%
\global\@thispagestylesettrue%
\gdef\@pagestyleOK{false}%
@@ -101,6 +110,7 @@
\else \@myTempTPS{empty}%
\fi%
}{}%
+ \NDB{5.6.1 in novel-HeadFootStyles.sty.}%
\ifthenelse{\equal{#1}{forcenumber}}{%
\gdef\@pagestyleOK{true}%
\if@gotFooter \@myTempTPS{fancyplain}%
@@ -108,6 +118,7 @@
\fi%
}{}%
%
+ \NDB{5.6.2 in novel-HeadFootStyles.sty.}%
\ifthenelse{\equal{#1}{dropfolioinside}% after \clearpage
\OR \equal{#1}{dropfolio} \OR \equal{#1}{dropfoliolater}}{% compatibility
\gdef\@pagestyleOK{true}%
@@ -119,6 +130,7 @@
\@dropfolioinside
\fi%
}{}%
+ \NDB{5.6.3 in novel-HeadFootStyles.sty.}%
% With `dropfoliobeneath` only a footer is used, if present. If no footer,
% then the styled page number is centered at one baselineskip beneath the
% ordinary bottom of the textblock. Thus, the number intrudes into the
@@ -134,30 +146,34 @@
\@dropfoliobeneath
\fi%
}{}%
+ \NDB{5.6.4 in novel-HeadFootStyles.sty.}%
%%
\ifthenelse{\equal{\@pagestyleOK}{true}}{}{%
\ClassWarning{novel}{^^JPage \pagenumberstyle\space has %
\string\thispagestyle{}^^J%
but its argument is not defined. Default substituted. Better fix that.^^J}%
}%
+ \NDB{5.6.5 in novel-HeadFootStyles.sty.}%
}
%
%% End initialize fancyhdr.
-%% ACTIVATE HEADER/FOOTER STYLES AT BEGIN DOCUMENT
+%% See AtBeginDocument routine in novel.cls:
%% -----------------------------------------------------------------------------
-%
-\gdef\@activateHeadFootStyles{ % called \AtBeginDocument by novel.cls
+\NDB{5.7 in novel-HeadFootStyles.sty.}
+\gdef\@activateHeadFootStyles{ % called AtBeginDocument by novel.cls
% Pre-configured header/footer styles, unless user over-rode them:
% \versoheadtext is initialized to \theauthor
% \rectoheadtext is initialized to \thetitle
+ \NDB{5.7.1 in novel-HeadFootStyles.sty.}%
\@ifundefined{versoheadtext}{
\NewVersoHeadText{\smcp{\StrSubstitute{\theauthor}{\space}{ \,}}}
}{}
\@ifundefined{rectoheadtext}{
\NewRectoHeadText{\smcp{\StrSubstitute{\thetitle}{\space}{ \,}}}
}{}
+ \NDB{5.7.2 in novel-HeadFootStyles.sty.}%
%
% ----------------------------------------------------------------------------
% IF YOU ARE WRITING YOUR OWN HEADER/FOOTER STYLE:
@@ -235,7 +251,7 @@
\fi
}{}
%
-
+ \NDB{5.7.1 in novel-HeadFootStyles.sty.}%
%
% END PRE-DEFINED STYLES.
% ----------------------------------------------------------------------------
@@ -268,6 +284,7 @@
%
%% end initialize fancyhdr
+\NDB{5.8 in novel-HeadFootStyles.sty.}
%% DROPFOLIO
%% -----------------------------------------------------------------------------
@@ -287,12 +304,14 @@
\setlength\temp@pgnumraise{%
\New@BottomMargin+0.5\New@MediaHeight-0.5\New@TrimHeight}%
\fi%
+ \NDB{5.8.1 in novel-HeadFootStyles.sty.}%
\check@IsVerso%
\if@isVerso%
\AddToShipoutPicture*{\@getPageXY\AtPageLowerLeft{%
\hspace{\dimexpr\Trim@Lx+\New@OutsideMargin+0.5\textwidth-0.5\temp@pgnumwidth}\raisebox{%
\temp@pgnumraise}{{\headfont{\addfontfeature{LetterSpace=\@looseheadnum}\pagenumberstyle}}}}}%
\else%
+ \NDB{5.8.2 in novel-HeadFootStyles.sty.}%
\AddToShipoutPicture*{\@getPageXY\AtPageLowerLeft{%
\hspace{\dimexpr\Trim@Lx+\New@InsideMargin-0.5\temp@pgnumwidth}%
\charscale[1,0.5\textwidth,\temp@pgnumraise]{%
@@ -302,6 +321,7 @@
%
\let\dropfolionow\relax % compatibility with earlier version.
%
+\NDB{5.9 in novel-HeadFootStyles.sty.}
% \@dropfoliobeneath does not change the textblock height. The styled page
% number is centered where an extra line would be, within the bottom margin.
@@ -315,12 +335,14 @@
\setlength\temp@pgnumraise{%
\New@BottomMargin-\nbs+0.5\New@MediaHeight-0.5\New@TrimHeight}%
\fi%
+ \NDB{5.9.1 in novel-HeadFootStyles.sty.}%
\check@IsVerso%
\if@isVerso%
\AddToShipoutPicture*{\@getPageXY\AtPageLowerLeft{%
\hspace{\dimexpr\Trim@Lx+\New@OutsideMargin-0.5\temp@pgnumwidth}\raisebox{%
\temp@pgnumraise}{{\headfont{\addfontfeature{LetterSpace=\@looseheadnum}\pagenumberstyle}}}}}%
\else%
+ \NDB{5.9.2 in novel-HeadFootStyles.sty.}%
\AddToShipoutPicture*{\@getPageXY\AtPageLowerLeft{%
\hspace{\dimexpr\Trim@Lx+\New@InsideMargin-0.5\temp@pgnumwidth}%
\charscale[1,0.5\textwidth,\temp@pgnumraise]{%
@@ -330,6 +352,8 @@
%%
%
+\NDB{5.10 in novel-HeadFootStyles.sty.}
+
% Content of header text (if present) can be changed at any time within
% the body, using the following commands. If not used, then
% Verso is initialized to \theauthor and Recto is initialized to \thetitle
@@ -347,6 +371,7 @@
\let\SetVersoHeadText\NewVersoHeadText\relax % for convenience
\let\RenewVersoHeadText\NewVersoHeadText\relax % for convenience
%
+\NDB{5.11 in novel-HeadFootStyles.sty.}
\gdef\NewRectoHeadText#1{
\FPdiv{\@myk}{\@loosehead}{500}
\setlength\@mykem{\@myk em}
@@ -354,6 +379,7 @@
}
\let\SetRectoHeadText\NewRectoHeadText\relax % for convenience
\let\RenewRectoHeadText\NewRectoHeadText\relax % for convenience
+\NDB{5.12 in novel-HeadFootStyles.sty.}
%
%%
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-Images.sty b/Master/texmf-dist/tex/lualatex/novel/novel-Images.sty
index 338cbcebcd0..e5c1ccb076c 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-Images.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-Images.sty
@@ -13,9 +13,11 @@
%%
%%
\ProvidesFile{novel-Images.sty}%
-[2017/07/26 v1.32 LaTeX file (image placement)]
+[2017/07/31 v1.34 LaTeX file (image placement)]
%%
+%% Novel Tracking messages in this file begin with 7.
+\NDB{7.0 in novel-Images.sty.}
%%
%% Be sure to read the separate documentation about how to prepare images.
@@ -79,6 +81,7 @@
{The `novel' class has its own commands for placing images. See docs.^^J%
You cannot use the \string\includegraphics\space command.}%
}
+\NDB{7.1 in novel-Images.sty.}
%
% \InlineImage can be used in body, header, footer.
% However, macros such as \imagefilename, \imagewidth, etc.
@@ -111,6 +114,7 @@
\ifthenelse{\equal{\@myilya}{} \OR \equal{\@myilya}{0}}{%
\def\@myily{0pt}}{\def\@myily{\@myilya}%
}%
+ \NDB{7.1.1 in novel-Images.sty.}%
\iftoggle{@inheadfoot}{}{\gdef\imagefilename{#3}}% for possible later use
\gdef\my@graphic{\@includegraphics[draft=false]{#3}}%
\setlength\@imagewidth{\widthof{\my@graphic}}%
@@ -118,12 +122,14 @@
\iftoggle{@inheadfoot}{}{\setlength\imagewidth{\@imagewidth}}%
\setlength\@imageheight{\heightof{\my@graphic}}%
\global\@imageheight=\@imageheight%
+ \NDB{7.1.2 in novel-Images.sty.}%
\iftoggle{@inheadfoot}{}{%
\setlength\imageheight{\@imageheight}%
\global\imageheight=\imageheight%
\typeout{^^JClass~`novel'~Info:~An~image~was~placed~on~page~\thepage.^^J%
Review~layout~to~ensure~that~it~does~not~overflow~into~margins.^^J}%
}%
+ \NDB{7.1.3 in novel-Images.sty.}%
%
\setlength\@imagehoffset{\@myilx}%
\IfBeginWith{\@myily}{b}{%
@@ -136,6 +142,7 @@
\setlength\@imagevoffset{-\@imageheight}%
\addtolength\@imagevoffset{\@myily}%
}%
+ \NDB{7.1.4 in novel-Images.sty.}%
%
\IfBooleanTF{#1}%
% starred:
@@ -147,6 +154,7 @@
}%
}%
% unstarred:
+ \NDB{7.1.5 in novel-Images.sty.}%
{%
\iftoggle{@inheadfoot}{}{\gdef\imagestarred{false}}%
\hspace{\@imagehoffset}%
@@ -159,6 +167,7 @@
%
%%
+\NDB{7.2 in novel-Images.sty.}
%% \BlockImage[alignment]{image}[text]
@@ -196,6 +205,7 @@
\ifthenelse{\equal{\@myyt}{}\OR\equal{\@myyt}{0}}{%
\def\@myy{0pt}}{\def\@myy{\@myyt}%
}
+ \NDB{7.2.1 in novel-Images.sty.}%
\newdimen\@sbsheight
\ifthenelse{\equal{\@myalign}{c}\OR\equal{\@myalign}{}}{%
{\centering\strut\InlineImage*[{\@myx-0.5\imagewidth},{\@myy}]{#2}\par}
@@ -203,6 +213,7 @@
{\centering\strut #3\par}
\setbox0=\vbox{{\centering #3\par}}
}{}
+ \NDB{7.2.2 in novel-Images.sty.}%
\ifthenelse{\equal{\@myalign}{r}}{%
\noindent\InlineImage*[{\textwidth-\imagewidth+\@myx},{\@myy}]{#2}\par%
\vspace{-\nbs}
@@ -215,6 +226,7 @@
\end{adjustwidth}%
}%
}{}
+ \NDB{7.2.3 in novel-Images.sty.}%
\ifthenelse{\equal{\@myalign}{l}}{%
\noindent\InlineImage*[{\@myx},{\@myy}]{#2}\par%
\vspace{-\nbs}
@@ -227,7 +239,8 @@
\end{adjustwidth}%
}%
}{}
- % portion here, inspired by post from user Killian Foth,
+ \NDB{7.2.4 in novel-Images.sty.}%
+ % portion here, inspired by post from user Killian Foth,
% at stackoverflow.com, license CC-by-sa-3.0.
\@sbsheight=\ht0 \advance\@sbsheight by \dp0
\def\@sbsheightnum{\strip@pt\@sbsheight}
@@ -250,7 +263,7 @@
\ExplSyntaxOff
%%
-
+\NDB{7.3 in novel-Images.sty.}
% Returns 1 for monochrome, 8 for grayscale (or rgb). EXPERIMENTAL.
@@ -264,7 +277,7 @@
}%
}
%
-
+\NDB{7.4 in novel-Images.sty.}
%%
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-JC200103.clo b/Master/texmf-dist/tex/lualatex/novel/novel-JC200103.clo
index 9ac498ceb00..a6dbf7ad286 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-JC200103.clo
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-JC200103.clo
@@ -1,4 +1,4 @@
-% Typically used in Japan. Novel file version 1.32
+% Typically used in Japan. Novel file version 1.34
% The values of the arguments are public industry standards.
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-LayoutSettings.sty b/Master/texmf-dist/tex/lualatex/novel/novel-LayoutSettings.sty
index 51b3f14c185..9fcb85aef6c 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-LayoutSettings.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-LayoutSettings.sty
@@ -13,9 +13,11 @@
%%
%%
\ProvidesFile{novel-LayoutSettings.sty}%
-[2017/07/26 v1.32 LaTeX file (layout settings)]
+[2017/07/31 v1.34 LaTeX file (layout settings)]
%%
+% Novel Tracking codes in this file begin with 3.
+\NDB{3.0 in novel-LayoutSettings.sty.}
%% Note that nearly all layout settings are preconfigured based on Trim Size.
%% In general, these user commands may be used to over-ride the presets.
@@ -54,6 +56,7 @@
\newlength\normalxheight
\newlength\normalXheight
%%
+\NDB{3.1 in novel-LayoutSettings.sty.}
%% SIZE-RELATED COMMANDS AVAILABLE IN PREAMBLE.
@@ -69,6 +72,7 @@
%
% \SetTrimSize{}{} width and height of printed book.
\newcommand\SetTrimSize[2]{%
+ \NDB{3.2.0 in novel-LayoutSettings.sty.}
\global\@TrimSizeSettrue
\ifthenelse{\dimtest{#1}{<}{2.99in}}{
\ClassError{novel}{Unacceptably small Trim Width}%
@@ -87,6 +91,7 @@
{\string\SetTrimSize\space cannot follow \string\ReworkTrimSize^^J%
and cannot follow \string\ReworkMargins.}%
\fi
+ \NDB{3.2.1 in novel-LayoutSettings.sty.}
\setlength\Old@TrimWidth{#1}%
\setlength\Old@TrimHeight{#2}%
\setlength\New@TrimWidth{#1}%
@@ -97,10 +102,12 @@
\setlength\New@MediaWidth{#1}%
\setlength\New@MediaHeight{#2}%
\fi
+ \NDB{3.2.3 in novel-LayoutSettings.sty.}
}
%
% Retroactively change Trim Size after layout. See documentation:
\newcommand\ReworkTrimSize[2]{%
+ \NDB{3.4.0 in novel-LayoutSettings.sty.}
\if@coverart % New in version 1.2
\ClassError{novel}{Rework command cannot be used with coverart option}%
{Instead of reworking document size, you must re-do the artwork.}
@@ -115,6 +122,7 @@
Carefully review your PDF to ensure that line breaks, paragraphs,^^J%
and page breaks are where you expect them to be.^^J}%
\fi
+ \NDB{3.4.1 in novel-LayoutSettings.sty.}
}
% Margins at top and bottom are relative to:
% top of header, or top of textblock if no header;
@@ -122,6 +130,7 @@
% Inside margin generally greater than outside, due to gutter.
% Standard margins command ("TOBI, or not TOBI, that is the question."):
\newcommand\SetMargins[4]{ % top, outside, bottom, inside
+ \NDB{3.5.0 in novel-LayoutSettings.sty.}
\global\@MarginsSettrue
\if@ReworkMarginsSet
\ClassError{novel}{^^JCannot set Margins after reworking them}%
@@ -135,9 +144,11 @@
\setlength\New@BottomMargin{#3}
\setlength\Old@InsideMargin{#4}
\setlength\New@InsideMargin{#4}
+ \NDB{3.5.1 in novel-LayoutSettings.sty.}
}
% Retroactively change margins after layout. See documentation:
\newcommand\ReworkMargins[4]{
+ \NDB{3.6.0 in novel-LayoutSettings.sty.}
\if@coverart % New in version 1.2
\ClassError{novel}{Rework command cannot be used with coverart option}%
{Instead of reworking document size, you must re-do the artwork.}
@@ -152,6 +163,7 @@
Carefully review your PDF to ensure that line breaks, paragraphs,^^J%
and page breaks are where you expect them to be.^^J}%
\fi
+ \NDB{3.6.1 in novel-LayoutSettings.sty.}
}
% \SetMediaSize[]{}{} such as {8.5in}{11in}.
% This command is only used when the Trim Size must be placed in a larger
@@ -164,6 +176,7 @@
%
\newif \if@offcenterTrim \@offcenterTrimfalse
\newcommand\SetMediaSize[3][center]{ % [alignment] width, height
+ \NDB{3.7.0 in novel-LayoutSettings.sty.}
\ifthenelse{\equal{#1}{center} \OR \equal{#1}{edge}}{
\global\@MediaSizeSettrue
\setlength\Old@MediaWidth{#2}
@@ -177,6 +190,7 @@
\if@coverart\else % new in version 1.2
\ifthenelse{\equal{#1}{edge}}{\global\@offcenterTrimtrue}{}
\fi
+ \NDB{3.7.1 in novel-LayoutSettings.sty.}
}
% \SetLinesPerPage{} limited due to fontsize and Trim Size constraints.
% There is no `rework' command, because as long as the number of lines fit,
@@ -185,6 +199,7 @@
% a reworked size cannot fit. In that case, the user's best plan is remove
% header or footer (if possible), or reduce vertical margins (if possible).
\newcommand\SetLinesPerPage[1]{
+ \NDB{3.8.0 in novel-LayoutSettings.sty.}
\global\@LinesPerPageSettrue
\FPiflt{#1}{1}%
\ClassError{novel}{\string\SetLinesPerPage\ must be at least 1}%
@@ -192,6 +207,7 @@
\else\fi %
\FPround{\temp@IntegerLines}{#1}{0}
\def\my@LinesPerPage{\temp@IntegerLines}
+ \NDB{3.8.1 in novel-LayoutSettings.sty.}
}
% \SetFontSize{} may be in any units, even decimals: 12.2pt, 11.5bp, etc.
% When packages load, the font size is temporarily set to 11pt at 15pt skip,
@@ -199,8 +215,10 @@
% Then the size is changed to its actual value based on this command, or on
% the defaults for Trim Size, or on the effects of \Rework.
\newcommand\SetFontSize[1]{
+ \NDB{3.9.0 in novel-LayoutSettings.sty.}
\global\@FontSizeSettrue
\global\setlength\Old@FontSize{#1}
+ \NDB{3.9.1 in novel-LayoutSettings.sty.}
}
%
%% End size-related commands available in Preamble.
@@ -228,6 +246,7 @@
\SetHeadJump{1.5} % default
\gdef\SetFootJump#1{\gdef\@footjump{#1}}
\SetFootJump{1.5} % default
+\NDB{3.10 in novel-LayoutSettings.sty.}
% New in version 1.2, coverart.
\if@coverart % cover art has no header or footer
\gdef\SetHeadFootStyle#1{\gdef\my@HeadFootStyle{0}}
@@ -238,19 +257,20 @@
\gdef\SetHeadFootStyle#1{\gdef\my@HeadFootStyle{#1}}
\gdef\SetHeadStyle#1{\gdef\my@HeadFootStyle{#1}} % deprecated
\fi
+\NDB{3.11 in novel-LayoutSettings.sty.}
% See docs part 7 for what these emblems do, if used:
\newcommand\SetEmblems[2]{ % verso, recto
\gdef\my@VersoEmblem{{\headfont #1}}
\gdef\my@RectoEmblem{{\headfont #2}}
}
+\NDB{3.12 in novel-LayoutSettings.sty.}
\let\SetEmblem\SetEmblems% for convenience
% If you want something fancier than \thepage:
\gdef\SetPageNumberStyle#1{\gdef\pagenumberstyle{#1}}
-\AtBeginDocument{
- \ifcsname pagenumberstyle\endcsname\else
- \SetPageNumberStyle{\thepage}
- \fi
-}
+
+% See novel.cls for the accompanying AtBeginDocument routine.
+
+\NDB{3.13 in novel-LayoutSettings.sty.}
%
\newif \if@gotHeader
\newif \if@gotFooter
@@ -259,6 +279,7 @@
\newif \if@validHF
%
\gdef\@reserveHFspace{ % used for layout calculations
+ \NDB{3.14.1 in novel-LayoutSettings.sty.}
\ifthenelse{\equal{\my@HeadFootStyle}{0}}{
\@gotHeaderfalse\@gotFooterfalse\@validHFtrue
}{}
@@ -286,51 +307,22 @@
{\string\SetHeadFootStyle\space needs choice of 0,1,2,3,4,5,6,^^J%
even if you wish to customize using fancyhdr syntax.^^J}%
\fi
+ \NDB{3.14.2 in novel-LayoutSettings.sty.}
} % end \@reserveHFspace
% Each new chapter generally has its own header/footer style. This allows a
% default setting when chapters begin with ChapterStart environment:
\gdef\SetChapterStart#1{\gdef\@setchapterstart{#1}}
\SetChapterStart{footer} % default
-\AtBeginDocument{% check if user wrote good command or not
- \def\@setchapterstartOK{false}%
- \ifthenelse{\equal{\@setchapterstart}{empty}}{%
- \def\@setchapterstartOK{true}%
- }{}%
- \ifthenelse{\equal{\@setchapterstart}{plain}}{%
- \def\@setchapterstartOK{true}%
- }{}%
- \ifthenelse{\equal{\@setchapterstart}{footer}}{%
- \def\@setchapterstartOK{true}%
- }{}%
- \ifthenelse{\equal{\@setchapterstart}{fancyplain}}{%
- \def\@setchapterstartOK{true}%
- }{}%
- \ifthenelse{\equal{\@setchapterstart}{fancy}}{%
- \def\@setchapterstartOK{true}%
- }{}%
- \ifthenelse{\equal{\@setchapterstart}{forcenumber}}{%
- \def\@setchapterstartOK{true}%
- }{}%
- \ifthenelse{\equal{\@setchapterstart}{dropfolio}}{% no footnote there
- \def\@setchapterstartOK{true}%
- }{}%
- \ifthenelse{\equal{\@setchapterstart}{dropfoliolater}}{% footnote(s) there
- \def\@setchapterstartOK{true}%
- }{}%
- \ifthenelse{\equal{\@setchapterstart}{foliobeneath}}{%
- \def\@setchapterstartOK{true}%
- }{}%
- \ifthenelse{\equal{\@setchapterstartOK}{true}}{}{%
- \ClassError{novel}{\string\SetChapterStart\space bad argument}%
- {\string\SetChapterStart\space only allows certain choices.^^J}%
- }%
-}
+\NDB{3.15 in novel-LayoutSettings.sty.}
+%
+% See novel.cls for the accompanying AtBeginDocument routine.
%
%% End reserve space for header/footer and set default ChapterStart
%% New in version 1.2: cover image.
\newcommand\SetCoverImage[1]{
+ \NDB{3.17.0 in novel-LayoutSettings.sty.}
\def\coverimageok{false}
\IfSubStr{#1}{jpg}{\def\coverimageok{true}}{}
\IfSubStr{#1}{jpeg}{\def\coverimageok{true}}{}
@@ -342,6 +334,7 @@
\ClassError{novel}{Cover image has wrong file extension}%
{Cover image must be jpg, JPG, jpeg, or JPEG.}
}%
+ \NDB{3.17.1 in novel-LayoutSettings.sty.}
}
%%
@@ -358,6 +351,7 @@
% dagger, dbldagger, and section (when used as footnote markers)
% are always partially faked.
\newcommand\SetMarkerStyle[2][real]{
+ \NDB{3.18.0 in novel-LayoutSettings.sty.}
\def\@goodfnm{no}
\ifthenelse{\equal{#2}{asterisk}}{%
\def\@goodfnm{yes}\global\toggletrue{@usesymbolmark}%
@@ -376,6 +370,7 @@
\ClassError{novel}{Bad choice for \string\SetMarkers}%
{Optional: real, fake. Required: asterisk, dagger, number.}%
}{}
+ \NDB{3.18.1 in novel-LayoutSettings.sty.}
}
%
\SetMarkerStyle[real]{asterisk} % default
@@ -394,6 +389,8 @@
\SetCropmarkGap{0.125in} % default
%%
+\NDB{3.19 in novel-LayoutSettings.sty.}
+
%% Fake \microtypesetup until package is loaded later:
\newif \if@setmicrotype
@@ -403,7 +400,7 @@
}
%%
-
+\NDB{3.20 in novel-LayoutSettings.sty.}
%% MISCELLANOUS SETTINGS. Mostly remove "glue". Best to leave as-is.
@@ -467,12 +464,14 @@
%
%% End miscellaneous settings.
+\NDB{3.21 in novel-LayoutSettings.sty.}
% The following might become unnecessary if fontspec adds the capability to
% disable keys. For now: Color and Opacity cannot be used as font features,
% for a black/white printed book. Alas, fontspec over-rules xcolor.
% So, this code over-rules fontspec:
\gdef\novel@checkfeatures#1{%
+ \NDB{3.22.0 in novel-LayoutSettings.sty.}
\def\@featuresareok{yes}
\IfSubStr{#1}{Color}{\def\@featuresareok{no}}{}%
\IfSubStr{#1}{Colour}{\def\@featuresareok{no}}{}%
@@ -485,6 +484,7 @@
{You defined a font, or added a font feature, with Color or Opacity.^^J%
That is disallowed in `novel' class.}%
}
+ \NDB{3.22.1 in novel-LayoutSettings.sty.}
}
%%
@@ -520,6 +520,7 @@
\newif \if@parentfontset
\gdef\@parentfontfeatures{}
\gdef\@parentfontname{}
+\NDB{3.23 in novel-LayoutSettings.sty.}
\DeclareDocumentCommand \SetParentFont { O{} m O{} } {% from version 1.1.
\novel@checkfeatures{#1,#3}
\gdef\@parentfontfeatures{#1,#3}
@@ -532,6 +533,7 @@
\gdef\@parentfontname{#2}
\global\@parentfontsettrue
}%
+\NDB{3.24 in novel-LayoutSettings.sty.}
%% Store settings for the chapterfont:
% The chapter font is used by the \ChapterTitle{} command.
\newif \if@chapterfontset
@@ -580,6 +582,7 @@
\global\@gotdecotrue
\newfontface\decofont[#1,#3]{#2}
}%
+\NDB{3.25 in novel-LayoutSettings.sty.}
%
\msg_set:nnnn {fontspec} {font-not-found} { % rewrites the standard message
Font~ "#1"~ cannot~ be~ found.
@@ -589,6 +592,7 @@
If~the~missing~font~is~anything~else,~then~the~missing~font~is\\
not~caused~by~`novel'~class.\\
}%
+\NDB{3.26 in novel-LayoutSettings.sty.}
%% For syntax consistency:
\cs_new_eq:NN \NewFontFamily \newfontfamily
\cs_new_eq:NN \NewFontFace \newfontface
@@ -598,6 +602,7 @@
\cs_new_eq:NN \AddFontFeatures \addfontfeatures
\cs_new_eq:NN \AddFontFeature \addfontfeatures
%%
+\NDB{3.27 in novel-LayoutSettings.sty.}
%% \CreateFontFeature{substitutions}{feature code}
% Problem: Font has one or more alternate glyphs that you would like to use,
% but they are not listed in a feature set for the font.
@@ -639,7 +644,7 @@
%%
%% end definition of parent and other fonts.
-
+\NDB{3.29 in novel-LayoutSettings.sty.}
%% FAKE POLYGLOSSIA COMMANDS
%% --------------------------------------------------------------------------
@@ -675,7 +680,7 @@
%
%% end fake polyglossia commands.
-
+\NDB{3.30 in novel-LayoutSettings.sty.}
%% FRONTMATTER, MAINMATTER, BACKMATTER
%% --------------------------------------------------------------------------
@@ -685,8 +690,10 @@
\newif \ifWithinBackmatter \WithinBackmatterfalse
\newcounter{frontmatterpages}
\newcounter{runningpages}
-\AtBeginShipout{\stepcounter{runningpages}}
%
+% See novel.cls for the AtBeginShipout routine.
+%
+\NDB{3.32 in novel-LayoutSettings.sty.}
\def\frontmatter{ % starts page count and frontmatter count at 1.
\ifWithinFrontmatter
\ClassError{novel}{\string\frontmatter\ used more than once}%
@@ -708,6 +715,7 @@
\setcounter{page}{1}
\setcounter{frontmatterpages}{1}
}
+\NDB{3.33 in novel-LayoutSettings.sty.}
%
\def\mainmatter{ % restarts page to 1, arabic numbers; freeze frontpagecount
\ifWithinMainmatter
@@ -725,6 +733,7 @@
\pagenumbering{arabic}
\setcounter{page}{1}
}
+\NDB{3.34 in novel-LayoutSettings.sty.}
%
\def\backmatter{\@ifstar\@backmatterst\@backmatterns}
%
@@ -760,6 +769,7 @@
\fi
\WithinFrontmatterfalse\WithinMainmatterfalse\WithinBackmattertrue
}
+\NDB{3.35 in novel-LayoutSettings.sty.}
%
\def\Backmatter{\@ifstar\@Backmatterst\@Backmatterns}
%
@@ -799,7 +809,7 @@
}
%
%% end frontmatter, mainmatter, backmatter.
-
+\NDB{3.36 in novel-LayoutSettings.sty.}
%% DISABLE OR NEUTRALIZE SOME STANDARD LATEX COMMANDS
@@ -845,7 +855,7 @@
\long\gdef\listoffigures\@nodocommand{listoffigures}
%
%% end disable or neutralize.
-
+\NDB{3.37 in novel-LayoutSettings.sty.}
%%
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty b/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty
index 48d2e30772c..3bea7af88dd 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty
@@ -13,9 +13,11 @@
%%
%%
\ProvidesFile{novel-TextMacros.sty}%
-[2017/07/26 v1.32 LaTeX file (text macros usable within document body)]
+[2017/07/31 v1.34 LaTeX file (text macros usable within document body)]
%%
+%% Novel Tracking messages in this file begin with 4.
+\NDB{4.0 in novel-TextMacros.sty.}
%% This file contains commands that are usable within the document body,
%% for styling and otherwise manipulating text.
@@ -121,7 +123,7 @@
% \part{}, \chapter{}, \section{}, \subsection{}, \subsubsection{}, \paragraph{}, \subparagraph{}
%
%% Certain commands will generate an error, so that you know they cannot be used:
-% \maketitle, \makeindex, \tableofcontents, \listoftables, \listoffigures
+% \maketitle, \makeindex, \tableofcontents, \listoftables, \listoffigures, \textls
%
%% You cannot use \includepdf (package: pdfpages).
%
@@ -139,18 +141,17 @@
% Useful when you wish to put a note to yourself in the *.tex document.
% Not the same as % comment, because anything after the braces will print.
\long\gdef\memo#1{}
+\NDB{4.1 in novel-TextMacros.sty.}
%
\gdef\stake{\rule{0pt}{1pt}} % placeholder
%
% \forceindent and \backindent perform or remove indent, using \hspace{}.
% Rationale: Sometimes \indent and \noindent are neutralized by another command.
\newlength\forceparlength % holds default value, even when \parindent changed
-\AtBeginDocument{
- \setlength\forceparlength{\parindent}
- \global\forceparlength=\forceparlength
- \gdef\forceindent{\ifvmode\else\unskip\fi\stake\hspace{\forceparlength}}
- \gdef\backindent{\ifvmode\else\unskip\fi\hspace{-\forceparlength}}
-}
+\NDB{4.2 in novel-TextMacros.sty.}
+
+% See novel.cls for accompanying AtBeginDocument routine.
+
%%
% \smcp{} and \textsc{} small caps (Open Type) and \allsmcp{}:
%
@@ -171,6 +172,7 @@
}
%
\ExplSyntaxOff
+\NDB{4.4 in novel-TextMacros.sty.}
%
\let\textsc\smcp\relax % unified
\let\oldscshape\scshape\relax % in case needed later
@@ -188,6 +190,7 @@
%% Just in case `xcolor' re-defines its internals, to prevent code bomb:
\ProvideDocumentCommand\@declaredcolor { m } {}
\ProvideDocumentCommand\@undeclaredcolor { o m } {}
+\NDB{4.5 in novel-TextMacros.sty.}
%%
\if@graytext % and the usual colors, including black and white.
\definecolor[named]{gray1}{gray}{0.15} % ten percent gray, etc.
@@ -208,6 +211,7 @@
\ifthenelse{\equal{#2}{hingledingle}}{\@declaredcolor{white}}{}% hingledingle is internal alias for white
}
\fi
+\NDB{4.6 in novel-TextMacros.sty.}
%%
@@ -229,7 +233,7 @@
\expandafter\aftergroup\csname nov@ettl@fterGroup\the\nov@ettl@fter\endcsname%
}
% End code from `etextools`.
-
+\NDB{4.7 in novel-TextMacros.sty.}
@@ -247,6 +251,7 @@
#2%
\fi%
}
+\NDB{4.8 in novel-TextMacros.sty.}
%% \bigemdash inspired by code by RTBarnard at stackoverflow.com, CC-by-sa-3.0:
% Allows a rule of variable length to fill available space at its right.
% There must be a "right-hand limit" imposed by something, such as by enclosing
@@ -272,7 +277,7 @@
{\leaders\hbox{\rule[\@myraise ex]{1pt}{\@mythick em}}\hfill\stake}%
}
%%
-
+\NDB{4.9 in novel-TextMacros.sty.}
%%
% \charscale[scale,x,y]{text} and starred version
@@ -320,7 +325,7 @@
}
\ExplSyntaxOff
%%
-
+\NDB{4.10 in novel-TextMacros.sty.}
@@ -352,6 +357,7 @@
\FPround{\my@tempDetailsSkipNum}{\my@tempDetailsSkipNum}{2}%
\fontsize{\my@tempDetailsFontNum pt}{\my@tempDetailsSkipNum pt}\selectfont}%
{\endgroup}
+\NDB{4.11 in novel-TextMacros.sty.}
%
%%
% Environment toc (alternative table of contents):
@@ -370,6 +376,7 @@
}{%
\endgroup\end{adjustwidth}\par%
}%
+\NDB{4.12 in novel-TextMacros.sty.}
%% \tocitem[number]{description}{page} provides a one-line table entry in toc.
% optional number might be chapter number. Can use ~ to offset.
% unstarred: distance between description and page is not decorated.
@@ -387,6 +394,7 @@
\dotfill%
\,#3\par\vspace{\@tocskip}%
}%
+\NDB{4.13 in novel-TextMacros.sty.}
%
\newcommand\@tocitemns[3][]{%
\ifthenelse{\equal{#1}{}}{}{%
@@ -400,6 +408,7 @@
\hfill%
#3\par\vspace{\@tocskip}%
}%
+\NDB{4.14 in novel-TextMacros.sty.}
%% end toc and \tocitem.
%%
%% legalese environment. Certain info, such as Copyright page, customarily is
@@ -418,6 +427,7 @@
\setlength\@temphangl{\widthof{#1}}%
\stake\hspace{-\@temphangl}#1%
}
+\NDB{4.15 in novel-TextMacros.sty.}
%%
% \showlength[decimal places]{length}{units}
% Returns the length as a string with the units, but does not change the length.
@@ -445,6 +455,7 @@
\temp@lengthnum#3%
}
%% end \showlength
+\NDB{4.16 in novel-TextMacros.sty.}
%% \squeeze{} and \crush{} slightly shrink the horizonal dimension of the
@@ -478,6 +489,7 @@
\gdef\realmarker{\toggletrue{@realmarker}} % anywhere in text
\gdef\fakemarker{\togglefalse{@realmarker}} % anywhere in text
%%
+\NDB{4.17 in novel-TextMacros.sty.}
\ExplSyntaxOn
%
\DeclareDocumentCommand \sups { m }
@@ -495,6 +507,7 @@
}%
}% end \sups
%
+\NDB{4.18 in novel-TextMacros.sty.}
\DeclareDocumentCommand \subs { m }
{%
\iftoggle{@realmarker}{%
@@ -522,6 +535,8 @@
\gdef\specialblankline{\null} % deprecated
%%
+\NDB{4.19 in novel-TextMacros.sty.}
+
%%
%% End of file `novel-TextMacros.sty'.
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-example.tex b/Master/texmf-dist/tex/lualatex/novel/novel-example.tex
deleted file mode 100644
index 2fc27f93fc7..00000000000
--- a/Master/texmf-dist/tex/lualatex/novel/novel-example.tex
+++ /dev/null
@@ -1,140 +0,0 @@
-% !TeX program = LuaLaTeX
-% !TeX encoding = UTF-8
-%
-% EXAMPLE OF NOVEL DOCUMENT CLASS
-% Uses mostly default layout.
-\documentclass{novel} % v. 1.32 or later
-\SetTitle{Dark and Stormy}
-\SetSubtitle{A Tale of Nights}
-\SetAuthor{Dirk Hardcase}
-\SetPDFX[CGATSTR001]{X-1a:2001}
-
-
-
-% This example document picks a \titlepagefont for the book's title,
-% depending on what you have installed. Not necessarily a good choice!
-\begin{document}
-
-\frontmatter
-
-% i. Half-Title page:
-\thispagestyle{empty}
-\vspace*{6\nbs}
-\hfill\charscale[1.8]{\textbf{Dark and}}\par
-\vspace{\nbs}
-\hfill\charscale[2.4]{\textbf{Stormy}}\par
-\clearpage
-
-% ii. Blank page:
-\thispagestyle{empty}
-\null
-\clearpage
-
-% iii. Full Title page:
-\thispagestyle{empty}
-\vspace*{5\nbs}
-\begin{center}
-\charscale[3.6]{\textbf{Dark and}}\par
-\vspace{2\nbs}
-\charscale[4.8]{\textbf{Stormy}}\par
-\vspace{1.5\nbs}
-\charscale[1.6]{A Tale of Nights}\par
-\vspace{4\nbs}
-\ChapterDeco[6]{\decoglyph{n9548}}
-\vspace{4\nbs}
-{\addfontfeature{Scale=3}\theAuthor}
-\vfill
-{\addfontfeature{Scale=1.25} Nonexistent Publications\\
-Anytown • Anyplace • Anywhere}\par
-
-\end{center}
-\clearpage
-
-
-% iv. Copyright page:
-\thispagestyle{empty}
-\begin{center}
-\itshape{
-\null
-\vfill
-Copyright ©2017 Dirk Hardcase.\par % Whichever year, copyright holder.
-All Rights Reserved.\par % Usually no need to be elaborate.
-\null
-This is a work of fiction.\\
-All persons and events are\\
-from the author's imagination.\\
-Resemblance to any real person,\\
-living or dead, is coincidental.\par % Or similar language.
-\null
-Printed on acid-free paper.\par % If true. Usually is true.
-Printed in the United States of America.\par % Or whichever nation.
-\null
-ISBN 0-12345678-9\par % Whatever it is. No barcode, just number.
-\null
-
-Published by Dirk Hardcase,\par % Publisher is you, not the print/distribution service.
-Anytown, Anystate USA\par % Publisher's location.
-www.example.com/dhardcase/publications/\par % Contact for publisher or author.
-\null
-Publisher's Cataloging-In-Publication Data\\
-available upon request.\par
-% Fiction often does not need catalog data.
-} % end itshape
-\end{center}
-\clearpage
-
-% v. Epigraph, Dedication, Table of Contents, or repeated Half-Title:
-\thispagestyle{empty}
-\vspace*{6\nbs}
-\hfill\charscale[1.8]{\textbf{Dark and}}\par
-\vspace{\nbs}
-\hfill\charscale[2.4]{\textbf{Stormy}}\par
-\clearpage
-
-% vi. Blank page:
-\thispagestyle{empty}
-\null
-\clearpage
-
-% Must use even number of pages in frontmatter.
-% Now to begin your story:
-\mainmatter
-
-% Chapter One:
-\begin{ChapterStart}
-\vspace*{3\nbs}
-\ChapterTitle{Chapter One}
-\end{ChapterStart}
-
-It was a dark and stormy night. Lord Withens rode his horse through the gloom, which was, as heretofore mentioned, dark.
-
-Moving right along, his horse arrived at the back door of Lady Wishintale's quarters. Sadly, Lord Withens was not on it, having slipped off his saddle along the way. That was because the weather was stormy.
-
-\lipsum
-
-
-% Chapter Two:
-\clearpage
-\begin{ChapterStart}
-\vspace*{3\nbs}
-\ChapterTitle{Chapter Two}
-\end{ChapterStart}
-
-The night was still dark and stormy. This should not be surprising, seeing as how only half an hour has elapsed since the first chapter. That information was necessary, in case you put the book down and haven't read any of it for the last two weeks.
-
-Lord Withens, wet and bruised, finally arrived at his destination. The reason he was wet was because, as has been noted, the weather was stormy. It was dark, too.
-
-\lipsum
-
-
-% Don't forget: The final page must be verso, and must be blank.
-\clearpage
-\thispagestyle{empty}
-\null
-% If necessary, insert an additional blank page, so that the total page count is even:
-\clearpage
-\thispagestyle{empty}
-\null
-
-\end{document}
-
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-glyphtounicode.tex b/Master/texmf-dist/tex/lualatex/novel/novel-glyphtounicode.tex
index 6865e3896d9..192a1df532b 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-glyphtounicode.tex
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-glyphtounicode.tex
@@ -14,7 +14,7 @@
%%
%%
\ProvidesFile{novel-gyphtounicode.tex}%
-[2017/07/26 v1.32 LaTeX file (additional glyph to unicode)]
+[2017/07/31 v1.34 LaTeX file (additional glyph to unicode)]
%%
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-microtype.cfg b/Master/texmf-dist/tex/lualatex/novel/novel-microtype.cfg
index 8af72bc29f5..fda08eda60c 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-microtype.cfg
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-microtype.cfg
@@ -19,7 +19,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{novel-microtype.cfg}
- [2017/07/26 v1.32 LaTeX file (microtype configuration file for novel class)]
+ [2017/07/31 v1.34 LaTeX file (microtype configuration file for novel class)]
%%% -----------------------------------------------------------------------
%%% FONT SETS
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty b/Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty
index 996abd35c2a..615f74e35b3 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty
@@ -24,7 +24,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{novel-pdfx.sty}
- [2017/07/26 v1.32 LaTeX file (PDF/X support for novel class)]
+ [2017/07/31 v1.34 LaTeX file (PDF/X support for novel class)]
% This package supports, and is part of, class `novel'.
% No support for anything but LuaLaTeX.
@@ -33,6 +33,9 @@
%% This file is loaded \AtEndPreamble.
%%
+%% Novel Tracking messages in this file begin with 11.
+\NDB{11.0 in novel-pdfx.sty.}
+
%
% Hyperref options for PDF/X with LuaTeX:
@@ -42,12 +45,14 @@
pdfpagelabels=true,pageanchor=false,pdfstartview=}
%
\RequirePackage[\pdfx@pdfX@opts@luatex]{hyperref}
+\NDB{11.1 in novel-pdfx.sty.}
%
\hypersetup{pdfencoding=auto}
\expandafter\ifx\csname KV@Hyp@psdextra\endcsname\relax\else
\hypersetup{psdextra}
\fi
\Hy@bookmarksfalse
+\NDB{11.2 in novel-pdfx.sty.}
%
\newif \if@gottitle \@gottitlefalse % refers to PDF File Data
% Was \title{} called prior to this step? If so:
@@ -61,6 +66,7 @@
before using \string\SetPDFX.^^J}
\fi
\fi
+\NDB{11.3 in novel-pdfx.sty.}
%
\if@gottitle\else
\ClassWarning{novel}{Your file has been compiled without standard^^J %
@@ -76,7 +82,7 @@
\edef\pdfcreationdate{\pdfcreationdate}%
\let\pdfx@mdfivesum\pdf@mdfivesum
%
-
+\NDB{11.4 in novel-pdfx.sty.}
@@ -105,6 +111,7 @@
\FPmul{\my@THnum}{\my@THnum}{0.99626401}
\FPround{\my@THnum}{\my@THnum}{3}
%
+\NDB{11.5 in novel-pdfx.sty.}
\FPsub{\my@TWorigin}{\my@MWnum}{\my@TWnum}
\FPmul{\my@TWorigin}{\my@TWorigin}{0.5}
\FPround{\my@TWorigin}{\my@TWorigin}{3}
@@ -121,6 +128,7 @@
\FPclip{\my@THorigin}{\my@THorigin}
\FPclip{\my@THcorner}{\my@THcorner}
%
+\NDB{11.6 in novel-pdfx.sty.}
\newcommand\novel@CropBox{%
\if@cropview%
/CropBox[\my@TWorigin\space\my@THorigin\space\my@TWcorner\space\my@THcorner]%
@@ -128,10 +136,12 @@
/CropBox[0\space0\space\my@MWnum\space\my@MHnum]%
\fi%
}
+\NDB{11.7 in novel-pdfx.sty.}
%
\newcommand\novel@TrimBox{%
/TrimBox[\my@TWorigin\space\my@THorigin\space\my@TWcorner\space\my@THcorner]%
}
+\NDB{11.8 in novel-pdfx.sty.}
%
% New in version 1.2: BleedBox, only for cover art. Same size as MediaBox.
\newcommand\novel@BleedBox{%
@@ -139,12 +149,14 @@
/BleedBox[0\space0\space\my@MWnum\space\my@MHnum]%
\else\fi%
}
+\NDB{11.9 in novel-pdfx.sty.}
%
\begingroup\edef\next{%
\endgroup\pdfpageattr{\novel@CropBox^^J\novel@BleedBox^^J\novel@TrimBox}}\next
%
%% End calculate and specify TrimBox.
+\NDB{11.10 in novel-pdfx.sty.}
%% DISABLE HYPERLINKS AND BOOKMARKS
@@ -179,12 +191,9 @@
Reason: The grid and text are in layers. No layers allowed.^^J}%
\fi
}{}
-
-
-
-
%% End disable hyperlinks and bookmarks.
+\NDB{11.11 in novel-pdfx.sty.}
%% GENERAL PDF INTERNAL METADATA PREPARATION
@@ -196,6 +205,7 @@
%
%% End general PDF in internal metadata preparation.
+\NDB{11.12 in novel-pdfx.sty.}
%% PREPARATION OF XMP METADATA
@@ -220,6 +230,7 @@
\def\pad@cxxviii{\pad@lxiv\pad@lxiv}
\def\pad@cclvi{\pad@cxxviii\pad@cxxviii}
\def\pad@dxii{\pad@cclvi\pad@cclvi}
+\NDB{11.13 in novel-pdfx.sty.}
%
% Frankly, I am not sure if all this rigamarole is necessary, but it works!
% Here, portions of XMP code are prepared. Later, they will be inserted
@@ -243,11 +254,13 @@
\pad@vi</dc:creator>^^J
}
}
+\NDB{11.14 in novel-pdfx.sty.}
%
\def\@documentID{uuid:\xmp@docid}
\def\@instanceID{uuid:\xmp@instid}
%
\def\@pdfVersion{1.\the\pdfminorversion}
+\NDB{11.15 in novel-pdfx.sty.}
%
\ifpdfx@isOFF
\gdef\@verconfString{}%
@@ -259,6 +272,7 @@
\fi
}
\fi
+\NDB{11.16 in novel-pdfx.sty.}
%
\ifpdfx@isOFF
\gdef\@pdfidString{}%
@@ -267,6 +281,7 @@
\pad@vi<pdfxid:GTS_PDFXVersion>\@PDFXversion</pdfxid:GTS_PDFXVersion>^^J
}
\fi
+\NDB{11.17 in novel-pdfx.sty.}
%
\ifthenelse{\equal{\@novelApplication}{} \OR \equal{\@novelApplication}{ }}{
\gdef\@applicationString{}%
@@ -279,6 +294,7 @@
}{
\gdef\@producerString{\pad@vi<pdf:Producer>\@novelProducer</pdf:Producer>^^J}%
}
+\NDB{11.18 in novel-pdfx.sty.}
%
% Calculation of Dates and Times, which must be in a specific format.
% Each time you process to PDF, the current date/time is used,
@@ -328,6 +344,7 @@
%
%% End Prepare XMP metadata.
+\NDB{11.19 in novel-pdfx.sty.}
%% WRITE THE XMP METADATA, UNLESS PDF/X IS OFF OR NO TITLE
@@ -367,6 +384,7 @@
%
%% End write the XMP metadata.
+\NDB{11.20 in novel-pdfx.sty.}
%% PREPARE PDF /INFO METADATA
@@ -395,6 +413,7 @@
\endgroup
\fi
}
+\NDB{11.21 in novel-pdfx.sty.}
% Now, massage the metadata:
\@infotopdfstring{\@infotitle}{\@title}
\@infotopdfstring{\@infoauthor}{\@author}
@@ -409,6 +428,7 @@
%
%% End prepare PDF /Info.
+\NDB{11.22 in novel-pdfx.sty.}
%% WRITE THE OUTPUT INTENT, UNLESS PDFX IS OFF.
@@ -470,6 +490,7 @@
%
%% End write the output intent.
+\NDB{11.23 in novel-pdfx.sty.}
%% DISABLE HYPERREF OPTIONS
@@ -487,11 +508,12 @@
%
%% End disable hyperref options.
+\NDB{11.24 in novel-pdfx.sty.}
%% PREPARE PDF/Info
%% -----------------------------------------------------------------------------
-%% The \novel@PDFinfo command is called \AtBeginDocument.
+%% The \novel@PDFinfo command is used AtBeginDocument in novel.cls.
%
\gdef\@novelPDFinfo{ % rather than \PDF@FinishDoc
\if@gottitle
@@ -522,7 +544,7 @@
%
%% End prepare PDF/Info.
-
+\NDB{11.25 in novel-pdfx.sty.}
%%
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-xmppacket.sty b/Master/texmf-dist/tex/lualatex/novel/novel-xmppacket.sty
index 2289151a617..c0a6a1d9a69 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-xmppacket.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-xmppacket.sty
@@ -22,7 +22,7 @@
%%
%%
\ProvidesFile{novel-xmppacket.sty}%
-[2017/07/26 v1.32 LaTeX file (novel XMP packet template)]
+[2017/07/31 v1.34 LaTeX file (novel XMP packet template)]
%%
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel.cls b/Master/texmf-dist/tex/lualatex/novel/novel.cls
index 48337e39c00..47405f00799 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel.cls
+++ b/Master/texmf-dist/tex/lualatex/novel/novel.cls
@@ -17,14 +17,20 @@
%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
% Actually needs LuaLaTeX, at least version 0.95 from TeXLive 2016.
-\ProvidesClass{novel}[2017/07/26 v1.3 LaTeX document class]
+\ProvidesClass{novel}[2017/07/31 v1.34 LaTeX document class]
%%
+%% Version 1.34: Added debug class option and related code.
+
%% Version 1.32 includes a minor documentation fix, and a major bug fix
%% concerning looose text tracking. The bug occasionally appeared when
%% page headings were compiled, but gave a cryptic error message
%% about MT@res@a. The fix is expected to be permanent.
+%% Version 1.2: Added capability for cover artwork.
+
+%% Versions 1.1.x: First general release, occasional documantation changes.
+
%% DESCRIPTION:
%% Class `novel' is designed for print fiction: novels or short stories.
@@ -49,6 +55,11 @@
%% custom font, NovelDeco.otf, is used for special purposes.
%%
+%% From version 1.34, novel has a debug system. See documentation pg. 11.
+%% Some messages appear in log file, whether or not debug option used.
+%% Other messages only appear with debug option.
+\typeout{Novel Tracking 0.0: Begin loading novel.cls file.}
+
%% REQUIRE LUATEX and do some preliminary setup.
%% -----------------------------------------------------------------------------
@@ -112,25 +123,27 @@
%% -----------------------------------------------------------------------------
% Allowed option list:
% draft xml shademargins graytext greytext cropmarks cropview closecrop
-% New in version 1.2: coverart
+% coverart debug
% Yes, I realize that this could have been done another way:
\gdef\@mycol{\@classoptionslist}
-\StrDel{\@mycol}{ }[\@mycola]
-\StrDel{\@mycola}{,}[\@mycolb]
-\StrDel{\@mycolb}{draft}[\@mycolc]
-\StrDel{\@mycolc}{xml}[\@mycold]
-\StrDel{\@mycold}{shademargins}[\@mycole]
-\StrDel{\@mycole}{graytext}[\@mycolf]
-\StrDel{\@mycolf}{greytext}[\@mycolg]
-\StrDel{\@mycolg}{cropmarks}[\@mycolh]
-\StrDel{\@mycolh}{cropview}[\@mycoli]
-\StrDel{\@mycoli}{closecrop}[\@mycolj]
-\StrDel{\@mycolj}{coverart}[\@mycolk]
+\StrDel{\@mycol}{ }[\@mycol]
+\StrDel{\@mycol}{,}[\@mycol]
+\StrDel{\@mycol}{draft}[\@mycol]
+\StrDel{\@mycol}{xml}[\@mycol]
+\StrDel{\@mycol}{shademargins}[\@mycol]
+\StrDel{\@mycol}{graytext}[\@mycol]
+\StrDel{\@mycol}{greytext}[\@mycol]
+\StrDel{\@mycol}{cropmarks}[\@mycol]
+\StrDel{\@mycol}{cropview}[\@mycol]
+\StrDel{\@mycol}{closecrop}[\@mycol]
+\StrDel{\@mycol}{coverart}[\@mycol]
+\StrDel{\@mycol}{debug}[\@mycol]
%
-\gdef\@mycolzzz{\@mycolk} % modify if others added
-\ifthenelse{\equal{\@mycolzzz}{}}{}{
- \ClassWarning{novel}{Unrecognized class option: \@mycolzzz\space^^J%
- The unrecognized option was ignored!^^J}%
+\ifthenelse{\equal{\@mycol}{}}{}{
+ \ClassWarning{novel}{Unrecognized class option: \@mycol^^J%
+ The unrecognized option was ignored!^^J%
+ Note that font point size and document size^^J%
+ are not novel class options. See documentation.}%
}
%
% If used, option `draft' shows overflow rule.
@@ -190,13 +203,28 @@
\DeclareOption{closecrop}{
\@cropviewtrue\@closecroptrue
}
-% New in version 1.2: coverart option.
+% New in version 1.2: coverart option. See documentation page 10.
% This is used to create a 1-page file with no text, just an image.
% Intended purpose is PDF/X for novel cover. See docs page 10.
\newif \if@coverart
\DeclareOption{coverart}{
\@coverarttrue
}
+% New in version 1.34: debug option. See documentation page 11.
+\newif \if@noveldebug
+\DeclareOption{debug}{
+ \@noveldebugtrue
+}
+% New in version 1.34: unblock option, for developer use only.
+% Normally, a number of packages known to be incompatible with this document class
+% are blocked from loading. If the user tries to get them via \usepackage
+% or \RequirePackage, or if they are called within some other loaded package,
+% then compile halts with an error. The `unblock' option turns off blocking,
+% and allows incompatible packages to load. Use only at own risk!
+\newif \if@novelunblock % For developer use.
+\DeclareOption{unblock}{
+ \@novelunblocktrue
+}
%% Note that document size and normal font size are not class options.
%% They are set by commands in the Preamble, and have default values.
%
@@ -227,6 +255,13 @@
\fi
%% end class options
+\typeout{Novel Tracking 0.0: Class options processed.}
+
+% \NDB is used in various other files, part of novel class.
+% It may also be used in the TeX document.
+% If debug option, this prints a message to log file.
+% Example usage: \NDB{your message goes here}
+\gdef\NDB#1{\if@noveldebug\typeout{Novel Tracking #1}\fi}
%% Activate xcolor, adjustbox, and eso-pic:
@@ -257,7 +292,6 @@
%% end activate xcolor and adjustbox
-
%% Temporary normal font size
%% -----------------------------------------------------------------------------
%% This normalsize is temporary, so that packages can load without complaint.
@@ -273,7 +307,7 @@
%
%% end temporary normal point size and baselineskip
-
+\typeout{Novel Tracking 0.1: Additional packages loaded.}
%% Define commands used for File Data, including PDF/X Settings.
%% -----------------------------------------------------------------------------
@@ -281,6 +315,7 @@
%% and in XMP. This class does not write it to the Catalog.
%% Defines commands such as \title{}, not necessarily the same as other TeX.
\RequirePackage{novel-FileData}
+\typeout{Novel Tracking 0.2: novel-FileData.sty loaded.}
%
%%
@@ -290,6 +325,7 @@
%% Define commands that over-ride the class option pre-configured settings.
%% Variety of miscellaneous layout settings such as \parsep, \parindent, etc.
\RequirePackage{novel-LayoutSettings}
+\typeout{Novel Tracking 0.3: novel-LayoutSettings.sty loaded.}
%
%%
@@ -299,14 +335,19 @@
%%
% Macros for use in document body:
\RequirePackage{novel-TextMacros} % part of novel class
+\typeout{Novel Tracking 0.4: novel-TextMacros.sty loaded.}
% Standard `fancyhdr' header footer styles:
\RequirePackage{novel-HeadFootStyles} % part of novel class
+\typeout{Novel Tracking 0.5: novel-HeadFootStyles.sty loaded.}
% Chapter and Scene styles:
\RequirePackage{novel-ChapterScene}
+\typeout{Novel Tracking 0.6: novel-ChapterScene.sty loaded.}
% Image placement:
-\RequirePackage{novel-Images} % part novel class
+\RequirePackage{novel-Images} % part of novel class
+\typeout{Novel Tracking 0.7: novel-Images.sty loaded.}
% Footnotes and endnotes:
\RequirePackage{novel-Footnotes} % part of novel class
+\typeout{Novel Tracking 0.8: novel-Footnotes.sty loaded.}
%%
@@ -314,13 +355,17 @@
%% -----------------------------------------------------------------------------
%
\AtEndPreamble{
+ \typeout{Novel Tracking 1.AEP.E: Entered AtEndPreamble routine in novel.cls.}
\RequirePackage{novel-CalculateLayout}
+ \typeout{Novel Tracking 1.9: novel-CalculateLayout.sty loaded.}
\RequirePackage{novel-FontDefaults}
+ \typeout{Novel Tracking 1.10: novel-FontDefaults.sty loaded.}
\renewcommand\textls[2][]{#2%
\typeout{Class `novel' Alert: \string\textls\space ignored on pg \thepage.}%
} % nullifies this microtype command (problems)
\RequirePackage{novel-pdfx}
- \AtBeginShipout{\gdef\@fnafter{}}
+ \typeout{Novel Tracking 1.11: novel-pdfx.sty loaded.}
+ \typeout{Novel Tracking 1.AEP.X: Exiting AtEndPreamble routine in novel.cls.}
}
%%
@@ -328,17 +373,15 @@
%% \AtBeginDocument finishes the setup
%% -----------------------------------------------------------------------------
%
-% Error if certain packages were requested in the Preamble.
-% This macro is invoked \AtBeginDocument.
-\newif \ifshutoffblock % part of incompatible package blocking
-%
\AtBeginDocument{ %
+ \typeout{Novel Tracking 1.ABD.E: Entering AtBeginDocument routine in novel.cls.}
\defaultfontfeatures{} % reset
% Any other fonts will use these defaults:
\defaultfontfeatures{%
SmallCapsFeatures={Renderer=Basic},Kerning=On,%
Ligatures=TeX,%
}%
+ \NDB{1.ABD.1 in novel.cls.}
%
% Find some useful measurements:
\gdef\@normalxheight{\heightof{x}}
@@ -347,12 +390,14 @@
\gdef\@normalXheight{\heightof{X}}
\setlength\normalXheight{\@normalXheight}
\global\normalXheight=\normalXheight
+ \NDB{1.ABD.2 in novel.cls.}
% Activate user choice of whether or not to indent after scenebreak commands:
\if@indentAfterScenebreak\else
\NoIndentAfterCmd{\scenebreak}
\NoIndentAfterCmd{\sceneline}
\NoIndentAfterCmd{\scenestars}
\fi
+ \NDB{1.ABD.3 in novel.cls.}
%
\@activateHeadFootStyles % in file `novel-HeadFootStyles.sty'
\@novelPDFinfo % in file `novel-pdfx.sty'.
@@ -361,10 +406,11 @@
\let\title\relax
\let\author\relax
\let\subtitle\relax
- % Disallow incompatible packages:
- \ifshutoffblock
- \gdef\sorry@no#1{}
- \else
+ \NDB{1.ABD.4 in novel.cls.}
+ % Dealing with known incompatible packages:
+ \if@novelunblock
+ \gdef\sorry@no#1{} % let them be used
+ \else % block them (default)
\gdef\sorry@no#1{\@ifpackageloaded{#1}{%
\ClassError{novel}{Sorry, package `#1' cannot be used}%
{The `novel' class does not allow use of package `#1'.^^J%
@@ -374,6 +420,7 @@
}{}%
}
\fi
+ \NDB{1.ABD.5 in novel.cls.}
%
\sorry@no{pdfx}
\sorry@no{xmpincl}
@@ -402,23 +449,129 @@
\sorry@no{nth}
\sorry@no{engord}
\sorry@no{endnotes}
+ %%
+ \NDB{1.ABD.6 in novel.cls.}
+ %%
+ %% Pertains to novel-LayoutSettings.sty:
+ \ifcsname pagenumberstyle\endcsname\else
+ \SetPageNumberStyle{\thepage}
+ \fi
+ \NDB{1.ABD.7 in novel.cls.}
+ %
+ \def\@setchapterstartOK{false}%
+ \ifthenelse{\equal{\@setchapterstart}{empty}}{%
+ \def\@setchapterstartOK{true}%
+ }{}%
+ \ifthenelse{\equal{\@setchapterstart}{plain}}{%
+ \def\@setchapterstartOK{true}%
+ }{}%
+ \ifthenelse{\equal{\@setchapterstart}{footer}}{%
+ \def\@setchapterstartOK{true}%
+ }{}%
+ \ifthenelse{\equal{\@setchapterstart}{fancyplain}}{%
+ \def\@setchapterstartOK{true}%
+ }{}%
+ \ifthenelse{\equal{\@setchapterstart}{fancy}}{%
+ \def\@setchapterstartOK{true}%
+ }{}%
+ \ifthenelse{\equal{\@setchapterstart}{forcenumber}}{%
+ \def\@setchapterstartOK{true}%
+ }{}%
+ \ifthenelse{\equal{\@setchapterstart}{dropfolio}}{% no footnote there
+ \def\@setchapterstartOK{true}%
+ }{}%
+ \ifthenelse{\equal{\@setchapterstart}{dropfoliolater}}{% footnote(s) there
+ \def\@setchapterstartOK{true}%
+ }{}%
+ \ifthenelse{\equal{\@setchapterstart}{foliobeneath}}{%
+ \def\@setchapterstartOK{true}%
+ }{}%
+ \ifthenelse{\equal{\@setchapterstartOK}{true}}{}{%
+ \ClassError{novel}{\string\SetChapterStart\space bad argument}%
+ {\string\SetChapterStart\space only allows certain choices.^^J}%
+ }%
+ \NDB{1.ABD.8 in novel.cls.}
+ %%
+ %% Pertains to novel-TextMacros.sty:
+ \setlength\forceparlength{\parindent}
+ \global\forceparlength=\forceparlength
+ \gdef\forceindent{\ifvmode\else\unskip\fi\stake\hspace{\forceparlength}}
+ \gdef\backindent{\ifvmode\else\unskip\fi\hspace{-\forceparlength}}
+ \NDB{1.ABD.9 in novel.cls.}
+ %%
+ %% Pertains to novel-footnotes.sty:
+ \gdef\SetFootnoteMarker#1{%
+ \typeout{^^JClass `novel' Alert: %
+ \string\SetFootnoteMarker\space ineffective after Preamble.^^J}%
+ }
+ % Must wait for \nbs to be calculated:
+ \setlength\footnotesep{0.8\nbs}
+ \NDB{1.ABD.10 in novel.cls.}
+ % Must wait for main font and its size to be active:
+ \newlength\@hoaring
+ \setlength\@hoaring{\heightof{Å}}
+ \global\@hoaring=\@hoaring
+ \newlength\@twast % tweaks asterisk
+ \setlength\@twast{\heightof{*}}
+ \addtolength\@twast{-\@hoaring}
+ \global\@twast=\@twast
+ \newlength\@twdag % tweaks dagger
+ \setlength\@twdag{\heightof{†}}
+ \addtolength\@twdag{-0.2\@twdag}
+ \addtolength\@twdag{-\@hoaring}
+ \global\@twdag=\@twdag
+ \newlength\@twdbldag % tweaks double dagger
+ \setlength\@twdbldag{\heightof{‡}}
+ \addtolength\@twdbldag{-0.2\@twdbldag}
+ \addtolength\@twdbldag{-\@hoaring}
+ \global\@twdbldag=\@twdbldag
+ \newlength\@twsect % tweaks section mark
+ \setlength\@twsect{\heightof{§}}
+ \addtolength\@twsect{-0.2\@twsect}
+ \addtolength\@twsect{-\@hoaring}
+ \global\@twsect=\@twsect
+ \newlength\@tweight % tweaks 8, reliably the tallest digit
+ \setlength\@tweight{\heightof{8}}%
+ \addtolength\@tweight{-0.2\@tweight}%
+ \addtolength\@tweight{-\@hoaring}%
+ \global\@tweight=\@tweight%
+ \NDB{1.ABD.11 in novel.cls.}
+ % Must wait to see how \SetFootnoteMarker was used:
+ \ifthenelse{\equal{\@myfnsymbols}{*}}{\setcounter{@maxfnsymbol}{8}}{}
+ \ifthenelse{\equal{\@myfnsymbols}{†}}{\setcounter{@maxfnsymbol}{6}}{}
+ \NDB{1.ABD.12 in novel.cls.}
+ %%
+ \typeout{Novel Tracking 1.ABD.X: Exiting AtBeginDocument in novel.cls.}
}
%%
+
%% New in version 1.2, coverart option. See docs page 10.
-\if@coverart
- \AfterEndPreamble{
- \AddToShipoutPictureBG{%
- \AtPageUpperLeft{%
- \InlineImage*{\novelcoverimage}%
- }%
- }
- \null% without this, page has no "content"
- }
-\else\fi
+\AfterEndPreamble{
+ \typeout{Novel Tracking 1.FEP.E: Entered AfterEndPreamble in novel.cls.}
+ \if@coverart
+ \AddToShipoutPictureBG{%
+ \AtPageUpperLeft{%
+ \InlineImage*{\novelcoverimage}%
+ }%
+ }
+ \null% without this, page has no "content"
+ \fi
+ \typeout{Novel Tracking 1.FEP.X: Exiting AfterEndPreamble in novel.cls.}
+}
%%
+%% AtBeginShipout occurs at the completion of each page layout, in document body.
+\AtBeginShipout{%
+ \NDB{1.ABS.E: Entered AtBeginShipout, page \thepage, in novel.cls.}%
+ \gdef\@fnafter{}% Pertains to some standard LaTeX footnote code.
+ \stepcounter{runningpages}%
+ \global\@thispagestylesetfalse%
+ \NDB{1.ABS.X: Exiting AtBeginShipout, page \thepage, in novel.cls.}%
+}
+%%
+
%%
%% End of file `novel.cls'