texlive[44215] Master/texmf-dist: novel (5may17)

commits+karl at tug.org commits+karl at tug.org
Sat May 6 00:49:55 CEST 2017


Revision: 44215
          http://tug.org/svn/texlive?view=revision&revision=44215
Author:   karl
Date:     2017-05-06 00:49:55 +0200 (Sat, 06 May 2017)
Log Message:
-----------
novel (5may17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/lualatex/novel/html-resources/novel-doc.css
    trunk/Master/texmf-dist/doc/lualatex/novel/novel-template.tex
    trunk/Master/texmf-dist/doc/lualatex/novel/novel.pdf
    trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-01-overview.html
    trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-02-class-options.html
    trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-03-metadata-pdfx.html
    trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-04-layout.html
    trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-05-fonts.html
    trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-06-header-footer.html
    trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-07-text-size-style.html
    trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-08-images.html
    trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-09-chapters-displays.html
    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/html-resources/example-adobergb.png
    trunk/Master/texmf-dist/doc/lualatex/novel/html-resources/example-cmyk238.png
    trunk/Master/texmf-dist/doc/lualatex/novel/html-resources/verified238.png
    trunk/Master/texmf-dist/doc/lualatex/novel/novel-cover-template.tex
    trunk/Master/texmf-dist/doc/lualatex/novel/novel-example.tex
    trunk/Master/texmf-dist/doc/lualatex/novel/novel.tex
    trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-10-cover-art.html

Added: trunk/Master/texmf-dist/doc/lualatex/novel/html-resources/example-adobergb.png
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/lualatex/novel/html-resources/example-adobergb.png
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/html-resources/example-adobergb.png	2017-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/html-resources/example-adobergb.png	2017-05-05 22:49:55 UTC (rev 44215)

Property changes on: trunk/Master/texmf-dist/doc/lualatex/novel/html-resources/example-adobergb.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/lualatex/novel/html-resources/example-cmyk238.png
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/lualatex/novel/html-resources/example-cmyk238.png
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/html-resources/example-cmyk238.png	2017-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/html-resources/example-cmyk238.png	2017-05-05 22:49:55 UTC (rev 44215)

Property changes on: trunk/Master/texmf-dist/doc/lualatex/novel/html-resources/example-cmyk238.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/lualatex/novel/html-resources/novel-doc.css
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/html-resources/novel-doc.css	2017-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/html-resources/novel-doc.css	2017-05-05 22:49:55 UTC (rev 44215)
@@ -2,9 +2,9 @@
 /* Style sheet for "novel" class documentation. */
 
 
-body {font-family:sans-serif; line-height:150%; background:#cccccc none;}
+body {font-family:sans-serif; line-height:150%; font-size:16pt; background:#cccccc none;}
 #master {position:relative;}
-#toc {width:30%; background:#ffffff none; position:fixed; overflow:scroll; height:98%;}
+#toc {font-size:14pt; width:30%; background:#ffffff none; position:fixed; overflow:scroll; height:98%;}
 #toc p {margin-left:8px; margin-top:8px; margin-bottom:8px; font-weight:bold; text-indent:0px;}
 #toc ul {list-style-type:none; margin-left:8px;}
 #toc li {list-style-type:none; margin-left:8px; margin-top:3px;}
@@ -32,6 +32,8 @@
 div.h6 {margin:0px 0px 16px 16px; padding-bottom:0.5em; border-left:1px dotted #666666; border-bottom: 1px dotted #666666;}
 div.pagetopage {float:right; border:1px solid #000000; margin-left:12px; margin-right:16px; margin-top:32px;}
 div.pagetopage p {text-indent:0px; margin:4px;}
+div.codeblock {overflow:auto; margin:16px; padding: 8px; border: 1px solid #000000;}
+div.codeblock p {text-indent:0px; white-space:nowrap;}
 p {font-family:serif;}
 pre, code {font-family:monospace,monospace; font-size:1em;}
 p, pre {margin: 0px 16px 0px 16px; text-indent: 16px;}

Added: trunk/Master/texmf-dist/doc/lualatex/novel/html-resources/verified238.png
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/lualatex/novel/html-resources/verified238.png
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/html-resources/verified238.png	2017-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/html-resources/verified238.png	2017-05-05 22:49:55 UTC (rev 44215)

Property changes on: trunk/Master/texmf-dist/doc/lualatex/novel/html-resources/verified238.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/lualatex/novel/novel-cover-template.tex
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/novel-cover-template.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/novel-cover-template.tex	2017-05-05 22:49:55 UTC (rev 44215)
@@ -0,0 +1,13 @@
+% !TeX program = LuaLaTeX
+% !TeX encoding = UTF-8
+\documentclass[coverart]{novel} % v. 1.2 or later
+\SetMediaSize{width}{height} % includes bleed
+\SetTrimSize{width}{height} % without bleed
+\SetTitle{example} % title required, might not be book title
+% \SetAuthor{you} % optional
+\SetPDFX[CGATSTR001]{X-1a:2001} % or whatever
+\SetCoverImage{yourimage-cmyk240.jpg} % CMYK jpg, if PDF/X-1a.
+% \SetApplication{whatever} % rarely used
+% \SetProducer{whatever} % rarely used
+\begin{document}\end{document} % nothing else in between
+


Property changes on: trunk/Master/texmf-dist/doc/lualatex/novel/novel-cover-template.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/lualatex/novel/novel-example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/novel-example.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/novel-example.tex	2017-05-05 22:49:55 UTC (rev 44215)
@@ -0,0 +1,135 @@
+% !TeX program = LuaLaTeX
+% !TeX encoding = UTF-8
+%
+% EXAMPLE OF NOVEL DOCUMENT CLASS
+% Uses mostly default layout.
+\documentclass{novel} % v. 1.1.1 or later
+\SetTitle{Dark and Stormy}
+\SetSubtitle{A Tale of Nights}
+\SetAuthor{Dirk Hardcase}
+\SetPDFX[CGATSTR001]{X-1a:2001}
+% This example document picks a \titlepagefont for the book's title,
+% depending on what you have installed. Not necessarily a good choice!
+\begin{document}
+
+\frontmatter
+
+% i. Half-Title page:
+\thispagestyle{empty}
+\vspace*{6\nbs}
+\hfill\charscale[1.8]{\textbf{Dark and}}\par
+\vspace{\nbs}
+\hfill\charscale[2.4]{\textbf{Stormy}}\par
+\clearpage
+
+% ii. Blank page:
+\thispagestyle{empty}
+\null
+\clearpage
+
+% iii. Full Title page:
+\thispagestyle{empty}
+\vspace*{5\nbs}
+\begin{center}
+\charscale[3.6]{\textbf{Dark and}}\par
+\vspace{2\nbs}
+\charscale[4.8]{\textbf{Stormy}}\par
+\vspace{1.5\nbs}
+\charscale[1.6]{A Tale of Nights}\par
+\vspace{4\nbs}
+\ChapterDeco[6]{\decoglyph{n9548}}
+\vspace{4\nbs}
+{\addfontfeature{Scale=3}\theAuthor}
+\vfill
+{\addfontfeature{Scale=1.25} Nonexistent Publications\\
+Anytown • Anyplace • Anywhere}\par
+
+\end{center}
+\clearpage
+
+
+% iv. Copyright page:
+\thispagestyle{empty}
+\begin{center}
+\itshape{
+\null
+\vfill
+Copyright ©2017 Dirk Hardcase.\par % Whichever year, copyright holder.
+All Rights Reserved.\par % Usually no need to be elaborate.
+\null
+This is a work of fiction.\\
+All persons and events are\\
+from the author's imagination.\\
+Resemblance to any real person,\\
+living or dead, is coincidental.\par % Or similar language.
+\null
+Printed on acid-free paper.\par % If true. Usually is true.
+Printed in the United States of America.\par % Or whichever nation.
+\null
+ISBN 0-12345678-9\par % Whatever it is. No barcode, just number.
+\null
+
+Published by Dirk Hardcase,\par % Publisher is you, not the print/distribution service.
+Anytown, Anystate USA\par % Publisher's location.
+www.example.com/dhardcase/publications/\par % Contact for publisher or author.
+\null
+Publisher's Cataloging-In-Publication Data\\
+available upon request.\par
+% Fiction often does not need catalog data.
+} % end itshape
+\end{center}
+\clearpage
+
+% v. Epigraph, Dedication, Table of Contents, or repeated Half-Title:
+\thispagestyle{empty}
+\vspace*{6\nbs}
+\hfill\charscale[1.8]{\textbf{Dark and}}\par
+\vspace{\nbs}
+\hfill\charscale[2.4]{\textbf{Stormy}}\par
+\clearpage
+
+% vi. Blank page:
+\thispagestyle{empty}
+\null
+\clearpage
+
+% Must use even number of pages in frontmatter.
+% Now to begin your story:
+\mainmatter
+
+% Chapter One:
+\begin{ChapterStart}
+\vspace*{3\nbs}
+\ChapterTitle{Chapter One}
+\end{ChapterStart}
+
+It was a dark and stormy night. Lord Withens rode his horse through the gloom, which was, as heretofore mentioned, dark. Most gloom is dark, eh wot?
+
+Moving right along, his horse arrived at the back door of Lady Wishintale's quarters. Sadly, Lord Withens was not on it, having slipped off his saddle along the way. That was because the weather was stormy.
+
+\lipsum
+
+% Chapter Two:
+\clearpage
+\begin{ChapterStart}
+\vspace*{3\nbs}
+\ChapterTitle{Chapter Two}
+\end{ChapterStart}
+
+The night was still dark and stormy. This should not be surprising, seeing as how only half an hour has elapsed since the first chapter. That information was necessary, in case you put the book down and haven't read any of it for the last two weeks.
+
+Lord Withens, wet and bruised, finally arrived at his destination. The reason he was wet was because, as has been noted, the weather was stormy. It was dark, too.
+
+\lipsum
+
+% Don't forget: The final page must be verso, and must be blank.
+\clearpage
+\thispagestyle{empty}
+\null
+% If necessary, insert an additional blank page, so that the total page count is even:
+\clearpage
+\thispagestyle{empty}
+\null
+
+\end{document}
+


Property changes on: trunk/Master/texmf-dist/doc/lualatex/novel/novel-example.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/lualatex/novel/novel-template.tex
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/novel-template.tex	2017-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/novel-template.tex	2017-05-05 22:49:55 UTC (rev 44215)
@@ -1,6 +1,6 @@
 % !TeX program = LuaLaTeX
 % !TeX encoding = UTF-8
-\documentclass{novel} % v. 1.1 or later
+\documentclass{novel} % v. 1.2 or later
 % You may put this wherever your installation keeps templates.
 % Many packages are pre-loaded. Nearly all settings are pre-configured.
 % Some popular user settings:

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

Added: trunk/Master/texmf-dist/doc/lualatex/novel/novel.tex
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/novel.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/novel.tex	2017-05-05 22:49:55 UTC (rev 44215)
@@ -0,0 +1,155 @@
+% !TeX program = LuaLaTeX
+% !TeX encoding = UTF-8
+%
+% SOURCE CODE FOR FILE novel.pdf, the cover info
+%   for novel document class.
+\documentclass{novel} % v. 1.2 or later
+% Almost all settings are defaults.
+\SetHeadFootStyle{3}
+\SetTitle{Novel Document Class} % only footer, with page number
+% Uncomment the following line, to compile as PDF/X for USA:
+% \SetPDFX[CGATSTR001]{X-1a:2001}
+\begin{document}
+\begin{ChapterStart}[14]
+\vspace{2\nbs} % \nbs is normal baselineskip
+\ChapterTitle{NOVEL}
+\null
+\ChapterSubtitle{A Document Class for the Rest of Us}
+\vspace{2.5\nbs}
+\ChapterDeco[4]{\decoglyph{r9554}}
+\null
+{\centering\textit{It was a dark and stormy night.}\par}
+\end{ChapterStart}
+
+The \emph{novel} document class is for writers of original fiction, to be
+printed to paper, with particular attention to the requirements of
+the print-on-demand market.
+
+If your work is an E-book, or uses color other than gray, or is
+academic writing, then this document class is not for you. Images
+are supported, but only as they might be used in fiction; so if your
+work is a picture book, this class is not for you.
+
+But if you are writing a detective novel, or science fiction, or a
+collection of short stories, then read on!
+
+\QuickChapter{1. Features}
+
+Throughout, it is assumed that the purpose of your writing is a
+commercially printed book of fiction.
+
+A new \emph{novel} is pre-configured to produce a standard trade book
+size of 5.5in W x 8.5in H, with layout margins that are likely to be
+acceptable to the most widely-used print services. The file now are
+now reading is in this format. But if that is not the size or layout you
+want, then there are commands that configure just about anything,
+using standard terminology and understandable purpose. Best of
+all, the HTML documentation comes with images and examples, so
+you know what you are doing.
+
+Almost everything is pre-configured to “just work,” even the
+choice of fonts. The chosen compiler is LuaLaTeX, and Open Type
+fonts are loaded using fontspec technology. If you prefer to use 
+a professional font, it will be easy to load and use in utf-8.
+
+Many standard LaTeX commands are disabled. This will be surprising
+at first. But \emph{novel} is focused on one thing only. Anything
+that might interfere with that purpose may have been tossed aside.
+So, be sure that you read the documentation! If you take an existing
+LaTeX document and just change the class to \emph{novel,} it is very
+unlikely to work as expected.
+
+Many new commands are provided. They are focused on the
+needs of print fiction writers, period. And, \emph{novel} has built-in PDF/X
+technology that exceeds the capabilities currently available via other
+LaTeX packages.
+
+\QuickChapter{2. Complete Documentation}
+
+What you are reading now, is only an introduction. The complete
+documentation is in HTML format, directly written
+in HTML rather than extracted from code. There are numerous
+examples and images, too detailed to be presented as PDF.
+
+\QuickChapter{3. Project Page}
+
+The novel code is hosted by GitHub:
+
+{\centering https://github.com/RobtAll/novel\par}
+
+There, you will find a complete novel (public domain text) in its
+source code and finished print-ready PDF. There may also be extras
+that are not part of the LaTeX code.
+
+A predecessor of this document class has actually been used for
+a commercially marketed print-on-demand novel.
+
+\QuickChapter{4. License}
+
+The LaTeX code, and accompanying documentation, is released
+under the LateX Project Public License, version 1.3c or later.
+
+The companion font \emph{NovelDeco.otf} is licensed under the SIL
+Open Font License, version 1.1.
+
+\QuickChapter{5. Version}
+
+The initial CTAN version was released February 28, 2017.
+Users should upgrade to the latest via their TeX package manager.
+
+\QuickChapter{6. Contact}
+
+If you find any bugs, and have a GitHub account, please raise an
+issue on the project page.
+
+Otherwise, the author’s e-mail address
+is shown near the top of the \emph{novel.cls} file, located in (your TeX
+distro)/tex/lualatex/novel.
+
+\QuickChapter{7. FAQs}
+
+\begin{adjustwidth}{\parindent}{0pt}
+\backindent\makebox[\parindent][l]{Q. }Can this document class be used for E-books?
+\end{adjustwidth}
+\begin{adjustwidth}{\parindent}{0pt}
+\backindent\makebox[\parindent][l]{A. }No. And, that feature will never be added, as the technology
+is inherently incompatible.
+\end{adjustwidth}
+
+\begin{adjustwidth}{\parindent}{0pt}
+\backindent\makebox[\parindent][l]{Q. }My thesis advisor told me---
+\end{adjustwidth}
+\begin{adjustwidth}{\parindent}{0pt}
+\backindent\makebox[\parindent][l]{A. }Stop right there. This document class is very different from
+anything used for theses and other academic publications.
+\end{adjustwidth}
+
+\begin{adjustwidth}{\parindent}{0pt}
+\backindent\makebox[\parindent][l]{Q. }If I use TikZ for Feynman diagrams, then---
+\end{adjustwidth}
+\begin{adjustwidth}{\parindent}{0pt}
+\backindent\makebox[\parindent][l]{A. }Go away.
+\end{adjustwidth}
+
+\begin{adjustwidth}{\parindent}{0pt}
+\backindent\makebox[\parindent][l]{Q. }When I woke up this morning, my head felt like a toddler had
+been pounding it in a sandbox. I rolled over and look at the mug shot
+on the wall. It was a woman in her forties with a drug habit that
+was bad, and an attitude that was even worse. She had seen better
+days, like the time I took her to the eighth grade sock hop. Then I
+got up, washed, and dragged my lonely butt down to the one-man
+detective agency that I jokingly called my means of living.
+You know what I mean?
+\end{adjustwidth}
+\begin{adjustwidth}{\parindent}{0pt}
+\backindent\makebox[\parindent][l]{A. }Yeah. Stick with me, kid. This document class is for you.
+\end{adjustwidth}
+
+\end{document}
+
+
+
+
+
+
+


Property changes on: trunk/Master/texmf-dist/doc/lualatex/novel/novel.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-01-overview.html
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-01-overview.html	2017-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-01-overview.html	2017-05-05 22:49:55 UTC (rev 44215)
@@ -139,7 +139,7 @@
 <div id="main">
 <a id="thetop"></a>
 <h1>Documentation for <code>novel</code> document class</h1>
-<p>Documentation version: 1.1.</p>
+<p>Documentation version: 1.2.</p>
 
 <div class="pagetopage">
 <p><b>User Guide</b></p>
@@ -154,6 +154,7 @@
 <p><a href="noveldocs-09-chapters-displays.html">9. Display, Start Pages;<br>
 <span style="visibility:hidden">9. </span>Chapters; Continued Pages;<br>
 <span style="visibility:hidden">9. </span>Footnotes, Endnotes.</a></p>
+<p><a href="noveldocs-10-cover-art.html">10. Cover Artwork</a></p>
 </div>
 
 

Modified: trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-02-class-options.html
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-02-class-options.html	2017-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-02-class-options.html	2017-05-05 22:49:55 UTC (rev 44215)
@@ -37,7 +37,7 @@
 <a id="thetop"></a>
 
 <h1>Documentation for <code>novel</code> document class</h1>
-<p>Documentation version: 1.1.</p>
+<p>Documentation version: 1.2.</p>
 
 
 <div class="pagetopage">
@@ -53,6 +53,7 @@
 <p><a href="noveldocs-09-chapters-displays.html">9. Display, Start Pages;<br>
 <span style="visibility:hidden">9. </span>Chapters; Continued Pages;<br>
 <span style="visibility:hidden">9. </span>Footnotes, Endnotes.</a></p>
+<p><a href="noveldocs-10-cover-art.html">10. Cover Artwork</a></p>
 </div>
 
 

Modified: trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-03-metadata-pdfx.html
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-03-metadata-pdfx.html	2017-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-03-metadata-pdfx.html	2017-05-05 22:49:55 UTC (rev 44215)
@@ -58,7 +58,7 @@
 <div id="main">
 <a id="thetop"></a>
 <h1>Documentation for <code>novel</code> document class</h1>
-<p>Documentation version: 1.1.</p>
+<p>Documentation version: 1.2.</p>
 
 
 <div class="pagetopage">
@@ -74,6 +74,7 @@
 <p><a href="noveldocs-09-chapters-displays.html">9. Display, Start Pages;<br>
 <span style="visibility:hidden">9. </span>Chapters; Continued Pages;<br>
 <span style="visibility:hidden">9. </span>Footnotes, Endnotes.</a></p>
+<p><a href="noveldocs-10-cover-art.html">10. Cover Artwork</a></p>
 </div>
 
 <a id="a3"></a>

Modified: trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-04-layout.html
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-04-layout.html	2017-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-04-layout.html	2017-05-05 22:49:55 UTC (rev 44215)
@@ -65,7 +65,7 @@
 <div id="main">
 <a id="thetop"></a>
 <h1>Documentation for <code>novel</code> document class</h1>
-<p>Documentation version: 1.1.</p>
+<p>Documentation version: 1.2.</p>
 
 
 <div class="pagetopage">
@@ -81,6 +81,7 @@
 <p><a href="noveldocs-09-chapters-displays.html">9. Display, Start Pages;<br>
 <span style="visibility:hidden">9. </span>Chapters; Continued Pages;<br>
 <span style="visibility:hidden">9. </span>Footnotes, Endnotes.</a></p>
+<p><a href="noveldocs-10-cover-art.html">10. Cover Artwork</a></p>
 </div>
 
 

Modified: trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-05-fonts.html
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-05-fonts.html	2017-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-05-fonts.html	2017-05-05 22:49:55 UTC (rev 44215)
@@ -78,7 +78,7 @@
 
 
 <h1>Documentation for <code>novel</code> document class</h1>
-<p>Documentation version: 1.1.</p>
+<p>Documentation version: 1.2.</p>
 
 <div class="pagetopage">
 <p><b>User Guide</b></p>
@@ -93,6 +93,7 @@
 <p><a href="noveldocs-09-chapters-displays.html">9. Display, Start Pages;<br>
 <span style="visibility:hidden">9. </span>Chapters; Continued Pages;<br>
 <span style="visibility:hidden">9. </span>Footnotes, Endnotes.</a></p>
+<p><a href="noveldocs-10-cover-art.html">10. Cover Artwork</a></p>
 </div>
 
 

Modified: trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-06-header-footer.html
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-06-header-footer.html	2017-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-06-header-footer.html	2017-05-05 22:49:55 UTC (rev 44215)
@@ -47,7 +47,7 @@
 
 <a id="a6"></a>
 <h1>Documentation for <code>novel</code> document class</h1>
-<p>Documentation version: 1.1.</p>
+<p>Documentation version: 1.2.</p>
 
 
 <div class="pagetopage">
@@ -63,6 +63,7 @@
 <p><a href="noveldocs-09-chapters-displays.html">9. Display, Start Pages;<br>
 <span style="visibility:hidden">9. </span>Chapters; Continued Pages;<br>
 <span style="visibility:hidden">9. </span>Footnotes, Endnotes.</a></p>
+<p><a href="noveldocs-10-cover-art.html">10. Cover Artwork</a></p>
 </div>
 
 

Modified: trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-07-text-size-style.html
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-07-text-size-style.html	2017-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-07-text-size-style.html	2017-05-05 22:49:55 UTC (rev 44215)
@@ -58,7 +58,7 @@
 
 
 <h1>Documentation for <code>novel</code> document class</h1>
-<p>Documentation version: 1.1.</p>
+<p>Documentation version: 1.2.</p>
 
 <div class="pagetopage">
 <p><b>User Guide</b></p>
@@ -73,6 +73,7 @@
 <p><a href="noveldocs-09-chapters-displays.html">9. Display, Start Pages;<br>
 <span style="visibility:hidden">9. </span>Chapters; Continued Pages;<br>
 <span style="visibility:hidden">9. </span>Footnotes, Endnotes.</a></p>
+<p><a href="noveldocs-10-cover-art.html">10. Cover Artwork</a></p>
 </div>
 
 

Modified: trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-08-images.html
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-08-images.html	2017-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-08-images.html	2017-05-05 22:49:55 UTC (rev 44215)
@@ -48,7 +48,7 @@
 <div id="main">
 <a id="thetop"></a>
 <h1>Documentation for <code>novel</code> document class</h1>
-<p>Documentation version: 1.1.</p>
+<p>Documentation version: 1.2.</p>
 
 <div class="pagetopage">
 <p><b>User Guide</b></p>
@@ -63,6 +63,7 @@
 <p><a href="noveldocs-09-chapters-displays.html">9. Display, Start Pages;<br>
 <span style="visibility:hidden">9. </span>Chapters; Continued Pages;<br>
 <span style="visibility:hidden">9. </span>Footnotes, Endnotes.</a></p>
+<p><a href="noveldocs-10-cover-art.html">10. Cover Artwork</a></p>
 </div>
 
 

Modified: trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-09-chapters-displays.html
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-09-chapters-displays.html	2017-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-09-chapters-displays.html	2017-05-05 22:49:55 UTC (rev 44215)
@@ -29,7 +29,7 @@
       <li><a href="#a9.1.5">9.1.5 Other Display Pages</a>
         <ul>
           <li><a href="#a9.1.5.1">9.1.5.1 Dedication</a></li>
-          <li><a href="#a9.1.5.2">9.1.5.2 Epigraph</a></li>
+          <li><a href="#a9.1.5.2">9.1.5.2 Epigraph - OBSOLETE</a></li>
           <li><a href="#a9.1.5.3">9.1.5.3 Table of Contents</a></li>
           <li><a href="#a9.1.5.4">9.1.5.4 Part Separator</a></li>
           <li><a href="#a9.1.5.5">9.1.5.5 Map or Illustration</a></li>
@@ -112,7 +112,7 @@
 <div id="main">
 <a id="a9"></a>
 <h1>Documentation for <code>novel</code> document class</h1>
-<p>Documentation version: 1.1.</p>
+<p>Documentation version: 1.2.</p>
 
 
 <div class="pagetopage">
@@ -128,6 +128,7 @@
 <p>9. Display, Start Pages;<br>
 <span style="visibility:hidden">9. </span>Chapters; Continued Pages;<br>
 <span style="visibility:hidden">9. </span>Footnotes, Endnotes.</p>
+<p><a href="noveldocs-10-cover-art.html">10. Cover Artwork</a></p>
 </div>
 
 
@@ -396,8 +397,12 @@
 
 
 <a id="a9.1.5.2"></a>
-<p class="h5"><b>9.1.5.2 Epigraph:</b> Not every book has an Epigraph page, but it is a very useful way to separate the Copyright Page from the beginning of your story, when you have nothing else to put in front matter. In this case, the Epigraph appears as page <code>v</code> (recto), usually with a blank verso, and then your story begins as main matter on the following recto.</p>
+<p class="h5"><b>9.1.5.2 Epigraph: OBSOLETE</b>
 
+<p style="color:#cc0000">Sometime between March and May 2017, either I changed something in the underlying code, or TeX changed something, that caused the Epigraph command to stop functioning. I have not been able to hunt it down yet. Unless and until you have a code version 1.3 or greater (current is 1.2), do not use the Epigraph command, and remove it from any prior documents. You can emulate it using the adjustwidth environment, and some other easy code.</p>
+
+<p>Not every book has an Epigraph page, but it is a very useful way to separate the Copyright Page from the beginning of your story, when you have nothing else to put in front matter. In this case, the Epigraph appears as page <code>v</code> (recto), usually with a blank verso, and then your story begins as main matter on the following recto.</p>
+
 <p>You can also include an Epigraph, even if your front matter has more material. An Epigraph may go on a recto or verso page. So, if you have Dedication (page <code>v</code>) you may place an Epigraph on page <code>vi</code>, if you wish; but it does not have to go there. It may even go on the final front matter page, facing the beginning of your story, provided that it is particularly well-suited to setting the mood, and is not distracting.</p>
 
 <p>The purpose of an Epigraph is to set the mood for your own story. Perhaps it will give a hint of the genre, or of the theme. Or it may be pretentious, by implying that your own work can be compared to the famous work cited. Or, the Epigraph may quote from a fictional work. For example, if your story is sword-and-sorcery set in ancient China, you might quote from the imaginary <em>Grimoire of Wong Dung</em>. You may even quote from your own book: J.R.R. Tolkien's Epigraph for each book of his <em>Lord of the Rings</em> trilogy was the longer form of the ring's inscription.</p>

Added: trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-10-cover-art.html
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-10-cover-art.html	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-10-cover-art.html	2017-05-05 22:49:55 UTC (rev 44215)
@@ -0,0 +1,226 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8">
+<title>Novel class documentation - Cover Artwork, CMYK 240 percent ink, PDF/X</title>
+<link rel="stylesheet" type="text/css" href="html-resources/novel-doc.css">
+</head>
+
+<body>
+<div id="master">
+
+
+<div id="toc">
+
+<p>Document class "novel"</p>
+
+<p><a href="#a10">Cover Artwork;<br>
+CMYK 240% Ink Limit;<br>
+PDF/X Compliance</a></p>
+
+<ul>
+
+  <li><a href="#a10.1">10.1 Begin With PNG</a></li>
+  <li><a href="#a10.2">10.2 Get Some Software</a></li>
+  <li><a href="#a10.3">10.3 Convert to CMYK 240% Ink</a></li>
+  <li><a href="#a10.4">10.4 Convert to PDF/X</a></li>
+  <li><a href="#a10.5">10.5 Final Check</a></li>
+
+</ul>
+
+<p> </p>
+</div><!-- end toc -->
+
+
+
+<div id="main">
+<a id="a10"></a>
+<h1>Documentation for <code>novel</code> document class</h1>
+<p>Documentation version: 1.2.</p>
+
+
+<div class="pagetopage">
+<p><b>User Guide</b></p>
+<p><a href="noveldocs-01-overview.html">1. Overview</a></p>
+<p><a href="noveldocs-02-class-options.html">2. Class Options</a></p>
+<p><a href="noveldocs-03-metadata-pdfx.html">3. Metadata, PDF/X</a></p>
+<p><a href="noveldocs-04-layout.html">4. Page Layout</a></p>
+<p><a href="noveldocs-05-fonts.html">5. Choosing Fonts</a></p>
+<p><a href="noveldocs-06-header-footer.html">6. Headers, Footers</a><br>
+<p><a href="noveldocs-07-text-size-style.html">7. Text Sizes, Styles</a></p>
+<p><a href="noveldocs-08-images.html">8. Using Images</a></p>
+<p><a href="noveldocs-09-chapters-displays.html">9. Display, Start Pages;<br>
+<span style="visibility:hidden">9. </span>Chapters; Continued Pages;<br>
+<span style="visibility:hidden">9. </span>Footnotes, Endnotes.</a></p>
+<p>10. Cover Artwork</p>
+</div>
+
+
+
+<h2 style="clear:none">Cover Artwork, CMYK 240% Ink Limit;<br>
+PDF/X Compliance</h2>
+
+<p>This page 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>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.</p>
+
+<p>DO NOT PLACE A BARCODE. Create the required white rectangle, where the barcode will go. Almost every print service is willing to create the barcode from your ISBN, and place the barcode image into your PDF during post-processing. Some of them even demand that they do it themselves. Do-it-yourself barcodes are incompatible with the following instructions.</p>
+
+<p><b>DISCLAIMER:</b> This documentation, and its accompanying software, is offered AS-IS, WITHOUT WARRANTY EXPRESS OR IMPLIED. USE ONLY AT YOUR OWN RISK. The author is an amateur who does not profess expertise in these matters.</p>
+
+
+
+<a id="a10.1"></a>
+<h3>10.1 Begin With PNG</h3>
+
+<p>Create your artwork, including all text (but not barcode or barcode text) using whatever means you have. How you do it is not relevant. To follow these instructions, you must provide the artwork as a flattened (no transparency) PNG format image, at correct size (including bleed area) and resolution (dpi).</p>
+
+<p style="margin-top:8px"><b>Example:</b> Suppose your book is 5.5" x 8.5" softcover, a typical size for American fiction. Based on its page count and paper, you are told that the spine width must be 0.62". The required beed width, on all four sides, must be 0.125".</p>
+
+<p>Then, the image is 0.125 + 5.5 + 0.62 + 5.5 + 0.125 = 11.87in wide.</p>
+
+<p>The image is 0.125 + 8.5 + 0.125 = 8.75in high.</p>
+
+<p>At 300dpi resolution (a typical value) the image must be 11.87 x 300 = 3561 picels wide, and 8.75 x 300 = 2625 pixels high. In case of fractional pixels, round upward. The exact pixel count is important.</p>
+
+<p style="margin-top:8px"><img src="html-resources/example-adobergb.png" class="floatright" width="445" height="328" alt="example rgb image"> It is best to use the AdobeRGB1998 color workspace, or equivalent. But you can also use sRGB, or equivalent, and in many cases you will not notice much difference. It is helpful to attach (embed) the workspace color profile in your PNG image, especially if it is something other than AdobeRGB1998 or sRGB. Note that the workspace is NOT the color profile of your monitor (if you have it). If you do not attach (embed) the workspace color profile, then remember whether you were using AdobeRGB1998 or sRGB. If you make a mistake here, it is not fatal. It merely means that some colors (particularly bright greens and blue-greens) will print somewhat brighter or duller than you were expecting.</p>
+
+<p>When done, export it as a flattened PNG. An example image of this size can be found in the EXTRAS/novel-coverart-demo folder of the author's <a href="https://github.com/RobtAll/novel/" rel="external" target="new">GitHub site</a>.</p>
+
+<p>If you are provided with an image other than PNG, you have to convert it to PNG. No alternative. It is easy enough to use GIMP to convert most image formats. If you have a PDF (which is not already in the required format), GIMP can probably open it as an image. Be sure you import it with the correct resolution. Again, the pixel width and height are important.</p>
+
+
+<a id="a10.2"></a>
+<h3>10.2 Get Some Software</h3>
+
+<p>You need the 238% 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.</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 <p>Windows"). I am told that there is a different link for Mac, but I don't have a Mac.</p>
+
+<p>Get GraphicsMagick. On Linux, you can install it via your system package manager. On Windows, get the 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.</p>
+
+
+
+<a id="a10.3"></a>
+<h3>10.3 Convert Your Image to CMYK at 240% Ink Limit</h3>
+
+<p><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 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 style="margin-top:16px"><b>Step 1:</b> Open a Terminal (Command Prompt) and navigate to that folder. In the following commands, the initial "gm" calls GraphicsMagick. Code:</p>
+
+<div class="codeblock">
+<p><code>gm convert yourimage.png embedded.icc</code></p>
+</div>
+
+<p>The above command may return the message "No color profile available" and generate a zero-byte embedded.icc file. Not a problem. Discard the zero-byte file. But if it generates a non-zero embedded.icc file, keep it.</p>
+
+<p style="margin-top:16px"><b>Step 2:</b> Next (note the file extensions):</p>
+
+<div class="codeblock">
+<p><code>gm convert -strip yourimage.png yourimage-stripped.tif</code></p>
+</div>
+
+<p style="margin-top:16px"><b>Step 3:</b> At this point, there are three possibilities:</p>
+
+<p>(a) 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>
+</div>
+
+<p>(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>
+</div>
+
+<p>(c) Neither of the above. The image is probably sRGB (default), so:</p>
+
+<div class="codeblock">
+<p><code>gm convert -profile 238.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">
+<p><code>gm mogrify -strip yourimage-temp.tif</code></p>
+</div>
+
+<p style="margin-top:16px"><b>Step 5:</b> And finally:</p>
+
+<div class="codeblock">
+<p><code>gm convert -units PixelsPerInch -density 300 -quality 100 yourimage-temp.tif yourimage-cmyk240.jpg</code></p>
+</div>
+
+<p style="margin-top:16px"><b>Step 6:</b> Now verify your work:</p>
+
+<div class="codeblock">
+<p><code>gm identify -verbose yourimage-cmyk-240.jpg</code></p>
+</div>
+
+<p>The report should show that the image is CMYK, that it is at 300 pixels/inch, and that there is NO entry for "Profile-color". It will not have anything to say about ink limit, or SWOP.</p>
+
+
+
+
+<a id="a10.4"></a>
+<h3>10.4 Convert your CMYK Image to PDF/X.</h3>
+
+<p>Up to now, you did not need TeX. Now you do. Be sure that you have a working TeX installation, with the <em>novel</em> document class package.</p>
+
+<p>In folder (your TeX root)/doc/lualatex/novel you will find file "novel-coverart-template.tex". Place a copy in the same working folder as your image, and modify it as needed.</p>
+
+<p><code>\SetMediaSize</code> refers to the full size of the image, with units (usually in). This includes the bleed box. For the example image, <code>\SetMediaSize{11.87in}{8.75in}</code>.</p>
+
+<p><code>\SetTrimSize</code> refers to the trimmed image, without bleed. For the example image, <code>\SetTrimSize{11.62in}{8.5in}</code>.</p>
+
+<p><code>\SetPDFX[CGATSTR001]{X-1a:2001}</code> will get you "Us Web Coated SWOP v2" output intent (most common the USA), and PDF/X-1a:2001 compliance. The Output Intent *.icc color profile will NOT be embedded, because this is almost always the way that print services want it. The PDF contains a code identifying the intent, so there is no need to embed the color profile (and disadvantages to embedding it). In the unlikely event that they demand the Output Intent color profile embedded, put an asterisk on the command.</p>
+
+<p>For compliance you need to use <code>\SetTitle</code>. The title for this file might not be the title of your book, because this file isn't your book. Ask you print service what they want. Same with <code>\SetAuthor</code>.</p>
+
+<p>You can use <code>\SetApplication</code> and <code>\SetProducer</code> to change internal identifiers. Don't use these unless you have a reason.</p>
+
+<p><code>\SetCoverImage</code> is self-explanatory. Must have file extension jpg, jpeg, JPG, or JPEG. Must be CMYK. Note that TeX cannot verify whether the image is in correct color space. It will compile, even if the image is wrong. Beware!</p>
+
+<p>Do not attempt to write anything between <code>\begin{document}</code> and <code>\end{document}</code>. If you erroneously put something there, the document will probably compile, and it may even be a valid PDF/X file. However, the resulting color will almost surely be wrong. If so, the problem will be detected when you submit your file (wrong ink limit or color space).</p>
+
+<p>Compiling may take a little longer than expected. If your TeX system opens a PDF viewer automatically, the image might be missing (or partial) until a few seconds after the viewer opens. Be patient.</p>
+
+
+
+<a id="a10.5"></a>
+<h3>10.5 Final Check</h3>
+
+<p>Open the PDF in Adobe Reader, which does a trick that no other free software will do, to my knowledge. If your platform does not have Adobe Reader, then find a friend who has it. May be a different platform.</p>
+
+<p>In Adobe Reader, go to Edit, Preferences, Documents. Check "Save As optimizes for fast web view." Then go to Edit, Preferences, Page Disaply. Check "Show art, trim, and bleed boxes." Then OK.</p>
+
+<p>Open your PDF. You should see a light green box, just inside the image boundary. This shows the Trim Area. This box does not print; it is only for visualization. Go to File, Properties, Fonts. There should be no fonts listed.</p>
+
+<p>Then, "Save As" the same file name (or another one, if you prefer). This will optimize the file. You probably do not need to do that, but it does not hurt, and a few services expect it.</p>
+
+<p><b>Remember the Disclaimer!</b> Your PDF file should now be ready for submission. Only "should," not "is," because this documantation and its accompanying software comes without warranty. Submit at your own risk!</p>
+
+<p>All I can say is that it "works for me":</p>
+
+<p class="centerimg"><img src="html-resources/verified238.png" width="700" height="446" alt="works for me"></p>
+
+
+
+
+
+</div><!-- end main -->
+
+<div id="finish"></div>
+
+</div><!-- end master -->
+
+</body>
+</html>
+


Property changes on: trunk/Master/texmf-dist/doc/lualatex/novel/noveldocs-10-cover-art.html
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo	2017-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-CGATSTR001.clo	2017-05-05 22:49:55 UTC (rev 44215)
@@ -1,4 +1,4 @@
-% Typically used in the USA. Novel file version 1.1
+% Typically used in the USA. Novel file version 1.2
 
 % 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-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-CalculateLayout.sty	2017-05-05 22:49:55 UTC (rev 44215)
@@ -12,7 +12,7 @@
 %% 
 %%
 \ProvidesFile{novel-CalculateLayout.sty}%
-[2017/04/12 v1.1 LaTeX file (layout calculations)]
+[2017/05/04 v1.2 LaTeX file (layout calculations)]
 %%
 
 
@@ -672,7 +672,6 @@
 %% end cropmarks
 
 
-
 %%
 %% End of file `novel-CalculateLayout.sty'.
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty	2017-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty	2017-05-05 22:49:55 UTC (rev 44215)
@@ -13,7 +13,7 @@
 %% 
 %%
 \ProvidesFile{novel-ChapterScene.sty}%
-[2017/04/12 v1.1 LaTeX file (chapter and scene macros)]
+[2017/05/04 v1.2 LaTeX file (chapter and scene macros)]
 %%
 
 
@@ -181,112 +181,7 @@
 %%
 
 
-%% \Epigraph[align,scale,width]{text}
-%% Not to be confused with lowercase \epigraph from package of same name.
-%%
-% \Epigraph takes one optional argument, which will be parsed for
-%   comma-separated values. You may use one, two, or all three values.
-% First value is l, c, or r. Position of Epigraph in the textblock. Default c.
-%   If l or c, the text within the Epigraph is either left-aligned or justified,
-%   depending on whether the third value is given. Note that value c does not
-%   center each line of the Epigraph; if that is what you want, then simply
-%   use the centering command. If first value is r, text is right-aligned.
-% Second value, if given, changes the text size and internal baseline skip.
-%   Thus, the text will go off-grid, but that's OK for the purpose.
-%   The second value is a number, being scale relative to normal font size.
-%   Default is 1. A good value for chapter displays might be around 0.92,
-%   equivalent to about 1pt smaller text size (and skip) than normal.
-%   A front page, near the book title, might use a value greater than 1.
-% If no third value is given, the macro uses the tabular environment to set
-%   ragged text at its natural width. Good for verse in particular.
-%   If a third value is given, it must be a number that does not exceed 1.
-%   This is the portion of textwidth that will be used. Within the Epigraph,
-%   text will be justified to the specified width. So, for example, using 0.5
-%   creates a justified Epigraph as half the textwidth. Its position will be
-%   determined by the first value, l, c, or r.
-% The mandatory text argument is the Epigraph, as well as its attribution.
-%   More than one paragraph is permitted.
-%   Use ordinary \\ and \par for breaks. You will need to use either \par
-%   or \\\par before the attribution. Use \hfill to shift the attribution to
-%   the right edge of the Epigraph.
-%   The text may be styled with the usual simple commands such as \emph{}.
-% There is no provision for a horizontal line.
-% If used on a stand-alone page, or in the ChapterStart environment,
-%   then the vertical extent of the Epigraph does not much matter.
-% If mingled with main text (not recommended) you may have to correct
-%   the line grid using some amount of \vspace{}. That's your problem.
-%
-\newcommand\Epigraph[2][c]{% note capital E
-  \vspace{-\nbs}
-  \StrDel{#1}{ }[\@onens]
-  \StrCut{\@onens}{,}{\@onealigna}{\@onemore}
-  \StrCut{\@onemore}{,}{\@onefsa}{\@onewsa}
-  \ifthenelse{\equal{\@onealigna}{c}\OR\equal{\@onealigna}{}}{\def\@onealign{c}}{\def\@onealign{\@onealigna}}
-  \ifthenelse{\equal{\@onealign}{c}\OR\equal{\@onealign}{l}\OR\equal{\@onealign}{r}}{}{%
-    \ClassError{novel}{Wrong syntax in \string\epigraph\space on page \string\thepage}%
-    {Optional argument of \string\epigraph\space must begin with l, c, or r.}%
-  }
-  \IfEndWith{\@onefsa}{.}{\StrGobbleRight{\@onefsa}{1}[\@onefsb]}{\def\@onefsb{\@onefsa}}
-  \IfEndWith{\@onewsa}{.}{\StrGobbleRight{\@onewsa}{1}[\@onewsb]}{\def\@onewsb{\@onewsa}}
-  \ifthenelse{\equal{\@onefsb}{}}{\def\@onefs{1}}{\def\@onefs{\@onefsb}}
-  \IfDecimal{\@onefs}{}{%
-    \ClassError{novel}{Wrong syntax in \string\epigraph\space on page \string\thepage}%
-    {Optional argument of \string\epigraph\space cannot be parsed for number(s).}%
-  }
-  \ifthenelse{\equal{\@onewsb}{}}{\def\@onews{-1}}{\def\@onews{\@onewsb}}
-  \IfDecimal{\@onews}{}{%
-    \ClassError{novel}{Wrong syntax in \string\epigraph\space on page \string\thepage}%
-    {Optional argument of \string\epigraph\space cannot be parsed for number(s).}%
-  }
-  %
-  \ifthenelse{\equal{\@onews}{-1}}{% ragged text, no particular width
-    \begin{parascale}[\@onefs]
-    \ifthenelse{\equal{\@onealign}{c}}{\begin{center}\begin{tabular}{l}}{}%
-    \ifthenelse{\equal{\@onealign}{l}}{\begin{tabular}{l}}{}%
-    \ifthenelse{\equal{\@onealign}{r}}{\hfill\begin{tabular}{r}}{}%
-    \ifvmode\else\unskip\fi#2\par
-    \ifthenelse{\equal{\@onealign}{r}}{\end{tabular}}{}%
-    \ifthenelse{\equal{\@onealign}{l}}{\end{tabular}}{}%
-    \ifthenelse{\equal{\@onealign}{c}}{\end{tabular}\end{center}}{}%
-    \end{parascale}\par
-  }{% justified text at specified width fraction
-    %
-    \newlength\@thistw
-    \setlength\@thistw{\@onews\textwidth}
-    \newlength\@exctw
-    \setlength\@exctw{\textwidth}
-    \addtolength\@exctw{-\@thistw}
-    %
-    \ifthenelse{\equal{\@onealign}{l}}{%
-      \begin{adjustwidth}{0pt}{\@exctw}
-      \setlength\parindent{0pt}
-      \ifvmode\else\unskip\fi#2\par
-      \end{adjustwidth}\par
-    }{}
-    %
-    \ifthenelse{\equal{\@onealign}{r}}{%
-      \begin{adjustwidth}{\@exctw}{0pt}
-      \setlength\parindent{0pt}
-      \ifvmode\else\unskip\fi#2\par
-      \end{adjustwidth}\par
-    }{}
-    %
-    \ifthenelse{\equal{\@onealign}{c}}{%
-      \begin{adjustwidth}{0.5\@exctw}{0.5\@exctw}
-      \setlength\parindent{0pt}
-      \ifvmode\else\unskip\fi#2\par
-      \end{adjustwidth}\par
-    }{}
-    %
-  }% end ifthenelse
-  %
-} % end \Epigraph
-%%
-\providecommand\epigraph{% to avoid confusion with epigraph package
-  \ClassError{novel}{No command \string\epigraph. Try \string\Epigraph}%
-   {The `novel' built-in \string\Epigraph\space command uses capital E.}%
-}
-%%
+%% \Epigraph[align,scale,width]{text} OBSOLETE IN CODE VERSION 1.2
 
 
 %% \QuickChapter[line style]{text} intended for a story consisting of numerous

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo	2017-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-FOGRA39.clo	2017-05-05 22:49:55 UTC (rev 44215)
@@ -1,4 +1,4 @@
-% Typically used in Europe.  Novel file version 1.1
+% Typically used in Europe.  Novel file version 1.2
 
 % 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-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-FileData.sty	2017-05-05 22:49:55 UTC (rev 44215)
@@ -13,7 +13,7 @@
 %% 
 %%
 \ProvidesFile{novel-FileData.sty}%
-[2017/04/12 v1.1 LaTeX file (File Data settings)]
+[2017/05/04 v1.2 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-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-FontDefaults.sty	2017-05-05 22:49:55 UTC (rev 44215)
@@ -13,7 +13,7 @@
 %% 
 %%
 \ProvidesFile{novel-FontDefaults.sty}%
-[2017/04/12 v1.1 LaTeX file (default fonts)]
+[2017/05/04 v1.2 LaTeX file (default fonts)]
 %%
 
 
@@ -74,7 +74,7 @@
 %   that the user attempted to set the main font using ordinary TeX commands,
 %   or via fontspec's \setmainfont. But those are ineffective in this class,
 %   because without \SetParentFont the prior command will be over-written.
-\ifthenelse{\equal{\rmdefault}{lmr}}{}{%
+\ifthenelse{\equal{\rmdefault}{\@noveloldrmdefault}}{}{%
   \ClassWarning{novel}{^^JBIG BAD WARNING:^^J%
   You attempted to define the main document font using a command such as^^J%
   \string\renewcommand\string\rmdefault\space or \string\usepackage{font}^^J%
@@ -105,6 +105,8 @@
 \fi
 % Now we are ready to set the main font:
 \setmainfont[\@parentfontfeatures]{\@parentfontname}
+\let\textfont\rmfamily\relax % compatibility
+\let\mainfont\rmfamily\relax % compatibility
 %
 %%
 \defaultfontfeatures{} % reset
@@ -194,7 +196,8 @@
 % The novel-specific display fonts use these defaults:
 \defaultfontfeatures{%
   SmallCapsFeatures={Renderer=Basic},%
-  Ligatures=TeX,%
+  Ligatures=TeX,
+  Kerning=On,%
 }%
 %
 %%

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty	2017-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty	2017-05-05 22:49:55 UTC (rev 44215)
@@ -13,7 +13,7 @@
 %% 
 %%
 \ProvidesFile{novel-Footnotes.sty}%
-[2017/04/12 v1.1 LaTeX file (commands for footnotes and endnotes)]
+[2017/05/04 v1.2 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-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-HeadFootStyles.sty	2017-05-05 22:49:55 UTC (rev 44215)
@@ -13,7 +13,7 @@
 %% 
 %%
 \ProvidesFile{novel-HeadFootStyles.sty}%
-[2017/04/12 v1.1 LaTeX file (header and footer styles)]
+[2017/05/04 v1.2 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-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-Images.sty	2017-05-05 22:49:55 UTC (rev 44215)
@@ -13,7 +13,7 @@
 %% 
 %%
 \ProvidesFile{novel-Images.sty}%
-[2017/04/12 v1.1 LaTeX file (image placement)]
+[2017/05/04 v1.2 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-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-JC200103.clo	2017-05-05 22:49:55 UTC (rev 44215)
@@ -1,4 +1,4 @@
-% Typically used in Japan. Novel file version 1.1
+% Typically used in Japan. Novel file version 1.2
 
 % 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-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-LayoutSettings.sty	2017-05-05 22:49:55 UTC (rev 44215)
@@ -13,7 +13,7 @@
 %% 
 %%
 \ProvidesFile{novel-LayoutSettings.sty}%
-[2017/04/12 v1.1 LaTeX file (layout settings)]
+[2017/05/04 v1.2 LaTeX file (layout settings)]
 %%
 
 
@@ -101,6 +101,10 @@
 %
 % Retroactively change Trim Size after layout. See documentation:
 \newcommand\ReworkTrimSize[2]{%
+  \if at coverart % New in version 1.2
+  \ClassError{novel}{Rework command cannot be used with coverart option}%
+  {Instead of reworking document size, you must re-do the artwork.}
+  \else
     \global\@ReworkTrimSettrue
     \setlength\New at TrimWidth{#1}%
     \setlength\New at TrimHeight{#2}%
@@ -110,6 +114,7 @@
      Used \string\ReworkTrimSize{}{} command.^^J%
      Carefully review your PDF to ensure that line breaks, paragraphs,^^J%
      and page breaks are where you expect them to be.^^J}%
+  \fi
 }
 % Margins at top and bottom are relative to:
 %   top of header, or top of textblock if no header;
@@ -133,6 +138,10 @@
 }
 % Retroactively change margins after layout. See documentation:
 \newcommand\ReworkMargins[4]{
+  \if at coverart % New in version 1.2
+  \ClassError{novel}{Rework command cannot be used with coverart option}%
+  {Instead of reworking document size, you must re-do the artwork.}
+  \else
   \global\@ReworkMarginsSettrue
   \setlength\New at TopMargin{#1}
   \setlength\New at OutsideMargin{#2}
@@ -142,6 +151,7 @@
    Used \string\ReworkMargins{}{} command.^^J%
    Carefully review your PDF to ensure that line breaks, paragraphs,^^J%
    and page breaks are where you expect them to be.^^J}%
+  \fi
 }
 % \SetMediaSize[]{}{} such as {8.5in}{11in}.
 %   This command is only used when the Trim Size must be placed in a larger
@@ -164,7 +174,9 @@
     \ClassError{novel}{Bad optional argument for \string\SetMediaSize}%
     {\string\SetMediaSize\space optional argument must be `center' or `edge'.}%
   }
-  \ifthenelse{\equal{#1}{edge}}{\@offcenterTrimtrue}{}
+  \if at coverart\else % new in version 1.2
+    \ifthenelse{\equal{#1}{edge}}{\global\@offcenterTrimtrue}{}
+  \fi
 }
 % \SetLinesPerPage{} limited due to fontsize and Trim Size constraints.
 % There is no `rework' command, because as long as the number of lines fit,
@@ -216,9 +228,16 @@
 \SetHeadJump{1.5} % default
 \gdef\SetFootJump#1{\gdef\@footjump{#1}}
 \SetFootJump{1.5} % default
-% See docs part 7 for available style choices:
-\gdef\SetHeadFootStyle#1{\gdef\my at HeadFootStyle{#1}}
-\gdef\SetHeadStyle#1{\gdef\my at HeadFootStyle{#1}} % deprecated
+% New in version 1.2, coverart.
+\if at coverart % cover art has no header or footer
+  \gdef\SetHeadFootStyle#1{\gdef\my at HeadFootStyle{0}}
+  \gdef\SetHeadStyle#1{\gdef\my at HeadFootStyle{0}} % deprecated
+  \SetHeadFootStyle{0}
+\else
+  % See docs part 7 for available style choices:
+  \gdef\SetHeadFootStyle#1{\gdef\my at HeadFootStyle{#1}}
+  \gdef\SetHeadStyle#1{\gdef\my at HeadFootStyle{#1}} % deprecated
+\fi
 % See docs part 7 for what these emblems do, if used:
 \newcommand\SetEmblems[2]{ % verso, recto
   \gdef\my at VersoEmblem{{\headfont #1}}
@@ -310,7 +329,24 @@
 %% End reserve space for header/footer and set default ChapterStart
 
 
+%% New in version 1.2: cover image.
+\newcommand\SetCoverImage[1]{
+  \def\coverimageok{false}
+  \IfSubStr{#1}{jpg}{\def\coverimageok{true}}{}
+  \IfSubStr{#1}{jpeg}{\def\coverimageok{true}}{}
+  \IfSubStr{#1}{JPG}{\def\coverimageok{true}}{}
+  \IfSubStr{#1}{JPEG}{\def\coverimageok{true}}{}
+  \ifthenelse{\equal{\coverimageok}{true}}{%
+    \gdef\novelcoverimage{#1}
+  }{%
+    \ClassError{novel}{Cover image has wrong file extension}%
+    {Cover image must be jpg, JPG, jpeg, or JPEG.}
+  }%
+}
 %%
+
+
+%%
 \newtoggle{@usesymbolmark} % true when footnote markers are symbolic
 \newtoggle{@realmarker} % true when OT features sups, sinf, subs requested
 %
@@ -459,6 +495,7 @@
 %% Prior to v. 1.1, parentfont was known as masterfont. Backwards compatible.
 %
 \providecommand\rmdefault{lmr} % should be lmr anyway, at this point.
+\let\@noveloldrmdefault\rmdefault % stored for later comparison.
 % The `no-math' option prevents fontspec from tracking certain font changes.
 % This is probably necessary, since novel does some of its own font tracking:
 \RequirePackage[no-math]{fontspec} % For LuaLaTeX. NOT package `fontenc'.
@@ -666,6 +703,7 @@
     but you do not need all of them.^^J}%
   \fi
   \WithinFrontmattertrue\WithinMainmatterfalse\WithinBackmatterfalse
+  \clearpage
   \pagenumbering{roman}
   \setcounter{page}{1}
   \setcounter{frontmatterpages}{1}

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty	2017-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty	2017-05-05 22:49:55 UTC (rev 44215)
@@ -13,7 +13,7 @@
 %% 
 %%
 \ProvidesFile{novel-TextMacros.sty}%
-[2017/04/12 v1.1 LaTeX file (text macros usable within document body)]
+[2017/05/04 v1.2 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-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-glyphtounicode.tex	2017-05-05 22:49:55 UTC (rev 44215)
@@ -14,7 +14,7 @@
 %% 
 %%
 \ProvidesFile{novel-gyphtounicode.tex}%
-[2017/04/12 v1.1 LaTeX file (additional glyph to unicode)]
+[2017/05/04 v1.2 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-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-microtype.cfg	2017-05-05 22:49:55 UTC (rev 44215)
@@ -19,7 +19,7 @@
 %%
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{novel-microtype.cfg}
-  [2017/04/212 v1.1 LaTeX file (microtype configuration file for novel class)]
+  [2017/05/04 v1.2 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-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-pdfx.sty	2017-05-05 22:49:55 UTC (rev 44215)
@@ -24,7 +24,7 @@
 %%
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{novel-pdfx.sty}
-  [2017/04/12 v1.1 LaTeX file (PDF/X support for novel class)]
+  [2017/05/04 v1.2 LaTeX file (PDF/X support for novel class)]
 % This package supports, and is part of, class `novel'.
 % No support for anything but LuaLaTeX.
 
@@ -133,8 +133,15 @@
   /TrimBox[\my at TWorigin\space\my at THorigin\space\my at TWcorner\space\my at THcorner]%
 }
 %
+% New in version 1.2: BleedBox, only for cover art. Same size as MediaBox.
+\newcommand\novel at BleedBox{%
+  \if at coverart%
+   /BleedBox[0\space0\space\my at MWnum\space\my at MHnum]%
+  \else\fi%
+}
+%
 \begingroup\edef\next{%
-\endgroup\pdfpageattr{\novel at CropBox^^J\novel at TrimBox}}\next
+\endgroup\pdfpageattr{\novel at CropBox^^J\novel at BleedBox^^J\novel at TrimBox}}\next
 %
 %% End calculate and specify TrimBox.
 

Modified: trunk/Master/texmf-dist/tex/lualatex/novel/novel-xmppacket.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/novel/novel-xmppacket.sty	2017-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel-xmppacket.sty	2017-05-05 22:49:55 UTC (rev 44215)
@@ -22,7 +22,7 @@
 %%
 %%
 \ProvidesFile{novel-xmppacket.sty}%
-[2017/04/12 v1.1 LaTeX file (novel XMP packet template)]
+[2017/05/04 v1.2 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-05-05 22:49:00 UTC (rev 44214)
+++ trunk/Master/texmf-dist/tex/lualatex/novel/novel.cls	2017-05-05 22:49:55 UTC (rev 44215)
@@ -14,7 +14,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
 % Actually needs LuaLaTeX, at least version 0.95 from TeXLive 2016.
-\ProvidesClass{novel}[2017/04/12 v1.1 LaTeX document class]
+\ProvidesClass{novel}[2017/05/04 v1.2 LaTeX document class]
 %%
 
 
@@ -96,6 +96,7 @@
 % xcolor -- lower in this page
 % adjustbox -- lower on this page
 % eso-pic -- lower on this page
+% lipsum -- later on this page
 %%
 
 
@@ -103,6 +104,7 @@
 %% -----------------------------------------------------------------------------
 % Allowed option list:
 %   draft xml shademargins graytext greytext cropmarks cropview closecrop
+%   New in version 1.2: coverart
 % Yes, I realize that this could have been done another way:
 \gdef\@mycol{\@classoptionslist}
 \StrDel{\@mycol}{ }[\@mycola]
@@ -115,8 +117,9 @@
 \StrDel{\@mycolg}{cropmarks}[\@mycolh]
 \StrDel{\@mycolh}{cropview}[\@mycoli]
 \StrDel{\@mycoli}{closecrop}[\@mycolj]
+\StrDel{\@mycolj}{coverart}[\@mycolk]
 %
-\gdef\@mycolzzz{\@mycolj} % modify if others added
+\gdef\@mycolzzz{\@mycolk} % modify if others added
 \ifthenelse{\equal{\@mycolzzz}{}}{}{
   \ClassWarning{novel}{Unrecognized class option: \@mycolzzz\space^^J%
    The unrecognized option was ignored!^^J}%
@@ -179,11 +182,18 @@
 \DeclareOption{closecrop}{
   \@cropviewtrue\@closecroptrue
 }
+% New in version 1.2: coverart option.
+% This is used to create a 1-page file with no text, just an image.
+% Intended purpose is PDF/X for novel cover. See docs page 10.
+\newif \if at coverart
+\DeclareOption{coverart}{
+  \@coverarttrue
+}
 %% Note that document size and normal font size are not class options.
 %% They are set by commands in the Preamble, and have default values.
 %
 \ProcessOptions\relax
-% Disable some options, unless in draft mode:
+% Disable some options, depending on compatibilities:
 \if at useDraftMode\else
   \global\@shademarginsfalse
   \global\@cropviewfalse
@@ -200,6 +210,13 @@
   \global\@cropmarksfalse
 \fi
 %
+\if at coverart
+  \global\@useDraftModefalse
+  \global\@shademarginsfalse
+  \global\@cropviewfalse
+  \global\@closecropfalse
+  \global\@graytextfalse
+\fi
 %% end class options
 
 
@@ -244,6 +261,8 @@
 }
 \normalsize
 %
+\RequirePackage{lipsum} % for examples
+%
 %% end temporary normal point size and baselineskip
 
 
@@ -377,6 +396,18 @@
 }
 %%
 
+%% New in version 1.2, coverart option. See docs page 10.
+\if at coverart
+  \AfterEndPreamble{
+    \AddToShipoutPictureBG{%
+      \AtPageUpperLeft{%
+        \InlineImage*{\novelcoverimage}%
+      }%
+    }
+    \null% without this, page has no "content"
+  }
+\else\fi
+%%
 
 
 %%



More information about the tex-live-commits mailing list