groff-commit
[Top][All Lists]
Advanced

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

[Groff-commit] groff ./ChangeLog ./README src/devices/xditview...


From: Werner LEMBERG
Subject: [Groff-commit] groff ./ChangeLog ./README src/devices/xditview...
Date: Fri, 24 Jun 2005 15:55:04 -0400

CVSROOT:        /cvsroot/groff
Module name:    groff
Branch:         
Changes by:     Werner LEMBERG <address@hidden> 05/06/24 19:55:04

Modified files:
        .              : ChangeLog README 
        src/devices/xditview: gxditview.man 
        src/preproc/pic: troff.cpp 

Log message:
        * src/preproc/pic/troff.cpp (troff_output::set_fill,
        troff_output::set_color, troff_output::reset_color): Use .bcolor and
        .fcolor instead of \m and \M, respectively.
        
        * src/devices/xditview/gxditview.man: More minor fixes.
        * README: Formatting issues.
        Mention some problems with Debian.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/ChangeLog.diff?tr1=1.838&tr2=1.839&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/README.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/src/devices/xditview/gxditview.man.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/src/preproc/pic/troff.cpp.diff?tr1=1.4&tr2=1.5&r1=text&r2=text

Patches:
Index: groff/ChangeLog
diff -u groff/ChangeLog:1.838 groff/ChangeLog:1.839
--- groff/ChangeLog:1.838       Thu Jun 23 21:01:37 2005
+++ groff/ChangeLog     Fri Jun 24 19:55:03 2005
@@ -1,3 +1,15 @@
+2005-06-24  Werner Lemberg  <address@hidden>
+
+       * src/preproc/pic/troff.cpp (troff_output::set_fill,
+       troff_output::set_color, troff_output::reset_color): Use .bcolor and
+       .fcolor instead of \m and \M, respectively.
+
+2005-06-23  Bernd Warken
+
+       * src/devices/xditview/gxditview.man: More minor fixes.
+       * README: Formatting issues.
+       Mention some problems with Debian.
+
 2005-06-23  Bernd Warken
 
        * src/devices/xditview/gxditview.man: Revised and improved.
