Skip to main content

Questions tagged [groff]

The GNU enhanced re-implementation of Joe Osanna's 1975 `roff` text formatting mark-up language, macros, and its related programs (also known as `troff` and `nroff`). Used at the command line to format manual pages (`man` pages) on Unix-like operating systems.

3 votes
2 answers
147 views

I want to create a text file of a man page that includes pagination. This will allow later to send to a legacy line/matrix printer. This implies that the command header and footer will be repeated in ...
M.E.'s user avatar
  • 661
2 votes
1 answer
102 views

I am trying to learn how to insert the mapsto (↦, U+21A6) character in groff. I am trying to use this code to insert the character \[u21A6] But I get the following error message and nothing is ...
andrei-n's user avatar
0 votes
2 answers
143 views

Sciancisco and I developed a syntax highlighter for the Groff markup language to be used with Gedit, Pluma, Xed etc. I installed it in /usr/share/gtksourceview-4/language-specs/groff.lang and it ...
Daniel's user avatar
  • 432
6 votes
1 answer
412 views

For a man page written in POD (perlpod) I had the effect that the SYNOPSIS was left-adjusted on the text terminal, but the PostScript output (read: troff) adjusted the text to both borders. So I tried ...
U. Windl's user avatar
  • 1,777
1 vote
1 answer
66 views

I am writing a program manual in mdoc(7). One example of my programs has this synopsis: parsrc.sh [-lf<s>] [CSV_file] Taken from ShellShoccar-jpn/Parsrs/parsrc.sh For example if you run parsrc....
user261735's user avatar
4 votes
1 answer
314 views

I'm on Linux Mint 21 (Ubuntu based). Just noted man pages internal search (/) does not find a word if split between two lines (the word is whole in the source of the page, displayed with a hyphen and ...
Martian2020's user avatar
  • 1,501
0 votes
1 answer
109 views

I am currently testing the mm and mom macro packages and noticed that the default font family is not used for headers/footers with mm (unlike mom, which uses the selected font for all text). My test ...
janeden's user avatar
  • 215
4 votes
1 answer
111 views

The -K option allows me to specify my troff file's encoding, but this does not seem to extend to macro files. If a custom macro file contains non-ASCII characters in a string, the output looks like ...
janeden's user avatar
  • 215
0 votes
1 answer
102 views

I am new to groff and noticed a slight indentation if the first word of a paragraph (or new line) is set in a non-regular font. In the following example, this happens only in the second and third ...
janeden's user avatar
  • 215
1 vote
1 answer
476 views

I am in the process of learning the usage of iscsiadm and somehow I noticed a strange behavior of grep. Attempting to run the following grep command man iscsiadm | grep "aia" results in ...
Cane's user avatar
  • 33
0 votes
2 answers
145 views

groff version: 1.22.4 My style guide insists on formatting headings following way: Level 1 UPPERCASE BOLD 12pt Level 2 Bold italic letters 10pt Level 3 Italic letters 10pt According to reference for ...
p4wos8000's user avatar
0 votes
2 answers
177 views

I found that groff uses different ways to indicate bold text for the utf8 output format. On FreeBSD 14, groff emits escape codes for a terminal (ESC, [1m): $ printf ".Dd today\n.Sh NAME\n" | ...
Jens's user avatar
  • 1,904
1 vote
1 answer
93 views

I'm trying to convert manual pages containing either Japanese or Russian characters to the PDF/PostScript formats. I'm doing it with the following commands. man -Tpdf /usr/share/man/ja/man1/vim.1.gz &...
Shamaoke's user avatar
  • 221
1 vote
2 answers
366 views

I'm new to groff, so excuse me if it's a silly question. I can't find an appropriate solution for have two-columned content with one-columned footnotes. I've messed with .1C and .2C macros to get the ...
Monsieur Pierre Doune's user avatar
0 votes
2 answers
252 views

So why is my console on Ubuntu doesn't render according to the man manual? If I type in man man in the console I get a manual for man. And for example, it points out that italic text replace ...
Juandev's user avatar
  • 111

15 30 50 per page
1
2 3 4 5 6