42 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
59
views
support for indian languages in groff
Do groff or troff support any indian languages like hindi or sanskrit?
I have tried using font-install script to install the fonts which are required but it doesn't work. I have also tried to use -mom ...
0
votes
1
answer
332
views
Setting top margin in groff to zero using mm macros
I am trying to define the top (and bottom) margins in groff to 0cm.
For the page offset is easy to define whatever margin you want, but I am not being able to achieve the same for the top and bottom ...
1
vote
1
answer
194
views
Defining the header in groff mm does not change it in the first page
I am trying to define a custom header in groff using mm macros.
If I define .PH it takes effect on page 2, but not on page 1.
Why is this happening?
% cat sample2.mm
\" ***************
\" ...
1
vote
1
answer
104
views
Placing a PIC image in an arbitrary position of the page using ms macros
I have an image defined using PIC and incorporated to a groff ms document.
I notice that I need to encapsulate the image inside a .DS L - .DE block to have it aligned to left. Otherwise is centered.
...
0
votes
2
answers
335
views
How to convert a PDF file to letter size using groff?
I am trying to convert a text file in groff format to PDF, using the following command:
groff -Tps -dpaper=letter -P-letter -P-l -ms foo.ms | ps2pdf - output.pdf
The command works fine and outputs me ...
1
vote
1
answer
139
views
Where can latex classes ported to g/troff?
I’m becoming
horrified at latex’s verbosity
so excited by g/troff
But where can I find popular latex classes like ieeetrans or acmart ported to g/troff?
1
vote
1
answer
343
views
Is there a way to exit double column mode without page break in groff?
I'm trying to write up my CV in groff/troff and would like to have my contact details in two columns at the top, one column adjusted on the left and the other on the right. I tried doing it like this:
...
-1
votes
1
answer
665
views
man 7 groff_man - No manual entry for groff [closed]
I am wanting to view more information on the Groff Macro Packages through my Man Page viewer. However, when I try to see them, they do not work.
➜ man groff
# [...works as expected...]
➜ man 7 groff ...
2
votes
1
answer
1k
views
GNU make: several targets in one pattern rule
With explicit targets I can combine several rules like
foo.o bar.o: $(SOURCES)
cc $< -o $@
This is equivalent of
foo.o: $(SOURCES)
cc $< -o $@
bar.o: $(SOURCES)
cc $< -o $@
But ...
0
votes
1
answer
578
views
Groff: how to successfully compile a manpage, containing Cyrillic in UTF-8?
Colleagues, please tell me what arguments you need to set for groff so that it compiles the manpage writed in Cyrillic, in UTF-8 encoding.
I have a number of pages written in markdown and converted to ...
1
vote
3
answers
354
views
Groff Eqn - How to do higher roots (cube root, etc)
Does someone know how to do higher roots (cube roots, 4th roots, etc) in groff eqn? Been searching around the docs and cant seem to find the answer
3
votes
1
answer
484
views
groff: Incorrect line width after page break
I'm using groff version 1.22.4 to create a two-page letter. The first page has three columns, the second page has 2 columns.
The macros for printing columns 1-3 on the first page work as expected. The ...
1
vote
1
answer
455
views
GROFF PDFPIC converted w ImageMagick to .ms document causes "troff: sample.ms:18: division by zero" and leads images to show very right of the pdf doc
I converted my original image to pdf with ImageMagick. If viewed independently, the pdf image looks perfectly normal.
sample.ms :
.PDFPIC Figure_1.pdf
Once I try to compile my .ms document with the ...
0
votes
2
answers
597
views
Is it possible to make man page from troff format?
I have a file with troff format and would like to recast to man page
file.txt:
.. c:function:: bool is_module_percpu_address (unsigned long addr)
test whether address is from module static ...
0
votes
1
answer
52
views
Are trailing whitespaces important in Troff manual files?
I couldn't find a specification of the troff file format. Does the removal of trailing whitespaces have an effect?