Index: groff/README
diff -u groff/README:1.13 groff/README:1.14
--- groff/README:1.13   Fri May 27 07:10:53 2005
+++ groff/README        Fri Jun 24 19:55:03 2005
@@ -1,64 +1,66 @@
-This is the GNU groff document formatting system.  The version number
-is given in the file VERSION.
+This is the GNU `groff' document formatting system.  The version
+number is given in the file VERSION.
 
-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 typewriter-like devices.  Also included is a modified
-version of the Berkeley -me macros, an enhanced version of the X11
-xditview previewer, and an implementation of the -mm macros contributed
-by Joergen Haegg (address@hidden).
-
-See the file INSTALL for installation instructions.  You will require a
-C++ compiler.
-
-The file NEWS describes recent user-visible changes to groff.
-
-Groff is free software.  See the file COPYING for copying permission.
-
-The file PROBLEMS describes various problems that have been encountered
-in compiling, installing, and running groff.
-
-The most recent released version of groff is always available by
-anonymous ftp from ftp.gnu.org in the directory gnu/groff.
-
-The current development version of groff is available from a CVS
-repository.  You can access it by first selecting a parent directory in
-which to create a working copy (call it, say, ~/cvswork), and then
-executing the commands
+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
+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
+contributed by Joergen Haegg (address@hidden).
+
+See the file `INSTALL' for installation instructions.  You will
+require a C++ compiler.
+
+The file `NEWS' describes recent user-visible changes to `groff'.
+
+`groff' is free software.  See the file `COPYING' for copying
+permission.
+
+The file `PROBLEMS' describes various problems that have been
+encountered in compiling, installing, and running `groff'.
+
+The most recent released version of `groff' is always available by
+anonymous ftp from `ftp.gnu.org' in the directory `gnu/groff'.
+
+The current development version of `groff' is available from a `CVS'
+repository.  You can access it by first selecting a parent directory
+in which to create a working copy (call it, say, `~/cvswork'), and
+then executing the commands
 
   cd ~/cvswork
   CVS_RSH=ssh; export CVS_RSH
   cvs -d:ext:address@hidden/cvsroot/groff -z5 co groff
 
-(Note that you need an SSH client for security reasons.)
+(Note that you need an `ssh' client for security reasons.)
 
-This will create a subdirectory, ~/cvswork/groff, with a `checked out'
-copy of the CVS repository.  An update of this working copy may be
-achieved, at any later time by invoking the commands
+This will create a subdirectory, `~/cvswork/groff', with a "checked
+out" copy of the `CVS' repository.  An update of this working copy may
+be achieved, at any later time by invoking the commands
 
   cd ~/cvswork/groff
   CVS_RSH=ssh cvs -z5 update -dP
 
-Please read the CVS info pages for further details.
+Please read the `CVS' info pages for further details.
 
-Finally, it is possible to access the CVS with a web browser by
+Finally, it is possible to access the `CVS' with a web browser by
 pointing it to
 
   http://savannah.gnu.org/cvs/?group=groff
 
 Alternatively, you can download snapshots (which are updated twice a day).
-The complete groff source as a single file is available at
+The complete `groff' source as a single file is available at
 
   http://groff.ffii.org/groff/devel/groff-current.tar.gz
 
-A diff file relative to groff-<version>, the latest official groff
+A diff file relative to `groff-<version>', the latest official `groff'
 release is available at
 
   http://groff.ffii.org/groff/devel/groff-<version>-current.diff.gz
 
-Assuming that groff-<version>.tar.gz and
-groff-<version>-current.diff.gz are in the same directory, do the
+Assuming that `groff-<version>.tar.gz' and
+`groff-<version>-current.diff.gz' are in the same directory, do the
 following to apply the diff file:
 
   tar xzvf groff-<version>.tar.gz
@@ -66,7 +68,7 @@
   gunzip -c ../groff-<version>-current.diff.gz | patch -p1
 
 Depending on your requirements, you may need at least some of the
-following tools to build groff directly from its source:
+following tools to build `groff' directly from its source:
 
   ghostscript
   the psutils package
@@ -74,25 +76,35 @@
   texinfo 4.8
   bison >= 1.875b or byacc
 
-Note that texinfo and bison or byacc are required only for building from
-CVS sources (either a checked out working copy, or a daily snapshot).
-They are not required for building from a stable release tarball.  Also
-note that the version numbers stated are the minimum supported.  No
-version of texinfo < 4.8 will work, and the original release of bison
-1.875 is known not to work; you *may* find that bison releases < 1.875
-will work, but in case of difficulty, please update to a later version
-*before* posting a bug report.
-
-For *all* sources, you need ghostscript for creation of either PDF or HTML
-output; the netpbm and psutils packages are required only for HTML output.
-If you don't intend to produce output in either of these formats, then
-these packages are unnecessary.
+Note that `texinfo' and `bison' or `byacc' are required only for
+building from `CVS' sources (either a checked out working copy, or a
+daily snapshot).  They are not required for building from a stable
+release tarball.  Also note that the version numbers stated are the
+minimum supported.  No version of `texinfo' < 4.8 will work, and the
+original release of `bison' 1.875 is known not to work; you *may* find
+that `bison' releases < 1.875 will work, but in case of difficulty,
+please update to a later version *before* posting a bug report.
+
+For *all* sources, you need ghostscript for creation of either `PDF' or
+`HTML' output; the `netpbm' and `psutils' packages are required only for
+`HTML' output.  If you don't intend to produce output in either of these
+formats, then these packages are unnecessary.
+
+In Linux Debian, the installation of `texinfo' is dangerous.  For it
+creates a file `install-info' that will block the system installation.
+So the created `/usr/local/bin/install-info' must be renamed.
+
+The `groff' configure script searches for the X11 headers and
+libraries `Xaw' and `Xmu'.  So the corresponding developer packages of
+your system must be installed, otherwise `groff' does not install
+`gxditview' and the `-TX*' devices.  In Debian, the developer packages
+are `libxaw7-dev' and `libxmu-dev'.
 
-Please report bugs using the form in the file BUG-REPORT; the idea of
+Please report bugs using the form in the file `BUG-REPORT'; the idea of
 this is to make sure that FSF has all the information it needs to fix
-the bug.  At the very least, read the BUG-REPORT form and make sure
+the bug.  At the very least, read the `BUG-REPORT' form and make sure
 that you supply all the information that it asks for.  Even if you are
-not sure that something is a bug, report it using BUG-REPORT: this will
+not sure that something is a bug, report it using `BUG-REPORT': this will
 enable us to determine whether it really is a bug or not.
 
 Three mailing lists are available:
@@ -117,6 +129,6 @@
 Each of these web pages also provides a link to a browseable archive of
 postings to the corresponding mailing list.
 
-GNU groff was written by James Clark <address@hidden>.  It is now
+GNU `groff' was written by James Clark <address@hidden>.  It is now
 maintained by Ted Harding <address@hidden> and Werner
 Lemberg <address@hidden>.
