Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 42 |
Nodes: | 6 (0 / 6) |
Uptime: | 01:55:44 |
Calls: | 220 |
Calls today: | 1 |
Files: | 824 |
Messages: | 121,544 |
Posted today: | 6 |
So I'm (finally) writing a book, and using groff -mom macros for
typesetting. Wanted to run what I have so far through style(1) and diction(1), which on Linux requires one to run the input through
deroff(1) first.
Linux doesn't seem to have deroff.
So I'm (finally) writing a book, and using groff -mom macros[...]
for typesetting. Wanted to run what I have so far through
style(1) and diction(1), which on Linux requires one to
run the input through deroff(1) first.
Linux doesn't seem to have deroff.
Also, if anyone knows where there is source for a working
Linux deroff(1), would very much appreciate the pointer.
So far I found the OpenBSD one, but it seems to rely on
a lot of preprocessor macros that Linux doesn't have.
Finally, one last look on Google, and I found a version
of deroff for Debian... but it seems to be dated 1996, and doesn't
grok -mom macros. (It is, however, written in lex, which
might be an opportunity for me to learn that lingo and
fix it...)
style(1) and diction(1), which on Linux requires one to
run the input through deroff(1) first.
...
Linux doesn't seem to have deroff.
...
Also, if anyone knows where there is source for a working
Linux deroff(1), would very much appreciate the pointer.
So I'm (finally) writing a book, and using groff -mom macros
for typesetting. Wanted to run what I have so far through
style(1) and diction(1), which on Linux requires one to
run the input through deroff(1) first.
Linux doesn't seem to have deroff.
vallor <vallor@cultnix.org> wrote:
style(1) and diction(1), which on Linux requires one to run the input
through deroff(1) first.
...
Linux doesn't seem to have deroff.
...
Also, if anyone knows where there is source for a working Linux
deroff(1), would very much appreciate the pointer.
Maybe because it is not needed with GNU groff because groff has -T ascii
or -T utf8 (depending on which you need) to perform a similar function (remove roff declarations, output plain text).
On 2024-08-15, vallor wrote:
So I'm (finally) writing a book, and using groff -mom macros for[...]
typesetting. Wanted to run what I have so far through style(1) and
diction(1), which on Linux requires one to run the input through
deroff(1) first.
Linux doesn't seem to have deroff.
Also, if anyone knows where there is source for a working Linux
deroff(1), would very much appreciate the pointer.
So far I found the OpenBSD one, but it seems to rely on a lot of
preprocessor macros that Linux doesn't have.
Finally, one last look on Google, and I found a version of deroff for
Debian... but it seems to be dated 1996, and doesn't grok -mom macros.
(It is, however, written in lex, which might be an opportunity for me
to learn that lingo and fix it...)
Never used it, but GNU roff mentions in one of its files (MORE.STUFF) a deroff by Michael Haardt at
http://www.moria.de/~michael/deroff/
(Timestamps are from 2003 and 2004?)
Besides one for Debian by David Frey (which, I suppose, is the one you found?)
Does the moria.de one support any of these "mom" macros?