texlive[69925] branches/branch2023.final/Master/texmf-dist: novel

commits+karl at tug.org commits+karl at tug.org
Fri Feb 16 22:16:51 CET 2024


Revision: 69925
          https://tug.org/svn/texlive?view=revision&revision=69925
Author:   karl
Date:     2024-02-16 22:16:51 +0100 (Fri, 16 Feb 2024)
Log Message:
-----------
novel (branch) (15feb24)

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

Added Paths:
-----------
    branches/branch2023.final/Master/texmf-dist/doc/lualatex/novel/extras/novel-example.pdf

Added: branches/branch2023.final/Master/texmf-dist/doc/lualatex/novel/extras/novel-example.pdf
===================================================================
(Binary files differ)

Index: branches/branch2023.final/Master/texmf-dist/doc/lualatex/novel/extras/novel-example.pdf
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/lualatex/novel/extras/novel-example.pdf	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/doc/lualatex/novel/extras/novel-example.pdf	2024-02-16 21:16:51 UTC (rev 69925)

Property changes on: branches/branch2023.final/Master/texmf-dist/doc/lualatex/novel/extras/novel-example.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Modified: branches/branch2023.final/Master/texmf-dist/doc/lualatex/novel/extras/novel-example.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/lualatex/novel/extras/novel-example.tex	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/doc/lualatex/novel/extras/novel-example.tex	2024-02-16 21:16:51 UTC (rev 69925)
@@ -1,7 +1,7 @@
 % !TeX TS-program = lualatex
 % !TeX encoding = UTF-8
 
-% Copyright 2023 Robert Allgeyer.
+% Copyright 2024 Robert Allgeyer.
 % This file may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, version 1.3c.
 % License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
@@ -11,12 +11,11 @@
 %   have read/write permissions for any user. If they don't, then
 %   compile will fail at the point where files are written.
 
-\documentclass{novel} % v. 1.86.
+\documentclass[v2,american,latin]{novel} % v. 2.00.
 \SetTitle{Dark and Stormy}
 \SetSubtitle{A Tale of Nights}
 \SetAuthor{Dirk Hardcase}
 \SetPDFX[CGATSTR001]{X-1a:2001}
-\setotherlanguage{latin} % requires package hyphen-latin for best results.
 \begin{document}
 
 \frontmatter

Modified: branches/branch2023.final/Master/texmf-dist/doc/lualatex/novel/extras/novel-extras-README.html
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/lualatex/novel/extras/novel-extras-README.html	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/doc/lualatex/novel/extras/novel-extras-README.html	2024-02-16 21:16:51 UTC (rev 69925)
@@ -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 1.86.</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.00.</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: branches/branch2023.final/Master/texmf-dist/doc/lualatex/novel/novel-documentation.html
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/lualatex/novel/novel-documentation.html	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/doc/lualatex/novel/novel-documentation.html	2024-02-16 21:16:51 UTC (rev 69925)
@@ -492,7 +492,7 @@
 <!-- **************************************************************************************** -->
 
 <h1 id="h0" style="padding-top:16px">Document class <i>novel</i> - documentation.</h1>
-<p>V. 1.86, 2024/01/31</p>
+<p>V. 2.00, 2024/02/16</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>
@@ -536,9 +536,15 @@
 <p class="item"><b>C.</b> If you are on Windows, <i>do not</i> use Notepad! The free <a class="external" rel="external" target="new" href="https://notepad-plus-plus.org">Notepad++</a> (also <a class="external" rel="external" target="new" href="https://portableapps.com/apps/development/notepadpp_portable">Portable</a> version) is a suitable plain text editor. Configure it as specified, with utf-8 but without BOM. Does not matter whether UNIX or DOS line endings, as long as you are consistent.</p>
 </div><!-- end 1.1.2 -->
 
-<h4 id="h1.1.3">1.1.3. News (changed in version 1.86)</h4>
+<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">The package PDF has been updated.</p>
+<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>
 </div><!-- end 1.1.3 -->
 
 <h4 id="h1.1.4">1.1.4. Use Open Type Fonts</h4>
