Avoid global variables for version strings.
[enscript.git] / docs / enscript.man
index 8097a4fbb09d2d1bf70389bcc57b97d0cd0f953f..619263d9596a3fa7fe731ec2ab37b769e2bfab72 100644 (file)
@@ -4,22 +4,20 @@
 .\" Author: Markku Rossi <mtr@iki.fi>
 .\"
 .\"
 .\" Author: Markku Rossi <mtr@iki.fi>
 .\"
 .\"
-.\" This file is part of GNU enscript.
+.\" This file is part of GNU Enscript.
 .\"
 .\"
-.\" This program is free software; you can redistribute it and/or modify
+.\" Enscript is free software: you can redistribute it and/or modify
 .\" it under the terms of the GNU General Public License as published by
 .\" it under the terms of the GNU General Public License as published by
-.\" the Free Software Foundation; either version 2, or (at your option)
-.\" any later version.
+.\" the Free Software Foundation, either version 3 of the License, or
+.\" (at your option) any later version.
 .\"
 .\"
-.\" This program is distributed in the hope that it will be useful,
+.\" Enscript is distributed in the hope that it will be useful,
 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 .\" GNU General Public License for more details.
 .\"
 .\" You should have received a copy of the GNU General Public License
 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 .\" GNU General Public License for more details.
 .\"
 .\" You should have received a copy of the GNU General Public License
-.\" along with this program; see the file COPYING.  If not, write to
-.\" the Free Software Foundation, 51 Franklin Street, Fifth Floor,
-.\" Boston, MA 02110-1301, USA.
+.\" along with Enscript.  If not, see <http://www.gnu.org/licenses/>.
 .\"
 .TH ENSCRIPT 1 "Mar 12, 1999" "ENSCRIPT" "ENSCRIPT"
 
 .\"
 .TH ENSCRIPT 1 "Mar 12, 1999" "ENSCRIPT" "ENSCRIPT"
 
@@ -60,7 +58,7 @@ overstrikes
 [\f3\-T \f2tabsize\f1]
 [\f3\-u\f1[\f2text\f1]]
 [\f3\-U \f2num\f1]
 [\f3\-T \f2tabsize\f1]
 [\f3\-u\f1[\f2text\f1]]
 [\f3\-U \f2num\f1]
-[\f3\-W \f2language\f1]
+[\f3\-w \f2language\f1]
 [\f3\-X \f2encoding\f1]
 [\f2filename\f1 ...]
 
 [\f3\-X \f2encoding\f1]
 [\f2filename\f1 ...]
 
@@ -118,7 +116,7 @@ modification time.
 The header string \f2header\f1 can contain the same formatting escapes
 which can be specified for the \f3%Format\f1 directives in the user
 defined fancy headers.  For example, the following option prints the
 The header string \f2header\f1 can contain the same formatting escapes
 which can be specified for the \f3%Format\f1 directives in the user
 defined fancy headers.  For example, the following option prints the
-file name, current data and page numbers:
+file name, current date and page numbers:
 
 \f3enscript \-\-header='$n %W Page $% of $=' *.c\f1
 
 
 \f3enscript \-\-header='$n %W Page $% of $=' *.c\f1
 
@@ -159,7 +157,7 @@ For example, the command
 
 prints file foo.txt in duplex (two side) mode.
 
 
 prints file foo.txt in duplex (two side) mode.
 
-Page device operators are implementation dependant but they are
+Page device operators are implementation dependent but they are
 standardized.  See section \f3PAGE DEVICE OPTIONS\f1 for the details.
 .TP 8
 .B \-e\f1[\f2char\f1]\f3, \-\-escapes\f1[\f3=\f2char\f1]\f3
 standardized.  See section \f3PAGE DEVICE OPTIONS\f1 for the details.
 .TP 8
 .B \-e\f1[\f2char\f1]\f3, \-\-escapes\f1[\f3=\f2char\f1]\f3
@@ -179,7 +177,7 @@ languages and file formats with the command:
 .B enscript \-\-help\-highlight
 
 The highlighting rules are defined in the
 .B enscript \-\-help\-highlight
 
 The highlighting rules are defined in the
