groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff-commit] groff ChangeLog README README.MinGW doc/groff.t...


From: Werner LEMBERG
Subject: [Groff-commit] groff ChangeLog README README.MinGW doc/groff.t...
Date: Sat, 19 Jan 2008 20:50:34 +0000

CVSROOT:        /cvsroot/groff
Module name:    groff
Changes by:     Werner LEMBERG <wl>     08/01/19 20:50:34

Modified files:
        .              : ChangeLog README README.MinGW 
        doc            : groff.texinfo 
        man            : groff_font.man groff_out.man groff_tmac.man 
                         roff.man 
        src/libs/libgroff: htmlhint.cpp 
        src/preproc/html: pre-html.cpp 
        src/roff/groff : groff.man 
        tmac           : groff_www.man pspic.tmac www.tmac 

Log message:
        * src/preproc/html/pre-html.cpp (usage): Don't describe options but
        mention that it should never be called stand-alone.
        
        * tmac/groff_www.man, doc/groff.texinfo, man/groff_font.man,
        man/groff_tmac.man, man/groff_out.man, README, README.MinGW,
        src/roff/groff/groff.man: Mention -Txhtml.
        
        * man/groff_font.man, man/groff_tmac.man, man/roff.man: Revised.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1124&r2=1.1125
http://cvs.savannah.gnu.org/viewcvs/groff/README?cvsroot=groff&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/groff/README.MinGW?cvsroot=groff&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/groff/doc/groff.texinfo?cvsroot=groff&r1=1.262&r2=1.263
http://cvs.savannah.gnu.org/viewcvs/groff/man/groff_font.man?cvsroot=groff&r1=1.26&r2=1.27
http://cvs.savannah.gnu.org/viewcvs/groff/man/groff_out.man?cvsroot=groff&r1=1.41&r2=1.42
http://cvs.savannah.gnu.org/viewcvs/groff/man/groff_tmac.man?cvsroot=groff&r1=1.30&r2=1.31
http://cvs.savannah.gnu.org/viewcvs/groff/man/roff.man?cvsroot=groff&r1=1.38&r2=1.39
http://cvs.savannah.gnu.org/viewcvs/groff/src/libs/libgroff/htmlhint.cpp?cvsroot=groff&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/groff/src/preproc/html/pre-html.cpp?cvsroot=groff&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/groff/src/roff/groff/groff.man?cvsroot=groff&r1=1.50&r2=1.51
http://cvs.savannah.gnu.org/viewcvs/groff/tmac/groff_www.man?cvsroot=groff&r1=1.21&r2=1.22
http://cvs.savannah.gnu.org/viewcvs/groff/tmac/pspic.tmac?cvsroot=groff&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/groff/tmac/www.tmac?cvsroot=groff&r1=1.51&r2=1.52

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1124
retrieving revision 1.1125
diff -u -b -r1.1124 -r1.1125
--- ChangeLog   16 Jan 2008 16:08:47 -0000      1.1124
+++ ChangeLog   19 Jan 2008 20:50:32 -0000      1.1125
@@ -1,3 +1,14 @@
+2008-01-19  Werner LEMBERG  <address@hidden>
+
+       * src/preproc/html/pre-html.cpp (usage): Don't describe options but
+       mention that it should never be called stand-alone.
+
+       * tmac/groff_www.man, doc/groff.texinfo, man/groff_font.man,
+       man/groff_tmac.man, man/groff_out.man, README, README.MinGW,
+       src/roff/groff/groff.man: Mention -Txhtml.
+
+       * man/groff_font.man, man/groff_tmac.man, man/roff.man: Revised.
+
 2008-01-16  Werner LEMBERG  <address@hidden>
 
        * src/libs/libgroff/font.cpp (font::contains, font::get_code):

Index: README
===================================================================
RCS file: /cvsroot/groff/groff/README,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- README      11 Jul 2007 21:10:15 -0000      1.17
+++ README      19 Jan 2008 20:50:32 -0000      1.18
@@ -1,4 +1,4 @@
-    Copyright (C) 1989-2000, 2001, 2002, 2003, 2004, 2005, 2006
+    Copyright (C) 1989-2000, 2001, 2002, 2003, 2004, 2005, 2006, 2008
       Free Software Foundation, Inc.
 
     Copying and distribution of this file, with or without modification,
@@ -11,7 +11,7 @@
 Included in this release are implementations of `troff', `pic', `eqn',
 `tbl', `grn', `refer', `-man', `-mdoc', `-mom', and `-ms' macros, and
 drivers for `PostScript', `TeX dvi' format, `HP LaserJet 4' printers,
-`Canon CAPSL' printers, `HTML' format (beta status), and
+`Canon CAPSL' printers, `HTML' and `XHTML' formats (beta status), and
 typewriter-like devices.  Also included is a modified version of the
 Berkeley `-me' macros, the enhanced version `gxditview' of the X11
 `xditview' previewer, and an implementation of the `-mm' macros

Index: README.MinGW
===================================================================
RCS file: /cvsroot/groff/groff/README.MinGW,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- README.MinGW        10 Sep 2007 22:23:23 -0000      1.5
+++ README.MinGW        19 Jan 2008 20:50:32 -0000      1.6
@@ -1,4 +1,4 @@
-    Copyright (C) 2003, 2004, 2007
+    Copyright (C) 2003, 2004, 2007, 2008
       Free Software Foundation, Inc.
 
     Copying and distribution of this file, with or without modification,
@@ -31,9 +31,9 @@
   installer can then automatically set up the proper environment for running
   MinGW.
 
-  Additionally, if you wish to compile groff with support for its HTML output
-  capability, some additional tools are required as decribed in the section
-  PREREQUISITES FOR HTML OUTPUT later in this file.
+  Additionally, if you wish to compile groff with support for its HTML (and
+  XHTML) output capability, some additional tools are required as decribed in
+  the section PREREQUISITES FOR HTML OUTPUT later in this file.
 
 
   BUILDING GROFF WITH MINGW
@@ -66,11 +66,11 @@
      the groff source tree.  You should now change directory, to make this
      ./groff-<version> your working directory.
 
-  3. If you are intending to build groff with support for HTML output, then
-     you must now ensure that the prerequisites described in the later section
-     PREREQUISITES FOR HTML OUTPUT are satisfied, before proceeding to build
-     groff; in particular, please ensure that all required support programs
-     are installed in the current PATH.
+  3. If you are intending to build groff with support for HTML (and XHTML)
+     output, then you must now ensure that the prerequisites described in the
+     later section PREREQUISITES FOR HTML OUTPUT are satisfied, before
+     proceeding to build groff; in particular, please ensure that all required
+     support programs are installed in the current PATH.
 
   4. You are now ready to configure, build, and install groff.  This is
      accomplished using the conventional procedure, as described in the file
@@ -174,18 +174,19 @@
   PREREQUISITES FOR HTML OUTPUT
   -----------------------------
 
-  If you intend to use groff for production of HTML output, then there are a
-  few dependencies which must be satisfied.  Ideally, these should be resolved
-  before attempting to configure and build groff, since the configuration
-  script does check them.
-
-  In order to produce HTML output, you first require a working implementation
-  of Ghostscript; either the AFPL Ghostscript or the GNU Ghostscript
-  implementation for MS-Windows should be suitable, depending on your
-  licensing preference.  It is highly recommended to use version 8.11 or
-  higher due to bugs in older versions.  These may be obtained, in the form of
-  self-installing binary packages, by following the download links for the
-  chosen licensing option, from http://sourceforge.net/projects/ghostscript.
+  If you intend to use groff for production of HTML or XHTML output, then
+  there are a few dependencies which must be satisfied.  Ideally, these should
+  be resolved before attempting to configure and build groff, since the
+  configuration script does check them.
+
+  In order to produce HTML or XHTML output, you first require a working
+  implementation of Ghostscript; either the AFPL Ghostscript or the GNU
+  Ghostscript implementation for MS-Windows should be suitable, depending on
+  your licensing preference.  It is highly recommended to use version 8.11
+  or higher due to bugs in older versions.  These may be obtained, in the
+  form of self-installing binary packages, by following the download links
+  for the chosen licensing option, from
+  http://sourceforge.net/projects/ghostscript.
 
   Please note that these packages install the Ghostscript interpreter required
   by groff in the ./bin subdirectory of the Ghostscript installation
