From a035febe87b660abc688e2f7258a59a57bbcd816 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 07 Oct 2018 11:31:00 -0400 Subject: [PATCH] Move premable comments from roff to C --- src/main.c | 10 +++++----- diff --git a/src/main.c b/src/main.c index 75600be3b55229526d58fee30dd68c12e9c9e52e..30404a8157198a6877aec2cf922c6dbfcbe9271c 100644 --- a/src/main.c +++ b/src/main.c @@ -599,14 +599,14 @@ } static void output_scdoc_preamble(struct parser *p) { fprintf(p->output, ".\\\" Generated by scdoc " VERSION "\n"); - fprintf(p->output, ".\\\" Fix weird quotation marks:\n"); - fprintf(p->output, ".\\\" http://bugs.debian.org/507673\n"); - fprintf(p->output, ".\\\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html\n"); + // Fix weird quotation marks + // http://bugs.debian.org/507673 + // http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html fprintf(p->output, ".ie \\n(.g .ds Aq \\(aq\n"); fprintf(p->output, ".el .ds Aq '\n"); - fprintf(p->output, ".\\\" Disable hyphenation:\n"); + // Disable hyphenation: roff_macro(p, "nh", NULL); - fprintf(p->output, ".\\\" Disable justification:\n"); + // Disable justification: roff_macro(p, "ad l", NULL); fprintf(p->output, ".\\\" Generated content:\n"); } -- 2.48.1