@@ -1614,10 +1620,10 @@
 </code></p>
 <p>That will print Chapter 1, Chapter 2, and so forth. Of course, only do this for real, numbered chapters, not for "chapter-like" sections. If your book has several parts, and each part re-sets its own chapter count, use \setcounter{novelcn}{1} prior to the first chapter in each part.</p>
 <p class="item"><b>B.</b> If you would like the number to be spelled out, as in Chapter One, Chapter Two, and so forth, then try the <i>fmtcount</i> package. It can also do ordinals such as First Chapter, Second Chapter. See the <i>fmtcount</i> package documentation for details.</p>
-<p class="item"><b>C.</b> If your document's language is other than English, use <code>\setdefaultlanguage</code> <i>before</i> you load the <i>fmtcount</i> package. If you do it later, then positioning will be incorrect.</p>
+<p class="item"><b>C.</b> If your document's language is other than English, set it <i>before</i> you load the <i>fmtcount</i> package. If you do it later, then positioning will be incorrect.</p>
 <p class="item"><b>D.</b> <b>Example:</b> With <i>fmtcount</i> loaded in Preamble.</p>
 <p class="code"><code>
-% if necessary, use \setdefaultlanguage first.<br/>
+% if necessary, use set language first.<br/>
 \RequirePackage{fmtcount}<br/>
 </code></p>
 <p>Example usage in chapter titles:</p>
@@ -3115,12 +3121,13 @@
 <div id="pageZ" class="page">
 
 
-<h2 id="hZ">Appendix Z.   Changes in v.1.86.</h2>
+<h2 id="hZ">Appendix Z.   Changes in v.2.00.</h2>
 <div class="d2" id="dZ">
 
 <h4>Important Changes</h4>
 <div class="d3">
-<p>Version 1.86 (2024) docs edited..</p>
+<p>Version 2.00 (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>
 <p>Version 1.82 (2023) adds a user setting, to change the default indent.</p>

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

Modified: branches/branch2023.final/Master/texmf-dist/doc/lualatex/novel/novel.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/lualatex/novel/novel.tex	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/doc/lualatex/novel/novel.tex	2024-02-16 21:16:51 UTC (rev 69925)
@@ -2,7 +2,7 @@
 % !TeX encoding = UTF-8
 %
 % File novel.tex, part of `novel' LuaLaTeX document class.
-% Copyright 2023 Robert Allgeyer.
+% Copyright 2024 Robert Allgeyer.
 % This file may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, version 1.3c.
 % License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
@@ -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{novel} % v. 1.86.
+\documentclass[v2]{novel} % v. 2.00.
 % 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 1.86 (January 2024)\par}
+{\centering Version 2.00 (February 2024)\par}
 \end{ChapterStart}
 
 \textbf{Where is the documentation??} It is HTML.\\

Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo	2024-02-16 21:16:51 UTC (rev 69925)
@@ -2,7 +2,7 @@
 %% The values of the arguments are public industry standards.
 %%
 \ProvidesFile{novel-CGATSTR001.clo}%
-[2024/01/31 any version. (novel Output Intent CGATS TR 001)]
+[2024/02/16 any version. (novel Output Intent CGATS TR 001)]
 %%
 
 % Typically used in the USA.

Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-CalculateLayout.sty
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-CalculateLayout.sty	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-CalculateLayout.sty	2024-02-16 21:16:51 UTC (rev 69925)
@@ -1,5 +1,5 @@
 %% This is file `novel-CalculateLayout.sty', part of `novel' document class.
-%% Copyright 2017-2023 Robert Allgeyer.
+%% Copyright 2017-2024 Robert Allgeyer.
 %% 
 %% It may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, version 1.3c.
@@ -6,7 +6,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/ 
 %%
 \ProvidesFile{novel-CalculateLayout.sty}%
-[2024/01/31 v1.86 LaTeX file (layout calculations)]
+[2024/02/16 v2.00 LaTeX file (layout calculations)]
 %%
 
 %%

Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty	2024-02-16 21:16:51 UTC (rev 69925)
@@ -1,5 +1,5 @@
 %% This is file `novel-ChapterScene.sty', part of `novel' document class.
-%% Copyright 2017-2023 Robert Allgeyer.
+%% Copyright 2017-2024 Robert Allgeyer.
 %%
 %% This file may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, version 1.3c.
@@ -6,7 +6,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
 %%
 \ProvidesFile{novel-ChapterScene.sty}%
-[2024/01/31 v1.86 LaTeX file (chapter and scene macros)]
+[2024/02/16 v2.00 LaTeX file (chapter and scene macros)]
 %%
 
 

Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-DropCap.sty
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-DropCap.sty	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-DropCap.sty	2024-02-16 21:16:51 UTC (rev 69925)
@@ -1,5 +1,5 @@
 %% This is file `novel-DropCap.sty', part of `novel' document class.
-%% Copyright (C) 2017-2023 Robert Allgeyer.
+%% Copyright (C) 2017-2024 Robert Allgeyer.
 %%
 %% It is based on `lettrine.sty', part of `lettrine' package,
 %% Copyright (C) 1999-2015 Daniel Flipo. LPPL 1.3c.
@@ -9,7 +9,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
 %%
 \ProvidesFile{novel-DropCap.sty}%
-[2024/01/31 v1.86 (Drop Caps)]
+[2024/02/16 v2.00 (Drop Caps)]
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 %
 %

Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo	2024-02-16 21:16:51 UTC (rev 69925)
@@ -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/01/31 any version. (novel Output Intent FOGRA39)]
+[2024/02/16 any version. (novel Output Intent FOGRA39)]
 %%
 
 

Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty	2024-02-16 21:16:51 UTC (rev 69925)
@@ -1,5 +1,5 @@
 %% This is file `novel-FileData.sty', part of `novel' document class.
