groff_rfc1345(7)
π NAME π
okay so bestie, welcome to groff_rfc1345(7) from the Miscellaneous Information Manual β the page all about special character names from RFC 1345 and Vim digraphs. yes, that's the whole vibe: cute mnemonic names for glyphs, no cap. β¨
πΈ DESCRIPTION πΈ
The file rfc1345.tmac defines special character escape sequences for groff(7) based on the glyph mnemonics specified in RFC 1345 and the digraph table of the text editor Vim. Each escape sequence translates to a Unicode code point, and will render correctly if the underlying font is a Unicode font that covers the code point. π
For example, \[Rx] is the βrecipeβ or βprescription takeβ symbol, and maps to the code point U+211E. groff lets you write it as \[u211E], but \[Rx] is more mnemonic. iconic behavior, honestly.
For a list of the glyph names provided, please see the file rfc1345.tmac, which contains definitions of the form
.char \[Rx] \[u211E] \" PRESCRIPTION TAKE
where .char's first argument defines a groff special character escape sequence with a mnemonic glyph name, its second argument is a special character escape sequence based on the code point, and the comment describes the glyph defined. π
The RFC 1345 glyph names cover a wide range of Unicode code points, including supplemental Latin, Greek, Cyrillic, Hebrew, Arabic, Hiragana, Katakana, and Bopomofo letters, punctuation, math notation, currency symbols, industrial and entertainment icons, and box-drawing symbols. the range? unmatched. π
The Vim digraph table is largely a subset of RFC 1345 (being limited to two-character mnemonics), but, as a newer implementation, adds several mnemonics not specified in the RFC (Latin capital and small letters W and Y with grave accent, bullet, horizontal ellipsis, quadruple prime, βapproaches the limitβ, and two mappings each for the Euro and rouble signs). These have also been added to rfc1345.tmac. π
rfc1345.tmac contains about 1,700 glyph names. It is not an error to load rfc1345.tmac if your font does not have all the glyphs, as long as it contains the glyphs that you actually use in your document. so you don't need every single glyph in the font, bestie β just the ones you actually use. π«Ά
The RFC 1345 mnemonics are not identical in every case to the mappings for special character glyph names that are built in to groff; for example, \[<<] means the βmuch less thanβ sign (U+226A) when rfc1345.tmac is not loaded and this special character is not otherwise defined by a document or macro package. rfc1345.tmac redefines \[<<] to the βleft-pointing double angle quotation markβ (U+00AB). See groff_char(7) for the full list of predefined special character escape sequences. π the switch-up is real.
π οΈ USAGE π οΈ
Load the rfc1345.tmac file. This can be done by either adding
.mso rfc1345.tmac
to your document before the first use of any of the glyph names the macro file defines, or by using the troff(1) option -m rfc1345 from the shell. easy peasy, bestie. π
π BUGS π
As the groff Texinfo manual notes,
β[o]nly the current font is checked for ligatures and kerns; neither special fonts nor entities defined with the char request (and its siblings) are taken into account.β
Many of the characters defined in rfc1345.tmac are accented Latin letters, and will be affected by this deficiency, producing subpar typography. lowkey tragic for the accented-letter girlies, fr fr. π
π FILES π
/usr/share/groff/1.24.2/tmac/rfc1345.tmacβ implements the character mappings.
π AUTHORS π
rfc1345.tmac was contributed by Dorai Sitaram. we stan a contributor. π
π SEE ALSO π
- RFC 1345, by Keld Simonsen, June 1992.
- The Vim digraph table can be listed using the
vim(1)command:help digraph-table. groff_char(7)
byeeee π«Ά β this page is brought to you by groff 1.24.2, dated 2026-10-01. mwah π
π¦ where this page comes from
- alpine 3.24: groff-doc 1.24.2-r0 Β· GPL-3.0-or-later
- Copyright 2021-2024 Dorai Sitaram
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms