297mm is closer to 842pt than to 841pt, and the former seems to be the
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 9 May 2006 22:43:09 +0000 (22:43 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 9 May 2006 22:43:09 +0000 (22:43 +0000)
accepted length of A4 paper in the PostScript/PDF world, so use it as
our default.

git-svn-id: svn://svn.tartarus.org/sgt/halibut@6669 cda61777-01e9-0310-a592-d414129be87e

bk_paper.c
doc/output.but

index c4aac9c..5e0830f 100644 (file)
@@ -221,7 +221,7 @@ static paper_conf paper_configure(paragraph *source, font_list *fontlist) {
      * Defaults.
      */
     ret.paper_width = 595 * UNITS_PER_PT;
-    ret.paper_height = 841 * UNITS_PER_PT;
+    ret.paper_height = 842 * UNITS_PER_PT;
     ret.left_margin = 72 * UNITS_PER_PT;
     ret.top_margin = 72 * UNITS_PER_PT;
     ret.right_margin = 72 * UNITS_PER_PT;
index 9148751..dafa276 100644 (file)
@@ -1611,7 +1611,7 @@ The default page size corresponds to 210\_\u00D7{x}\_297\_mm, i.e.,
 \i{A4 paper}.
 
 \c \cfg{paper-page-width}{595} 
-\c \cfg{paper-page-height}{841
+\c \cfg{paper-page-height}{842
 \c
 \c \cfg{paper-left-margin}{72} 
 \c \cfg{paper-top-margin}{72}