diff options
author | wlemb <wlemb> | 2002-09-04 22:04:11 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2002-09-04 22:04:11 +0000 |
commit | 3545ae8508383fd9e1d0371a83e7ebcf76d80456 (patch) | |
tree | 898491cf477286b47d04393129d0bc886c7c07ff | |
parent | 9714dabe65c2eecaf7d5ee80b68b955229bbd4ba (diff) | |
download | groff-3545ae8508383fd9e1d0371a83e7ebcf76d80456.tar.gz |
* src/preproc/html/pre-html.cc (imageList::createPage): Use
-sPAPERSIZE for gs.
(generateImages): Clean up push-back buffer.
* doc/groff.texinfo: Minor fixes.
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | doc/groff.texinfo | 20 | ||||
-rw-r--r-- | src/preproc/html/pre-html.cc | 2 |
3 files changed, 22 insertions, 10 deletions
@@ -1,3 +1,13 @@ +2002-09-04 Gaius Mulley <gaius@glam.ac.uk> + + * src/preproc/html/pre-html.cc (imageList::createPage): Use + -sPAPERSIZE for gs. + (generateImages): Clean up push-back buffer. + +2002-09-04 Ralph Corderoy <ralph@inputplus.demon.co.uk> + + * doc/groff.texinfo: Minor fixes. + 2002-08-21 Gaius Mulley <gaius@glam.ac.uk> * src/preproc/html/pre-html.cc (DEFAULT_LINE_LENGTH): New macro. diff --git a/doc/groff.texinfo b/doc/groff.texinfo index 6dffc631..4ec2314d 100644 --- a/doc/groff.texinfo +++ b/doc/groff.texinfo @@ -644,7 +644,7 @@ page control font and glyph size control @item -vertical spacing (i.e.@: double-spacing) +vertical spacing (e.g.@: double-spacing) @item line length and indenting @@ -722,7 +722,7 @@ input from the rest of the document via markers. To use a preprocessor, @acronym{UNIX} pipes are used to feed the output from the preprocessor into @code{groff}. Any number of preprocessors may be used on a given document; in this case, the preprocessors are -linked together into one pipeline. However, in @code{groff}, the user +linked together into one pipeline. However, with @code{groff}, the user does not need to construct the pipe, but only tell @code{groff} what preprocessors to use. @@ -1362,7 +1362,7 @@ no files also means to read the standard input. Any specified options are included in the printed command. No space is allowed between options and their arguments. The only options recognized are @option{-C} (which is also passed on) to enable compatibility mode, and -@option{-v} (if it is the only parameter) to print the version number. +@option{-v} to print the version number and exit. For example, @@ -1459,7 +1459,7 @@ for all good men to come to the aid of their party. Four score and seven -years ago,... +years ago, etc. @endExample @noindent @@ -1467,7 +1467,7 @@ is read, packed onto output lines, and justified to produce: @quotation Now is the time for all good men to come to the aid of their party. -Four score and seven years ago,@dots{} +Four score and seven years ago, etc. @end quotation @cindex break @@ -11455,8 +11455,8 @@ Body of letter. When this is run, a file containing the following lines should be redirected in. Note that requests included in this file are executed as though they were part of the form letter. The last block of input -is the @code{ex} request which tells groff to stop processing. If -this was not there, groff would not know when to stop. +is the @code{ex} request which tells @code{groff} to stop processing. If +this was not there, @code{groff} would not know when to stop. @Example Trent A. Fisher @@ -13259,7 +13259,7 @@ Inform the device about a line break, but no positioning is done by this command. In @acronym{AT&T} @code{troff}, the integer arguments @var{b} and@w{ }@var{a} informed about the space before and after the current line to make the intermediate output more human readable -without performing any action. In groff, they are just ignored, but +without performing any action. In @code{groff}, they are just ignored, but they must be provided for compatibility reasons. @item p @var{n} @@ -13591,7 +13591,7 @@ The @samp{T} stands for @var{Typesetter}. Set name of device to word @var{xxx}, a sequence of characters ended by the next white space character. The possible device names coincide -with those from the groff @option{-T} option. This is the first +with those from the @code{groff} @option{-T} option. This is the first command of the prologue. @item xu @var{n}@angles{line break} @@ -13828,7 +13828,7 @@ feature it is kept for compatibility reasons. @ignore Temporarily, there existed some confusion on the positioning after the @samp{D} commands that are groff extensions. This has been clarified -by establishing the classical rule for all groff drawing commands: +by establishing the classical rule for all @code{groff} drawing commands: @itemize @item diff --git a/src/preproc/html/pre-html.cc b/src/preproc/html/pre-html.cc index f0f98e9c..25b62f45 100644 --- a/src/preproc/html/pre-html.cc +++ b/src/preproc/html/pre-html.cc @@ -859,6 +859,7 @@ int imageList::createPage (int pageno) s = make_message("echo showpage | " "gs%s -q -dBATCH -dSAFER " "-dDEVICEWIDTHPOINTS=%d -dFIXEDMEDIA=true " + "-sPAPERSIZE=letter " "-sDEVICE=%s -r%d %s " "-sOutputFile=%s %s -\n", EXE_EXT, @@ -1072,6 +1073,7 @@ static void generateImages (char *regionFileName) fprintf(stderr, "done\n"); fflush(stderr); } + delete f; } /* |