|ROFF(7)||Miscellaneous Information Manual||ROFF(7)|
- (typesetter roff/) generated a graphical output for the CAT typesetter as its only device.
- produced text output suitable for terminals and line printers.
- was the reimplementation of the former runoff program with its limited features; this program was abandoned in later versions. Today, the name roff is used to refer to a troff/nroff system as a whole.
GNU Public License It was called groff (GNU roff). See groff(1) for an overview.The groff system is still actively developed. It is compatible to the classical troff, but many extensions were added. It is the first roff system that is available on almost all operating systems – and it is free. This makes groff the de-facto roff standard today.An alternative is Gunnar Ritter's Heirloom Documentation Tools project, started in 2005, which provides enhanced versions of the various roff tools found in the OpenSolaris and Plan 9 operating systems, now available under free licenses.
|eqn||for mathematical formulæ.|
|pic||for drawing diagrams.|
|refer||for bibliographic references.|
|soelim||for including macro files from standard locations.|
|chem||for drawing chemical formulæ.|
|grap||for constructing graphical elements.|
|grn||for including gremlin(1) pictures.|
- The most general method is to include the following 3 comment lines at the end of the file.
.\" Local Variables:
.\" mode: nroff
- There is a set of file name extensions, e.g. the man pages that trigger the automatic activation of the nroff mode.
- Theoretically, it is possible to write the sequence
.\" -*- nroff -*-
- as the first line of a file to have it started in nroff mode when loaded. Unfortunately, some applications such as the man program are confused by this; so this is deprecated.
- Never include empty or blank lines in a roff document. Instead, use the empty request (a line consisting of a dot only) or a line comment .\" if a structuring element is needed.
- Never start a line with whitespace because this can lead to unexpected behavior. Indented paragraphs can be constructed in a controlled way by roff requests.
- Start each sentence on a line of its own, for the spacing after a dot is handled differently depending on whether it terminates an abbreviation or a sentence. To distinguish both cases, do a line break after each sentence.
- To additionally use the auto-fill mode in Emacs, it is best to insert an empty roff request (a line consisting of a dot only) after each sentence.
This is an example for a
This is the next sentence in the same paragraph.
This is a longer sentence stretching over several
lines; abbreviations like `cf.' are easily
identified because the dot is not followed by a
In the output, this will still go to the same
- Unix Archive
- Developers at AT&T Bell Labs
- Plan 9
- CSTR Papers
- GNU roff
- [CSTR #54]
- J. F. Ossanna,
- [CSTR #97]
- Brian Kernighan,
- [CSTR #114]
- Jon L. Bentley and Brian W. Kernighan,
- [CSTR #116]
- Brian W. Kernighan,
- [CSTR #122]
- J. L. Bentley, L. W. Jelinski, and B. W. Kernighan,
|30 December 2012||Groff Version 1.22.1|