summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty
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/novel-FontDefaults.sty
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/novel-FontDefaults.sty')
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty20
1 files changed, 19 insertions, 1 deletions
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.}
%