texlive[69942] Master/texmf-dist: novel (17feb24)

commits+karl at tug.org commits+karl at tug.org
Sat Feb 17 21:52:00 CET 2024


Revision: 69942
          https://tug.org/svn/texlive?view=revision&revision=69942
Author:   karl
Date:     2024-02-17 21:52:00 +0100 (Sat, 17 Feb 2024)
Log Message:
-----------
novel (17feb24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/lualatex/novel/README.md
    trunk/Master/texmf-dist/doc/lualatex/novel/extras/novel-example.pdf
    trunk/Master/texmf-dist/doc/lualatex/novel/extras/novel-example.tex
    trunk/Master/texmf-dist/doc/lualatex/novel/extras/novel-extras-README.html
    trunk/Master/texmf-dist/doc/lualatex/novel/novel-documentation.html
    trunk/Master/texmf-dist/doc/lualatex/novel/novel.pdf
    trunk/Master/texmf-dist/doc/lualatex/novel/novel.tex
    trunk/Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo
    trunk/Master/texmf-dist/tex/lualatex/novel/novel-CalculateLayout.sty
    trunk/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty
    trunk/Master/texmf-dist/tex/lualatex/novel/novel-DropCap.sty
    trunk/Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo
    trunk/Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty
    trunk/Master/texmf-dist/tex/lualatex/novel/novel-Fonts.sty
    trunk/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty
    trunk/Master/texmf-dist/tex/lualatex/novel/novel-HeadFootStyles.sty
    trunk/Master/texmf-dist/tex/lualatex/novel/novel-Images.sty
    trunk/Master/texmf-dist/tex/lualatex/novel/novel-JC200103.clo
    trunk/Master/texmf-dist/tex/lualatex/novel/novel-LayoutSettings.sty
    trunk/Master/texmf-dist/tex/lualatex/novel/novel-PostLayout.sty
    trunk/Master/texmf-dist/tex/lualatex/novel/novel-Sandbox.sty
    trunk/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty
    trunk/Master/texmf-dist/tex/lualatex/novel/novel-microtype.cfg
    trunk/Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty
    trunk/Master/texmf-dist/tex/lualatex/novel/novel-xmppacket.sty
    trunk/Master/texmf-dist/tex/lualatex/novel/novel.cls

Modified: trunk/Master/texmf-dist/doc/lualatex/novel/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/README.md	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/README.md	2024-02-17 20:52:00 UTC (rev 69942)
@@ -4,9 +4,19 @@
 printed to paper: murder mystery, historical romance, etc.
 Special attention to the needs of print-on-demand.
 
-Due to changes in print technology over the years, much of `novel` code
-is now unnecessary. Also, it offers many rarely-used features that bloat
-the code and its documentation. If you have not already used `novel`,
-the simpler `novelette` document class might be better for your
-purpose. Expected 2024.
+Author: Robert Allgeyer. (Aptos, California, USA).
 
+Project Page: https://github.com/rallg/novel
+
+Contact: Username `rallg` at GitHub or tex.stackexchange.com.
+
+Licenses: Fonts are licensed Open Font License 1.1.
+TeX code is licensed Latex Project Public License 1.3c, with some code snippets
+attributed under terms of Creative Commons CC-BY-SA 4.0. 
+
+Additional Information: Due to changes in print technology over the years,
+much of `novel` code is now unnecessary. Also, it offers many rarely-used
+features that bloat the code and its documentation.
+If you have not already used `novel`, the simpler `novelette` document class
+might be better for your purpose. Expected 2024.
+

Modified: trunk/Master/texmf-dist/doc/lualatex/novel/extras/novel-example.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/lualatex/novel/extras/novel-example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/extras/novel-example.tex	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/extras/novel-example.tex	2024-02-17 20:52:00 UTC (rev 69942)
@@ -11,7 +11,7 @@
 %   have read/write permissions for any user. If they don't, then
 %   compile will fail at the point where files are written.
 
-\documentclass[v2,american,latin]{novel} % v. 2.00.
+\documentclass[v2,american]{novel} % v. 2.1.
 \SetTitle{Dark and Stormy}
 \SetSubtitle{A Tale of Nights}
 \SetAuthor{Dirk Hardcase}
@@ -109,7 +109,7 @@
 
 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
+\foreignlanguage{latin}{\lipsum}
 
 % Chapter Two:
 \clearpage % next chapter may begin recto or verso
@@ -122,7 +122,7 @@
 
 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
+\foreignlanguage{latin}{\lipsum}
 
 
 \end{document}

Modified: trunk/Master/texmf-dist/doc/lualatex/novel/extras/novel-extras-README.html
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/extras/novel-extras-README.html	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/extras/novel-extras-README.html	2024-02-17 20:52:00 UTC (rev 69942)
@@ -9,7 +9,7 @@
 
 <h2>README for novel extras</h2>
 
-<p>This folder contains items that may be helpful, but are not essential to operation of the <i>novel</i> document class. Version 2.00.</p>
+<p>This folder contains items that may be helpful, but are not essential to operation of the <i>novel</i> document class. Version 2.1.</p>
 
 <p>File <i>novel-example.tex</i> is a fake short novel. If you wish to compile it, place a copy in your user home folder (or other place where you have read/write privilege) and compile it there.</p>
 

Modified: trunk/Master/texmf-dist/doc/lualatex/novel/novel-documentation.html
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/novel-documentation.html	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/novel-documentation.html	2024-02-17 20:52:00 UTC (rev 69942)
@@ -492,7 +492,7 @@
 <!-- **************************************************************************************** -->
 
 <h1 id="h0" style="padding-top:16px">Document class <i>novel</i> - documentation.</h1>
-<p>V. 2.00, 2024/02/16</p>
+<p>V. 2.1, 2024/02/17</p>
 
 <p class="item">ALERT: If you have been using this document class prior to version 1.80 (February 2023),
 see <a href="#hZ">Appendix Z</a>.</p>
@@ -538,13 +538,25 @@
 
 <h4 id="h1.1.3">1.1.3. Language Support. CHANGED IN VERSION 2.</h4>
 <div class="d4" id="d1.1.3">
-<p class="item">Prior to version 2 (February 2024), the polyglossia package was the only
-method for language support. With version 2, you may use babel instead.</p>
-<p>To use version 2, write <code>v2</code> as d document class option, along with your choice
-of babel language option(s). You may also use other novel class options, as before.</p>
-<p>Example: <code>\documentclass[v2,french]{novel}</code>.</p>
-<p>If you do not write <code>v2</code> as option, then any language will be ignored there,
-and polyglossia will load instead. That was the behavior prior to version 2.</p>
+<p class="item"><b>A.</b> Prior to version 2 (February 2024), the polyglossia package was the only
+method for language support. With version 2, you may use either polyglossia or babel.</p>
+<p class="item"><b>B.</b> Do not write <code>\usepackage</code> or <code>\RequirePackage</code>
+for polyglossia or babel. The correct package will be loaded automatically.</p>
+<p class="item"><b>C.</b> To use polyglossia, write
+<code>\setmainlanguage[<i>options</i>]{<i>language</i>}</code> in preamble.
+You may also use other polyglossia commands. Do not use the document class options
+to set language. See the polyglossia package documentation.</p>
+<p class="item"><b>D.</b> To use babel, write <code>v2</code> as a document class option, along with your choice
+of babel language options. See babel documentation.</p>
+<p class="item"><b>E.</b> If you do not choose either method, then the default language
+will be US English, using polyglossia.</p>
+<p class="item"><b>F.</b> Some examples:</p>
+<p>• <code>\documentclass{novel}</code> Polyglossia.</p>
+<p><span style="visibility:hidden">•</span> <code>\setmainlanguage{french}</code>. french.</p>
+<p>• <code>\documentclass[v2,french]{novel}</code>. Babel, french.</p>
+<p>• <code>\documentclass[french]{novel}</code>. Uses polyglossia, because no <code>v2</code>
+as class option. The request for <code>french</code> is ignored, and triggers
+"unknown class option".</p>
 </div><!-- end 1.1.3 -->
 
 <h4 id="h1.1.4">1.1.4. Use Open Type Fonts</h4>
@@ -551,7 +563,6 @@
 <div class="d4" id="d1.1.4">
 <p class="item"><b>A.</b> The built-in <i>fontspec</i> package requires utf-8 encoding. It is able to load Open Type fonts, and access their internal feature sets. Forget Type 1 fonts and special encodings! If you wish to use Greek or Cyrillic, all you need are compatible fonts.</p>
 <p class="item"><b>B.</b> If you accept the pre-configured fonts (from package <i>libertinus-fonts</i>), then you do not need to know anything about <i>fontspec</i>. But if you wish to configure your own fonts, <a href="#hE">Appendix E</a> reviews the most important parts of <i>fontspec</i> syntax.</p>
-<div style="clear:both"></div>
 </div><!-- end 1.1.4 -->
 
 <h4 id="h1.1.5">1.1.5. Read About Book Design</h4>
@@ -3121,12 +3132,12 @@
 <div id="pageZ" class="page">
 
 
-<h2 id="hZ">Appendix Z.   Changes in v.2.00.</h2>
+<h2 id="hZ">Appendix Z.   Changes in v.2.1.</h2>
 <div class="d2" id="dZ">
 
 <h4>Important Changes</h4>
 <div class="d3">
-<p>Version 2.00 (2024) Added choice babel/polyglossia. Revised uuid.</p>
+<p>Version 2.1  (2024) Added choice babel/polyglossia. Revised uuid.</p>
 <p>Version 1.86 (2024) docs edited.</p>
 <p>Version 1.84 (2023) docs edited. Probably final update.</p>
 <p>Version 1.83 (2023) corrected minor typo. Will not affect most users.</p>

Modified: trunk/Master/texmf-dist/doc/lualatex/novel/novel.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/lualatex/novel/novel.tex
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/novel.tex	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/novel.tex	2024-02-17 20:52:00 UTC (rev 69942)
@@ -12,7 +12,7 @@
 %   novel.pdf (if present) have read/write permissions for any user.
 %   Otherwise, compile may fail at the point where files are written.
 
-\documentclass[v2]{novel} % v. 2.00.
+\documentclass{novel} % v. 2.1.
 % Almost all settings are defaults.
 \SetHeadFootStyle{3}
 \SetTitle{Novel Document Class} % only footer, with page number
@@ -26,7 +26,7 @@
 \ChapterTitle{NOVEL}
 \vspace{\nbs}
 \ChapterSubtitle{A Document Class for the Rest of Us}
-{\centering Version 2.00 (February 2024)\par}
+{\centering Version 2.0.1 (February 2024)\par}
 \end{ChapterStart}
 
 \textbf{Where is the documentation??} It is HTML.\\

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo	2024-02-17 20:52:00 UTC (rev 69942)
@@ -2,7 +2,7 @@
 %% The values of the arguments are public industry standards.
 %%
 \ProvidesFile{novel-CGATSTR001.clo}%
-[2024/02/16 any version. (novel Output Intent CGATS TR 001)]
+[2024/02/17 any version. (novel Output Intent CGATS TR 001)]
 %%
 
 % Typically used in the USA.

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-CalculateLayout.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-CalculateLayout.sty	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-CalculateLayout.sty	2024-02-17 20:52:00 UTC (rev 69942)
@@ -6,7 +6,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/ 
 %%
 \ProvidesFile{novel-CalculateLayout.sty}%
-[2024/02/16 v2.00 LaTeX file (layout calculations)]
+[2024/02/17 v2.1 LaTeX file (layout calculations)]
 %%
 
 %%

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty	2024-02-17 20:52:00 UTC (rev 69942)
@@ -6,7 +6,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
 %%
 \ProvidesFile{novel-ChapterScene.sty}%
-[2024/02/16 v2.00 LaTeX file (chapter and scene macros)]
+[2024/02/17 v2.1 LaTeX file (chapter and scene macros)]
 %%
 
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-DropCap.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-DropCap.sty	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-DropCap.sty	2024-02-17 20:52:00 UTC (rev 69942)
@@ -9,7 +9,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
 %%
 \ProvidesFile{novel-DropCap.sty}%
-[2024/02/16 v2.00 (Drop Caps)]
+[2024/02/17 v2.1 (Drop Caps)]
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 %
 %

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo	2024-02-17 20:52:00 UTC (rev 69942)
@@ -1,7 +1,7 @@
 %% This is file `novel-FOGRA39.clo', part of `novel' document class.
 %% The values of the arguments are public industry standards.
 \ProvidesFile{novel-FOGRA39.clo}%
-[2024/02/16 any version. (novel Output Intent FOGRA39)]
+[2024/02/17 any version. (novel Output Intent FOGRA39)]
 %%
 
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty	2024-02-17 20:52:00 UTC (rev 69942)
@@ -6,7 +6,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
 %%
 \ProvidesFile{novel-FileData.sty}%
-[2024/02/16 v2.00 LaTeX file (File Data settings)]
+[2024/02/17 v2.1 LaTeX file (File Data settings)]
 %% 
 
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-Fonts.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-Fonts.sty	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-Fonts.sty	2024-02-17 20:52:00 UTC (rev 69942)
@@ -6,7 +6,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
 %%
 \ProvidesFile{novel-Fonts.sty}%
-[2024/02/16 v2.00 LaTeX file (font settings and defaults)]
+[2024/02/17 v2.1 LaTeX file (font settings and defaults)]
 %%
 
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty	2024-02-17 20:52:00 UTC (rev 69942)
@@ -7,7 +7,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
 %%
 \ProvidesFile{novel-Footnotes.sty}%
-[2024/02/16 v2.00 LaTeX file (commands for footnotes and endnotes)]
+[2024/02/17 v2.1 LaTeX file (commands for footnotes and endnotes)]
 %%
 
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-HeadFootStyles.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-HeadFootStyles.sty	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-HeadFootStyles.sty	2024-02-17 20:52:00 UTC (rev 69942)
@@ -6,7 +6,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
 %%
 \ProvidesFile{novel-HeadFootStyles.sty}%
-[2024/02/16 v2.00 LaTeX file (header and footer layouts and styles)]
+[2024/02/17 v2.1 LaTeX file (header and footer layouts and styles)]
 %% 
 
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-Images.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-Images.sty	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-Images.sty	2024-02-17 20:52:00 UTC (rev 69942)
@@ -6,7 +6,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
 %%
 \ProvidesFile{novel-Images.sty}%
-[2024/02/16 v2.00 LaTeX file (image placement)]
+[2024/02/17 v2.1 LaTeX file (image placement)]
 %%
 
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-JC200103.clo
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-JC200103.clo	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-JC200103.clo	2024-02-17 20:52:00 UTC (rev 69942)
@@ -2,7 +2,7 @@
 %% The values of the arguments are public industry standards.
 %%
 \ProvidesFile{novel-JC200103.clo}%
-[2024/02/16 any version. (novel Output Intent JC200103)]
+[2024/02/17 any version. (novel Output Intent JC200103)]
 %%
 
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-LayoutSettings.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-LayoutSettings.sty	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-LayoutSettings.sty	2024-02-17 20:52:00 UTC (rev 69942)
@@ -6,7 +6,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
 %%
 \ProvidesFile{novel-LayoutSettings.sty}%
-[2024/02/16 v2.00 LaTeX file (layout settings)]
+[2024/02/17 v2.1 LaTeX file (layout settings)]
 %%
 
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-PostLayout.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-PostLayout.sty	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-PostLayout.sty	2024-02-17 20:52:00 UTC (rev 69942)
@@ -6,7 +6,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
 %%
 \ProvidesFile{novel-PostLayout.sty}%
-[2024/02/16 v2.00 LaTeX file (post-layout modifications)]
+[2024/02/17 v2.1 LaTeX file (post-layout modifications)]
 %%
 
 %%

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-Sandbox.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-Sandbox.sty	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-Sandbox.sty	2024-02-17 20:52:00 UTC (rev 69942)
@@ -11,7 +11,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
 %%
 \ProvidesFile{novel-Sandbox.sty}%
-[2024/02/16 v2.00 LaTeX file (used only with sandbox class option)]
+[2024/02/17 v2.1 LaTeX file (used only with sandbox class option)]
 %%
 
 %%

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty	2024-02-17 20:52:00 UTC (rev 69942)
@@ -6,7 +6,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
 %%
 \ProvidesFile{novel-TextMacros.sty}%
-[2024/02/16 v2.00 LaTeX file (text macros usable within document body)]
+[2024/02/17 v2.1 LaTeX file (text macros usable within document body)]
 %%
 
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-microtype.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-microtype.cfg	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-microtype.cfg	2024-02-17 20:52:00 UTC (rev 69942)
@@ -10,7 +10,7 @@
 %% ------------------------------------------------------------------------ 
 %%
 \ProvidesFile{novel-microtype.cfg}%
-[2024/02/16 any version. (default microtype configuration for novel class)]
+[2024/02/17 any version. (default microtype configuration for novel class)]
 
 %%% ---------------------------------------------------------------------------
 %%% FONT SETS

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty	2024-02-17 20:52:00 UTC (rev 69942)
@@ -16,7 +16,7 @@
 %%
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{novel-pdfx.sty}%
-[2024/02/16 v2.00 LaTeX file (PDF/X support for novel class)]
+[2024/02/17 v2.1 LaTeX file (PDF/X support for novel class)]
 % This package supports, and is part of, class `novel'.
 % No support for anything but LuaLaTeX.
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-xmppacket.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-xmppacket.sty	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-xmppacket.sty	2024-02-17 20:52:00 UTC (rev 69942)
@@ -14,7 +14,7 @@
 %% ----------------------------------------------------------------------------
 %%
 \ProvidesFile{novel-xmppacket.sty}%
-[2024/02/16 any version. (novel XMP packet template)]
+[2024/02/17 any version. (novel XMP packet template)]
 %%
 
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel.cls
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel.cls	2024-02-17 20:51:46 UTC (rev 69941)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel.cls	2024-02-17 20:52:00 UTC (rev 69942)
@@ -8,7 +8,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
 % Actually needs LuaLaTeX, at least version 0.95 from TeXLive 2016.
-\ProvidesClass{novel}[2024/02/16 v2.00 LaTeX document class]
+\ProvidesClass{novel}[2024/02/17 v2.1 LaTeX document class]
 %%
 
 %% During the years since `novel' was introduced, there have been
@@ -22,8 +22,11 @@
 %% In addition to a minimal LaTeX setup, with luatex, you will need these:
 %% textpos magaz xcolor adjustbox eso-pic pdfpages unicode-math fp iftex
 %% libertinus-fonts makecmds xkeyval lm-math xstring xifthen silence
-%% collectbox pgf lipsum wrapfig pdflscape microtype hyperref babel
+%% collectbox pgf lipsum wrapfig pdflscape microtype hyperref
 %% You will need language support, for your language(s).
+%% Default support is polyglossia. Write \setmainlanguage[options]{language}
+%% in preamble. Alternative babel, write `v2' as a document class option,
+%% and write choice of language as a document class option.
 %% If using lipsum, you will need hyphen-latin.
 
 
@@ -68,6 +71,7 @@
     Command line:  lualatex your-document.tex}
 \fi
 \pdfimageresolution=300 % default dpi if image does not say
+\nofiles
 %
 \RequirePackage{etoolbox} % general good stuff
 \RequirePackage{xifthen} % improved ifthenelse handling
@@ -128,35 +132,8 @@
 %% ----------------------------------------------------------------------------
 % Allowed option list:
 %   draft xml shademargins cropmarks cropview closecrop
-%   coverart sandbox unblock mtoff test revert v2 (with babel languages)
-% Yes, I realize that this could have been done another way, but I want
-%   to issue error messages from `novel' rather than (say) `keyval':
-\gdef\@mycol{\@classoptionslist,}
-\StrDel{\@mycol}{ }[\@mycol]
-\StrDel{\@mycol}{revert,}[\@mycol]
-\StrDel{\@mycol}{draft,}[\@mycol]
-\StrDel{\@mycol}{xml,}[\@mycol]
-\StrDel{\@mycol}{shademargins,}[\@mycol]
-\StrDel{\@mycol}{graytext,}[\@mycol] % Obsolete. Now always allows graytext.
-\StrDel{\@mycol}{greytext,}[\@mycol] % See above.
-\StrDel{\@mycol}{cropmarks,}[\@mycol]
-\StrDel{\@mycol}{cropview,}[\@mycol]
-\StrDel{\@mycol}{closecrop,}[\@mycol]
-\StrDel{\@mycol}{coverart,}[\@mycol]
-\StrDel{\@mycol}{unblock,}[\@mycol]
-\StrDel{\@mycol}{mtoff,}[\@mycol]
-\StrDel{\@mycol}{test,}[\@mycol]
-\StrDel{\@mycol}{sandbox,}[\@mycol]
-%
-\newif\ifusing at babel % New in novel version 2.
-\IfSubStr{\@mycol}{v2}{
-  \StrDel{\@mycol}{v2,}[\@mycol]
-  \ifthenelse{\equal{\@mycol}{}}{\def\@mycol{american}}{}
-  \RequirePackage[\@mycol]{babel}
-}{
-  \RequirePackage{polyglossia}
-  \setmainlanguage[variant=american]{english}
-}
+%   coverart sandbox unblock mtoff test revert v2 (babel languages)
+% Version 2 change allows language support from polyglossia or babel.
 % Version 1.80 has minor tweaks. Option `revert' for version 1.52 behavior.
 \newif \if at novrevert
 \DeclareOption{revert}{\@novreverttrue}
@@ -222,7 +199,8 @@
 % Option test. Primarily for developer use.
 \newif \if at testsuite
 \DeclareOption{test}{\@testsuitetrue}
-\DeclareOption{v2}{\using at babeltrue}
+\newif \ifusing at vtwo
+\DeclareOption{v2}{\using at vtwotrue} % Reserved for future use.
 %
 % Option sandbox. for artwork and tables. Max 4 pages.
 \newif \if at sandbox
@@ -299,7 +277,7 @@
 % In draft mode only, the `shademargins' option requires `grayscale',
 %   which will be temporarily enabled, even if not specifically requested.
 %
-\RequirePackage[gray,hyperref]{xcolor}
+\RequirePackage[gray]{xcolor}
 %
 % adjustbox and eso-pic cannot precede xcolor.
 \RequirePackage{adjustbox} % for scaling and moving
@@ -321,6 +299,20 @@
   \@setfontsize\normalsize{\@TentativeEmN}{\@TentativeBLSkipN}%
 }
 \normalsize
