texlive[45364] Master/texmf-dist: novel (20sep17)

commits+karl at tug.org commits+karl at tug.org
Thu Sep 21 00:39:21 CEST 2017


Revision: 45364
          http://tug.org/svn/texlive?view=revision&revision=45364
Author:   karl
Date:     2017-09-21 00:39:21 +0200 (Thu, 21 Sep 2017)
Log Message:
-----------
novel (20sep17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/lualatex/novel/extras/novel-cover-template.tex
    trunk/Master/texmf-dist/doc/lualatex/novel/extras/novel-example.tex
    trunk/Master/texmf-dist/doc/lualatex/novel/novel-documentation.html
    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-FOGRA39.clo
    trunk/Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty
    trunk/Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.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-TextMacros.sty
    trunk/Master/texmf-dist/tex/lualatex/novel/novel-glyphtounicode.tex
    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

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/lualatex/novel/extras/License-icc-files.html
    trunk/Master/texmf-dist/doc/lualatex/novel/extras/crgb.icc
    trunk/Master/texmf-dist/doc/lualatex/novel/extras/srgb.icc

Added: trunk/Master/texmf-dist/doc/lualatex/novel/extras/License-icc-files.html
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/extras/License-icc-files.html	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/extras/License-icc-files.html	2017-09-20 22:39:21 UTC (rev 45364)
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+<meta charset="UTF-8" />
+<title>License for icc files in "novel" extras folder.</title>
+</head>
+<body>
+
+<h2>License for icc files in <i>novel</i> extras folder.</h2>
+
+<p>Note that the ink limit file, mentioned in <i>novel</i> documentation, cannot be included here, as the license does not allow bundling with other software (such as the <i>novel</i> document class). You have to go get it yourself.</p>
+
+<p>File srgb.icc is a re-named copy of file <a href="https://github.com/ellelstone/elles_icc_profiles/blob/master/profiles/sRGB-elle-V2-srgbtrc.icc">sRGB-elle-V2-srgbtrc.icc</a> by Elle Stone.</p>
+
+<p>File crgb.icc is a re-named copy of file <a href="https://github.com/ellelstone/elles_icc_profiles/blob/master/profiles/ClayRGB-elle-V2-srgbtrc.icc">ClayRGB-elle-V2-srgbtrc.icc</a> by Elle Stone.</p>
+
+<p><b>License granted by Elle Stone:</b></p>
+
+<p>The ICC profiles that are included with the profile-making code are released under the Creative Commons Attribution-Share-Alike Unported license, version 3.0 <a href="https://creativecommons.org/licenses/by-sa/3.0/legalcode">https://creativecommons.org/licenses/by-sa/3.0/legalcode</a>.</p>
+
+</body>
+</html>


Property changes on: trunk/Master/texmf-dist/doc/lualatex/novel/extras/License-icc-files.html
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/lualatex/novel/extras/crgb.icc
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/lualatex/novel/extras/crgb.icc
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/extras/crgb.icc	2017-09-20 22:39:01 UTC (rev 45363)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/extras/crgb.icc	2017-09-20 22:39:21 UTC (rev 45364)

Property changes on: trunk/Master/texmf-dist/doc/lualatex/novel/extras/crgb.icc
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/lualatex/novel/extras/novel-cover-template.tex
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/extras/novel-cover-template.tex	2017-09-20 22:39:01 UTC (rev 45363)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/extras/novel-cover-template.tex	2017-09-20 22:39:21 UTC (rev 45364)
@@ -1,6 +1,6 @@
 % !TeX program = LuaLaTeX
 % !TeX encoding = UTF-8
-\documentclass[coverart]{novel} % v. 1.40 or later
+\documentclass[coverart]{novel} % v. 1.40.1 or later
 \SetMediaSize{width}{height} % includes bleed
 \SetTrimSize{width}{height} % without bleed
 \SetTitle{example} % title required, might not be book title

Modified: trunk/Master/texmf-dist/doc/lualatex/novel/extras/novel-example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/extras/novel-example.tex	2017-09-20 22:39:01 UTC (rev 45363)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/extras/novel-example.tex	2017-09-20 22:39:21 UTC (rev 45364)
@@ -3,7 +3,7 @@
 %
 % EXAMPLE OF NOVEL DOCUMENT CLASS
 % Uses mostly default layout.
-\documentclass{novel} % v. 1.40 or later
+\documentclass{novel} % v. 1.40.1 or later
 \SetTitle{Dark and Stormy}
 \SetSubtitle{A Tale of Nights}
 \SetAuthor{Dirk Hardcase}

Added: trunk/Master/texmf-dist/doc/lualatex/novel/extras/srgb.icc
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/lualatex/novel/extras/srgb.icc
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/extras/srgb.icc	2017-09-20 22:39:01 UTC (rev 45363)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/extras/srgb.icc	2017-09-20 22:39:21 UTC (rev 45364)

Property changes on: trunk/Master/texmf-dist/doc/lualatex/novel/extras/srgb.icc
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/lualatex/novel/novel-documentation.html
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/novel-documentation.html	2017-09-20 22:39:01 UTC (rev 45363)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/novel-documentation.html	2017-09-20 22:39:21 UTC (rev 45364)
@@ -59,6 +59,7 @@
 @media print {
   #toc {display:none;}
   #main {width:auto; float:none;}
+  div.codeblock p {text-indent:0px;}
 }
 </style>
 
@@ -386,11 +387,13 @@
           </li>
         </ul>
       </li><!-- end 11.1 -->
-      <li><p><img id="i11.2" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQI12NgAAIAAAUAAeImBZsAAAAASUVORK5CYII=" class="nodisplaynav" onclick="plusminus(this.id);" title="open/close" alt=""/><a href="#h11.2">11.2 \QuickChapter and Scene Breaks</a></p>
+      <li><p><img id="i11.2" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQI12NgAAIAAAUAAeImBZsAAAAASUVORK5CYII=" class="nodisplaynav" onclick="plusminus(this.id);" title="open/close" alt=""/><a href="#h11.2">11.2 \QuickChapter and Breaks</a></p>
         <ul id="u11.2">
           <li><p class="noimg"><a href="#h11.2.1">11.2.1 \QuickChapter</a></p></li>
           <li><p class="noimg"><a href="#h11.2.2">11.2.2 \scenebreak and Others</a></p></li>
           <li><p class="noimg"><a href="#h11.2.3">11.2.3 \IndentAfterScenebreak</a></p></li>
+          <li><p class="noimg"><a href="#h11.2.4">11.2.4 \linebreak</a></p></li>
+          <li><p class="noimg"><a href="#h11.2.5">11.2.5 Widows, Orphans, Clubs</a></p></li>
         </ul>
       </li><!-- end 11.2 -->
     </ul>
@@ -503,7 +506,8 @@
 <!-- **************************************************************************************** -->
 
 <h1 id="h0">Document class <i>novel</i> - documentation</h1>
-<p class="noindent">Version: 1.40, 2017/09/14. This is a complete re-write of the documentation, with the HTML in a single file, and many improvements.</p>
+<p class="noindent">Version: 1.40, 2017/09/14. This is a complete re-write of the documentation, with the HTML in a single file, and many improvements. Version 1.40.1: Minor doc changes, especially correction to code for converting cover image to CMYK.</p>
+<p>A complete example novel, text and cover, can be found at the <a class="external" rel="external" target="new" href="https://github.com/RobtAll/novel/">GitHub project page</a>, in the "other" folder.</p>
 <p> </p>
 
 
@@ -2417,7 +2421,9 @@
 % contents of chapter start<br/>
 \end{ChapterStart
 </code></p>
-<p>The environment reserves a block of space, 10 lines high. The number may be changed (for an individual chapter) with the optional <i>lines</i> argument. Its minimum value is 4.</p>
+<p>The environment reserves a block of space, default 10 lines high. You may globally change that value in the Preamble, using the \SetChapterStartHeight{<em>lines</em>} command.</p>
+<p>On a per-chapter basis, the height may be changed using the optional <i>lines</i> argument of the ChapterStart environment. For example, sometimes that is helpful if a chapter has only one or two lines on its final page; then, you can effectively move all lines forward, by reducing the height of its ChapterStart.</p>
+<p>In all cases, the height must be an integer, greater than or equal to 4.</p>
 <p>You can put almost anything you like within this environment. Its height does not shrink or expand with content. However, if you put too much for the reserved space, then the excess will flow out the bottom of the reserved area, and mingle with the main text below. That is usually undesirable. If you do put too much, no error or warning is generated (because it might have been by intent).</p>
 <p>Note that ChapterStart does not, by itself, begin a new page. You have to issue the \clearpage (or \cleartorecto) command before ChapterStart. This is to allow for exotic designs with small ChapterStart space, and more than one chapter per page. But if that is the nature of your book, have a look at the \QuickChapter command.</p>
 <p>If the header/footer style for this particular chapter is <i>not</i> the same as the ChapterStart default style, then locally over-ride the default using \thispagestyle <i>prior to</i> ChapterStart. See below.</p>
@@ -2534,6 +2540,23 @@
 <p class="noindent">This global command may only be used in the Preamble.</p>
 <p>Normally, text begins without a paragraph indent, after each scene break. This is standard in fiction. If you prefer that each new scene begins indented, use this command. It works with \scenebreak, \sceneline, and \scenestars.</p>
 </div>
+
+<h4 id="h11.2.4">11.2.4.   \linebreak</h4>
+<div class="d4" id="d11.2.4">
+<p class="noindent">The general method for breaking a line, without creating a new paragraph, is to use the double backslash \\. The break will be ragged-right. This is suitable for such things as poetry, and other places where the break does not need to be justified.</p>
+<p>In some cases, you need the break to be justified. Command \linebreak does that. Use with caution, since lines earlier in the paragraph will not reflow! Instead, the broken line will justify by itself, possibly resulting in excessive stretch.</p>
+<p>One possible use of \linebreak is when layout places something very short at the calculated break. This often happens in English first-person narration, where the word "I" is common. Then, placing \linebreak just before the "I" is likely to result in better appearance. But you will need to inspect the result, both before and after the manually inserted break.</p>
+</div>
+
+<h4 id="h11.2.5">11.2.5.   Widows and Orphans (Clubs)</h4>
+<div class="d4" id="d11.2.5">
+<p class="noindent">The <i>novel</i> class applies virtually no penalty to widows and orphans (clubs). There are good reasons for this.</p>
+<p>In many other document classes, different pages can have different numbers of lines, to avoid widows and orphans. This is accomplished by stretching inter-line or inter-paragraph spaces. That kind of strategy is unacceptable in a novel, which is expected to have an identical line grid on facing pages.</p>
+<p>Also, a novel typically has many short paragraphs, often consisting of dialog. It become problematic to deal with them, without causing excess hyphenation and other unpleasant results.</p>
+<p>So, <i>novel</i> lets widows and orphans happen. This is actually common practice for the typesetting of many actual novels by major authors, with major publishers, as seen in the library.</p>
+<p>But do inspect your own work for widows and (especially) orphans that result in poor typesetting. Usually widows are not the problem, since they fill a line at the end of a page. But an orphan may only occupy a small part of its line at the top of a page, possibly as little as one word. There are also "paragraph orphans," where the final word (maybe even just a hyphenated syllable) is on a line by itself.</p>
+<p>Sinc you are writing your own book, you have the liberty to edit your text, so that problematic paragraph layouts disappear. Really, that's the only way to do it. TeX cannot read your mind.</p>
+</div>
 </div><!-- end class="d3" -->
 
 
@@ -2611,6 +2634,7 @@
 <h2 id="h13">13.   Cover Artwork</h2>
 <div class="d2" id="12">
 <p class="noindent">This portion serves a limited purpose. It is for the benefit of those who need to submit color print cover artwork in the form of a PDF/X-1a:2001 file, with the artwork as CMYK and 240% ink limit. This is the format required by some American print-on-demand services. It is also generally acceptable to others, whose requirements are less restrictive.</p>
+<p>Example cover artwork can be found at the <a class="external" rel="external" target="new" href="https://github.com/RobtAll/novel/">GitHub project page</a>, in the "other" folder.</p>
 <p><b>Before you begin:</b> Do you really need to do this? Many print-on-demand services are perfectly happy to accept something such as an ordinary RGB jpeg image, as long as it has the correct size (with bleed area). They can easily process it for print production in a few moments, using professional software. If they do it, then whether or not you are surprised by the resulting colors, will depend on whether or not your original image is within the printer gamut. In other cases, the print service prefers (or insists) that you do the image print production processing yourself. Then, you get to see an emulation of the print colors <em>before</em> you submit the file, and can change your artwork if the resulting colors are disappointing.</p>
 <p>The <em>novel</em> document class does not provide any support for creating the original artwork, either image or text. In fact, TeX is not the best way to do that. Use a graphics program (such as the free GIMP) to do your artwork, including text. In the end, your text will be rasterized, just like any background image. For this reason, avoid using small text, or consider using a sans-serif typeface on the cover (even though there is no sans-serif in the book itself).</p>
 <p>DO NOT PLACE A BARCODE. If your print service requests a white rectangle where the barcode will go, then include it in your image. Almost every print service is willing to create the barcode from your ISBN, and place the barcode image into your PDF during post-processing. Most of them even demand that they do it themselves. Do-it-yourself barcodes are incompatible with the following instructions.</p>
@@ -2632,17 +2656,18 @@
 
 <h3 id="h13.2">13.2.   Get Some Software</h3>
 <div class="d3" id="12.2">
-<p class="noindent">Get the 238% total ink limit color profile from <a href="http://www.newselfpublishing.com/TotalInkLimit.html" rel="external" target="new">Aaron Shepard</a>. This does the magic of ensuring that you comply with the 240% ink limit (the profile provides a little headroom, which seems necessary). It can also be used for softproofing, if you know how to do that. This is not the only possible profile, but it seems to me that it is the best of several available.</p>
-<p>You might (or might not) need the <a href="https://www.adobe.com/support/downloads/iccprofiles/iccprofiles_win.html" rel="external" target="new">Adobe icc profiles</a> (for end users). This link works for Windows or Linux (even though it says "for Windows"). I am told that there is a different link for Mac, but I don't have a Mac.</p>
+<p class="noindent">Get the 238% total ink limit color profile from <a href="http://www.newselfpublishing.com/TotalInkLimit.html" rel="external" target="new">Aaron Shepard</a>. This does the magic of ensuring that you comply with the 240% ink limit (the profile provides a little headroom, which seems useful). It can also be used for softproofing, if you know how to do that. This is not the only possible profile, but it seems to me that it is the best of several available. A good alternative s from <a class="external" rel="external" target="new" href="https://indesignsecrets.com/force-color-images-cmyk-240-ink-limit.php">David Blatner</a> (find "Here's a simple one") on that page).</p>
+<p>Included in the <i>novel</i> documentation <i>extras</i> folder is an open-source color profile for sRGB (file <i>srgb.icc</i>). There is also an open-source Equivalent to AdobeRGB (file <i>crgb.icc</i>). You will be using these when you convert your PNG image to a JPG in CMYK color space. I can think of no technical need to use the "real" profiles that may be lurking somewhere in your computer. These profiles are cross-platform.</p>
 <p>Get GraphicsMagick or ImageMagick. On Linux, you can install it via your system package manager. On Windows, get GraphicsMagick Q16 binaries for your system (32 or 64 bit) from <a href="https://sourceforge.net/projects/graphicsmagick/files/graphicsmagick-binaries/" rel="external" target="new">SourceForge</a>. I am told that versions for Mac are available via homebrew and macports, but again, I do not have a Mac, so I cannot check that. Or, get ImageMagick Q16 for various platforms from <a href="https://www.imagemagick.org/script/download.php" rel="external" target="new">here</a>.</p>
+<p>You might or might not (probably will) need an sRGB color profile, because that's likely to be the default for images not prepared in a color-managed workflow. Your system has one, somewhere. Copy it, and rename the copy as "srgb.icc" (note extension icc, if necessary changed from icm).</p>
 </div><!-- end class="d3" -->
 
 <h3 id="h13.3">13.3. Convert Your Image to CMYK at 240% (or less) Ink Limit</h3>
 <div class="d3" id="12.3">
-<p class="noindent"><img src="html-resources/example-cmyk238.png" class="floatright" width="445" height="328" alt="example cmyk238 image, back to rgb"/> At right, you can see an emulation of cover artwork, softproofed to CMYK at 238% ink limit. It is not the CMYK file itself, but an RGB image that is supposed to help you visualize what happens during conversion. You will notice that the colors are less intense, because the original image contained colors that didn't fit the gamut of the printing process. Colors don't always change; I could have planned ahead, and selected from a palette of colors that fit within the gamut.</p>
-<p><b>Get ready:</b> Make a copy of the above 238% ink limit color profile, and re-name the copy as "238.icc".
-<p>I will call your original PNG image "yourimage.png". Put this image, the 238.icc file, and (if necessary) the AdobeRGB1998.icc file in a single working folder.</p>
-<p>I will also assume that the image resolution is 300dpi. If it is something else, then modify 300 to the other number, when you see it below.</p>
+<p class="noindent"><img src="html-resources/example-cmyk238.png" class="floatright" width="445" height="328" alt="example cmyk238 image, back to rgb"/> At right, you can see an emulation of the above image, softproofed to CMYK at 238% ink limit. It is not the CMYK file itself, but an RGB image that is supposed to help you visualize what happens during conversion. The original image contained colors that didn't fit the gamut of the printing process. Nevertheless, it is very close, because (in the original) I avoided using much color that I knew would not convert well.</p>
+<p><b>Get ready:</b> Make a copy of the above 238% (or 240%) ink limit color profile, and re-name the copy as <i>240.icc</i>. I will call your original PNG image <i>yourimage.png</i>. Put this image, the <i>240.icc</i> file, and files <i>srgb.icc</i> and <i>crgb.icc</i> in a single working folder.</p>
+<p>I will also assume that the image resolution is <i>300dpi</i>. If it is something else, then modify <i>300</i> to the other number, when you see it below.</p>
+<p><i>Note: Each of the following boxed commands is a single command line. You may need to scroll the box to the right, or the text may wrap, depending on how you view this file.</i></p>
 <p style="margin-top:16px"><b>Step 1:</b> Open a Terminal (Command Prompt) and navigate to that folder.</p>
 <p>In the following commands, the initial "gm" calls GraphicsMagick (same code Linux and Windows). If you prefer ImageMagick, then eliminate the initial "gm" on Linux, or change the "gm" to "magick" on Windows.</p>
 <div class="codeblock">
@@ -2656,15 +2681,15 @@
 <p style="margin-top:16px"><b>Step 3:</b> At this point, there are three possibilities:</p>
 <p><b>(a)</b> You have a non-zero embedded.icc file. In this case:</p>
 <div class="codeblock">
-<p><code>gm convert -profile embedded.icc -profile 238.icc yourimage-stripped.tif yourimage-temp.tif</code></p>
+<p><code>gm convert -profile embedded.icc -profile 240.icc yourimage-stripped.tif yourimage-temp.tif</code></p>
 </div>
 <p><b>(b)</b> No embedded.icc, but you know that the artwork was create using AdobeRGB1998 workspace, or equivalent. Then:</p>
 <div class="codeblock">
-<p><code>gm convert -profile AdobeRGB1998.icc -profile 238.icc yourimage-stripped.tif yourimage-temp.tif</code></p>
+<p><code>gm convert -profile crgb.icc -profile 240.icc yourimage-stripped.tif yourimage-temp.tif</code></p>
 </div>
-<p><b>(c)</b> Neither of the above. The image is probably sRGB (default), so:</p>
+<p><b>(c)</b> Neither of the above. The image is probably sRGB (default). Then:</p>
 <div class="codeblock">
-<p><code>gm convert -profile 238.icc yourimage-stripped.tif yourimage-temp.tif</code></p>
+<p><code>gm convert -profile srgb.icc -profile 240.icc yourimage-stripped.tif yourimage-temp.tif</code></p>
 </div>
 <p style="margin-top:16px"><b>Step 4:</b> Now, regardless of which possibility you used above:</p>
 <div class="codeblock">

Modified: trunk/Master/texmf-dist/doc/lualatex/novel/novel.tex
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/novel.tex	2017-09-20 22:39:01 UTC (rev 45363)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/novel.tex	2017-09-20 22:39:21 UTC (rev 45364)
@@ -3,7 +3,7 @@
 %
 % SOURCE CODE FOR FILE novel.pdf, the cover info
 %   for novel document class.
-\documentclass{novel} % v. 1.40 or later
+\documentclass{novel} % v. 1.40.1 or later
 % Almost all settings are defaults.
 \SetHeadFootStyle{3}
 \SetTitle{Novel Document Class} % only footer, with page number

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo	2017-09-20 22:39:01 UTC (rev 45363)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo	2017-09-20 22:39:21 UTC (rev 45364)
@@ -1,4 +1,4 @@
-% Typically used in the USA. Novel file version 1.40
+% Typically used in the USA. Novel file version 1.40.1
 
 % The values of the arguments are public industry standards.
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-CalculateLayout.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-CalculateLayout.sty	2017-09-20 22:39:01 UTC (rev 45363)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-CalculateLayout.sty	2017-09-20 22:39:21 UTC (rev 45364)
@@ -12,7 +12,7 @@
 %% 
 %%
 \ProvidesFile{novel-CalculateLayout.sty}%
-[2017/09/14 v1.40 LaTeX file (layout calculations)]
+[2017/09/20 v1.40.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	2017-09-20 22:39:01 UTC (rev 45363)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty	2017-09-20 22:39:21 UTC (rev 45364)
@@ -13,7 +13,7 @@
 %% 
 %%
 \ProvidesFile{novel-ChapterScene.sty}%
-[2017/09/14 v1.40 LaTeX file (chapter and scene macros)]
+[2017/09/20 v1.40.1 LaTeX file (chapter and scene macros)]
 %%
 
 
@@ -82,9 +82,17 @@
 \newif \if at csalignok \@csalignokfalse
 \newlength\@oldparindent
 %
-% The argument is the number of normal baselineskips high:
-\newenvironment{ChapterStart}[1][10]
+% The argument is the number of normal baselineskips high (integer GTE 4).
+\newenvironment{ChapterStart}[1][\@setchapterstartheight] % default 10
 {%
+  \FPifint{#1}\else%
+    \ClassError{novel}{\string\SetChapterStartHeight\space must be integer GTE 4}%
+    {Height of ChapterStart must be integer, greater than or equal to 4}%
+  \fi%
+  \FPiflt{#1}{4}%
+    \ClassError{novel}{\string\SetChapterStartHeight\space must be integer GTE 4}%
+    {Height of ChapterStart must be integer, greater than or equal to 4}%
+  \else\fi%
   \setlength\@oldparindent{\parindent}%
   \global\@oldparindent=\@oldparindent%
   \setlength\parindent{0pt}%
@@ -232,20 +240,15 @@
   \fi
 }
 \gdef\cleartoend{
+  \clearpage
   \ifodd\c at page
-    \clearpage
     \thispagestyle{empty}
     \null
     \clearpage
-  \else
-    \clearpage
-    \thispagestyle{empty}
-    \null
-    \clearpage
-    \thispagestyle{empty}
-    \null
-    \clearpage
   \fi
+  \thispagestyle{empty}
+  \null
+  \clearpage
 }
 %
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo	2017-09-20 22:39:01 UTC (rev 45363)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo	2017-09-20 22:39:21 UTC (rev 45364)
@@ -1,4 +1,4 @@
-% Typically used in Europe.  Novel file version 1.40
+% Typically used in Europe.  Novel file version 1.40.1
 
 % The values of the arguments are public industry standards.
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty	2017-09-20 22:39:01 UTC (rev 45363)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty	2017-09-20 22:39:21 UTC (rev 45364)
@@ -13,7 +13,7 @@
 %% 
 %%
 \ProvidesFile{novel-FileData.sty}%
-[2017/09/14 v1.40 LaTeX file (File Data settings)]
+[2017/09/20 v1.40.1 LaTeX file (File Data settings)]
 %% 
 
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty	2017-09-20 22:39:01 UTC (rev 45363)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty	2017-09-20 22:39:21 UTC (rev 45364)
@@ -13,7 +13,7 @@
 %% 
 %%
 \ProvidesFile{novel-FontDefaults.sty}%
-[2017/09/14 v1.40 LaTeX file (default fonts)]
+[2017/09/20 v1.40.1 LaTeX file (default fonts)]
 %%
 
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty	2017-09-20 22:39:01 UTC (rev 45363)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty	2017-09-20 22:39:21 UTC (rev 45364)
@@ -13,7 +13,7 @@
 %% 
 %%
 \ProvidesFile{novel-Footnotes.sty}%
-[2017/09/14 v1.40 LaTeX file (commands for footnotes and endnotes)]
+[2017/09/20 v1.40.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	2017-09-20 22:39:01 UTC (rev 45363)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-HeadFootStyles.sty	2017-09-20 22:39:21 UTC (rev 45364)
@@ -13,7 +13,7 @@
 %% 
 %%
 \ProvidesFile{novel-HeadFootStyles.sty}%
-[2017/09/14 v1.40 LaTeX file (header and footer styles)]
+[2017/09/20 v1.40.1 LaTeX file (header and footer styles)]
 %% 
 
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-Images.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-Images.sty	2017-09-20 22:39:01 UTC (rev 45363)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-Images.sty	2017-09-20 22:39:21 UTC (rev 45364)
@@ -13,7 +13,7 @@
 %% 
 %%
 \ProvidesFile{novel-Images.sty}%
-[2017/09/14 v1.40 LaTeX file (image placement)]
+[2017/09/20 v1.40.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	2017-09-20 22:39:01 UTC (rev 45363)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-JC200103.clo	2017-09-20 22:39:21 UTC (rev 45364)
@@ -1,4 +1,4 @@
-% Typically used in Japan. Novel file version 1.40
+% Typically used in Japan. Novel file version 1.40.1
 
 % The values of the arguments are public industry standards.
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-LayoutSettings.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-LayoutSettings.sty	2017-09-20 22:39:01 UTC (rev 45363)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-LayoutSettings.sty	2017-09-20 22:39:21 UTC (rev 45364)
@@ -13,7 +13,7 @@
 %% 
 %%
 \ProvidesFile{novel-LayoutSettings.sty}%
-[2017/09/14 v1.40 LaTeX file (layout settings)]
+[2017/09/20 v1.40.1 LaTeX file (layout settings)]
 %%
 
 
@@ -289,7 +289,21 @@
 % default setting when chapters begin with ChapterStart environment:
 \gdef\SetChapterStart#1{\gdef\@setchapterstart{#1}}
 \SetChapterStart{footer} % default
-%
+% New in version 1.40.1:
+\gdef\SetChapterStartHeight#1{%
+  \FPifint{#1}\else%
+    \ClassError{novel}{\string\SetChapterStartHeight\space must be integer GTE 4}%
+    {Height of ChapterStart must be integer, greater than or equal to 4}%
+  \fi%
+  \FPiflt{#1}{4}%
+    \ClassError{novel}{\string\SetChapterStartHeight\space must be integer GTE 4}%
+    {Height of ChapterStart must be integer, greater than or equal to 4}%
+  \else\fi%
+  \gdef\@setchapterstartheight{#1}%
+}
+\SetChapterStartHeight{10} % default
+
+
 % See novel.cls for the accompanying AtBeginDocument routine.
 %
 %% End reserve space for header/footer and set default ChapterStart
@@ -673,6 +687,7 @@
     \ClassError{novel}{\string\mainmatter\ used more than once}%
     {You issued \string\mainmatter\ more than once.}%
   \fi
+  \cleartorecto % added v. 1.40.1
   \WithinFrontmatterfalse\WithinMainmattertrue
   \setcounter{frontmatterpages}{\value{page}}
   \addtocounter{frontmatterpages}{-1}

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty	2017-09-20 22:39:01 UTC (rev 45363)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty	2017-09-20 22:39:21 UTC (rev 45364)
@@ -13,7 +13,7 @@
 %% 
 %%
 \ProvidesFile{novel-TextMacros.sty}%
-[2017/09/14 v1.40 LaTeX file (text macros usable within document body)]
+[2017/09/20 v1.40.1 LaTeX file (text macros usable within document body)]
 %%
 
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-glyphtounicode.tex
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-glyphtounicode.tex	2017-09-20 22:39:01 UTC (rev 45363)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-glyphtounicode.tex	2017-09-20 22:39:21 UTC (rev 45364)
@@ -14,7 +14,7 @@
 %% 
 %%
 \ProvidesFile{novel-gyphtounicode.tex}%
-[2017/09/14 v1.40 LaTeX file (additional glyph to unicode)]
+[2017/09/20 v1.40.1 LaTeX file (additional glyph to unicode)]
 %%
 
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-microtype.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-microtype.cfg	2017-09-20 22:39:01 UTC (rev 45363)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-microtype.cfg	2017-09-20 22:39:21 UTC (rev 45364)
@@ -19,7 +19,7 @@
 %%
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{novel-microtype.cfg}%
-[2017/09/14 v1.40 LaTeX file (microtype configuration file for novel class)]
+[2017/09/20 v1.40.1 LaTeX file (microtype configuration file 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	2017-09-20 22:39:01 UTC (rev 45363)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty	2017-09-20 22:39:21 UTC (rev 45364)
@@ -24,7 +24,7 @@
 %%
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{novel-pdfx.sty}%
-[2017/09/14 v1.40 LaTeX file (PDF/X support for novel class)]
+[2017/09/20 v1.40.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	2017-09-20 22:39:01 UTC (rev 45363)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-xmppacket.sty	2017-09-20 22:39:21 UTC (rev 45364)
@@ -22,7 +22,7 @@
 %%
 %%
 \ProvidesFile{novel-xmppacket.sty}%
-[2017/09/14 v1.40 LaTeX file (novel XMP packet template)]
+[2017/09/20 v1.40.1 LaTeX file (novel XMP packet template)]
 %%
 
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel.cls
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel.cls	2017-09-20 22:39:01 UTC (rev 45363)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel.cls	2017-09-20 22:39:21 UTC (rev 45364)
@@ -17,7 +17,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
 % Actually needs LuaLaTeX, at least version 0.95 from TeXLive 2016.
-\ProvidesClass{novel}[2017/09/14 v1.40 LaTeX document class]
+\ProvidesClass{novel}[2017/09/20 v1.40.1 LaTeX document class]
 %%
 
 %% Version 1.40: removed `debug' option (was not useful). Major docs rewrite.



More information about the tex-live-commits mailing list