Add manpage section about using non-default fonts.
[enscript.git] / docs / states.man
index a5a534e..f01079c 100644 (file)
@@ -3,22 +3,20 @@
 .\" Copyright (c) 1997-1998 Markku Rossi.
 .\" 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
-.\" 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
-.\" 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 STATES 1 "Oct 23, 1998" "STATES" "STATES"
 
@@ -113,7 +111,7 @@ executed on script startup for each input file and it can perform any
 initialization the script needs.  It normally also calls the
 \f3check_startrules()\f1 and \f3check_namerules()\f1 primitives which
 resolve the initial state from the input file name or the data found
-from the begining of the input file.  Here is a sample start block
+from the beginning of the input file.  Here is a sample start block
 which initializes two variables and does the standard start state
 resolving:
 .PP
@@ -143,14 +141,14 @@ following start and name rules can distinguish C and Fortran files:
 .nf
 namerules
 {
-  /\.(c|h)$/    c;
-  /\.[fF]$/     fortran;
+  /\\.(c|h)$/    c;
+  /\\.[fF]$/     fortran;
 }
 
 startrules
 {
-  /-\*- [cC] -\*-/      c;
-  /-\*- fortran -\*-/   fortran;
+  /-\\*- [cC] -\\*-/      c;
+  /-\\*- fortran -\\*-/   fortran;
 }
 .fi
 .RE