Index: groff/src/devices/xditview/gxditview.man
diff -u groff/src/devices/xditview/gxditview.man:1.3 
groff/src/devices/xditview/gxditview.man:1.4
--- groff/src/devices/xditview/gxditview.man:1.3        Thu Jun 23 21:01:37 2005
+++ groff/src/devices/xditview/gxditview.man    Fri Jun 24 19:55:04 2005
@@ -66,10 +66,10 @@
 There are four
 .BR X *
 devices:
-.BR -TX75 ,
-.BR -TX75-12 ,
-.BR -TX100 ,
-.BR -TX100-12 .
+.BR \%-TX75 ,
+.BR \%-TX75-12 ,
+.BR \%-TX100 ,
+.BR \%-TX100-12 .
 They differ by the X resolution (75dpi or 100dpi) and the used base font
 size (10pt or 12pt).
 .
@@ -121,7 +121,7 @@
 .B Open
 Open for display a new file specified by a dialog box.
 .
-The file should contain
+The file should contain some
 .I groff intermediate
 .IR output .
 If the filename starts with
@@ -197,7 +197,7 @@
 .BI \-backingStore\  backing-store-type
 Redisplay of the
 .I groff intermediate output
-window can take upto a second or so, this option causes the server to
+window can take up to a second or so, this option causes the server to
 save the window contents so that when it is scrolled around the
 viewport, the window is painted from contents saved in backing store.
 .I backing-store-type
@@ -224,7 +224,7 @@
 .B X11
 command, in which case the device resolution will be used.
 .
-This corresponds the
+This corresponds to the
 .I Dvi
 widget's
 .B resolution
@@ -325,7 +325,8 @@
 .
 This must be a string containing a sequence of lines.
 .
-Each line contains two whitespace separated fields: first the groff
+Each line contains two whitespace separated fields: first the
+.I groff
 font name, and secondly the X font name.
 .
 The default is
@@ -362,15 +363,21 @@
 .
 .
 .SH ORIGIN
-This program is derived from \%xditview; portions of \%xditview
-originated in xtroff which was derived from suntroff.
+This program is derived from
+.IR \%xditview ;
+portions of
+.I \%xditview
+originated in
+.I \%xtroff
+which was derived from
+.IR \%suntroff .
 .
 .
 .SH COPYRIGHT
 Copyright 1989, Massachusetts Institute of Technology.
 .br
 See
-.IR X (1)
+.BR X (1)
 for a full statement of rights and permissions.
 .
 .
Index: groff/src/preproc/pic/troff.cpp
diff -u groff/src/preproc/pic/troff.cpp:1.4 groff/src/preproc/pic/troff.cpp:1.5
--- groff/src/preproc/pic/troff.cpp:1.4 Thu May 26 21:02:01 2005
+++ groff/src/preproc/pic/troff.cpp     Fri Jun 24 19:55:04 2005
@@ -1,5 +1,5 @@
 // -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001, 2002, 2003
+/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001, 2002, 2003, 2005
    Free Software Foundation, Inc.
      Written by James Clark (address@hidden)
 
@@ -488,7 +488,7 @@
   if (last_filled) {
     free(last_filled);
     last_filled = 0;
-    printf("\\M[]\n");
+    printf(".fcolor\n");
   }
 }
 
@@ -498,14 +498,14 @@
     if (last_filled || last_outlined) {
       reset_color();
     }
-    // \m and \M emit a node in compatibility mode only,
+    // .bcolor and .fcolor emit a node in compatibility mode only,
     // but that won't work anyway
     if (color_fill) {
-      printf("\\M[%s]\n", color_fill);
+      printf(".fcolor %s\n", color_fill);
       last_filled = strsave(color_fill);
     }
     if (color_outlined) {
-      printf("\\m[%s]\n", color_outlined);
+      printf(".gcolor %s\n", color_outlined);
       last_outlined = strsave(color_outlined);
     }
   }
@@ -515,12 +515,12 @@
 {
   if (driver_extension_flag) {
     if (last_filled) {
-      printf("\\M[]\n");
+      printf(".fcolor\n");
       a_delete last_filled;
       last_filled = 0;
     }
     if (last_outlined) {
-      printf("\\m[]\n");
+      printf(".gcolor\n");
       a_delete last_outlined;
       last_outlined = 0;
     }




reply via email to

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