From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: index entries postponed if sections are empty
Date: Sat, 31 Oct 2020 17:56:42 +0100 [thread overview]
Message-ID: <EDDD8C9D-16BB-4327-B457-BFEAAA9257FE@fiee.net> (raw)
Hi,
I‘m despairing about my index – some sections contain only an image (\externalfigure), but I need to set several index entries for the image contents.
The index entries get postponed until after the next chapter.
I guess the problem is that there’s no (text) content, but \par and \strut didn’t help.
The MWE shows that index entries in empty sections are ignored, i.e. “Something” is supposedly only on p.6:
\usemodule[visual]
\starttext
\dorecurse{5}{%
\startchapter[title={\recurselevel}]
\dorecurse{5}{%
\startsection[title={\fakewords{3}{5}}]
\index{Something}\index{A\recurselevel}
}
\stopchapter
}
\completeindex
\stoptext
What can I do?
Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2020-10-31 16:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-31 16:56 Henning Hraban Ramm [this message]
2020-10-31 20:33 ` Otared Kavian
2020-11-01 16:06 ` Jano Kula
2020-11-02 16:17 ` Henning Hraban Ramm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=EDDD8C9D-16BB-4327-B457-BFEAAA9257FE@fiee.net \
--to=texml@fiee.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).