-%% Copyright 2017-2023 Robert Allgeyer.
+%% Copyright 2017-2024 Robert Allgeyer.
 %%
 %% This file may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, version 1.3c.
@@ -6,7 +6,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
 %%
 \ProvidesFile{novel-FileData.sty}%
-[2024/01/31 v1.86 LaTeX file (File Data settings)]
+[2024/02/16 v2.00 LaTeX file (File Data settings)]
 %% 
 
 

Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-Fonts.sty
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-Fonts.sty	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-Fonts.sty	2024-02-16 21:16:51 UTC (rev 69925)
@@ -1,5 +1,5 @@
 %% This is file `novel-Fonts.sty', part of `novel' document class.
-%% Copyright 2017-2023 Robert Allgeyer.
+%% Copyright 2017-2024 Robert Allgeyer.
 %%
 %% This file may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, version 1.3c. 
@@ -6,7 +6,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
 %%
 \ProvidesFile{novel-Fonts.sty}%
-[2024/01/31 v1.86 LaTeX file (font settings and defaults)]
+[2024/02/16 v2.00 LaTeX file (font settings and defaults)]
 %%
 
 

Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty	2024-02-16 21:16:51 UTC (rev 69925)
@@ -1,5 +1,5 @@
 %% This is file `novel-Footnotes.sty', part of `novel' document class.
-%% Copyright 2017-2023 Robert Allgeyer.
+%% Copyright 2017-2024 Robert Allgeyer.
 %%
 %% 
 %% This file may be distributed and/or modified under the
@@ -7,7 +7,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
 %%
 \ProvidesFile{novel-Footnotes.sty}%
-[2024/01/31 v1.86 LaTeX file (commands for footnotes and endnotes)]
+[2024/02/16 v2.00 LaTeX file (commands for footnotes and endnotes)]
 %%
 
 

Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-HeadFootStyles.sty
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-HeadFootStyles.sty	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-HeadFootStyles.sty	2024-02-16 21:16:51 UTC (rev 69925)
@@ -1,5 +1,5 @@
 %% This is file `novel-HeadFootStyles.sty', part of `novel' document class.
