| Commit | Line | Data |
|---|---|---|
| 4d3e9548 JL |
1 | Copyright (C) 1989-2000, 2001, 2002, 2003, 2004, 2005, 2006, 2008, |
| 2 | 2009 | |
| 3 | Free Software Foundation, Inc. | |
| 4 | ||
| 5 | Copying and distribution of this file, with or without modification, | |
| 6 | are permitted in any medium without royalty provided the copyright | |
| 7 | notice and this notice are preserved. | |
| 8 | ||
| 465b256c JR |
9 | This is the GNU `groff' document formatting system. The version |
| 10 | number is given in the file VERSION. | |
| 92d0a6a6 | 11 | |
| 465b256c JR |
12 | Included in this release are implementations of `troff', `pic', `eqn', |
| 13 | `tbl', `grn', `refer', `-man', `-mdoc', `-mom', and `-ms' macros, and | |
| 14 | drivers for `PostScript', `TeX dvi' format, `HP LaserJet 4' printers, | |
| 4d3e9548 | 15 | `Canon CAPSL' printers, `HTML' and `XHTML' formats (beta status), and |
| 465b256c JR |
16 | typewriter-like devices. Also included is a modified version of the |
| 17 | Berkeley `-me' macros, the enhanced version `gxditview' of the X11 | |
| 18 | `xditview' previewer, and an implementation of the `-mm' macros | |
| 19 | contributed by Joergen Haegg (jh@axis.se). | |
| 92d0a6a6 | 20 | |
| 4d3e9548 JL |
21 | See the file `INSTALL' for installation instructions. You require |
| 22 | a C++ compiler. | |
| 92d0a6a6 | 23 | |
| 465b256c | 24 | The file `NEWS' describes recent user-visible changes to `groff'. |
| 92d0a6a6 | 25 | |
| 465b256c JR |
26 | `groff' is free software. See the file `COPYING' for copying |
| 27 | permission. | |
| 92d0a6a6 | 28 | |
| 465b256c JR |
29 | The file `PROBLEMS' describes various problems that have been |
| 30 | encountered in compiling, installing, and running `groff'. | |
| 92d0a6a6 | 31 | |
| 4d3e9548 JL |
32 | The file `MORE.STUFF' contains information about add-on packages |
| 33 | useful for groff. | |
| 34 | ||
| 465b256c JR |
35 | The most recent released version of `groff' is always available by |
| 36 | anonymous ftp from `ftp.gnu.org' in the directory `gnu/groff'. | |
| 92d0a6a6 | 37 | |
| 465b256c JR |
38 | The current development version of `groff' is available from a `CVS' |
| 39 | repository. You can access it by first selecting a parent directory | |
| 40 | in which to create a working copy (call it, say, `~/cvswork'), and | |
| 41 | then executing the commands | |
| 92d0a6a6 | 42 | |
| 465b256c | 43 | cd ~/cvswork |
| 4d3e9548 | 44 | cvs -d:pserver:anonymous@cvs.savannah.gnu.org/sources/groff -z5 co groff |
| 92d0a6a6 | 45 | |
| 4d3e9548 JL |
46 | This creates a subdirectory, `~/cvswork/groff', with a `checked |
| 47 | out' copy of the `CVS' repository. An update of this working copy may | |
| 465b256c | 48 | be achieved, at any later time by invoking the commands |
| 92d0a6a6 | 49 | |
| 465b256c | 50 | cd ~/cvswork/groff |
| 4d3e9548 | 51 | cvs -z5 update -dP |
| 92d0a6a6 | 52 | |
| 465b256c | 53 | Please read the `CVS' info pages for further details. |
| 92d0a6a6 | 54 | |
| 465b256c JR |
55 | Finally, it is possible to access the `CVS' with a web browser by |
| 56 | pointing it to | |
| 92d0a6a6 | 57 | |
| 465b256c | 58 | http://savannah.gnu.org/cvs/?group=groff |
| 92d0a6a6 | 59 | |
| 465b256c JR |
60 | Alternatively, you can download snapshots (which are updated twice a day). |
| 61 | The complete `groff' source as a single file is available at | |
| 92d0a6a6 | 62 | |
| 465b256c JR |
63 | http://groff.ffii.org/groff/devel/groff-current.tar.gz |
| 64 | ||
| 65 | A diff file relative to `groff-<version>', the latest official `groff' | |
| 66 | release is available at | |
| 67 | ||
| 68 | http://groff.ffii.org/groff/devel/groff-<version>-current.diff.gz | |
| 69 | ||
| 70 | Assuming that `groff-<version>.tar.gz' and | |
| 71 | `groff-<version>-current.diff.gz' are in the same directory, do the | |
| 92d0a6a6 JR |
72 | following to apply the diff file: |
| 73 | ||
| 74 | tar xzvf groff-<version>.tar.gz | |
| 75 | cd groff-<version> | |
| 76 | gunzip -c ../groff-<version>-current.diff.gz | patch -p1 | |
| 77 | ||
| 465b256c JR |
78 | Depending on your requirements, you may need at least some of the |
| 79 | following tools to build `groff' directly from its source: | |
| 80 | ||
| 81 | ghostscript | |
| 82 | the psutils package | |
| 83 | the netpbm package | |
| 84 | texinfo 4.8 | |
| 85 | bison >= 1.875b or byacc | |
| 86 | ||
| 87 | Note that `texinfo' and `bison' or `byacc' are required only for | |
| 88 | building from `CVS' sources (either a checked out working copy, or a | |
| 89 | daily snapshot). They are not required for building from a stable | |
| 90 | release tarball. Also note that the version numbers stated are the | |
| 4d3e9548 | 91 | minimum supported. No version of `texinfo' < 4.8 works, and the |
| 465b256c | 92 | original release of `bison' 1.875 is known not to work; you *may* find |
| 4d3e9548 | 93 | that `bison' releases < 1.875 work, but in case of difficulty, |
| 465b256c JR |
94 | please update to a later version *before* posting a bug report. |
| 95 | ||
| 96 | For *all* sources, you need ghostscript for creation of either `PDF' or | |
| 97 | `HTML' output; the `netpbm' and `psutils' packages are required only for | |
| 98 | `HTML' output. If you don't intend to produce output in either of these | |
| 99 | formats, then these packages are unnecessary. | |
| 100 | ||
| 101 | In Linux Debian, the installation of `texinfo' is dangerous. For it | |
| 4d3e9548 | 102 | creates a file `install-info' that blocks the system installation. |
| 465b256c JR |
103 | So the created `/usr/local/bin/install-info' must be renamed. |
| 104 | ||
| 105 | The `groff' configure script searches for the X11 headers and | |
| 106 | libraries `Xaw' and `Xmu'. So the corresponding developer packages of | |
| 107 | your system must be installed, otherwise `groff' does not install | |
| 108 | `gxditview' and the `-TX*' devices. In Debian, the developer packages | |
| 109 | are `libxaw7-dev' and `libxmu-dev'. | |
| 110 | ||
| 111 | Please report bugs using the form in the file `BUG-REPORT'; the idea of | |
| 92d0a6a6 | 112 | this is to make sure that FSF has all the information it needs to fix |
| 465b256c | 113 | the bug. At the very least, read the `BUG-REPORT' form and make sure |
| 92d0a6a6 | 114 | that you supply all the information that it asks for. Even if you are |
| 4d3e9548 JL |
115 | not sure that something is a bug, report it using `BUG-REPORT': this |
| 116 | enables us to determine whether it really is a bug or not. | |
| 92d0a6a6 JR |
117 | |
| 118 | Three mailing lists are available: | |
| 119 | ||
| 120 | bug-groff@gnu.org for reporting bugs | |
| 465b256c JR |
121 | groff@gnu.org for general discussion of groff |
| 122 | groff-commit@gnu.org a read-only list showing commitments | |
| 123 | to the CVS repository | |
| 92d0a6a6 | 124 | |
| 92d0a6a6 | 125 | To subscribe, send a mail to <list>-request@<domain> (example: |
| 465b256c JR |
126 | groff-request@gnu.org for the `groff' list) with the word `subscribe' |
| 127 | in either the subject or body of the email (don't include the quotes). | |
| 128 | Alternatively, you may subscribe by visiting the web pages at | |
| 129 | ||
| 130 | http://lists.gnu.org/mailman/listinfo/bug-groff | |
| 131 | http://lists.gnu.org/mailman/listinfo/groff | |
| 132 | http://lists.gnu.org/mailman/listinfo/groff-commit | |
| 92d0a6a6 | 133 | |
| 465b256c JR |
134 | Each of these web pages also provides a link to a browseable archive of |
| 135 | postings to the corresponding mailing list. | |
| 92d0a6a6 | 136 | |
| 465b256c | 137 | GNU `groff' was written by James Clark <jjc@jclark.com>. It is now |
| 92d0a6a6 JR |
138 | maintained by Ted Harding <ted.harding@nessie.mcc.ac.uk> and Werner |
| 139 | Lemberg <wl@gnu.org>. |