summaryrefslogtreecommitdiff
path: root/doc/doc-scripts/g2t
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2005-01-27 10:25:35 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2005-01-27 10:25:35 +0000
commitf055f31efca6f1beea3fb65a06e16265e481e63e (patch)
treee83a70934db0da4b9cccc68f1294dff9ca593e9a /doc/doc-scripts/g2t
parentd43194dfaff6028b9755250a5ef16c8ee2dbcd28 (diff)
Tidies for HTML and Texinfo versions of the new spec.
Diffstat (limited to 'doc/doc-scripts/g2t')
-rwxr-xr-xdoc/doc-scripts/g2t7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/doc-scripts/g2t b/doc/doc-scripts/g2t
index 30c713c08..6ff2bb3f3 100755
--- a/doc/doc-scripts/g2t
+++ b/doc/doc-scripts/g2t
@@ -1,5 +1,5 @@
#! /usr/bin/perl -w
-# $Cambridge: exim/doc/doc-scripts/g2t,v 1.1 2004/10/07 15:04:35 ph10 Exp $
+# $Cambridge: exim/doc/doc-scripts/g2t,v 1.2 2005/01/27 10:25:35 ph10 Exp $
# A Perl script to turn the SGCAL source of the Exim documentation into
# Texinfo input, more or less...
@@ -892,8 +892,10 @@ while (<>)
# we sort out the menu and copy their data. This is all done in a
# subroutine that is shared with options.
- elsif (/^\.startconf/)
+ elsif (/^\.startconf\s+(.*)/)
{
+ $confuse = $1;
+ $confuse = &dequote($confuse);
handle_subsection("conf");
next;
}
@@ -1069,6 +1071,7 @@ $doing_filter = 0;
$skip_else = 0;
$in_itemize = 0;
$lastwasitem = 0;
+$confuse = "";
$chapter_number = 0;
$section_number = 0;