summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-07-26 21:58:43 +0000
committerKarl Berry <karl@freefriends.org>2017-07-26 21:58:43 +0000
commitd5785b4034a2c404bc7352b6a86d374d41d8ddf6 (patch)
treea64ea7b720e221c3355139b2172539eba7086b49 /Master/texmf-dist/tex
parent4012bd90fbd113c5ba63274dc31f2680e490bc9e (diff)
novel (26jul17)
git-svn-id: svn://tug.org/texlive/trunk@44894 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo2
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-CalculateLayout.sty2
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty2
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo2
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty2
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty2
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty2
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-HeadFootStyles.sty73
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-Images.sty2
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-JC200103.clo2
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-LayoutSettings.sty16
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty2
-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.sty2
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-xmppacket.sty2
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel.cls40
18 files changed, 225 insertions, 72 deletions
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo b/Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo
index 2679b21e657..683aaabfcbf 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.2
+% Typically used in the USA. Novel file version 1.32
% 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 24ae4606b95..e43cb14445e 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-CalculateLayout.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-CalculateLayout.sty
@@ -12,7 +12,7 @@
%%
%%
\ProvidesFile{novel-CalculateLayout.sty}%
-[2017/05/04 v1.2 LaTeX file (layout calculations)]
+[2017/07/26 v1.32 LaTeX file (layout calculations)]
%%
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty b/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty
index d3ee9028bda..17adb6ff2c1 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty
@@ -13,7 +13,7 @@
%%
%%
\ProvidesFile{novel-ChapterScene.sty}%
-[2017/05/04 v1.2 LaTeX file (chapter and scene macros)]
+[2017/07/26 v1.32 LaTeX file (chapter and scene macros)]
%%
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo b/Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo
index 74e73e3d8d0..bd0e377f0e8 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.2
+% Typically used in Europe. Novel file version 1.32
% 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 cfaccab9c9c..9b276ca0728 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty
@@ -13,7 +13,7 @@
%%
%%
\ProvidesFile{novel-FileData.sty}%
-[2017/05/04 v1.2 LaTeX file (File Data settings)]
+[2017/07/26 v1.32 LaTeX file (File Data settings)]
%%
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty b/Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty
index ed565164c68..dadd4e2805c 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty
@@ -13,7 +13,7 @@
%%
%%
\ProvidesFile{novel-FontDefaults.sty}%
-[2017/05/04 v1.2 LaTeX file (default fonts)]
+[2017/07/26 v1.32 LaTeX file (default fonts)]
%%
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty b/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty
index 75a8102d15e..7398356ff8f 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty
@@ -13,7 +13,7 @@
%%
%%
\ProvidesFile{novel-Footnotes.sty}%
-[2017/05/04 v1.2 LaTeX file (commands for footnotes and endnotes)]
+[2017/07/26 v1.32 LaTeX file (commands for footnotes and endnotes)]
%%
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-HeadFootStyles.sty b/Master/texmf-dist/tex/lualatex/novel/novel-HeadFootStyles.sty
index 9bffbcc1179..19492dc93fc 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-HeadFootStyles.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-HeadFootStyles.sty
@@ -13,7 +13,7 @@
%%
%%
\ProvidesFile{novel-HeadFootStyles.sty}%
-[2017/05/04 v1.2 LaTeX file (header and footer styles)]
+[2017/07/26 v1.32 LaTeX file (header and footer styles)]
%%
@@ -50,9 +50,10 @@
\renewcommand\footrulewidth{0pt}
\fancyhead[LO,RE,LE,RO,CE,CO]{}
\fancyfoot[LO,RE,LE,RO,CE,CO]{}
-% \textls looseness factor (microtype) 0=tight, 50=default
+% \SetLooseHead looseness factor (microtype) 0=tight, 50=default
\gdef\SetLooseHead#1{
- \gdef\@loosehead{#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.
}
\SetLooseHead{50}
@@ -144,7 +145,6 @@
%% End initialize fancyhdr.
-
%% ACTIVATE HEADER/FOOTER STYLES AT BEGIN DOCUMENT
%% -----------------------------------------------------------------------------
%
@@ -153,10 +153,10 @@
% \versoheadtext is initialized to \theauthor
% \rectoheadtext is initialized to \thetitle
\@ifundefined{versoheadtext}{
- \NewVersoHeadText{\smcp{\StrSubstitute{\theauthor}{\space}{~}}}
+ \NewVersoHeadText{\smcp{\StrSubstitute{\theauthor}{\space}{ \,}}}
}{}
\@ifundefined{rectoheadtext}{
- \NewRectoHeadText{\smcp{\StrSubstitute{\thetitle}{\space}{~}}}
+ \NewRectoHeadText{\smcp{\StrSubstitute{\thetitle}{\space}{ \,}}}
}{}
%
% ----------------------------------------------------------------------------
@@ -167,31 +167,31 @@
\ifthenelse{\equal{\my@HeadFootStyle}{1}}{ % default
\if@styledHeader\else
\fancyhead[LE]{\makebox[2.5em][l]{%
- {\headfont\textls[\@looseheadnum]{\pagenumberstyle}}}\my@VersoEmblem%
+ {\headfont{\addfontfeature{LetterSpace=\@looseheadnum}\pagenumberstyle}}}\my@VersoEmblem%
}
\fancyhead[RO]{\my@RectoEmblem\makebox[2.5em][r]{%
- {\headfont\textls[\@looseheadnum]{\pagenumberstyle}}}%
+ {\headfont{\addfontfeature{LetterSpace=\@looseheadnum}\pagenumberstyle}}}%
}
- \fancyhead[CE]{{\headfont\textls[\@loosehead]{\versoheadtext}}}
- \fancyhead[CO]{{\headfont\textls[\@loosehead]{\rectoheadtext}}}
+ \fancyhead[CE]{{\headfont{\addfontfeature{LetterSpace=\@loosehead}\versoheadtext}}}
+ \fancyhead[CO]{{\headfont{\addfontfeature{LetterSpace=\@loosehead}\rectoheadtext}}}
\fi
}{}
%
\ifthenelse{\equal{\my@HeadFootStyle}{2}}{
\if@styledFooter\else
\fancyfoot[LE]{\makebox[2.5em][l]{%
- {\headfont\textls[\@looseheadnum]{\pagenumberstyle}}}\my@VersoEmblem%
+ {\headfont{\addfontfeature{LetterSpace=\@looseheadnum}\pagenumberstyle}}}\my@VersoEmblem%
}
\fancyfoot[RO]{\my@RectoEmblem\makebox[2.5em][r]{%
- {\headfont\textls[\@looseheadnum]{\pagenumberstyle}}}%
+ {\headfont{\addfontfeature{LetterSpace=\@loosehead}\pagenumberstyle}}}%
}
\fi
}{}
%
\ifthenelse{\equal{\my@HeadFootStyle}{3}}{
\if@styledFooter\else
- \fancyfoot[CO,CE]{{%
- \headfont\textls[\@looseheadnum]{\pagenumberstyle}}%
+ \fancyfoot[CO,CE]{%
+ {\headfont{\addfontfeature{LetterSpace=\@looseheadnum}\pagenumberstyle}}%
}
\fi
}{}
@@ -199,25 +199,25 @@
\ifthenelse{\equal{\my@HeadFootStyle}{4}}{
\if@styledHeader\else
\fancyhead[LE]{\makebox[2.5em][l]{%
- {\headfont\textls[\@looseheadnum]{\pagenumberstyle}}}%
+ {\headfont{\addfontfeature{LetterSpace=\@looseheadnum}\pagenumberstyle}}}%
\my@VersoEmblem\hspace{1em}%
- {\headfont\textls[\@loosehead]{\versoheadtext}}%
+ {\headfont{\addfontfeature{LetterSpace=\@loosehead}\versoheadtext}}%
}
- \fancyhead[RO]{{\headfont\textls[\@loosehead]{\rectoheadtext}}%
+ \fancyhead[RO]{{\headfont{\addfontfeature{LetterSpace=\@loosehead}\rectoheadtext}}%
\hspace{1em}\my@RectoEmblem\makebox[2.5em][r]{{%
- \headfont\textls[\@looseheadnum]{\pagenumberstyle}}}%
+ \headfont{\addfontfeature{LetterSpace=\@looseheadnum}\pagenumberstyle}}}%
}
\fi
}{}
%
\ifthenelse{\equal{\my@HeadFootStyle}{5}}{
\if@styledHeader\else
- \fancyhead[CE]{{\headfont\textls[\@loosehead]{\versoheadtext}}}
- \fancyhead[CO]{{\headfont\textls[\@loosehead]{\rectoheadtext}}}
+ \fancyhead[CE]{{\headfont{\addfontfeature{LetterSpace=\@loosehead}\versoheadtext}}}
+ \fancyhead[CO]{{\headfont{\addfontfeature{LetterSpace=\@loosehead}\rectoheadtext}}}
\fi
\if@styledFooter\else
\fancyfoot[CO,CE]{%
- {\headfont\textls[\@looseheadnum]{\pagenumberstyle}}%
+ {\headfont{\addfontfeature{LetterSpace=\@looseheadnum}\pagenumberstyle}}%
}
\fi
}{}
@@ -225,16 +225,18 @@
\ifthenelse{\equal{\my@HeadFootStyle}{6}}{
\if@styledHeader\else
\fancyhead[LE]{\makebox[2.5em][l]{%
- {\headfont\textls[\@looseheadnum]{\pagenumberstyle}}}\my@VersoEmblem%
+ {\headfont{\addfontfeature{LetterSpace=\@looseheadnum}\pagenumberstyle}}}\my@VersoEmblem%
}
\fancyhead[RO]{\my@RectoEmblem\makebox[2.5em][r]{%
- {\headfont\textls[\@looseheadnum]{\pagenumberstyle}}}%
+ {\headfont{\addfontfeature{LetterSpace=\@looseheadnum}\pagenumberstyle}}}%
}
- \fancyhead[RE]{{\headfont\textls[\@loosehead]{\versoheadtext}}}
- \fancyhead[LO]{{\headfont\textls[\@loosehead]{\rectoheadtext}}}
+ \fancyhead[RE]{{\headfont{\addfontfeature{LetterSpace=\@loosehead}\versoheadtext}}}
+ \fancyhead[LO]{{\headfont{\addfontfeature{LetterSpace=\@loosehead}\rectoheadtext}}}
\fi
}{}
%
+
+ %
% END PRE-DEFINED STYLES.
% ----------------------------------------------------------------------------
%
@@ -244,7 +246,7 @@
\renewcommand\footrulewidth{0pt}
\fancyhead[LO,RE,LE,RO,CE,CO]{}
\fancyfoot[LO,RE,LE,RO,CE,CO]{}
- \fancyfoot[CO,CE]{{\headfont\textls[\@looseheadnum]{\pagenumberstyle}}}
+ \fancyfoot[CO,CE]{{\headfont{\addfontfeature{LetterSpace=\@looseheadnum}\pagenumberstyle}}}
}
% Not a user command, use plain or fancyplain:
\fancypagestyle{fancynumber}{ % if has header but not footer
@@ -252,10 +254,10 @@
\renewcommand\footrulewidth{0pt}
\fancyhead[LO,RE,LE,RO,CE,CO]{}
\fancyhead[LE]{\makebox[2.5em][l]{%
- {\headfont\textls[\@looseheadnum]{\pagenumberstyle}}}\my@VersoEmblem%
+ {\headfont{\addfontfeature{LetterSpace=\@looseheadnum}\pagenumberstyle}}}\my@VersoEmblem%
}
\fancyhead[RO]{\my@RectoEmblem\makebox[2.5em][r]{%
- {\headfont\textls[\@looseheadnum]{\pagenumberstyle}}}%
+ {\headfont{\addfontfeature{LetterSpace=\@looseheadnum}\pagenumberstyle}}}%
}
\fancyfoot[LO,RE,LE,RO,CE,CO]{}
}
@@ -267,7 +269,6 @@
%% end initialize fancyhdr
-
%% DROPFOLIO
%% -----------------------------------------------------------------------------
\newlength\temp@pgnumwidth
@@ -278,7 +279,7 @@
\newcommand\@dropfolioinside{%
\enlargethispage{-\nbs}%
\setlength\temp@pgnumwidth{%
- \widthof{{\headfont\textls[\@looseheadnum]{\pagenumberstyle}}}}%
+ \widthof{{\headfont{\addfontfeature{LetterSpace=\@looseheadnum}\pagenumberstyle}}}}%
\if@offcenterTrim%
\setlength\temp@pgnumraise{%
\New@BottomMargin+\New@MediaHeight-\New@TrimHeight}%
@@ -290,22 +291,23 @@
\if@isVerso%
\AddToShipoutPicture*{\@getPageXY\AtPageLowerLeft{%
\hspace{\dimexpr\Trim@Lx+\New@OutsideMargin+0.5\textwidth-0.5\temp@pgnumwidth}\raisebox{%
- \temp@pgnumraise}{{\headfont\textls[\@looseheadnum]{\pagenumberstyle}}}}}%
+ \temp@pgnumraise}{{\headfont{\addfontfeature{LetterSpace=\@looseheadnum}\pagenumberstyle}}}}}%
\else%
\AddToShipoutPicture*{\@getPageXY\AtPageLowerLeft{%
\hspace{\dimexpr\Trim@Lx+\New@InsideMargin-0.5\temp@pgnumwidth}%
\charscale[1,0.5\textwidth,\temp@pgnumraise]{%
- {\headfont\textls[\@looseheadnum]{\pagenumberstyle}}}}}%
+ {\headfont{\addfontfeature{LetterSpace=\@looseheadnum}\pagenumberstyle}}}}}%
\fi%
} % end \@dropfolioinside
%
\let\dropfolionow\relax % compatibility with earlier version.
%
+
% \@dropfoliobeneath does not change the textblock height. The styled page
% number is centered where an extra line would be, within the bottom margin.
\newcommand\@dropfoliobeneath{%
\setlength\temp@pgnumwidth{%
- \widthof{{\headfont\textls[\@looseheadnum]{\pagenumberstyle}}}}%
+ \widthof{{\headfont{\addfontfeature{LetterSpace=\@looseheadnum}\pagenumberstyle}}}}%
\if@offcenterTrim%
\setlength\temp@pgnumraise{%
\New@BottomMargin-\nbs+\New@MediaHeight-\New@TrimHeight}%
@@ -317,16 +319,17 @@
\if@isVerso%
\AddToShipoutPicture*{\@getPageXY\AtPageLowerLeft{%
\hspace{\dimexpr\Trim@Lx+\New@OutsideMargin-0.5\temp@pgnumwidth}\raisebox{%
- \temp@pgnumraise}{{\headfont\textls[\@looseheadnum]{\pagenumberstyle}}}}}%
+ \temp@pgnumraise}{{\headfont{\addfontfeature{LetterSpace=\@looseheadnum}\pagenumberstyle}}}}}%
\else%
\AddToShipoutPicture*{\@getPageXY\AtPageLowerLeft{%
\hspace{\dimexpr\Trim@Lx+\New@InsideMargin-0.5\temp@pgnumwidth}%
\charscale[1,0.5\textwidth,\temp@pgnumraise]{%
- {\headfont\textls[\@looseheadnum]{\pagenumberstyle}}}}}%
+ {\headfont{\addfontfeature{LetterSpace=\@looseheadnum}\pagenumberstyle}}}}}%
\fi%
} % end \@dropfoliobeneath
%%
%
+
% 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
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-Images.sty b/Master/texmf-dist/tex/lualatex/novel/novel-Images.sty
index 0455b1fe3e8..338cbcebcd0 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-Images.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-Images.sty
@@ -13,7 +13,7 @@
%%
%%
\ProvidesFile{novel-Images.sty}%
-[2017/05/04 v1.2 LaTeX file (image placement)]
+[2017/07/26 v1.32 LaTeX file (image placement)]
%%
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-JC200103.clo b/Master/texmf-dist/tex/lualatex/novel/novel-JC200103.clo
index 4117bf9e502..9ac498ceb00 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.2
+% Typically used in Japan. Novel file version 1.32
% 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 35ef9c1a526..51b3f14c185 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-LayoutSettings.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-LayoutSettings.sty
@@ -13,7 +13,7 @@
%%
%%
\ProvidesFile{novel-LayoutSettings.sty}%
-[2017/05/04 v1.2 LaTeX file (layout settings)]
+[2017/07/26 v1.32 LaTeX file (layout settings)]
%%
@@ -252,11 +252,11 @@
\fi
}
%
-\newif \if@gotHeader \@gotHeaderfalse
-\newif \if@gotFooter \@gotFooterfalse
-\newif \if@styledHeader \@styledHeaderfalse
-\newif \if@styledFooter \@styledFooterfalse
-\newif \if@validHF \@validHFfalse
+\newif \if@gotHeader
+\newif \if@gotFooter
+\newif \if@styledHeader
+\newif \if@styledFooter
+\newif \if@validHF
%
\gdef\@reserveHFspace{ % used for layout calculations
\ifthenelse{\equal{\my@HeadFootStyle}{0}}{
@@ -285,7 +285,7 @@
\ClassError{novel}{Invalid choice for \string\SetHeadFootStyle}%
{\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
+ \fi
} % end \@reserveHFspace
% Each new chapter generally has its own header/footer style. This allows a
% default setting when chapters begin with ChapterStart environment:
@@ -623,7 +623,7 @@
% In the document body: {\addfontfeature{myfs} text}
\DeclareDocumentCommand \CreateFontFeature { m m } {%
\IfEndWith{#1}{,}{\StrGobbleRight{#1}{1}[\@fakezero]}{\def\@fakezero{#1}}
- \def\@fakeone{["\@fakezero"}
+ \def\@fakeone{"\@fakezero"} %%%%%
\StrSubstitute{\@fakeone}{=}{"]="}[\@fakeone]
\StrSubstitute{\@fakeone}{,}{",\space["}[\@fakeone]
\directlua{
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty b/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty
index b9a5f85fdcb..48d2e30772c 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty
@@ -13,7 +13,7 @@
%%
%%
\ProvidesFile{novel-TextMacros.sty}%
-[2017/05/04 v1.2 LaTeX file (text macros usable within document body)]
+[2017/07/26 v1.32 LaTeX file (text macros usable within document body)]
%%
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-example.tex b/Master/texmf-dist/tex/lualatex/novel/novel-example.tex
new file mode 100644
index 00000000000..2fc27f93fc7
--- /dev/null
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-example.tex
@@ -0,0 +1,140 @@
+% !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 73df4a30a39..6865e3896d9 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/05/04 v1.2 LaTeX file (additional glyph to unicode)]
+[2017/07/26 v1.32 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 a72c102acc6..8af72bc29f5 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/05/04 v1.2 LaTeX file (microtype configuration file for novel class)]
+ [2017/07/26 v1.32 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 bf68f00c61e..996abd35c2a 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/05/04 v1.2 LaTeX file (PDF/X support for novel class)]
+ [2017/07/26 v1.32 LaTeX file (PDF/X support for novel class)]
% This package supports, and is part of, class `novel'.
% No support for anything but LuaLaTeX.
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-xmppacket.sty b/Master/texmf-dist/tex/lualatex/novel/novel-xmppacket.sty
index e2cab92ccd8..2289151a617 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/05/04 v1.2 LaTeX file (novel XMP packet template)]
+[2017/07/26 v1.32 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 1a7c023876b..48337e39c00 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel.cls
+++ b/Master/texmf-dist/tex/lualatex/novel/novel.cls
@@ -1,7 +1,10 @@
%%
%% This is file `novel.cls', part of class `novel'.
-%% Copyright 2017 Robert Allgeyer.
-%% No longer maintained by originator. "Up for adoption."
+%% Copyright 2017 Robert Allgeyer. Contact: anytthree [at] gmail.com
+%%
+%% Wanted: Replacement maintainer. The original creator wants to move on.
+%% AFAIK this code is tested and suitable for general use.
+%% Contact CTAN (and me) if interested in taking over the maintenance.
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
@@ -14,9 +17,14 @@
%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
% Actually needs LuaLaTeX, at least version 0.95 from TeXLive 2016.
-\ProvidesClass{novel}[2017/05/04 v1.2 LaTeX document class]
+\ProvidesClass{novel}[2017/07/26 v1.3 LaTeX document class]
%%
+%% 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.
+
%% DESCRIPTION:
%% Class `novel' is designed for print fiction: novels or short stories.
@@ -29,7 +37,7 @@
%% with fiction. The user can over-ride the pre-configured settings.
%%
%% The class will automatically create PDF/X compliant files upon request,
-%% using a self-contained command structure.
+%% using a self-contained command structure. Results have been tested.
%%
%% LuaLaTeX is required, and input files must be encoded utf-8.
%%
@@ -256,7 +264,7 @@
%% It will be modified later, during layout calculations.
\def\Current@FontSizeNum{10}
\def\Current@BaselineSkipNum{13}
-\def\normalsize{%
+\renewcommand\normalsize{%
\@setfontsize\normalsize{\Current@FontSizeNum}{\Current@BaselineSkipNum}%
}
\normalsize
@@ -290,15 +298,15 @@
%% -----------------------------------------------------------------------------
%%
% Macros for use in document body:
-\input{novel-TextMacros.sty}
+\RequirePackage{novel-TextMacros} % part of novel class
% Standard `fancyhdr' header footer styles:
-\input{novel-HeadFootStyles.sty}
+\RequirePackage{novel-HeadFootStyles} % part of novel class
% Chapter and Scene styles:
-\input{novel-ChapterScene.sty}
+\RequirePackage{novel-ChapterScene}
% Image placement:
-\input{novel-Images.sty}
+\RequirePackage{novel-Images} % part novel class
% Footnotes and endnotes:
-\input{novel-Footnotes.sty}
+\RequirePackage{novel-Footnotes} % part of novel class
%%
@@ -306,12 +314,13 @@
%% -----------------------------------------------------------------------------
%
\AtEndPreamble{
- \makeatletter % Necessary. Why? Who knows.
- \input{novel-CalculateLayout.sty}
- \input{novel-FontDefaults.sty}
- \input{novel-pdfx.sty}
+ \RequirePackage{novel-CalculateLayout}
+ \RequirePackage{novel-FontDefaults}
+ \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{}}
- \makeatother
}
%%
@@ -410,6 +419,7 @@
%%
+
%%
%% End of file `novel.cls'