rtomayko/ronn

how to left-justify roff manpages output?

Opened this issue · 3 comments

Hi,
How can I tell ronn to make all .roff (manages) text LEFT-JUSTIFIED ?
Many thanks.

P.S.
I know there is a --styles CSS option but that is for html only.

The solution just seems to be adding this 1 line at the top of the output file:

.ad l

so…

ronn --roff manpage.ronn # created the file: manpage.1
echo ".ad l " > manpage.1.new
cat manpage.1 >> manpage.1.new
mv manpage.1.new manpage.1

BTW - here is where I found the right command to use:

http://www.premvet.co.uk/premvet/manual/pd/roff.html

Ronn could be even more powerful if there was some mechanism to escape arbitrary ROFF commands within the free text of our .ronn files. However no matter how many backslashed I try, my .ad l command always gets removed and stripped away. Ahhh.

Hey, if you're still interested in this, it looks like Ronn is defunct, but I've forked it as Ronn-NG and I'm willing to make this work for you. Head over there and drop a feature request issue.

There's also a request for arbitrary ROFF inlining at #89.