-%% Copyright 2017-2023 Robert Allgeyer.
+%% Copyright 2017-2024 Robert Allgeyer.
 %%
 %% This file may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, version 1.3c.
@@ -6,7 +6,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
 %%
 \ProvidesFile{novel-HeadFootStyles.sty}%
-[2024/01/31 v1.86 LaTeX file (header and footer layouts and styles)]
+[2024/02/16 v2.00 LaTeX file (header and footer layouts and styles)]
 %% 
 
 

Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-Images.sty
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-Images.sty	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-Images.sty	2024-02-16 21:16:51 UTC (rev 69925)
@@ -1,5 +1,5 @@
 %% This is file `novel-Images.sty', part of `novel' document class.
-%% Copyright 2017-2023 Robert Allgeyer.
+%% Copyright 2017-2024 Robert Allgeyer.
 %%
 %% This file may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, version 1.3c.
@@ -6,7 +6,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
 %%
 \ProvidesFile{novel-Images.sty}%
-[2024/01/31 v1.86 LaTeX file (image placement)]
+[2024/02/16 v2.00 LaTeX file (image placement)]
 %%
 
 

Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-JC200103.clo
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-JC200103.clo	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-JC200103.clo	2024-02-16 21:16:51 UTC (rev 69925)
@@ -2,7 +2,7 @@
 %% The values of the arguments are public industry standards.
 %%
 \ProvidesFile{novel-JC200103.clo}%
-[2024/01/31 any version. (novel Output Intent JC200103)]
+[2024/02/16 any version. (novel Output Intent JC200103)]
 %%
 
 

Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-LayoutSettings.sty
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-LayoutSettings.sty	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-LayoutSettings.sty	2024-02-16 21:16:51 UTC (rev 69925)
@@ -1,5 +1,5 @@
 %% This is file `novel-LayoutSettings.sty', part of `novel' document class.
-%% Copyright 2017-2023 Robert Allgeyer.
+%% Copyright 2017-2024 Robert Allgeyer.
 %%
 %% This file may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, version 1.3c.
@@ -6,7 +6,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
 %%
 \ProvidesFile{novel-LayoutSettings.sty}%
-[2024/01/31 v1.86 LaTeX file (layout settings)]
+[2024/02/16 v2.00 LaTeX file (layout settings)]
 %%
 
 

Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-PostLayout.sty
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-PostLayout.sty	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-PostLayout.sty	2024-02-16 21:16:51 UTC (rev 69925)
@@ -1,5 +1,5 @@
 %% This is file `novel-PostLayout.sty', part of `novel' document class.
-%% Copyright 2017-2023 Robert Allgeyer.
+%% Copyright 2017-2024 Robert Allgeyer.
 %% 
 %% It may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, version 1.3c.
@@ -6,7 +6,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
 %%
 \ProvidesFile{novel-PostLayout.sty}%
-[2024/01/31 v1.86 LaTeX file (post-layout modifications)]
+[2024/02/16 v2.00 LaTeX file (post-layout modifications)]
 %%
 
 %%

Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-Sandbox.sty
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-Sandbox.sty	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-Sandbox.sty	2024-02-16 21:16:51 UTC (rev 69925)
@@ -1,5 +1,5 @@
 %% This is file `novel-Sandbox.sty', part of `novel' document class.
-%% Copyright 2017-2023 Robert Allgeyer.
+%% Copyright 2017-2024 Robert Allgeyer.
 %%
 %% Material extracted from `article.cls', a LaTeX document class.
 %% Copyright 1993-2016
@@ -11,7 +11,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
 %%
 \ProvidesFile{novel-Sandbox.sty}%
-[2024/01/31 v1.86 LaTeX file (used only with sandbox class option)]
+[2024/02/16 v2.00 LaTeX file (used only with sandbox class option)]
 %%
 
 %%

Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty	2024-02-16 21:16:51 UTC (rev 69925)
@@ -1,5 +1,5 @@
 %% This is file `novel-TextMacros.sty', part of `novel' document class.
