scdoc2mdoc

A fork of scdoc to output mdoc(7)
git clone git://git.sgregoratto.me/scdoc2mdoc
Log | Files | Refs | README | LICENSE

commit 0c25f932d2bb89aa8bc778f0d493debe2f239cf3
parent 9b8ecbe992cc9218d56a36d277d69f1541c20735
Author: Drew DeVault <sir@cmpwn.com>
Date:   Mon, 14 May 2018 07:37:05 -0400

Print out .sp 1 correctly

Thanks to Henrik Riomar for pointing this out.

Diffstat:
Msrc/main.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c @@ -478,7 +478,7 @@ commit_table: } roff_macro(p, "TE", NULL); - roff_macro(p, "sp", "1", NULL); + fprintf(p->output, ".sp 1\n"); roff_macro(p, "RE", NULL); }