Move premable comments from roff to C

master
Drew DeVault 6 years ago
parent 1c03e57750
commit a035febe87
  1. 10
      src/main.c

@ -599,14 +599,14 @@ static void parse_document(struct parser *p) {
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");
}

Loading…
Cancel
Save