-%% Copyright 2017-2023 Robert Allgeyer.
+%% Copyright 2017-2024 Robert Allgeyer.
 %%
 %% This file may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, version 1.3c.
@@ -6,7 +6,7 @@
 %% License URL:  https://www.latex-project.org/lppl/lppl-1-3c/
 %%
 \ProvidesFile{novel-TextMacros.sty}%
-[2024/01/31 v1.86 LaTeX file (text macros usable within document body)]
+[2024/02/16 v2.00 LaTeX file (text macros usable within document body)]
 %%
 
 

Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-microtype.cfg
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-microtype.cfg	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-microtype.cfg	2024-02-16 21:16:51 UTC (rev 69925)
@@ -1,5 +1,5 @@
 %% This is file `novel-microtype.cfg', part of `novel' document class.
-%% Modified from file `microtype.cfg' by Robert Allgeyer, 2017-2023.
+%% Modified from file `microtype.cfg' by Robert Allgeyer, 2017-2024.
 %%  
 %% This work may be distributed and/or modified under the conditions of the
 %% LaTeX Project Public License, version 1.3c.
@@ -10,7 +10,7 @@
 %% ------------------------------------------------------------------------ 
 %%
 \ProvidesFile{novel-microtype.cfg}%
-[2024/01/31 any version. (default microtype configuration for novel class)]
+[2024/02/16 any version. (default microtype configuration for novel class)]
 
 %%% ---------------------------------------------------------------------------
 %%% FONT SETS

Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty	2024-02-16 21:16:51 UTC (rev 69925)
@@ -1,5 +1,5 @@
 %% This is file `novel-pdfx.sty', part of `novel' document class.
-%% Copyright (c) 2017-2023 Robert Allgeyer.
+%% Copyright (c) 2017-2024 Robert Allgeyer.
 %%
 %% This file may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, version 1.3c.
@@ -16,7 +16,7 @@
 %%
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{novel-pdfx.sty}%
-[2024/01/31 v1.86 LaTeX file (PDF/X support for novel class)]
+[2024/02/16 v2.00 LaTeX file (PDF/X support for novel class)]
 % This package supports, and is part of, class `novel'.
 % No support for anything but LuaLaTeX.
 
@@ -170,8 +170,33 @@
 %% ----------------------------------------------------------------------------
 %
 % Create hashes that will be used for uuid data. Does not need to be fancy:
-\edef\xmp at docid{\pdfx at mdfivesum{jobname.pdf}}
-\edef\xmp at instid{\pdfx at mdfivesum{\pdfcreationdate}}
+\def\tweak at temp@s{
+  \lowercase\expandafter{% Per 'egreg' tex.stackexchange.com q.351065.
+    \expandafter\def\expandafter\temp at s\expandafter{\temp at s}%
+  }
+  \StrLeft{\temp at s}{8}[\temp at n]
+  \StrRight{\temp at s}{24}[\temp at d]
+  \edef\temp at s{\temp at n-\temp at d}
+  \StrLeft{\temp at s}{13}[\temp at n]
+  \StrRight{\temp at s}{19}[\temp at d] % Omit character, becomes 4.
+  \edef\temp at s{\temp at n-4\temp at d}
+  \StrLeft{\temp at s}{18}[\temp at n]
+  \StrRight{\temp at s}{15}[\temp at d] % Omit character, becomes 8.
+  \edef\temp at s{\temp at n-8\temp at d}
+  \StrLeft{\temp at s}{23}[\temp at n]
+  \StrRight{\temp at s}{12}[\temp at d]
+  \edef\temp at s{\temp at n-\temp at d}
+}
+\edef\temp at s{\pdf at mdfivesum{\jobname\@title\@author novel}}
+\tweak at temp@s
+\edef\@documentID{uuid:\temp at s}
+\edef\temp at s{\pdf at mdfivesum{\pdffeedback creationdate}}
+\tweak at temp@s
+\edef\@instanceID{uuid:\temp at s}
+%%
+
+
+
 %
 %% End general PDF in internal metadata preparation.
 
@@ -223,8 +248,7 @@
   }
 }
 %
-\def\@documentID{uuid:\xmp at docid}
-\def\@instanceID{uuid:\xmp at instid}
+
 %
 \def\@pdfVersion{1.\the\pdfminorversion}
 %

Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-xmppacket.sty
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-xmppacket.sty	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel-xmppacket.sty	2024-02-16 21:16:51 UTC (rev 69925)
@@ -1,5 +1,5 @@
 %% This is file `novel-xmppacket.sty', part of `novel' document class.