@@ -277,10 +278,10 @@
     network share, where the user does not have write permission in the root
     directory of the share, causes groff to fail with a `permission denied'
     exception, if the TMP environment variable is not appropriately defined;
-    it may also be necessary to define the TEMP environment variable, to avoid
-    a similar failure mode, when using the -Thtml output mode of groff.  This
-    problem is more fully discussed in the preceding section, GROFF RUNTIME
-    ENVIRONMENT.
+    it may also be necessary to define the TEMP environment variable, to
+    avoid a similar failure mode, when using the -Thtml or -Txhtml output
+    mode of groff.  This problem is more fully discussed in the preceding
+    section, GROFF RUNTIME ENVIRONMENT.
 
   o When running groff (or nroff) to process standard input, where the
     standard input stream is obtained directly from the RXVT console provided

Index: doc/groff.texinfo
===================================================================
RCS file: /cvsroot/groff/groff/doc/groff.texinfo,v
retrieving revision 1.262
retrieving revision 1.263
diff -u -b -r1.262 -r1.263
--- doc/groff.texinfo   16 Jan 2008 16:08:48 -0000      1.262
+++ doc/groff.texinfo   19 Jan 2008 20:50:32 -0000      1.263
@@ -706,7 +706,7 @@
 Beginning address@hidden, @code{groff} has new maintainers (the package was
 an orphan for a few years).  As a result, new features and programs like
 @code{grn}, a preprocessor for gremlin images, and an output device to
-produce @acronym{HTML} output have been added.
+produce @acronym{HTML} and @acronym{XHTML} have been added.
 
 
 @c =====================================================================
@@ -847,7 +847,7 @@
 Currently, @code{groff} has postprocessors for @sc{PostScript}
 devices, character terminals, address@hidden (for previewing), @TeX{}
 DVI format, HP address@hidden and Canon LBP printers (which use
address@hidden), and @acronym{HTML}.
address@hidden), @acronym{HTML}, and @acronym{XHTML}.
 
 
 @c =====================================================================
@@ -1108,9 +1108,10 @@
 @pindex post-grohtml
 @cindex @code{grohtml}, the program
 @item html
-To produce @acronym{HTML} output.  Note that the @acronym{HTML} driver
-consists of two parts, a preprocessor (@code{pre-grohtml}) and a
-postprocessor (@code{post-grohtml}).
address@hidden xhtml
+To produce @acronym{HTML} and @acronym{XHTML} output, respectively. 
+Note that this driver consists of two parts, a preprocessor
+(@code{pre-grohtml}) and a postprocessor (@code{post-grohtml}).
 @end table
 
 @cindex output device name string register (@code{.T})
@@ -2229,7 +2230,8 @@
 double-sided printing is active).  @var{extra3} is centered in the
 header line.
 
-For @acronym{HTML} output, headers and footers are completely suppressed.
+For @acronym{HTML} and @acronym{XHTML} output, headers and footers are
+completely suppressed.
 
 Additionally, this macro starts a new page; the new line number address@hidden
 again (except if the @option{-rC1} option is given on the command line)
@@ -14698,9 +14700,19 @@
 troff -Thtml
 @endExample
 
-The PostScript device is used to create all the image files, and the
-register @code{ps4html} enables the macro sets to ignore floating
-keeps, footers, and headings.
address@hidden
+or
+
address@hidden
+troff -Txhtml
address@hidden
+
address@hidden MathML
+The PostScript device is used to create all the image files (for
address@hidden; if @option{-Txhtml} is used, all equations are passed
+to @code{geqn} to produce @acronym{MathML}, and the register
address@hidden enables the macro sets to ignore floating keeps,
+footers, and headings.
 
 The register @code{www-image-template} is set to the user specified
 template name or the default name.
@@ -15732,7 +15744,7 @@
 @kindex pass_filenames
 Tell @code{gtroff} to emit the name of the source file currently
 being processed.  This is achieved by the intermediate output command
address@hidden  Currently, this is only used by the @acronym{HTML} output
address@hidden  Currently, this is only used by the @code{grohtml} output
 device.
 
 @item postpro @var{program}
@@ -15750,7 +15762,7 @@
 @item prepro @var{program}
 @kindex prepro
 Call @var{program} as a preprocessor.  Currently, this keyword is used
-by @code{groff} with option @option{-Thtml} only.
+by @code{groff} with option @option{-Thtml} or @option{-Txhtml} only.
 
 @item print @var{program}
 @kindex print
@@ -15800,7 +15812,8 @@
 those particular characters or add new mappings (normally for composite
 characters).
 
-This is used for @option{-Tutf8} and @option{-Thtml}.
+This is used for @option{-Tutf8}, @option{-Thtml}, and
address@hidden
 
 @item unitwidth @var{n}
 @kindex unitwidth
@@ -15815,7 +15828,7 @@
 @kindex use_charnames_in_special
 This command indicates that @code{gtroff} should encode special
 characters inside special commands.  Currently, this is only used
-by the @acronym{HTML} output device.  @xref{Postprocessor Access}.
+by the @code{grohtml} output device.  @xref{Postprocessor Access}.
 
 @item vert @var{n}
 @kindex vert
@@ -15971,7 +15984,7 @@
 The @var{entity-name} field gives an @acronym{ASCII} string
 identifying the glyph which the postprocessor uses to print the
 @code{gtroff} glyph @var{name}.  This field is optional and has been
-introduced so that the @acronym{HTML} device driver can encode its
+introduced so that the @code{grohtml} device driver can encode its
 character set.  For example, the glyph @samp{\[Po]} is
 represented as @samp{&pound;} in @acronym{HTML} 4.0.
 

Index: man/groff_font.man
===================================================================
RCS file: /cvsroot/groff/groff/man/groff_font.man,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- man/groff_font.man  19 Sep 2007 14:55:55 -0000      1.26
+++ man/groff_font.man  19 Jan 2008 20:50:33 -0000      1.27
@@ -1,5 +1,5 @@
 .ig
-Copyright (C) 1989-1995, 2001, 2002, 2003, 2004, 2006, 2007
+Copyright (C) 1989-1995, 2001, 2002, 2003, 2004, 2006, 2007, 2008
   Free Software Foundation, Inc.
 
 Permission is granted to make and distribute verbatim copies of
@@ -21,11 +21,6 @@
 .do nr groff_font_C \n[.C]
 .cp 0
 .
-.de TQ
-.  br
-.  ns
-.  TP \\$1
-..
 .
 .\" Like TP, but if specified indent is more than half
 .\" the current line-length - indent, use the default indent.
@@ -55,9 +50,9 @@
 There are two types of file: a
 device description file called
 .B DESC
-and for each font
+and for each font\~\c
 .I F
-a font file called
+a font file called\~\c
 .IR F .
 .
 These are text files;
@@ -90,21 +85,21 @@
 Fonts
 .IR F1 ,\ \|.\|.\|.,\  Fn
 are mounted in the font positions 
-.IR m +1,\ \|.\|.\|.,\  m + n
+.IR m \|+\|1,\ \|.\|.\|.,\  m \|+\| n
 where
 .I m
 is the number of styles.
 .
 This command may extend over more than one line.
 .
-A font name of
+A font name of\~\c
 .B 0
 causes no font to be mounted on the corresponding font position.
 .
 .TP
 .BI hor\  n
 The horizontal resolution is
-.I n
+.IR n \~\c
 machine units.
 .
 .TP
@@ -200,7 +195,7 @@
 Make troff tell the driver the source file name being processed.
 .
 This is achieved by another tcommand:
-.B F
+.BR F \~\c
 .IR filename .
 .
 .TP
@@ -254,7 +249,7 @@
 .
 .TP
 .BI sizescale\  n
-The scale factor for pointsizes.
+The scale factor for point sizes.
 .
 By default this has a value of 1.
 .
@@ -263,7 +258,7 @@
 scaled point
 is equal to
 one
-.RI point/ n .
+.RI point\|/\| n .
 .
 The arguments to the
 .B unitwidth
@@ -282,7 +277,7 @@
 .B tcommand
 This means that the postprocessor can handle the
 .B t
-and
+and\~\c
 .B u
 output commands.
 .
@@ -313,20 +308,21 @@
 .
 .IP
 This is used for
-.B \-Tutf8
+.BR \-Tutf8 ,
+.BR \-Thtml ,
 and
-.BR \-Thtml .
+.BR \-Txhtml .
 .
 .TP
 .BI unitwidth\  n
 Quantities in the font files are given in machine units
 for fonts whose point size is
-.I n 
+.IR n \~\c
 scaled points.
 .
 .TP
 .B unscaled_charwidths
-Make the font handling module always return unscaled character widths.
+Make the font handling module always return unscaled glyph widths.
 .
 Needed for the
 .B \%grohtml
@@ -334,13 +330,13 @@
 .
 .TP
 .B use_charnames_in_special
-This command indicates that troff should encode named characters inside
+This command indicates that troff should encode named glyphs inside
 special commands.
 .
 .TP
 .BI vert\  n
 The vertical resolution is
-.I n
+.IR n \~\c
 machine units.
 .
 .LP
@@ -379,47 +375,48 @@
 .
 .TP
 .BI ligatures\  lig1\ lig2\ \|.\|.\|.\|\ lign\ \fR[ 0 \fR]
-Characters
+Glyphs
 .IR lig1 ,
 .IR lig2 ,\ \|.\|.\|.,\  lign
 are ligatures; possible ligatures are
 .BR ff ,
 .BR fi ,
 .BR fl ,
-.B ffi
+.BR ffi ,
 and
 .BR ffl .
 .
 For backwards compatibility, the list of ligatures may be terminated
-with a
+with a\~\c
 .BR 0.
 .
 The list of ligatures may not extend over more than one line.
 .
 .TP
 .BI name\  F
-The name of the font is
+The name of the font is\~\c
 .IR F .
 .
 .TP
 .BI slant\  n
-The characters of the font have a slant of
-.I n
+The glyphs of the font have a slant of
+.IR n \~\c
 degrees.
 .
 (Positive means forward.)
 .
 .TP
 .BI spacewidth\  n
-The normal width of a space is
+The normal width of a space is\~\c
 .IR n .
 .
 .TP
 .B special
 The font is
 .IR special ;
-this means that when a character is requested that is not present in
-the current font, it is searched for in any special fonts that are mounted.
+this means that when a glyph is requested that is not present in
+the current font, it is searched for in any special fonts that are
+mounted.
 .
 .LP
 Other commands are ignored by
@@ -455,7 +452,7 @@
 .B charset
 line is followed by a sequence of lines.
 .
-Each line gives information for one character.
+Each line gives information for one glyph.
 .
 A line comprises a number of fields separated
 by blanks or tabs.
@@ -465,15 +462,15 @@
 .IP
 .I name metrics type code 
 .RI [ entity_name ]
-.RB [ --
+.RB [ \-\-
 .IR comment ]
 .
 .LP
 .I name
-identifies the character:
+identifies the glyph:
 if
 .I name
-is a single character
+is a single glyph
 .I c
 then it corresponds to the groff input character
 .IR c ;
@@ -492,60 +489,46 @@
 .
 Note that single-letter special characters can't be accessed as
 .BI \[rs] c\fR;
-the only exception is `\[rs]-' which is identical to `\[rs][-]'.
+the only exception is `\[rs]\-' which is identical to `\[rs][\-]'.
 .
 The name
 .B \-\-\-
