diff options
author | Karl Berry <karl@freefriends.org> | 2017-09-20 22:39:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-09-20 22:39:21 +0000 |
commit | ef29a90178617cf5e6b41fdfd30ca96295794e86 (patch) | |
tree | 7757828619daee32171af239b2f62ff01f896933 | |
parent | bbcd8dc70114a6c562cd6f8f11b45b3e46232a1e (diff) |
novel (20sep17)
git-svn-id: svn://tug.org/texlive/trunk@45364 c570f23f-e606-0410-a88d-b1316a301751
24 files changed, 111 insertions, 45 deletions
diff --git a/Master/texmf-dist/doc/lualatex/novel/extras/License-icc-files.html b/Master/texmf-dist/doc/lualatex/novel/extras/License-icc-files.html new file mode 100644 index 00000000000..6d0a4a5b975 --- /dev/null +++ b/Master/texmf-dist/doc/lualatex/novel/extras/License-icc-files.html @@ -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> diff --git a/Master/texmf-dist/doc/lualatex/novel/extras/crgb.icc b/Master/texmf-dist/doc/lualatex/novel/extras/crgb.icc Binary files differnew file mode 100644 index 00000000000..642b061543e --- /dev/null +++ b/Master/texmf-dist/doc/lualatex/novel/extras/crgb.icc diff --git a/Master/texmf-dist/doc/lualatex/novel/extras/novel-cover-template.tex b/Master/texmf-dist/doc/lualatex/novel/extras/novel-cover-template.tex index 43196ba042b..200517ce1b4 100644 --- a/Master/texmf-dist/doc/lualatex/novel/extras/novel-cover-template.tex +++ b/Master/texmf-dist/doc/lualatex/novel/extras/novel-cover-template.tex @@ -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 diff --git a/Master/texmf-dist/doc/lualatex/novel/extras/novel-example.tex b/Master/texmf-dist/doc/lualatex/novel/extras/novel-example.tex index 2a4a9b4c9ad..7c60332d8d4 100644 --- a/Master/texmf-dist/doc/lualatex/novel/extras/novel-example.tex +++ b/Master/texmf-dist/doc/lualatex/novel/extras/novel-example.tex @@ -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} diff --git a/Master/texmf-dist/doc/lualatex/novel/extras/srgb.icc b/Master/texmf-dist/doc/lualatex/novel/extras/srgb.icc Binary files differnew file mode 100644 index 00000000000..a8f1c645af2 --- /dev/null +++ b/Master/texmf-dist/doc/lualatex/novel/extras/srgb.icc diff --git a/Master/texmf-dist/doc/lualatex/novel/novel-documentation.html b/Master/texmf-dist/doc/lualatex/novel/novel-documentation.html index 0c2c53a38a2..3ed48889bf8 100644 --- a/Master/texmf-dist/doc/lualatex/novel/novel-documentation.html +++ b/Master/texmf-dist/doc/lualatex/novel/novel-documentation.html @@ -59,6 +59,7 @@ p.overhang {margin-left:32px; text-indent:-16px;} @media print { #toc {display:none;} #main {width:auto; float:none;} + div.codeblock p {text-indent:0px;} } </style> @@ -386,11 +387,13 @@ function showul(thisul){ </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 @@ function showul(thisul){ <!-- **************************************************************************************** --> <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 @@ In the chapters pertaining to transmontane trade and cultural exchange, I have t % 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 @@ Unfortunately, novelists of that era had so little to write about, or they would <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 @@ Unfortunately, novelists of that era had so little to write about, or they would <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 @@ Unfortunately, novelists of that era had so little to write about, or they would <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 @@ Unfortunately, novelists of that era had so little to write about, or they would <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"> diff --git a/Master/texmf-dist/doc/lualatex/novel/novel.tex b/Master/texmf-dist/doc/lualatex/novel/novel.tex index 84776b33cae..bea53360680 100644 --- a/Master/texmf-dist/doc/lualatex/novel/novel.tex +++ b/Master/texmf-dist/doc/lualatex/novel/novel.tex @@ -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 diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo b/Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo index 53df7ebe6b8..bcc426d8ff3 100644 --- a/Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo +++ b/Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo @@ -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. diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-CalculateLayout.sty b/Master/texmf-dist/tex/lualatex/novel/novel-CalculateLayout.sty index 61627aa2be6..2c0ea1d66be 100644 --- a/Master/texmf-dist/tex/lualatex/novel/novel-CalculateLayout.sty +++ b/Master/texmf-dist/tex/lualatex/novel/novel-CalculateLayout.sty @@ -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)] %% %% diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty b/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty index 01f6c8c813a..40510d2ff84 100644 --- a/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty +++ b/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty @@ -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@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@page - \clearpage - \thispagestyle{empty} - \null - \clearpage - \else - \clearpage - \thispagestyle{empty} - \null - \clearpage \thispagestyle{empty} \null \clearpage \fi + \thispagestyle{empty} + \null + \clearpage } % diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo b/Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo index 64c67a953b9..3c7ca9474cb 100644 --- a/Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo +++ b/Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo @@ -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. diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty b/Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty index 8c3592bc0fe..c67b4aaa52f 100644 --- a/Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty +++ b/Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty @@ -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)] %% diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty b/Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty index 9c82b9dc9ca..a0b15753e25 100644 --- a/Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty +++ b/Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty @@ -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)] %% diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty b/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty index 0b35f952a2c..9922200212e 100644 --- a/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty +++ b/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty @@ -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)] %% diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-HeadFootStyles.sty b/Master/texmf-dist/tex/lualatex/novel/novel-HeadFootStyles.sty index 5b616a14dab..111bac6fac8 100644 --- a/Master/texmf-dist/tex/lualatex/novel/novel-HeadFootStyles.sty +++ b/Master/texmf-dist/tex/lualatex/novel/novel-HeadFootStyles.sty @@ -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)] %% diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-Images.sty b/Master/texmf-dist/tex/lualatex/novel/novel-Images.sty index 4d7e6617d10..b7daf49a89c 100644 --- a/Master/texmf-dist/tex/lualatex/novel/novel-Images.sty +++ b/Master/texmf-dist/tex/lualatex/novel/novel-Images.sty @@ -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)] %% diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-JC200103.clo b/Master/texmf-dist/tex/lualatex/novel/novel-JC200103.clo index 3d6675907c0..9b11ba6cc4f 100644 --- a/Master/texmf-dist/tex/lualatex/novel/novel-JC200103.clo +++ b/Master/texmf-dist/tex/lualatex/novel/novel-JC200103.clo @@ -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. diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-LayoutSettings.sty b/Master/texmf-dist/tex/lualatex/novel/novel-LayoutSettings.sty index 4f02ac85a78..7040730ac11 100644 --- a/Master/texmf-dist/tex/lualatex/novel/novel-LayoutSettings.sty +++ b/Master/texmf-dist/tex/lualatex/novel/novel-LayoutSettings.sty @@ -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} diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty b/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty index a4c70f47651..df7dfdaad7d 100644 --- a/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty +++ b/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty @@ -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)] %% diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-glyphtounicode.tex b/Master/texmf-dist/tex/lualatex/novel/novel-glyphtounicode.tex index c33c34c7692..c773d74a706 100644 --- a/Master/texmf-dist/tex/lualatex/novel/novel-glyphtounicode.tex +++ b/Master/texmf-dist/tex/lualatex/novel/novel-glyphtounicode.tex @@ -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)] %% diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-microtype.cfg b/Master/texmf-dist/tex/lualatex/novel/novel-microtype.cfg index 89a37c9231a..333458827c7 100644 --- a/Master/texmf-dist/tex/lualatex/novel/novel-microtype.cfg +++ b/Master/texmf-dist/tex/lualatex/novel/novel-microtype.cfg @@ -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 diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty b/Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty index 329eb76351b..fd339a3370a 100644 --- a/Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty +++ b/Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty @@ -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. diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-xmppacket.sty b/Master/texmf-dist/tex/lualatex/novel/novel-xmppacket.sty index e125c9834a3..2a0cbe577ab 100644 --- a/Master/texmf-dist/tex/lualatex/novel/novel-xmppacket.sty +++ b/Master/texmf-dist/tex/lualatex/novel/novel-xmppacket.sty @@ -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)] %% diff --git a/Master/texmf-dist/tex/lualatex/novel/novel.cls b/Master/texmf-dist/tex/lualatex/novel/novel.cls index ab90ac76d26..9850031ccab 100644 --- a/Master/texmf-dist/tex/lualatex/novel/novel.cls +++ b/Master/texmf-dist/tex/lualatex/novel/novel.cls @@ -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. |