ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] How to fix indexes displaying [entry not flushed] with hidden data?
       [not found] <80982913.2809844.1683473286109.ref@mail.yahoo.com>
@ 2023-05-07 15:28 ` Joel via ntg-context
  0 siblings, 0 replies; only message in thread
From: Joel via ntg-context @ 2023-05-07 15:28 UTC (permalink / raw)
  To: Mailing List for ConTeXt Users; +Cc: Joel

[-- Attachment #1.1: Type: text/plain, Size: 1714 bytes --]

I have a document that needs to place some "hidden" data. In other words, there is an entire \input file with an article, but it doesn't get rendered visibly. However, the indexes, registers, and bibliography need to still function as if it were displayed right there on the page.
It should be as if the data actually is all there, on a single page, but either compressed inside a single invisible pixel off or plain invisible to readers, not using any physical space on the page.

I tried two methods suggested at Stack Exchange for hiding the data:
1. \startnointerference
2. \setbox\scratchbox=\vbox{}
These both successfully seem to place the data there, without it actually being visible and bibliograhy entries still function fine.

The problem is, index and customer registers are getting confused:
When one goes to render the page numbers in \placeindex, it gets confused, displaying the message: "[entry not flushed]" instead of the page number. When I render this minimum working example below, the index is populated with [entry not flushed] instead of page numbers. Note that if I delete the test "This is invisible text."and recompile, I can get a successful render. The problem is, I have text that needs to remain invisible.



            This is invisible text.
    \input knuth

How to fix indexes displaying [entry not flushed] with hidden data?

[-- Attachment #1.2: Type: text/html, Size: 3065 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-07 15:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <80982913.2809844.1683473286109.ref@mail.yahoo.com>
2023-05-07 15:28 ` [NTG-context] How to fix indexes displaying [entry not flushed] with hidden data? Joel via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox