<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -50,15 +50,22 @@ The simplest way to use +minicomic+ is to create a +Rakefile+ as follows:
 
   minicomic '.'
 
-+minicomic+ will look for pages in a &lt;tt&gt;pages/&lt;/tt&gt; folder in the given
-directory (in this particular case, '.' meaning the directory where the
-+Rakefile+ lives).  Options can be included after the directory name, for
-instance:
++minicomic+ will either look for pages in a &lt;tt&gt;pages/&lt;/tt&gt; folder in the
+given directory (in this particular case, '.' meaning the directory where the
++Rakefile+ lives), or for a &lt;tt&gt;pages.yaml&lt;/tt&gt; file in the given directory.
+Options can be included after the directory name, for instance:
 
   minicomic '.', :color =&gt; false
 
 (specific options will be discussed later)
 
+There are two ways to define the files and options that will be used to
+generate the comic: within the pages directory or by a definition
+file called pages.yaml.  &lt;tt&gt;pages.yaml&lt;/tt&gt; takes precedence over
+the &lt;tt&gt;pages/&lt;/tt&gt; directory.
+
+=== within the pages directory
+
 In the pages directory, +minicomic+ looks for SVG files named according to the
 following conventions:
 
@@ -69,9 +76,9 @@ following conventions:
 &lt;tt&gt;inside-back.svg&lt;/tt&gt;:: the inside back cover of the comic (optional)
 
 Page numbers start at 1 (page 1 is a right-handed page, and the first
-interior page excluding the inside cover).  The exact size of page documents
-is not important; they will be scaled to fit the selected output format
-(preserving aspect ratio).
+interior page excluding the inside cover,  unless &lt;tt&gt;:use_inside&lt;/tt&gt; is true).
+The exact size of page documents is not important; they will be scaled to fit
+the selected output format (preserving aspect ratio).
 
 It is also possible to have two-page spreads in single files:
 
@@ -81,6 +88,18 @@ It is also possible to have two-page spreads in single files:
 A two-page spread will be cut in half and each half placed on the appropriate
 page in the print output.
 
+=== by definition file
+
+pages.yaml is a YAML file in the following format:
+
+&lt;tt&gt;- file: &quot;page-one.svg&quot;&lt;/tt&gt;:: a single comic page
+&lt;tt&gt;- blank: true&lt;/tt&gt;:: a blank page
+&lt;tt&gt;- { file: &quot;full-cover.svg&quot;, page_name: &quot;cover&quot; }&lt;/tt&gt;:: a comic page that is assigned to a particular special page in the comic (front-cover, back-cover, cover, inside-front, or inside-back)
+&lt;tt&gt;- { file: &quot;two-page-spread.svg&quot;, spread: true }&lt;/tt&gt;:: a two-page spread
+
+Pages within the YAML file are numbered sequentially starting at page 1.  Pages
+that are assigned to special names do not count in the page number ordering.
+
 == print output
 
 When generating output for print, +minicomic+ will round the number of
@@ -93,18 +112,17 @@ size, and smaller graphics will be centered.
 There are several options which control how minicomic's print output is
 generated:
 
-&lt;tt&gt;:format&lt;/tt&gt;:: the format for the folded booklet; options are &lt;tt&gt;:half_letter&lt;/tt&gt;, &lt;tt&gt;:a5&lt;/tt&gt;, &lt;tt&gt;:b5&lt;/tt&gt;, or a two-element array with dimensions in postscript points (default: &lt;tt&gt;:half_letter&lt;/tt&gt;)
+&lt;tt&gt;:paper&lt;/tt&gt;:: the size of the paper the comic will be printed on; options are &lt;tt&gt;:letter&lt;/tt&gt;, &lt;tt&gt;:legal&lt;/tt&gt;, &lt;tt&gt;:tabloid&lt;/tt&gt;, &lt;tt&gt;:a4&lt;/tt&gt;, &lt;tt&gt;:a5&lt;/tt&gt;, &lt;tt&gt;:b5&lt;/ii&gt;, or a two-element array with dimensions in postscript points (default: &lt;tt&gt;:letter&lt;/tt&gt;)
 &lt;tt&gt;:rasterize&lt;/tt&gt;:: whether print output should be rasterized rather than being exported as PostScript -- PostScript will usually result in smaller files, but cannot support many Inkscape features like blur or transparency (default: +true+)
 &lt;tt&gt;:margin&lt;/tt&gt;:: a nominal horizontal margin in PostScript points; the page images will be scaled down slightly to accomodate this margin (default: +13.5+, which is 3/16 of an inch)
-
-The required paper format will be the double the booklet's format, so
-&lt;tt&gt;:half_letter&lt;/tt&gt; requires US letter paper, &lt;tt&gt;:a5&lt;/tt&gt;
-requires A4 paper, and &lt;tt&gt;:b5&lt;/tt&gt; requires B4 paper.
+&lt;tt&gt;:use_inside&lt;/tt&gt;:: if +true+, will set page 1 to be a left-handed page, on the opposite side of the cover (default: +false+)
+&lt;tt&gt;:half_size&lt;/tt&gt;:: if +true+, will double up the image on the page vertically to produce mini-minicomics (default: +false+)
 
 If the pages are rasterized, then the following options also apply to print:
 
