scdoc2mdoc

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

commit 05694b0dc364c8ba01fa879a8a0c54f86b608991
parent 5f44aae0f77cb9c8a0be83954cd67c0a650ad36c
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun, 10 Dec 2017 01:11:57 -0500

Disable justification in output

Diffstat:
Msrc/main.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/main.c b/src/main.c @@ -304,6 +304,8 @@ static void output_scdoc_preamble(struct parser *p) { fprintf(p->output, ".el .ds Aq '\n"); fprintf(p->output, ".\\\" Disable hyphenation:\n"); roff_macro(p, "nh", NULL); + fprintf(p->output, ".\\\" Disable justification:\n"); + roff_macro(p, "ad l", NULL); fprintf(p->output, ".\\\" Generated content:\n"); }