• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..07-May-2022-

README.DebianH A D03-May-20222.5 KiB5846

README.buildH A D03-May-2022947 2115

changelogH A D03-May-202245.3 KiB1,138805

controlH A D03-May-20223.3 KiB6966

copyrightH A D03-May-202226 KiB539434

groff-base.dirsH A D03-May-202228 32

groff-base.docsH A D03-May-202280 109

groff-base.files.inH A D03-May-20221.6 KiB5352

groff-base.links.inH A D03-May-2022332 98

groff-base.mimeH A D03-May-2022128 21

groff-base.postinstH A D03-May-2022297 1711

groff-base.postrmH A D03-May-2022537 2216

groff-base.preinstH A D03-May-2022797 3124

groff.dirsH A D03-May-202251 43

groff.docsH A D03-May-202242 43

groff.linksH A D03-May-2022137 32

groff.postinstH A D03-May-2022398 189

mandoc.localH A D03-May-2022758 2524

rulesH A D03-May-20225.7 KiB200161

README.Debian

1groff for Debian
2----------------
3
4As of version 1.17-1, Debian groff was split into three packages:
5groff-base, groff, and groff-x11. At version 1.18-1 the groff-x11 package
6was merged back into groff. The current organization is as follows:
7
8  groff-base - a stripped-down groff package containing the components
9               required to read man pages in ASCII, Latin-1, UTF-8, and
10               PostScript
11  groff      - all other components
12
13If you only need groff in order to read man pages in common formats, you can
14remove the main groff package and save some disk space. For more
15information, please see 'dpkg --print-avail <package>' or 'apt-cache show
16<package>'.
17
18If you see error messages like "groff: can't find `DESC' file", make sure
19that you have the groff package installed as well as groff-base, as this
20message indicates that the requested output device is not installed.
21
22Where is the groff documentation? It's not easy to find when you're
23unfamiliar with the system (as I well remember). The 'SEE ALSO' section of
24the roff(7) man page has a good index.
25
26The macro path in Debian groff is as follows:
27
28  /usr/lib/groff/site-tmac
29    - old directory for compatibility purposes
30  /usr/share/groff/site-tmac (symlink to /etc/groff)
31    - local macro configuration, such as man.local
32  /usr/share/groff/<version>/tmac
33    - macros installed as part of groff
34  /usr/share/groff/tmac
35    - macros installed by other Debian packages
36
37If you're using a UTF-8 locale and are having problems searching for dashes
38in man pages such as those in command-line options, this may be because the
39man page uses "-" rather than "\-" to represent them, so they get rendered
40as a Unicode hyphen which isn't the one you can type conveniently on your
41keyboard. These man pages should be fixed. However, you can make groff use a
42plain ASCII dash in this case by editing both /etc/groff/man.local and
43/etc/groff/mdoc.local and uncommenting the final request, so that it looks
44like this:
45
46.  \" Debian: Many UTF-8 man pages use "-" instead of "\-" for dashes such
47.  \" as those in command-line options. This is a bug in those pages, but
48.  \" too many fonts are missing the Unicode HYPHEN character, so we render
49.  \" this as the ASCII-compatible HYPHEN-MINUS instead.
50.  if '\*[.T]'utf8' \
51.    char - \N'45'
52
53As of groff 1.18.1.1-7, this defaults to being uncommented. You can comment
54it out again if you want to make sure that man pages you're writing are
55clear of this problem.
56
57 -- Colin Watson <cjwatson@debian.org>  Sat, 15 Nov 2003 17:42:38 +0000
58

README.build

1Debian groff build process
2--------------------------
3
4People starting new ports of Debian should be aware that there is a circular
5build-dependency between the groff and xfree86 source packages. Fortunately,
6in both cases this is in order to build optional components: xfree86 needs
7groff to build some of its documentation, and groff needs xfree86 to build
8the gxditview display program.
9
10To build groff without xfree86 installed, set the DEB_BUILD_OPTIONS
11environment variable to include the string "no-groff-x11". Please do not
12upload packages to the Debian archive that have been built in this way.
13
14The gs, netpbm, and psutils build-dependencies need not be satisfied while
15bootstrapping. They are only necessary to build HTML documentation.
16
17Once a new port has been fully bootstrapped, there should be no problems
18building groff routinely as with any other package.
19
20 -- Colin Watson <cjwatson@debian.org>  Tue, 22 Jan 2002 14:18:58 +0000
21