-`@DATADIR@/enscript/st/*.st' files which can be edited to create
+`@DATADIR@/enscript/hl/*.st' files which can be edited to create
 highlighting definitions for new languages.
 
 \f3Note!\f1 You can not use your own input filters with this option.
 highlighting definitions for new languages.
 
 \f3Note!\f1 You can not use your own input filters with this option.
@@ -338,7 +336,7 @@ size + baselineskip\f1) points down.  The default baseline skip is 1.
 Pass a statusdict definition to the generated PostScript output.  If
 no value is given, the key \f2key\f1 is removed from the definitions.
 
 Pass a statusdict definition to the generated PostScript output.  If
 no value is given, the key \f2key\f1 is removed from the definitions.
 
-The statusdict operators are implementation dependant; see the
+The statusdict operators are implementation dependent; see the
 printer's documentation for the details.
 
 For example, the command
 printer's documentation for the details.
 
 For example, the command
@@ -375,7 +373,7 @@ Tell what \f3enscript\f1 is doing.
 .B \-V, \-\-version
 Print \f3enscript\f1 version information and exit.
 .TP 8
 .B \-V, \-\-version
 Print \f3enscript\f1 version information and exit.
 .TP 8
-.B \-W \f1[\f2lang\f1]\f3, \-\-language\f1[\f3=\f2lang\f1]\f3
+.B \-w \f1[\f2lang\f1]\f3, \-\-language\f1[\f3=\f2lang\f1]\f3
 Generate output for the language \f2lang\f1.  The possible values for
 \f2lang\f1 are:
 .RS 8
 Generate output for the language \f2lang\f1.  The possible values for
 \f2lang\f1 are:
 .RS 8
@@ -595,7 +593,7 @@ from 1.
 .TP 8
 .B \-\-style=\f2style\f3
 Set the highlighting style to \f2style\f1.  The possible values are:
 .TP 8
 .B \-\-style=\f2style\f3
 Set the highlighting style to \f2style\f1.  The possible values are:
-\f3a2ps\f1, \f3emacs\f1, \f3emacs-verbose\f1, \f3ifh\f1, and
+\f3a2ps\f1, \f3emacs\f1, \f3emacs_verbose\f1, \f3ifh\f1, and
 \f3msvc\f1.
 .TP 8
 .B \-\-swap\-even\-page\-margins
 \f3msvc\f1.
 .TP 8
 .B \-\-swap\-even\-page\-margins
@@ -623,10 +621,10 @@ default gray value is .8.
 Set the underlay text's starting position according to the
 \f2position_spec\f1.  The position specification must be given in
 format: `\f2sign\f1 \f2xpos\f1 \f2sign\f1 \f2ypos\f1', where the
 Set the underlay text's starting position according to the
 \f2position_spec\f1.  The position specification must be given in
 format: `\f2sign\f1 \f2xpos\f1 \f2sign\f1 \f2ypos\f1', where the
-\f2sign\f1 must be `+' or `-'.  The positive dimensions are measured
+\f2sign\f1 must be `+' or `\-'.  The positive dimensions are measured
 from the lower left corner and the negative dimensions from the upper
 from the lower left corner and the negative dimensions from the upper
-right corner.  For example, the specification `+0-0' specifies the
-upper left corner and `-0+0' specifies the lower right corner.
+right corner.  For example, the specification `+0\-0' specifies the
+upper left corner and `\-0+0' specifies the lower right corner.
 .TP 8
 .B \-\-ul\-style=\f2style\f3
 Set the underlay text's style to \f2style\f1.  The possible values for
 .TP 8
 .B \-\-ul\-style=\f2style\f3
 Set the underlay text's style to \f2style\f1.  The possible values for
@@ -1327,13 +1325,13 @@ Print file \f3foo.txt\f1 to two columns.
 Print file to two columns and rotate output 90 degrees (landscape).
 .TP 8
 .B enscript \-DDuplex:true foo.txt
 Print file to two columns and rotate output 90 degrees (landscape).
 .TP 8
 .B enscript \-DDuplex:true foo.txt
-Print file in duplex (two side) mode (printer dependant).
+Print file in duplex (two side) mode (printer dependent).
 .TP 8
 .B enscript \-G2rE \-U2 foo.c
 My default code printing command: gaudy header, two columns,
 landscape, code highlighting, 2-up printing.
 .TP 8
 .TP 8
 .B enscript \-G2rE \-U2 foo.c
 My default code printing command: gaudy header, two columns,
 landscape, code highlighting, 2-up printing.
 .TP 8
-\f3enscript \-E \-\-color \-Whtml \-\-toc -pfoo.html *.h *.c\f1
+\f3enscript \-E \-\-color \-whtml \-\-toc \-pfoo.html *.h *.c\f1
 A nice HTML report of your project's C source files.
 
 .SH ENVIRONMENT VARIABLES
 A nice HTML report of your project's C source files.
 
 .SH ENVIRONMENT VARIABLES