-&lt;tt&gt;:color&lt;/tt&gt;:: &lt;tt&gt;true&lt;/tt&gt;, &lt;tt&gt;false&lt;/tt&gt;, or &lt;tt&gt;:monochrome&lt;/tt&gt; -- whether the rasterized images should be full-color, greyscale, or monochrome (24-bit color, 8-bit greyscale, or 1-bit bitmap) (default: &lt;tt&gt;true&lt;/tt&gt;)
+&lt;tt&gt;:color&lt;/tt&gt;:: &lt;tt&gt;true&lt;/tt&gt;, &lt;tt&gt;false&lt;/tt&gt;, or &lt;tt&gt;:monochrome&lt;/tt&gt; -- whether the rasterized images should be full-color, greyscale, or monochrome (24-bit color, 8-bit greyscale, or 1-bit bitmap) (default: &lt;tt&gt;false&lt;/tt&gt;)
 &lt;tt&gt;:dpi&lt;/tt&gt;:: the target DPI for the rasterized page images (taking into account any scaling to accomodate the margins) (default: +200+)
+&lt;tt&gt;:force_dpi&lt;/tt&gt;:: if non-SVG images are loaded whose DPI is higher than the target &lt;tt&gt;:dpi&lt;/tt&gt;, scale the image so that it uses the specified &lt;tt&gt;:dpi&lt;/tt&gt; (default: +false+)
 
 === proof output
 
@@ -144,7 +162,7 @@ This will generate a single PDF, &lt;tt&gt;print/duplex.pdf&lt;/tt&gt;.
 
 When printing this PDF, if you're lucky, your printer it will deposit its
 output pages face-down and they will be ready for assembly (this is the norm).
-Otherwise if it deposits its pages face-up, you will have reverse their order
+Otherwise if it deposits its pages face-up, you will have to reverse their order
 before you can assemble the comic.
 
 == web output
@@ -157,16 +175,20 @@ You can generate files for web upload via:
 
 The following options apply to web output:
 
+&lt;tt&gt;:web_format&lt;/tt&gt;:: the format for web output images; options are &lt;tt&gt;:png&lt;/tt&gt; or &lt;tt&gt;:jpg&lt;/tt&gt;/&lt;tt&gt;:jpeg&lt;/tt&gt; (default: &lt;tt&gt;:png&lt;/tt&gt;)
 &lt;tt&gt;:web_height&lt;/tt&gt;:: the height, in pixels, of images for web output (width will be determined according to the page's aspect ratio) (default: 680)
+&lt;tt&gt;:web_jpeg_quality&lt;/tt&gt;:: the JPEG quality of the outputted JPEG files from 0-100 (default: 75)
+&lt;tt&gt;:generate_thumbnails&lt;/tt&gt;:: generate thumbnail images (default: +true+)
 &lt;tt&gt;:thumbnail_height&lt;/tt&gt;:: the height, in pixels, of thumbnail images (default: 96)
 &lt;tt&gt;:color&lt;/tt&gt;:: whether the generated images should be 24-bit color (+true+), 8-bit greyscale (+false+), or 4-bit greyscale (&lt;tt&gt;:monochrome&lt;/tt&gt;) (default: &lt;tt&gt;true&lt;/tt&gt;)
 
 === output files
 
-When generating output for the web, +minicomic+ will generate a set of PNGs
-and a corresponding set of JPEG thumbnails:
+When generating output for the web, +minicomic+ will generate a set of either PNGs
+or JPEGs and a corresponding set of JPEG thumbnails if &lt;tt&gt;:generate_thumbnails&lt;/tt&gt; is +true+:
 
-&lt;tt&gt;web/page-NN.png&lt;/tt&gt;:: page +NN+
+&lt;tt&gt;web/page-NN.png&lt;/tt&gt;:: page +NN+ as a PNG
+&lt;tt&gt;web/page-NN.jpeg&lt;/tt&gt;:: page +NN+ as a JPEG
 &lt;tt&gt;web/thumbnail-NN.jpeg&lt;/tt&gt;:: thumbnail of page +NN+
 
 For spreads, the filenames are similar, except instead of a single page number</diff>
      <filename>README</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7bdf3c536f4505bc5269dba9c2d4d9c57204ccb9</id>
    </parent>
  </parents>
  <author>
    <name>John Bintz</name>
    <email>jcoswell@coswellproductions.org</email>
  </author>
  <url>http://github.com/mental/minicomic/commit/26dec7365ea98b7a3020b049f27b7a59b5d10850</url>
  <id>26dec7365ea98b7a3020b049f27b7a59b5d10850</id>
  <committed-date>2007-10-08T15:53:38-07:00</committed-date>
  <authored-date>2007-10-08T15:53:38-07:00</authored-date>
  <message>update README with new options</message>
  <tree>a9546d942f64c08ea6d87dbffb49846cb0ae2879</tree>
  <committer>
    <name>John Bintz</name>
    <email>jcoswell@coswellproductions.org</email>
  </committer>
</commit>
