groff: update vendor branch to v1.20.1
[dragonfly.git] / contrib / groff / README
CommitLineData
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
9This is the GNU `groff' document formatting system. The version
10number is given in the file VERSION.
92d0a6a6 11
465b256c
JR
12Included in this release are implementations of `troff', `pic', `eqn',
13`tbl', `grn', `refer', `-man', `-mdoc', `-mom', and `-ms' macros, and
14drivers for `PostScript', `TeX dvi' format, `HP LaserJet 4' printers,
4d3e9548 15`Canon CAPSL' printers, `HTML' and `XHTML' formats (beta status), and
465b256c
JR
16typewriter-like devices. Also included is a modified version of the
17Berkeley `-me' macros, the enhanced version `gxditview' of the X11
18`xditview' previewer, and an implementation of the `-mm' macros
19contributed by Joergen Haegg (jh@axis.se).
92d0a6a6 20
4d3e9548
JL
21See the file `INSTALL' for installation instructions. You require
22a C++ compiler.
92d0a6a6 23
465b256c 24The file `NEWS' describes recent user-visible changes to `groff'.
92d0a6a6 25
465b256c
JR
26`groff' is free software. See the file `COPYING' for copying
27permission.
92d0a6a6 28
465b256c
JR
29The file `PROBLEMS' describes various problems that have been
30encountered in compiling, installing, and running `groff'.
92d0a6a6 31
4d3e9548
JL
32The file `MORE.STUFF' contains information about add-on packages
33useful for groff.
34
465b256c
JR
35The most recent released version of `groff' is always available by
36anonymous ftp from `ftp.gnu.org' in the directory `gnu/groff'.
92d0a6a6 37
465b256c
JR
38The current development version of `groff' is available from a `CVS'
39repository. You can access it by first selecting a parent directory
40in which to create a working copy (call it, say, `~/cvswork'), and
41then 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
46This creates a subdirectory, `~/cvswork/groff', with a `checked
47out' copy of the `CVS' repository. An update of this working copy may
465b256c 48be 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 53Please read the `CVS' info pages for further details.
92d0a6a6 54
465b256c
JR
55Finally, it is possible to access the `CVS' with a web browser by
56pointing it to
92d0a6a6 57
465b256c 58 http://savannah.gnu.org/cvs/?group=groff
92d0a6a6 59
465b256c
JR
60Alternatively, you can download snapshots (which are updated twice a day).
61The 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
65A diff file relative to `groff-<version>', the latest official `groff'
66release is available at
67
68 http://groff.ffii.org/groff/devel/groff-<version>-current.diff.gz
69
70Assuming that `groff-<version>.tar.gz' and
71`groff-<version>-current.diff.gz' are in the same directory, do the
92d0a6a6
JR
72following 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
78Depending on your requirements, you may need at least some of the
79following 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
87Note that `texinfo' and `bison' or `byacc' are required only for
88building from `CVS' sources (either a checked out working copy, or a
89daily snapshot). They are not required for building from a stable
90release tarball. Also note that the version numbers stated are the
4d3e9548 91minimum supported. No version of `texinfo' < 4.8 works, and the
465b256c 92original release of `bison' 1.875 is known not to work; you *may* find
4d3e9548 93that `bison' releases < 1.875 work, but in case of difficulty,
465b256c
JR
94please update to a later version *before* posting a bug report.
95
96For *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
99formats, then these packages are unnecessary.
100
101In Linux Debian, the installation of `texinfo' is dangerous. For it
4d3e9548 102creates a file `install-info' that blocks the system installation.
465b256c
JR
103So the created `/usr/local/bin/install-info' must be renamed.
104
105The `groff' configure script searches for the X11 headers and
106libraries `Xaw' and `Xmu'. So the corresponding developer packages of
107your system must be installed, otherwise `groff' does not install
108`gxditview' and the `-TX*' devices. In Debian, the developer packages
109are `libxaw7-dev' and `libxmu-dev'.
110
111Please report bugs using the form in the file `BUG-REPORT'; the idea of
92d0a6a6 112this is to make sure that FSF has all the information it needs to fix
465b256c 113the bug. At the very least, read the `BUG-REPORT' form and make sure
92d0a6a6 114that you supply all the information that it asks for. Even if you are
4d3e9548
JL
115not sure that something is a bug, report it using `BUG-REPORT': this
116enables us to determine whether it really is a bug or not.
92d0a6a6
JR
117
118Three 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 125To subscribe, send a mail to <list>-request@<domain> (example:
465b256c
JR
126groff-request@gnu.org for the `groff' list) with the word `subscribe'
127in either the subject or body of the email (don't include the quotes).
128Alternatively, 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
134Each of these web pages also provides a link to a browseable archive of
135postings to the corresponding mailing list.
92d0a6a6 136
465b256c 137GNU `groff' was written by James Clark <jjc@jclark.com>. It is now
92d0a6a6
JR
138maintained by Ted Harding <ted.harding@nessie.mcc.ac.uk> and Werner
139Lemberg <wl@gnu.org>.