+%%
+\ifusing at vtwo\else
+  \RequirePackage{polyglossia}
+  \ExplSyntaxOn
+  \pretocmd\xpg at set@alias at values{%
+	\prop_if_exist:cF { xpg at alias@keyvals@#1@#4 }
+	{ \prop_new:c {xpg at alias@keyvals@#1@#4} }
+  }{}{}
+  \ExplSyntaxOff
+  \setmainlanguage[variant=american]{english}
+\fi
+%%
+
+
 \RequirePackage[no-math]{fontspec} % For LuaLaTeX. NOT package `fontenc'.
 % The `novel' class is not intended for math. But TeX assumes you do math,
 %   so it needs a math font, whether you like it or not.
@@ -434,6 +426,11 @@
   \RequirePackage{novel-PostLayout} % calculates shademargins, cropmarks, etc.
   \RequirePackage{novel-pdfx}% also provides an \AtBeginDocument macro
   \@GetInitialYpos% in `novel-TextMacros.sty
+  \ifdefined\setmainlanguage\else
+    \ifusing at vtwo
+      \@ifpackageloaded{babel}{}{\RequirePackage[american]{babel}}
+    \fi
+  \fi
 }%
 %% end AtEndPreamble
 
@@ -622,10 +619,6 @@
 \AtEndDocument{%
   \if at coverart\else%
     \if at sandbox\else%
-      \immediate\write\@auxout{%
-        \string\xdef\string\@AllGoodImages{\@AllGoodImages}^^J%
-        \string\xdef\string\@UnknownImages{\@UnknownImages}^^J%
-      }%
       \ifnocle at rtoend\else\cleartoend\fi%
     \fi%
   \fi%



More information about the tex-live-commits mailing list.