diff options
author | Karl Berry <karl@freefriends.org> | 2017-10-02 21:57:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-10-02 21:57:58 +0000 |
commit | 08f4fdc740a25d49aa543ac6694453cd84aacfd4 (patch) | |
tree | 55a8c16b95d52595fe11b2a80d726ca12124c5df /Master/texmf-dist/tex/lualatex/novel/novel.cls | |
parent | 3bb038ffb3dccb8c6562bf33bfd0044ae6e02df1 (diff) |
novel (1oct17)
git-svn-id: svn://tug.org/texlive/trunk@45450 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/novel/novel.cls')
-rw-r--r-- | Master/texmf-dist/tex/lualatex/novel/novel.cls | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel.cls b/Master/texmf-dist/tex/lualatex/novel/novel.cls index 73fb88c79c5..0abd22133f6 100644 --- a/Master/texmf-dist/tex/lualatex/novel/novel.cls +++ b/Master/texmf-dist/tex/lualatex/novel/novel.cls @@ -17,10 +17,11 @@ %% \NeedsTeXFormat{LaTeX2e}[1995/12/01] % Actually needs LuaLaTeX, at least version 0.95 from TeXLive 2016. -\ProvidesClass{novel}[2017/09/21 v1.40.2 LaTeX document class] +\ProvidesClass{novel}[2017/10/02 v1.41 LaTeX document class] %% %% Version 1.40: removed `debug' option (was not useful). Major docs rewrite. +%% Versions 1.40.x: Incremental changes, leading to 1.42. %% Version 1.38: corrected offset in cover artwork; some docs modified. @@ -109,7 +110,7 @@ % fontspec -- in novel-LayoutSettings.sty % unicode-math -- in novel-LayoutSettings.sty % eso-pic -- in novel-CalculateLayout.sty -% polyglossia -- in novel-FontDefaults.sty +% polyglossia -- in novel-LayoutSettings.sty % microtype -- in novel-FontDefaults.sty % hyperref -- in novel-pdfx.sty % fancyhdr -- in novel.HeadFootStyles.sty @@ -337,6 +338,9 @@ %% ----------------------------------------------------------------------------- % \AtEndPreamble{ + % If user did not choose language, default is here. Sorry, Brits: + % Macro \xpg@main@language is gdef'd by \setdefaultlanguage in polyglossia. + \@ifundefined{xpg@main@language}{\setdefaultlanguage[variant=american]{english}}{} \RequirePackage{novel-CalculateLayout} \RequirePackage{novel-FontDefaults} \renewcommand\textls[2][]{#2% @@ -447,18 +451,15 @@ \ifthenelse{\equal{\@setchapterstart}{forcenumber}}{% \def\@setchapterstartOK{true}% }{}% - \ifthenelse{\equal{\@setchapterstart}{dropfolio}}{% no footnote there + \ifthenelse{\equal{\@setchapterstart}{dropfolioinside}}{% \def\@setchapterstartOK{true}% }{}% - \ifthenelse{\equal{\@setchapterstart}{dropfoliolater}}{% footnote(s) there - \def\@setchapterstartOK{true}% - }{}% - \ifthenelse{\equal{\@setchapterstart}{foliobeneath}}{% + \ifthenelse{\equal{\@setchapterstart}{dropfoliobeneath}}{% \def\@setchapterstartOK{true}% }{}% \ifthenelse{\equal{\@setchapterstartOK}{true}}{}{% - \ClassError{novel}{\string\SetChapterStart\space bad argument}% - {\string\SetChapterStart\space only allows certain choices.^^J}% + \ClassError{novel}{\string\SetChapterStartStyle\space bad argument}% + {\string\SetChapterStartStyle\space only allows certain choices.^^J}% }% %% %% Pertains to novel-TextMacros.sty: |