Skip to main content

Questions tagged [roff]

The general name for a family of text formatting programs and mark-up languages, all descended from CTSS's 1964 `RUNOFF` system. Current versions are known as `groff`, `troff`, `nroff`, `ditroff`, etc. and are 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
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
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
1 vote
2 answers
367 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
5 answers
356 views

I have a table that containes some data and I need to delete the columns that contains only number (Nr.,Cod,Tiraj): Nr. Autor Titlu Cod Tiraj Tara 1 Gauss Carl ...
Luis Fernando Scripcaru's user avatar
0 votes
1 answer
1k views

I have to create a table and I tried doing this using tbl This is how the table should look: But I can't find a way how to use the tbl command to create this table in a file called authors.
Luis Fernando Scripcaru's user avatar
1 vote
1 answer
137 views

I would like to reuse the output from eqn to get PS or EPS files which contains just the equation and not a complete A4 with the equation. If I try: $ cat test.eqn .EQ For ~ y=1 ~ -> ~ L( y hat , y)...
M.E.'s user avatar
  • 661
0 votes
2 answers
261 views

Given a pic figure: .PS circle "Foo" arrow box "Bar" arrow box dashed "Foo" "Dashed" .PE Is it possible to scale the whole diagram element's widths and heights?...
M.E.'s user avatar
  • 661
2 votes
1 answer
1k views

While using groff and pic it is possible to do: $ cat test.ms .TL Test .NH 1 Test Header .PS circle arrow box .PE $ cat test.ms | groff -ms -p > test.ps Which generates a valid test.ps file ...
M.E.'s user avatar
  • 661
9 votes
3 answers
1k views

A set of commonly used symbols to represent that a variable belongs to a given real coordinate space are ∈ ("ELEMENT OF", Unicode U+2208) and ℝ ("DOUBLE-STRUCK CAPITAL R", Unicode ...
M.E.'s user avatar
  • 661
1 vote
2 answers
648 views

How can I insert today's date in groff? I know I can type today's date directly, but I would like the date to dynamically be produced, so that a document could be recompiled with a new date without ...
Shane Bishop's user avatar
0 votes
1 answer
255 views

Title says it all. I'm just trying to avoid awkward line breaks between words. I read somewhere that in {,t,g}roff using ~ in place of a space should do it, but that doesn't seem to work for man pages ...
RobertR's user avatar
  • 127
0 votes
1 answer
197 views

Context: Let's say I am trying to write a macro in groff in order to draw a rectangle given some arguments (like width and height for example). For this I need to perform some simple arithmetic, that ...
Soulthym's user avatar
  • 187
2 votes
1 answer
205 views

In the groff mission statement it says that Groff will be moving to an improved formatting algorithm. Considering that the mission statement was written in 2014; I was wondering where this was at ...
Maniyar's user avatar
  • 19
10 votes
2 answers
3k views

Troff supports both macro definitions using .de and branching using .if (see pages 5 and 6 of the Troff user's manual). In these two respects, it is very much like TeX. However, I don't know of highly ...
typesanitizer's user avatar

15 30 50 per page