-%% Copyright 2017-2023 Robert Allgeyer.
+%% Copyright 2017-2024 Robert Allgeyer.
 %%
 %% This file may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, version 1.3c.
@@ -14,7 +14,7 @@
 %% ----------------------------------------------------------------------------
 %%
 \ProvidesFile{novel-xmppacket.sty}%
-[2024/01/31 any version. (novel XMP packet template)]
+[2024/02/16 any version. (novel XMP packet template)]
 %%
 
 

Modified: branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel.cls
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel.cls	2024-02-16 21:16:08 UTC (rev 69924)
+++ branches/branch2023.final/Master/texmf-dist/tex/lualatex/novel/novel.cls	2024-02-16 21:16:51 UTC (rev 69925)
@@ -1,5 +1,5 @@
 %% This is file `novel.cls', LuaLaTeX `novel' document class.
-%% Copyright 2017-2023 Robert Allgeyer.
+%% Copyright 2017-2024 Robert Allgeyer.
 %% Contact: Username `rallg' @ GitHub and tex.stackexchange. `RobtAll' @ CTAN.
 %% 
 %% This file may be distributed and/or modified under the
@@ -8,7 +8,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
 % Actually needs LuaLaTeX, at least version 0.95 from TeXLive 2016.
-\ProvidesClass{novel}[2024/01/31 v1.86 LaTeX document class]
+\ProvidesClass{novel}[2024/02/16 v2.00 LaTeX document class]
 %%
 
 %% During the years since `novel' was introduced, there have been
@@ -22,7 +22,7 @@
 %% 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 polyglossia
+%% collectbox pgf lipsum wrapfig pdflscape microtype hyperref babel
 %% You will need language support, for your language(s).
 %% If using lipsum, you will need hyphen-latin.
 
@@ -128,32 +128,34 @@
 %% ----------------------------------------------------------------------------
 % Allowed option list:
 %   draft xml shademargins cropmarks cropview closecrop
-%   coverart sandbox unblock mtoff test revert
+%   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}
+\gdef\@mycol{\@classoptionslist,}
 \StrDel{\@mycol}{ }[\@mycol]
-\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]
+\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]
 %
-\ifthenelse{\equal{\@mycol}{}}{}{
-  \ClassWarning{novel}{^^JUnrecognized class option: \@mycol. ^^J%
-   The unrecognized option was ignored! ^^J%
-   Note that font size, document size, and language ^^J%
-   are not `novel' class options. See documentation. ^^J}%
+\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}
 }
 % Version 1.80 has minor tweaks. Option `revert' for version 1.52 behavior.
 \newif \if at novrevert
@@ -220,6 +222,7 @@
 % Option test. Primarily for developer use.
 \newif \if at testsuite
 \DeclareOption{test}{\@testsuitetrue}
+\DeclareOption{v2}{\using at babeltrue}
 %
 % Option sandbox. for artwork and tables. Max 4 pages.
 \newif \if at sandbox
@@ -340,13 +343,6 @@
 \RequirePackage{novel-LayoutSettings}
 
 
-%% Use polyglossia:
-%% ----------------------------------------------------------------------------
-\RequirePackage{polyglossia}
-\setdefaultlanguage[variant=american]{english} % may be changed by user
-%% end language support.
-
-
 %% Additional Macros, Loaded in Preamble.
 %% ----------------------------------------------------------------------------
 \RequirePackage{novel-Fonts} % font settings and defaults



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