-is special and indicates that the character is unnamed;
-such characters can only be used by means of the
+is special and indicates that the glyph is unnamed;
+such glyphs can only be used by means of the
 .B \[rs]N
 escape sequence in
 .BR troff .
 .
 .LP
-Groff supports eight-bit characters; however some utilities
-have difficulties with eight-bit characters.
-.
-For this reason, there is a convention that the name
-.BI char n
-is equivalent to the single character whose code is
-.IR n .
-.
-For example,
-.B char163
-would be equivalent to the character with code 163
-which is the pounds sterling sign in ISO Latin-1.
-.
-.LP
 The
 .I type
-field gives the character type:
+field gives the glyph type:
 .
 .TP
 1
-means the character has a descender, for example, p;
+means the glyph has a descender, for example, `p';
 .
 .TP
 2
-means the character has an ascender, for example, b;
+means the glyph has an ascender, for example, `b';
 .
 .TP
 3
-means the character has both an ascender and a descender, for example,
-(.
+means the glyph has both an ascender and a descender, for example,
+`('.
 .
 .LP
 The
 .I code
-field gives the code which the postprocessor uses to print the character.
+field gives the code which the postprocessor uses to print the glyph.
 .
-The character can also be input to groff using this code by means of the
+The glyph can also be input to groff using this code by means of the
 .B \[rs]N
 escape sequence.
 .
 The code can be any integer.
 .
-If it starts with a
+If it starts with a\~\c
 .B 0
 it is interpreted as octal;
 if it starts with
@@ -561,8 +544,8 @@
 .LP
 The
 .I entity_name
-field gives an ascii string identifying the glyph which the postprocessor
-uses to print the character.
+field gives an ASCII string identifying the glyph which the postprocessor
+uses to print that glyph.
 .
 This field is optional and is currently used by
 .B grops
@@ -575,7 +558,7 @@
 .BR \%grohtml .)
 .
 .LP
-Anything on the line after the encoding field or `-\&-' are ignored.
+Anything on the line after the encoding field or `\-\-' are ignored.
 .
 .LP
 The
@@ -595,7 +578,7 @@
 .LP
 There must not be any spaces between these subfields.
 .
-Missing subfields are assumed to be 0.
+Missing subfields are assumed to be\~0.
 .
 The subfields are all decimal integers.
 .
@@ -606,37 +589,37 @@
 .
 The
 .I width
-subfields gives the width of the character.
+subfields gives the width of the glyph.
 .
 The
 .I height
-subfield gives the height of the character (upwards is positive);
-if a character does not extend above the baseline, it should be
+subfield gives the height of the glyph (upwards is positive);
+if a glyph does not extend above the baseline, it should be
 given a zero height, rather than a negative height.
 .
 The
 .I depth
-subfield gives the depth of the character, that is, the distance
+subfield gives the depth of the glyph, that is, the distance
 below the lowest point below the baseline to which the
-character extends (downwards is positive);
-if a character does not extend below above the baseline, it should be
+glyph extends (downwards is positive);
+if a glyph does not extend below above the baseline, it should be
 given a zero depth, rather than a negative depth.
 .
 The
 .I italic-correction
 subfield gives the amount of space that should be added after the
-character when it is immediately to be followed by a character
+glyph when it is immediately to be followed by a glyph
 from a roman font.
 .
 The
 .I left-italic-correction
 subfield gives the amount of space that should be added before the
-character when it is immediately to be preceded by a character
+glyph when it is immediately to be preceded by a glyph
 from a roman font.
 .
 The
 .I subscript-correction
-gives the amount of space that should be added after a character
+gives the amount of space that should be added after a glyph
 before adding a subscript.
 .
 This should be less than the italic correction.
@@ -651,7 +634,7 @@
 .LP
 This indicates that
 .I name
-is just another name for the character mentioned in the
+is just another name for the glyph mentioned in the
 preceding line.
 .
 .LP
@@ -665,14 +648,14 @@
 .I c1 c2 n
 .
 .LP
-This means that when character
+This means that when glyph
 .I c1
-appears next to character
+appears next to glyph
 .I c2
-the space between them should be increased by
+the space between them should be increased by\~\c
 .IR n .
 .
-Most entries in kernpairs section have a negative value for
+Most entries in kernpairs section have a negative value for\~\c
 .IR n .
 .
 .
@@ -685,7 +668,7 @@
 .
 .TP
 .BI @FONTDIR@/dev name / F
-Font file for font
+Font file for font\~\c
 .I F
 of device
 .IR name .

Index: man/groff_out.man
===================================================================
RCS file: /cvsroot/groff/groff/man/groff_out.man,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- man/groff_out.man   4 Jan 2008 23:29:19 -0000       1.41
+++ man/groff_out.man   19 Jan 2008 20:50:33 -0000      1.42
@@ -41,7 +41,7 @@
 .
 .nr @maxcolor 65536
 .ds @backslash \[rs]\"
-.ds @linebreak \fR\[la]line_break\[ra]\fP\"
+.ds @linebreak \fR\[la]line-break\[ra]\fP\"
 .
 .\" Begin of macro definitions
 .
@@ -73,7 +73,7 @@
 .\" graphics command .D with a variable number of arguments
 .\" format: .D-multiarg <subcommand>
 .de D-multiarg
-\fBD\\$1\fP\ \*[hv1] \*[hv2] ... \*[hvn]\|address@hidden
+\fBD\\$1\fP\ \*[hv1] \*[hv2] .\|.\|. \*[hvn]\|address@hidden
 ..
 .\" format: .x-command <subname> "<arguments>"
 .de x-command
@@ -213,7 +213,7 @@
 .
 Its only elements are commands with or without arguments.
 .
-In this document, the term "command" always refers to the
+In this document, the term \[lq]command\[rq] always refers to the
 .I intermediate output
 language, never to the
 .I roff
@@ -350,11 +350,11 @@
 .
 .P
 Note that single characters can have the eighth bit set, as can the
-names of fonts and special characters.
+names of fonts and special characters (this is, glyphs).
 .
-The names of characters and fonts can be of arbitrary length.
+The names of glyphs and fonts can be of arbitrary length.
 .
-A character that is to be printed will always be in the current font.
+A glyph that is to be printed will always be in the current font.
 .
 .
 .P
@@ -402,7 +402,7 @@
 with the arguments set as outlined in the section
 .BR "Device Control Commands" .
 .
-But the parser for the
+However, the parser for the
 .I intermediate output
 format is able to swallow additional whitespace and comments as well.
 .
@@ -459,7 +459,7 @@
 .\" --------------------------------------------------------------------
 .
 .TP
-.BI # anything \[la]end_of_line\[ra]
+.BI # anything \[la]end-of-line\[ra]
 A comment.
 .
 Ignore any characters from the
@@ -524,28 +524,28 @@
 .
 .
 .TP
-.command C xxx \[la]white_space\[ra]
-Print a special groff character named
+.command C xxx \[la]white-space\[ra]
+Print a glyph (special character) named
 .IR xxx .
 .
 The trailing
 .I syntactical space
 or
 .I line break
-is necessary to allow character names of arbitrary length.
+is necessary to allow glyph names of arbitrary length.
 .
-The character is printed at the current print position; the
-character's size is read from the font file.
+The glyph is printed at the current print position; the
+glyph's size is read from the font file.
 .
 The print position is not changed.
 .
 .
 .TP
 .command c c
-Print character\~\c
-.IR c
+Print glyph with single-letter name\~\c
+.I c
 at the current print position;
-the character's size is read from the font file.
+the glyph's size is read from the font file.
 .
 The print position is not changed.
 .
@@ -553,14 +553,14 @@
 .TP
 .command f n
 Set font to font number\~\c
-.IR n
+.I n
 (a non-negative integer).
 .
 .
 .TP
 .command H n
 Move right to the absolute vertical position\~\c
-.IR n
+.I n
 (a non-negative integer in basic units\~\c
 .BR u )
 relative to left edge of current page.
@@ -569,9 +569,9 @@
 .TP
 .command h n
 Move
-.IR n
+.I n
 (a non-negative integer) basic units\~\c
-.BR u
+.B u
 horizontally to the right.
 .
 .I [CSTR\~#54]
@@ -583,7 +583,7 @@
 .
 .
 .TP
-.command m "color_scheme \fR[\fPcomponent .\|.\|.\fR]\fP"
+.command m "color-scheme \fR[\fPcomponent .\|.\|.\fR]\fP"
 Set the color for text (glyphs), line drawing, and the outline of
 graphic objects using different color schemes; the analoguous command
 for the filling color of graphic objects is
@@ -644,20 +644,22 @@
 .
 .TP
 .command N n
-Print character with index\~\c
-.IR n
+Print glyph with index\~\c
+.I n
 (an integer, normally non-negative) of the current font.
 .
 The print position is not changed.
 .
 If
 .B \-T\~html
+or
+.B \-T\~xhtml
 is used, negative values are emitted also to indicate an unbreakable space
 with given width.
 .
 For example,
-.B N\~-193
-represents an unbreakable space which has a width of 193u.
+.B N\~\-193
+represents an unbreakable space which has a width of 193\|u.
 .
 This command is a
 .I groff
@@ -673,9 +675,9 @@
 .I classical
 .IR troff ,
 the integer arguments
-.IR b
+.I b
 and\~\c
-.IR a
+.I a
 informed about the space before and after the current line to
 make the
 .I intermediate output
@@ -708,10 +710,10 @@
 .TP
 .command s n
 Set point size to
-.IR n
+.I n
 scaled points
 (this is unit\~\c
-.BR z
+.B z
 in GNU
 .BR @address@hidden ).
 .
@@ -725,26 +727,29 @@
 .
 .
 .TP
-.command t xxx \[la]white_space\[ra]
+.command t xyz\|.\|.\|. \[la]white-space\[ra]
 .TQ
-.command t "xxx dummy_arg" \[la]white_space\[ra]
-Print a word, i.e., a sequence of characters
-.IR xxx
-terminated by a space character or a line break; an optional second
-integer argument is ignored (this allows the formatter to generate
-an even number of arguments).
+.command t "xyz\|.\|.\|.\& dummy-arg" \[la]white-space\[ra]
+Print a word, i.e., a sequence of glyphs with single-letter names
+.IR x ,
+.IR y ,
+.IR z ,
+etc., terminated by a space character or a line break; an optional
+second integer argument is ignored (this allows the formatter to
+generate an even number of arguments).
 .
-The first character should be printed at the current position, the
+The first glyph should be printed at the current position, the
 current horizontal position should then be increased by the width of
-the first character, and so on for each character.
+the first glyph, and so on for each glyph.
 .
-The widths of the characters are read from the font file, scaled for the
+The widths of the glyph are read from the font file, scaled for the
 current point size, and rounded to a multiple of the horizontal
 resolution.
 .
-Special characters cannot be printed using this command (use the
+Special characters (glyphs with names longer than a single letter)
+cannot be printed using this command; use the
 .B C
-command for named characters).
+command for those glyphs.
 .
 This command is a
 .I groff
@@ -757,15 +762,15 @@
 .
 .
 .TP
-.command u "n xxx" \[la]white_space\[ra]
+.command u "n xyz\|.\|.\|." \[la]white-space\[ra]
 Print word with track kerning.
 .
 This is the same as the
 .B t
-command except that after printing each character, the current
+command except that after printing each glyph, the current
 horizontal position is increased by the sum of the width of that
-character and\~\c
-.IR n
+glyph and\~\c
+.I n
 (an integer in
 basic units\~\c
 .BR u ).
@@ -782,7 +787,7 @@
 .TP
 .command V n
 Move down to the absolute vertical position\~\c
-.IR n
+.I n
 (a non-negative integer in basic units\~\c
 .BR u )
 relative to upper edge of current page.
@@ -791,9 +796,9 @@
 .TP
 .command v n
 Move
-.IR n
+.I n
 basic units\~\c
-.BR u
+.B u
 down
 .RI ( n
 is a non-negative integer).
@@ -888,7 +893,7 @@
 .
 .P
 In the following command reference, the syntax element
-.I \[la]line_break\[ra]
+.I \[la]line-break\[ra]
 means a
 .I syntactical line break
 as defined in section
@@ -901,7 +906,7 @@
 .indexed_offset h 1 v 1 ,
 then to offset
 .indexed_offset h 2 v 2
-if given, etc.\& up to
+if given, etc., up to
 .indexed_offset h n v n .
 This command takes a variable number of argument pairs; the current
 position is moved to the terminal point of the drawn curve.
@@ -920,9 +925,9 @@
 .TP
 .D-command C d
 .TQ
-.D-command C "d dummy_arg"
+.D-command C "d dummy-arg"
 Draw a solid circle using the current fill color with diameter\~\c
-.IR d
+.I d
 (integer in basic units\~\c
 .BR u )
 with leftmost point at the current position; then move the current
@@ -939,7 +944,7 @@
 .TP
 .D-command c d
 Draw circle line with diameter\~\c
-.IR d
+.I d
 (integer in basic units\~\c
 .BR u )
 with leftmost point at the current position; then move the current
@@ -950,9 +955,9 @@
 .D-command E "h v"
 Draw a solid ellipse in the current fill color with a horizontal
 diameter of\~\c
-.IR h
+.I h
 and a vertical diameter of\~\c
-.IR v
+.I v
 (both integers in basic units\~\c
 .BR u )
 with the leftmost point at the current position; then move to the
@@ -966,9 +971,9 @@
 .TP
 .D-command e "h v"
 Draw an outlined ellipse with a horizontal diameter of\~\c
-.IR h
+.I h
 and a vertical diameter of\~\c
-.IR v
+.I v
 (both integers in basic units\~\c
 .BR u )
 with the leftmost point at current position; then move to the
@@ -976,7 +981,7 @@
 .
 .
 .TP
-.D-command F "color_scheme \fR[\fPcomponent .\|.\|.\fR]\fP"
+.D-command F "color-scheme \fR[\fPcomponent .\|.\|.\fR]\fP"
 Set fill color for solid drawing objects using different color
 schemes; the analoguous command for setting the color of text, line
 graphics, and the outline of graphic objects is
@@ -991,7 +996,7 @@
 These commands are generated by the
 .I groff
 escape sequences
-.B address@hidden'F\ .\|.\|.'
+.BR address@hidden'F\  .\|.\|. '
 and
 .B address@hidden
 (with no other corresponding graphics commands).
@@ -1041,38 +1046,35 @@
 .TP
 .D-command f n
 The argument
-.IR n
+.I n
 must be an integer in the range -32767 to 32767.
 .
 .RS
 .TP
-.RI "0 \[<=] " n " \[<=] 1000"
+.RI 0\|\[<=]\| n \|\[<=]\|1000
 Set the color for filling solid drawing objects to a shade of gray,
 where 0 corresponds to solid white, 1000 (the default) to solid black,
-and values in between to intermediate shades of gray; this is
+and values inbetween to intermediate shades of gray; this is
 obsoleted by command
 .BR DFg .
 .
 .TP
-.IR n " < 0 or " n " > 1000"
+.IR n "\|<\|0 or " n \|>\|1000
 Set the filling color to the color that is currently being used for
 the text and the outline, see command
 .BR m .
 For example, the command sequence
 .
-.nf
-.ft CB
-.RS
 .RS
+.IP
+.EX
 mg 0 0 address@hidden
 Df -1
+.EE
 .RE
-.ft
-.fi
 .
+.IP
 sets all colors to blue.
-.RE
-.
 .
 .P
 No position changing.
@@ -1096,11 +1098,11 @@
 .TP
 .D-multiarg p
 Draw a polygon line from current position to offset
-.offset h1 v1 ,
+.indexed_offset h 1 v 1 ,
 from there to offset
-.offset h2 v2 ,
-etc.\& up to offset
-.offset hn vn ,
+.indexed_offset h 2 v 2 ,
+etc., up to offset
+.indexed_offset h n v n ,
 and from there back to the starting position.
 .
 .ie address@hidden \{\
@@ -1143,15 +1145,15 @@
 .TP
 .D-command t n
 Set the current line thickness to\~\c
-.IR n
+.I n
 (an integer in basic units\~\c
 .BR u )
 if
-.IR n >0;
+.IR n \|>\|0;
 if
-.IR n =0
+.IR n \|=\|0
 select the smallest available line thickness; if
-.IR n <0
+.IR n \|<\|0
 set the line thickness proportional to the point size (this is the
 default before the first
 .B Dt
@@ -1215,11 +1217,11 @@
 .B x\ i_like_groff
 and
 .B x\ roff_is_groff
-resp.\& are accepted as well to mean the same commands.
+are accepted as well to mean the same commands.
 .
 .P
 In the following, the syntax element
-.I \[la]line_break\[ra]
+.I \[la]line-break\[ra]
 means a
 .I syntactical line break
 as defined in section
@@ -1229,7 +1231,7 @@
 .x-command F name
 .xsub Filename
 Use
-.IR name
+.I name
 as the intended name for the current file in error reports.
 .
 This is useful for remembering the original file name when
@@ -1247,9 +1249,9 @@
 .x-command f "n\ s"
 .xsub font
 Mount font position\~\c
-.IR n
+.I n
 (a non-negative integer) with font named\~\c
-.IR s
+.I s
 (a text word),
 cf.
 .BR groff_font (@MAN5EXT@).
@@ -1259,7 +1261,7 @@
 .x-command H n
 .xsub Height
 Set character height to\~\c
-.IR n
+.I n
 (a positive integer in scaled points\~\c
 .BR z ).
 .
@@ -1295,12 +1297,12 @@
 Resolution is\~\c
 .IR n ,
 while
-.IR h
+.I h
 is the minimal horizontal motion, and
-.IR v
+.I v
 the minimal vertical motion possible with this device; all arguments
 are positive integers in basic units\~\c
-.BR u
+.B u
 per inch.
 .
 This is the second command of the
@@ -1311,7 +1313,7 @@
 .x-command S n
 .xsub Slant
 Set slant to\~\c
-.IR n
+.I n
 degrees (an integer in basic units\~\c
 .BR u ).
 .
@@ -1343,7 +1345,7 @@
 a sequence of characters ended by the next whitespace character.
 .
 The possible device names coincide with those from the groff
-.B -T
+.B \-T
 option.
 .
 This is the first command of the
@@ -1356,10 +1358,10 @@
 Configure underlining of spaces.
 .
 If
-.IR n
+.I n
 is\~1, start underlining of spaces;
 if
-.IR n
+.I n
 is\~0, stop underlining of spaces.
 .
 This is needed for the
@@ -1377,7 +1379,7 @@
 .x-command X anything
 .xsub X-escape
 Send string
-.IR anything
+.I anything
 uninterpreted to the device.
 .
 If the line following this command starts with a
@@ -1411,20 +1413,20 @@
 .
 In
 .I classical troff
-output, the writing of a single character was mostly done by a very
+output, emitting a single glyph was mostly done by a very
 strange command that combined a horizontal move and the printing of a
-character.
+glyph.
 .
 It didn't have a command code, but is represented by a 3-character
 argument consisting of exactly 2\~digits and a character.
 .
 .TP
-.IR ddc
+.I ddc
 Move right
-.IR dd
+.I dd
 (exactly two decimal digits) basic units\~\c
 .BR u ,
-then print character\~\c
+then print glyph with single-letter name\~\c
 .IR c .
 .
 .
@@ -1450,7 +1452,7 @@
 .
 .P
 For modern high-resolution devices, this command does not make sense
-because the width of the characters can become much larger than two
+because the width of the glyphs can become much larger than two
 decimal digits.
 .
 In
@@ -1744,7 +1746,7 @@
 and
 .B x H
 has the implicit unit scaled point\~\c
-.BR z
+.B z
 in
 .IR groff ,
 while
@@ -1822,15 +1824,14 @@
 .IR name .
 .
 .TP
-.IB \[la]groff_source_dir\[ra] /src/libs/libdriver/input.cpp
+.IB \[la]groff-source-dir\[ra] /src/libs/libdriver/input.cpp
 Defines the parser and postprocessor for the
 .I intermediate
 .IR output .
 .
 It is located relative to the top directory of the
 .I groff
-source tree, e.g.
-.IR @GROFFSRCDIR@ .
+source tree.
 .
 This parser is the definitive specification of the
 .I groff intermediate output
@@ -1981,7 +1982,7 @@
 .SH "AUTHORS"
 .\" --------------------------------------------------------------------
 .
-Copyright (C) 1989, 2001, 2002, 2003, 2004, 2005, 2006, 2007
+Copyright (C) 1989, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
 Free Software Foundation, Inc.
 .
 .

Index: man/groff_tmac.man
===================================================================
RCS file: /cvsroot/groff/groff/man/groff_tmac.man,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- man/groff_tmac.man  4 Jan 2008 23:29:19 -0000       1.30
+++ man/groff_tmac.man  19 Jan 2008 20:50:33 -0000      1.31
@@ -334,6 +334,7 @@
 .
 .IP
 .EX
+.SM
 \fIsh#\fP groff \-Tps \-dpaper=a4l \-P\-pa4 \-P\-l \-ms foo.ms > foo.ps
 .EE
 .
@@ -363,8 +364,9 @@
 The following output devices support inclusion of PS images:
 .BR \-Tps ,
 .BR \-Tdvi ,
+.BR \-Thtml ,
 and
-.BR \-Thtml ;
+.BR \-Txhtml ;
 for all other devices the image is replaced with a hollow rectangle
 of the same size.
 .
@@ -376,7 +378,7 @@
 Syntax:
 .RS
 .IP
-\&\fB.PSPIC\fP [\fB\-L\fP\||\|\fB-R\fP\||\|\fB\-I\fP\ \fIn\fP] \
+\&\fB.PSPIC\fP [\fB\-L\fP\||\|\fB\-R\fP\||\|\fB\-I\fP\ \fIn\fP] \
 \fI\|file\fP [\fIwidth\fP [\fIheight\fP]]
 .RE
 .
@@ -440,7 +442,7 @@
 .EX
 \&.am PSPIC
 \&.\ \ vpt 0
-\&\eh'(\e\en[ps-offset]u + \e\en[ps-deswid]u)'
+\&\[rs]h'(\[rs]\[rs]n[ps-offset]u + \[rs]\[rs]n[ps-deswid]u)'
 \&.\ \ sp -1
 \&.\ \ vpt 1
 \&..
@@ -461,15 +463,15 @@
 .TP
 .B tty-char
 Overrides the definition of standard troff characters and some groff
-characters for tty devices.
+characters for TTY devices.
 .
 The optical appearance is intentionally inferior compared to that of
-normal tty formatting to allow processing with critical equipment.
+normal TTY formatting to allow processing with critical equipment.
 .
 .
 .TP
 .B www
-Additions of elements known from the html format, as used in the
+Additions of elements known from the HTML format, as used in the
 internet (World Wide Web) pages; this includes URL links and mail
 addresses; see
 .BR groff_www (@MAN7EXT@).
@@ -568,7 +570,7 @@
 .
 .P
 A second strange feature of classical troff was to name macro files
-in the form \fBtmac.\fIname\fR.
+in the form \f[B]tmac.\f[]\f[I]name\f[].
 In modern operating systems, the type of a file is specified as a
 postfix, the file name extension.
 .
@@ -654,7 +656,11 @@
 .
 .P
 For example, suppose a macro file is stored as
+.
+.IP
 .I @MACRODIR@/macros.tmac
+.
+.P
 and is used in some document called
 .IR docu.roff .
 .
@@ -664,7 +670,7 @@
 .
 .IP
 .EX
-\fIsh#\fP groff\ \-m\ \fImacrofile\ document.roff\fP
+\fIsh#\fP groff \-m macros docu.roff
 .EE
 .
 .
@@ -673,7 +679,7 @@
 .
 .IP
 .EX
-\&.mso macrofile.tmac
+\&.mso macros.tmac
 .EE
 .
 .P
@@ -686,10 +692,13 @@
 .
 .
 .P
-In both cases, the formatter is called with
+In both cases, the formatter should be called with option
+.B \-s
+to invoke
+.BR soelim .
 .IP
 .EX
-\fIsh#\fP groff\ \-s\ \fIdocu.roff\fP
+\fIsh#\fP groff \-s docu.roff
 .EE
 .
 .
@@ -796,17 +805,17 @@
 .
 Within the macro definition, the arguments are available as the escape
 sequences
-.BR $1 ,
+.BR \[rs]$1 ,
 \*[Ellipsis],
-.BR $9 ,
-.BR $[ \*[Ellipsis] ] ,
-.BR $* ,
+.BR \[rs]$9 ,
+.BR \[rs]$[ \*[Ellipsis] ] ,
+.BR \[rs]$* ,
 and
-.BR $@ ,
+.BR \[rs]$@ ,
 the name under which the macro was called is in
-.BR $0 ,
+.BR \[rs]$0 ,
 and the number of arguments is in register
-.BR \en[.$] ;
+.BR \[rs]n[.$] ;
 see
 .BR groff (@MAN7EXT@).
 .
@@ -817,6 +826,8 @@
 .
 The phase when groff reads a macro is called
 .I "copy-in mode"
+or
+.I "copy mode"
 in roff-talk.
 .
 This is comparable to the C\~preprocessing phase during the development
@@ -828,7 +839,7 @@
 escape sequences in the macro body are interpreted and replaced by
 their value.
 .
-For constant expression, this is wanted, but strings and registers
+For constant expressions, this is wanted, but strings and registers
 that might change between calls of the macro must be protected from
 being evaluated.
 .
@@ -843,13 +854,13 @@
 .
 .
 .IP
-.ds @1 \ef[I]\e\e$0\ef[]\"
+.ds @1 \[rs]f[I]\[rs]\[rs]$0\[rs]f[]\"
 .ds @2 arguments:\"
 .EX
 \&.ds midpart was called with
 \&.de print_args
-\&.\ \ tm\ address@hidden \e\e*[midpart]\ \e\en[.$]\ address@hidden
-\&.\ \ tm\ \e\e$*
+\&.\ \ tm\ address@hidden \[rs]*[midpart]\ \[rs]\[rs]n[.$]\ address@hidden
+\&.\ \ tm\ \[rs]\[rs]$*
 \&..
 .EE
 .rm @1
@@ -880,28 +891,28 @@
 As the positional parameters and the number of arguments change
 with each call of the macro their leading backslash must be doubled,
 which results in
-.I \e\e$*
+.I \[rs]\[rs]$*
 and
-.IR \e\e[.$] .
+.IR \[rs]\[rs][.$] .
 The same applies to the macro name because it could be called with an
 alias name, so
-.IR \e\e$0 .
+.IR \[rs]\[rs]$0 .
 .
 .
 .P
 On the other hand,
 .I midpart
 is a constant string, it does not change, so no doubling for
-.IR \e*[midpart] .
+.IR \[rs]*[midpart] .
 The
-.I \ef
+.I \[rs]f
 escape sequences are predefined groff elements for setting the font
 within the text.
 .
 Of course, this behavior does not change, so no doubling with
-.I \ef[I]
+.I \[rs]f[I]
 and
-.IR \ef[] .
+.IR \[rs]f[] .
 .
 .
 .\" --------------------------------------------------------------------
@@ -926,14 +937,14 @@
 .
 .
 .IP
-.ds @1 \ef[I]\e$0\ef[]\"
+.ds @1 \[rs]f[I]\[rs]$0\[rs]f[]\"
 .ds @2 arguments:\"
 .EX
 \&.eo
 \&.ds midpart was called with
 \&.de print_args
-\&.\ \ tm\ address@hidden \e*[midpart]\ \en[.$]\ address@hidden
-\&.\ \ tm\ \e$*
+\&.\ \ tm\ address@hidden \[rs]*[midpart]\ \[rs]n[.$]\ address@hidden
+\&.\ \ tm\ \[rs]$*
 \&..
 \&.ec
 .EE
@@ -968,9 +979,9 @@
 .IP
 .EX
 \&.de Text
-\&.\ \ if (\e\en[.$] == 0)\ \e
+\&.\ \ if (\[rs]\[rs]n[.$] == 0)\ \[rs]
 \&.\ \ \ \ return
-\&.\ \ nop\ \e)\e\e$*[rs]\)
+\&.\ \ nop\ \[rs])\[rs]\[rs]$*\[rs])
 \&..
 .EE
 .RE
@@ -993,8 +1004,9 @@
 .RE
 .
 .IP \(bu
-In long macro definitions, make ample use of comment lines or empty
-lines for a better structuring.
+In long macro definitions, make ample use of comment lines or
+almost-empty lines (this is, lines which have a leading dot
+and nothing else) for a better structuring.
 .
 .IP \(bu
 To increase readability, use groff's indentation facility for requests
@@ -1016,8 +1028,8 @@
 In their simplest form, diversions are multi-line strings, but
 they get their power when diversions are used dynamically within macros.
 .
-The information stored in a diversion can be retrieved by calling the
-diversion just like a macro.
+The (formatted) information stored in a diversion can be retrieved by
+calling the diversion just like a macro.
 .
 .
 .P
@@ -1099,17 +1111,35 @@
 .
 .IP \(bu
 a platform-specific directory, being
+.
+.RS
+.IP
 .B @SYSTEMMACRODIR@
+.RE
+.
+.IP
 in this installation
 .
 .IP \(bu
 a site-specific (platform-independent) directory, being
+.
+.RS
+.IP
 .B @LOCALMACRODIR@
+.RE
+.
+.IP
 in this installation
 .
 .IP \(bu
 the main tmac directory, being
+.
+.RS
+.IP
 .B @MACRODIR@
+.RE
+.
+.IP
 in this installation
 .
 .
@@ -1129,7 +1159,7 @@
 .SH AUTHOR
 .\" --------------------------------------------------------------------
 .
-Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006, 2007
+Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008
 Free Software Foundation, Inc.
 .
 .P

Index: man/roff.man
===================================================================
RCS file: /cvsroot/groff/groff/man/roff.man,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- man/roff.man        4 Jan 2008 23:29:19 -0000       1.38
+++ man/roff.man        19 Jan 2008 20:50:33 -0000      1.39
@@ -98,6 +98,7 @@
 .I Multics
 operating system, cf.\& section
 .BR HISTORY .
+.
 The functionality of this program was very restricted even in
 comparison to ancient
 .IR troff ;
@@ -223,7 +224,9 @@
 The runoff program was written in the
 .I MAD
 language first, later on in
-.IR BCPL ,
+.I BCPL
+(by
+.IR "Doug McIlroy" ),
 the grandmother of the
 .IR C \~\c
 programming language.
@@ -251,17 +254,24 @@
 .I Graphic Systems CAT
 typesetter, a graphical output device from a PDP-11 computer running
 Unix.
-.
-As runoff was too limited for this task it was further developed into
-a more powerful text formatting system by
-.IR "Josef F. Ossanna" ,
+.I Ken Thompson
+rewrote runoff for the PDP-11; however, as runoff was too limited for
+the CAT it was further developed into the more powerful
+.I nroff and
+.I troff
+programs by
+.IR "Joseph F.\& Ossanna" ,
 who already programmed several runoff ports.
 .
+On the hardware side, Ossanna wired the nominal paper-tape reader of
+the CAT straight into the PDP-11.
+.
 .P
 The name
 .I runoff
 was shortened to
 .IR roff .
+.
 The greatly enlarged language of Ossanna's concept included already all
 elements of a full
 .IR "roff system" .
@@ -324,6 +334,7 @@
 .
 This document is the specification of the
 .IR "classical troff" .
+.
 All later
 .I roff
 systems tried to establish compatibility with this specification.
@@ -345,6 +356,7 @@
 .
 In 1979, these novelties were described in the paper
 .IR "[CSTR\~#97]" .
+.
 This new
 .I troff
 version is the basis for all existing newer
@@ -386,12 +398,10 @@
 .P
 The source code of both the ancient Unix and classical
 .I troff
-weren't available for two decades.
-.
-Fortunately, Caldera bought SCO UNIX in 2001.
+wasn't available for two decades.
 .
-In the following, Caldera made the ancient source code accessible
-on-line for non-commercial use, cf. section
+Meanwhile, it is accessible again (on-line) for non-commercial use,
+cf.\& section
 .BR "SEE ALSO" .
 .
 .
@@ -412,6 +422,7 @@
 .I groff
 (\f[CR]GNU\f[]
 .IR roff ).
+.
 See
 .BR groff (@MAN1EXT@)
 for an overview.
@@ -651,6 +662,7 @@
 .IR "intermediate output format"
 or
 .IR "troff output" .
+.
 This language was first specified in
 .IR "[CSTR\~#97]" ;
 its \f[CR]GNU\f[] extension is documented in
@@ -729,7 +741,7 @@
 .I post
 in classical
 .I troff
-had a resolution of 720, while
+had a resolution of 720 units per inch, while
 .IR groff 's
 .I ps
 device has 72000, a refinement of factor 100.
@@ -859,6 +871,7 @@
 .I roff
 elements starting with a backslash
 .QuotedChar \[rs] .
+.
 They can be inserted anywhere, also in the midst of text in a line.
 .
 They are used to implement various features, including the insertion of
@@ -943,6 +956,7 @@
 It provides the possibility to feed all input into a command-line pipe
 that is specified in the shell environment variable
 .BR LESSOPEN .
+.
 This process is not well documented, so here an example:
 .
 .RS
@@ -966,6 +980,7 @@
 .I roff
 document is Emacs (or Xemacs), see
 .BR emacs (1).
+.
 It provides an
 .I nroff
 mode that is suitable for all kinds of
@@ -1044,7 +1059,7 @@
 .
 Instead, use the empty request (a line consisting of a dot only) or a
 line comment
-.B .\e"
+.B .\[rs]"
 if a structuring element is needed.
 .
 .IP \(bu
@@ -1103,17 +1118,6 @@
 .
 .
 .\" --------------------------------------------------------------------
-.SH BUGS
-.\" --------------------------------------------------------------------
-.
-.I UNIX\[rg]
-is a registered trademark of the Open Group.
-.
-But things have improved considerably after Caldera had bought SCO
-UNIX in 2001.
-.
-.
-.\" --------------------------------------------------------------------
 .SH "SEE ALSO"
 .\" --------------------------------------------------------------------
 .
@@ -1310,7 +1314,7 @@
 .SH AUTHORS
 .\" --------------------------------------------------------------------
 .
-Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006, 2007
+Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008
 Free Software Foundation, Inc.
 .
 .P

Index: src/libs/libgroff/htmlhint.cpp
===================================================================
RCS file: /cvsroot/groff/groff/src/libs/libgroff/htmlhint.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- src/libs/libgroff/htmlhint.cpp      26 May 2005 21:02:00 -0000      1.2
+++ src/libs/libgroff/htmlhint.cpp      19 Jan 2008 20:50:33 -0000      1.3
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2001, 2002, 2008 Free Software Foundation, Inc.
      Written by Gaius Mulley (address@hidden)
 
 This file is part of groff.
@@ -33,11 +33,13 @@
  *  This string is intercepted by pre-grohtml and substituted for
  *  the image name and suppression escapes.
  *
- *  pre-html runs troff twice, once with -Thtml and once with -Tps.
- *  troff -Thtml device driver emits a <src='image'.png> tag
- *  and the postscript device driver works out the min/max limits
- *  of the graphic region.  These region limits are read by pre-html
- *  and an image is generated via troff -Tps -> gs -> png
+ *  pre-html runs troff twice, once with -Thtml (or -Txhtml) and once
+ *  with -Tps.  `troff -Thtml' (and `troff -Txhtml') emits a
+ *  <src='image'.png> tag and the postscript device driver works out
+ *  the min/max limits of the graphic region.  These region limits are
+ *  read by pre-html and an image is generated via
+ *
+ *    troff -Tps -> gs -> png
  */
 
 /*

Index: src/preproc/html/pre-html.cpp
===================================================================
RCS file: /cvsroot/groff/groff/src/preproc/html/pre-html.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- src/preproc/html/pre-html.cpp       19 Sep 2007 14:55:56 -0000      1.16
+++ src/preproc/html/pre-html.cpp       19 Jan 2008 20:50:33 -0000      1.17
@@ -1,5 +1,5 @@
 // -*- C++ -*-
-/* Copyright (C) 2000, 2001, 2002, 2003, 2004, 2007
+/* Copyright (C) 2000, 2001, 2002, 2003, 2004, 2007, 2008
  *     Free Software Foundation, Inc.
  * Written by Gaius Mulley (address@hidden).
  *
@@ -1552,21 +1552,14 @@
 static void usage(FILE *stream)
 {
   fprintf(stream,
-         "usage: %s troffname [-Iimage_name] [-Dimage_directory]\n"
-         "       [-P-o vertical_image_offset] [-P-i image_resolution]\n"
-         "       [troff flags]\n",
-         program_name);
-  fprintf(stream,
-         "    vertical_image_offset (default %d/72 of an inch)\n",
-         vertical_offset);
-  fprintf(stream,
-         "    image_resolution (default %d) pixels per inch\n",
-         image_res);
-  fprintf(stream,
-         "    image_name is the name of the stem for all images\n"
-         "    (default is grohtml-<pid>)\n");
-  fprintf(stream,
-         "    place all png files into image_directory\n");
+    "\n"
+    "This program is not intended to be called stand-alone;\n"
+    "it is part of the groff pipeline to produce HTML output.\n"
+    "\n"
+    "If there is ever the need to call it manually (e.g., for\n"
+    "debugging purposes), add command line option `-V' while calling\n"
+    "the `groff' program to see which arguments are passed to it.\n"
+    "\n");
 }
 
 /*

Index: src/roff/groff/groff.man
===================================================================
RCS file: /cvsroot/groff/groff/src/roff/groff/groff.man,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -b -r1.50 -r1.51
--- src/roff/groff/groff.man    4 Jan 2008 23:29:19 -0000       1.50
+++ src/roff/groff/groff.man    19 Jan 2008 20:50:33 -0000      1.51
@@ -407,7 +407,9 @@
 .
 .TP
 html
-HTML output (preprocessors are
+.TQ
+xhtml
+HTML and XHTML output (preprocessors are
 .B @address@hidden
 and
 .BR \%pre-grohtml ,
@@ -1080,6 +1082,10 @@
 .BR unicode (7).
 .
 .TP
+.B xhtml
+XHTML output.
+.
+.TP
 .B X75
 75dpi X Window System output suitable for the previewers
 .BR \%xditview (1x)
@@ -1153,7 +1159,7 @@
 .
 .TP
 .BR \%grohtml (@MAN1EXT@)
-for HTML format,
+for HTML and XHTML formats,
 .
 .TP
 .BR grops (@MAN1EXT@)

Index: tmac/groff_www.man
===================================================================
RCS file: /cvsroot/groff/groff/tmac/groff_www.man,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- tmac/groff_www.man  19 Feb 2007 02:01:32 -0000      1.21
+++ tmac/groff_www.man  19 Jan 2008 20:50:33 -0000      1.22
@@ -1,5 +1,5 @@
 .TH GROFF_WWW @MAN7EXT@ "@MDATE@" "Groff Version @VERSION@"
-.\" Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006
+.\" Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2008
 .\" Free Software Foundation, Inc.
 .\"      Written by Gaius Mulley (address@hidden)
 .\"
@@ -55,7 +55,9 @@
 Note that this macro file is automatically called (via the
 .B troffrc
 file) if you use
-.BR \-Thtml .
+.B \-Thtml
+or
+.BR \-Txhtml .
 .PP
 To see the hyperlinks in action, please format this man page with the
 .B \%grohtml
@@ -185,6 +187,8 @@
 .IP
 If this is processed by a device other than 
 .B \-Thtml
+or
+.B \-Txhtml
 it appears as:
 .RS
 .IP
@@ -224,7 +228,9 @@
 .B www.tmac
 inserts a zero-width character which expands to a harmless space (only if
 run with
-.BR \-Thtml ).
+.B \-Thtml
+or
+.BR \-Txhtml ).
 .
 .TP
 .B .FTP url [description] [after]
@@ -302,6 +308,8 @@
 .BR pnmtops .
 If the document isn't processed with
 .B \-Thtml
+or
+.B \-Txhtml
 it is necessary to use the
 .B \-U
 option of groff.
@@ -397,6 +405,8 @@
 Force \%grohtml to place the automatically generated links at this position.
 If this manual page has been processed with
 .B \-Thtml
+or
+.B \-Txhtml
 those links can be seen right here.
 .
 .LK
@@ -404,7 +414,9 @@
 .TP
 .B .HR
 Generate a full-width horizontal rule for
-.BR \-Thtml .
+.B \-Thtml
+and
+.BR \-Txhtml .
 No effect for all other devices.
 .
 .TP
@@ -428,7 +440,9 @@
 .B .HEAD
 Add arbitrary HTML data to the <head> block.
 Ignored if not processed with
-.BR \-Thtml .
+.B \-Thtml
+or
+.BR \-Txhtml .
 Example:
 .RS
 .IP
@@ -446,6 +460,8 @@
 All text after this macro is treated as raw html.
 If the document is processed without
 .B \-Thtml
+or
+.B \-Txhtml
 then the macro is ignored.
 Internally, this macro is used as a building block for other higher-level
 macros.

Index: tmac/pspic.tmac
===================================================================
RCS file: /cvsroot/groff/groff/tmac/pspic.tmac,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- tmac/pspic.tmac     22 Mar 2007 11:13:26 -0000      1.7
+++ tmac/pspic.tmac     19 Jan 2008 20:50:34 -0000      1.8
@@ -2,7 +2,7 @@
 .\"
 .\" Define the PSPIC macro.
 .\"
-.\" When used other than with -Tps, -Tdvi, or -Thtml it draws a box
+.\" When used other than with -Tps, -Tdvi, -Thtml, or -Txhtml it draws a box
 .\" around where the picture would go.
 .\"
 .\" Usage:

Index: tmac/www.tmac
===================================================================
RCS file: /cvsroot/groff/groff/tmac/www.tmac,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -b -r1.51 -r1.52
--- tmac/www.tmac       19 Sep 2007 14:55:56 -0000      1.51
+++ tmac/www.tmac       19 Jan 2008 20:50:34 -0000      1.52
@@ -10,7 +10,7 @@
 
 This file is part of groff, the GNU roff type-setting system.
 
-Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006
+Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2008
   Free Software Foundation, Inc.
 written by Gaius Mulley <address@hidden>, with additions by
 Werner Lemberg <address@hidden> and Bernd Warken <address@hidden>.
@@ -35,8 +35,9 @@
     Description
 ------------------------------------------------------------------------
 
-A simple set of macros to provide HTML documents with basic
-www functionality.  It should work with any macro set.
+A simple set of macros to provide HTML (or XHTML) documents with basic
+www functionality.  It should work with any macro set.  In the following,
+HTML always denotes XHTML also.
 ..
 .
 .




reply via email to

[Prev in Thread] Current Thread [Next in Thread]