diff options
| author | Simon Tatham <anakin@pobox.com> | 2004-03-25 19:16:28 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2004-03-25 19:16:28 +0000 |
| commit | 10f4d6055c80f45b538cfc6657994b31e4abf525 (patch) | |
| tree | 250c50a337c5ccd18f6bc0d516c123086d479f73 /input.c | |
| parent | 187d4791fd0873b4058b381aa3d3a591b846463e (diff) | |
| download | halibut-10f4d6055c80f45b538cfc6657994b31e4abf525.zip halibut-10f4d6055c80f45b538cfc6657994b31e4abf525.tar.gz halibut-10f4d6055c80f45b538cfc6657994b31e4abf525.tar.bz2 halibut-10f4d6055c80f45b538cfc6657994b31e4abf525.tar.xz | |
Obsoleted the `\preamble' command. Preamble text is now taken to be
any ordinary displayable paragraph(s) appearing before the first
chapter heading, meaning in particular that you can put lists, code
paragraphs etc in preambles. Of course, `\preamble' is still
supported for backwards compatibility, but it's now a zero-effect
paragraph marker.
[originally from svn r3981]
Diffstat (limited to 'input.c')
| -rw-r--r-- | input.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -190,7 +190,7 @@ enum { c_lcont, /* continuation para(s) for list item */ c_n, /* numbered list */ c_nocite, /* bibliography trickery */ - c_preamble, /* document preamble text */ + c_preamble, /* (obsolete) preamble text */ c_q, /* quote marks */ c_quote, /* block-quoted paragraphs */ c_rule, /* horizontal rule */ @@ -259,7 +259,7 @@ static void match_kw(token *tok) { {"lcont", c_lcont}, /* continuation para(s) for list item */ {"n", c_n}, /* numbered list */ {"nocite", c_nocite}, /* bibliography trickery */ - {"preamble", c_preamble}, /* document preamble text */ + {"preamble", c_preamble}, /* (obsolete) preamble text */ {"q", c_q}, /* quote marks */ {"quote", c_quote}, /* block-quoted paragraphs */ {"rule", c_rule}, /* horizontal rule */ @@ -766,7 +766,7 @@ static void read_file(paragraph ***ret, input *in, indexdata *idx) { case c_define: is_macro = TRUE; needkw = 1; break; /* For \nocite the keyword is _everything_ */ case c_nocite: needkw = 8; par.type = para_NoCite; break; - case c_preamble: needkw = 32; par.type = para_Preamble; break; + case c_preamble: needkw = 32; par.type = para_Normal; break; case c_rule: needkw = 16; par.type = para_Rule; break; case c_title: needkw = 32; par.type = para_Title; break; case c_versionid: needkw = 32; par.type = para_VersionID; break; |