summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/novel/novel.cls
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/lualatex/novel/novel.cls
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/lualatex/novel/novel.cls')
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel.cls40
1 files changed, 25 insertions, 15 deletions
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'