[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Running the grohtml pipeline as a pipeline
From: |
Alejandro Colomar |
Subject: |
Running the grohtml pipeline as a pipeline |
Date: |
Mon, 18 Mar 2024 12:38:30 +0100 |
Hi Branden,
I'm considering using grohtml(1) in the Linux man-pages, to replace
man2html(1), which crashes on tzfile(5) --which has correct man(7)--.
Currently, I'm running groff(1) as its separate constituents:
$ make build-ps -Wman2/membarrier.2
PRECONV .tmp/man/man2/membarrier.2.tbl
TBL .tmp/man/man2/membarrier.2.eqn
EQN .tmp/man/man2/membarrier.2.ps.troff
TROFF .tmp/man/man2/membarrier.2.ps.set
GROPS .tmp/man/man2/membarrier.2.ps
which runs
$ make build-ps -Wman2/membarrier.2 --debug=print \
| grep -Pv '^[[:upper:]]+\t';
preconv man2/membarrier.2 >.tmp/man/man2/membarrier.2.tbl
tbl <.tmp/man/man2/membarrier.2.tbl >.tmp/man/man2/membarrier.2.eqn
! (eqn -Tps <.tmp/man/man2/membarrier.2.eqn 2>&1
>.tmp/man/man2/membarrier.2.ps.troff) \
| grep ^ >&2
! (troff -man -Tps -wbreak <.tmp/man/man2/membarrier.2.ps.troff 2>&1
>.tmp/man/man2/membarrier.2.ps.set) \
| grep ^ >&2
grops <.tmp/man/man2/membarrier.2.ps.set
>.tmp/man/man2/membarrier.2.ps
What pipeline do you recommend for HTML, using a similar pattern?
So far, the only thing that seems to work is
$ preconv man2/membarrier.2 \
| tbl \
| troff -man -Thtml -wbreak man3/_Generic.3 \
| post-grohtml >g.html;
Although from pre-grohtml(1), maybe I shouldn't be running tbl(1)
myself?
Have a lovely day!
Alex
--
<https://www.alejandro-colomar.es/>
Looking for a remote C programming job at the moment.
signature.asc
Description: PGP signature
- Running the grohtml pipeline as a pipeline,
Alejandro Colomar <=
- Re: Running the grohtml pipeline as a pipeline, G. Branden Robinson, 2024/03/22
- Re: Running the grohtml pipeline as a pipeline, Alejandro Colomar, 2024/03/22
- Re: Running the grohtml pipeline as a pipeline, G. Branden Robinson, 2024/03/22
- Re: Running the grohtml pipeline as a pipeline, Alejandro Colomar, 2024/03/22
- Re: Running the grohtml pipeline as a pipeline, G. Branden Robinson, 2024/03/22
- Re: Running the grohtml pipeline as a pipeline, Alejandro Colomar, 2024/03/22
- Re: Running the grohtml pipeline as a pipeline, G. Branden Robinson, 2024/03/22
- Re: Running the grohtml pipeline as a pipeline, Alejandro Colomar, 2024/03/22
- The varieties of mdoc experience (was: Running the grohtml pipeline as a pipeline), G. Branden Robinson, 2024/03/23