![](https://secure.gravatar.com/avatar/e5aa6984b53b8925e405ebbdbc051ad9.jpg?s=120&d=mm&r=g)
Hello again, still struggling with indexes. (1) \setupregister’s before and after go around the indicator. e.g. \setupregister[][indicator=no,after={XX}] never shows that XX, since after is only used after the indicator, while before also works without. I was hoping for a hook at the end of a section (to add \testcolumn, \blank etc. to work around no.2). Is there any? (2) Page/column breaking is odd in that the preferred breaking point seems to be one entry too early, i.e. the last entry of one letter end up in the next column and the previous column is one line too short. It doesn’t change with balance=yes/no. E.g. p.1 A A A A A A B A B A B A <<<< !? p.2 B C B C B C C C C D C D (3) (How) can I otherwise influence page/column breaking? E.g. - always keep multi line entries together - break before or after some entry (4) Is it possible to combine entries from \index and \startregister[index]? If I use \start/stopregister and have the same index entry within the range or on the same page, I get duplicate pages or page ranges, like 10-12 from \startregister and additionally 11, 12-13 from \index entries, makes at the moment 10-12, 11, 12-13 instead of just 10-13. I’ll prepare MWEs, but maybe you can answer some of these without? Thank you in advance, Hraban
![](https://secure.gravatar.com/avatar/eade9bceb7f86f999178cd1b4ee3e500.jpg?s=120&d=mm&r=g)
On Fri, 6 Nov 2020 at 12:24, Henning Hraban Ramm
Hello again,
still struggling with indexes.
I’ll prepare MWEs, but maybe you can answer some of these without?
Hello Hraban! Without MWE try \showinjector https://wiki.contextgarden.net/Command/showinjector and \setinjector https://wiki.contextgarden.net/Command/setinjector. Jano
![](https://secure.gravatar.com/avatar/0ed499139c984ed1c5c6312376a707e5.jpg?s=120&d=mm&r=g)
On Fri, 6 Nov 2020 at 11:52, Jano Kula
On Fri, 6 Nov 2020 at 12:24, Henning Hraban Ramm
wrote: Hello again,
still struggling with indexes.
I’ll prepare MWEs, but maybe you can answer some of these without?
Hello Hraban!
Without MWE try \showinjector https://wiki.contextgarden.net/Command/showinjector and \setinjector https://wiki.contextgarden.net/Command/setinjector.
Jano
I would add to that that when experimenting with \showinjector you need to
have at least one \setinjector as well otherwise it doesn't show the numbers. Duncan
![](https://secure.gravatar.com/avatar/e5aa6984b53b8925e405ebbdbc051ad9.jpg?s=120&d=mm&r=g)
Am 06.11.2020 um 12:54 schrieb Duncan Hothersall
: On Fri, 6 Nov 2020 at 11:52, Jano Kula
wrote: On Fri, 6 Nov 2020 at 12:24, Henning Hraban Ramm
wrote: Hello again, still struggling with indexes.
I’ll prepare MWEs, but maybe you can answer some of these without?
Hello Hraban!
Without MWE try \showinjector and \setinjector.
Jano
I would add to that that when experimenting with \showinjector you need to have at least one \setinjector as well otherwise it doesn't show the numbers.
Duncan
Jano, Duncan, thank you! Injectors were mentioned recently, of course I forgout about them... Will try. Best, Hraban
![](https://secure.gravatar.com/avatar/e5aa6984b53b8925e405ebbdbc051ad9.jpg?s=120&d=mm&r=g)
Am 06.11.2020 um 12:54 schrieb Duncan Hothersall
: Without MWE try \showinjector and \setinjector.
I would add to that that when experimenting with \showinjector you need to have at least one \setinjector as well otherwise it doesn't show the numbers.
It doesn’t work for me: lua error > lua error on line 24 in file inhalt/99anhang.tex: registered function call [421]: ...-06/tex/texmf-context/tex/context/base/mkiv/typo-inj.lua:63: attempt to index a nil value (field '?') stack traceback: ...-06/tex/texmf-context/tex/context/base/mkiv/typo-inj.lua:63: in function <...-06/tex/texmf-context/tex/context/base/mkiv/typo-inj.lua:57> (...tail calls...) 23 \setinjector[Person][10][{\column}] 24 >> \showinjector[Person] Regardless what I try as parameter of \showinjector (e.g. register, index, my own registers, one or a list) and where (in the environment or before \placeregister), I always get this error. Bug? LMTX version: 2020.09.20 23:02 Hraban
![](https://secure.gravatar.com/avatar/0ed499139c984ed1c5c6312376a707e5.jpg?s=120&d=mm&r=g)
On Fri, 6 Nov 2020 at 14:31, Henning Hraban Ramm
Am 06.11.2020 um 12:54 schrieb Duncan Hothersall
: Without MWE try \showinjector and \setinjector.
I would add to that that when experimenting with \showinjector you need to have at least one \setinjector as well otherwise it doesn't show the numbers.
It doesn’t work for me:
lua error > lua error on line 24 in file inhalt/99anhang.tex:
registered function call [421]: ...-06/tex/texmf-context/tex/context/base/mkiv/typo-inj.lua:63: attempt to index a nil value (field '?') stack traceback: ...-06/tex/texmf-context/tex/context/base/mkiv/typo-inj.lua:63: in function <...-06/tex/texmf-context/tex/context/base/mkiv/typo-inj.lua:57> (...tail calls...)
23 \setinjector[Person][10][{\column}] 24 >> \showinjector[Person]
Regardless what I try as parameter of \showinjector (e.g. register, index, my own registers, one or a list) and where (in the environment or before \placeregister), I always get this error.
Bug?
LMTX version: 2020.09.20 23:02
Hraban
I don't think \showinjector needs an argument. My MWE when I was looking at this has just \showinjector after the register definition but before the \setinjector[...] commands. Duncan
![](https://secure.gravatar.com/avatar/e5aa6984b53b8925e405ebbdbc051ad9.jpg?s=120&d=mm&r=g)
Am 06.11.2020 um 15:48 schrieb Duncan Hothersall
: I don't think \showinjector needs an argument. My MWE when I was looking at this has just \showinjector after the register definition but before the \setinjector[...] commands.
Docs say otherwise. Without argument, I don’t get an error, but also nothing happens. Hraban
participants (3)
-
Duncan Hothersall
-
Henning Hraban Ramm
-
Jano Kula