diff options
| author | Simon Tatham <anakin@pobox.com> | 1999-10-20 20:17:18 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 1999-10-20 20:17:18 +0000 |
| commit | 8511f4ae900f48999617bc8384e9c327673e2196 (patch) | |
| tree | d24d0a7d8cc217bf6d864157c3b08e05ed59868f /keywords.c | |
| parent | e44f985bd4f796d4c4b11eb3555436dbaa2d163b (diff) | |
| download | halibut-8511f4ae900f48999617bc8384e9c327673e2196.zip halibut-8511f4ae900f48999617bc8384e9c327673e2196.tar.gz halibut-8511f4ae900f48999617bc8384e9c327673e2196.tar.bz2 halibut-8511f4ae900f48999617bc8384e9c327673e2196.tar.xz | |
First backend! Text output now pretty much works.
[originally from svn r240]
Diffstat (limited to 'keywords.c')
| -rw-r--r-- | keywords.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -100,7 +100,7 @@ keywordlist *get_keywords(paragraph *source) { * Number the chapter / section / list-item / whatever. */ source->kwtext = number_mktext(n, source->type, source->aux, - prevpara); + prevpara, &source->kwtext2); prevpara = source->type; if (source->keyword && *source->keyword) { @@ -161,7 +161,9 @@ void subst_keywords(paragraph *source, keywordlist *kl) { } else subst = dup_word_list(kw->text); - if (subst && ptr->type == word_LowerXref) + if (subst && ptr->type == word_LowerXref && + kw->para->type != para_Biblio && + kw->para->type != para_BiblioCited) ustrlow(subst->text); close = mknew(word); |