Languages Features Creators CSV Resources Challenges Add Language
GitHub icon

groff

groff - Text markup language

< >

groff is a text markup language created in 1990.

#847on PLDB 33Years Old 378Users
0Books 0Papers

Groff (GNU troff) is a typesetting system that reads plain text mixed with formatting commands and produces formatted output. Output may be PostScript or PDF, html, or ASCII/UTF8 for display at the terminal. Formatting commands may be either low-level typesetting requests (“primitives”) or macros from a supplied set. Users may also write their own macros. All three may be combined.


Example from the web:
.sp 1.5i My thoughts on the subject .sp

Language features

Feature Supported Token Example
MultiLine Comments .ig
text text text...
.ig
This is part of a large block
of text that has been
temporarily(?) commented out.

We can restore it simply by removing
the .ig request and the ".." at the
end of the block.
..
Macros
.de P
.  br
.  sp .8v
..
Comments
Test
\" comment
Test
Test
\# comment
Test
express.html · groff.html · cesil.html

View source

- Build the next great programming language · Search · Day 213 · About · Blog · Acknowledgements · Traffic · Traffic Today · GitHub · feedback@pldb.com