[NTG-context] index sort order (de)

2024-05-14 Thread Henning Hraban Ramm
Hi, I checked the German index sorting rules, and as far as I can tell, all of them are somewhat wrong. – de, default, or no setting (just mainlanguage de) – Duden - DIN 5007-1(:2005) - DIN 5007-2(:1996) - de-AT IMO, "Duden" is obsolete, should be the same as default; it makes no sense to

Re: [NTG-context] Index formatting difference LMTX and MkIV redux

2020-11-18 Thread Hans Hagen
On 11/17/2020 10:14 PM, Pablo Rodriguez wrote: On 11/17/20 9:34 PM, Rik Kabel wrote: Bump. This is still a problem. Can anyone acknowledge that the problem exists outside my own installation? If so, is there a work-around? An explanation? Hi Rik, I can reproduce your problem, but I’m afraid

Re: [NTG-context] Index formatting difference LMTX and MkIV redux

2020-11-17 Thread Pablo Rodriguez
On 11/17/20 9:34 PM, Rik Kabel wrote: > Bump. > > This is still a problem. Can anyone acknowledge that the problem exists > outside my own installation? If so, is there a work-around? An explanation? Hi Rik, I can reproduce your problem, but I’m afraid I don’t know the explanation for this or

Re: [NTG-context] Index formatting difference LMTX and MkIV redux

2020-11-17 Thread Rik Kabel
Bump. This is still a problem. Can anyone acknowledge that the problem exists outside my own installation? If so, is there a work-around? An explanation? On 10/21/2020 21:42, Rik Kabel wrote: Hello list, About two months ago (2020-08-26) I described a difference between LMTX and MkIV in

Re: [NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
> Am 06.11.2020 um 12:22 schrieb Henning Hraban Ramm : > > (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

Re: [NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
> 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

Re: [NTG-context] index issues

2020-11-06 Thread Duncan Hothersall
On Fri, 6 Nov 2020 at 14:31, Henning Hraban Ramm wrote: > > > > 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

Re: [NTG-context] index issues

2020-11-06 Thread 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:

Re: [NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
> 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?

Re: [NTG-context] index issues

2020-11-06 Thread 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 >

Re: [NTG-context] index issues

2020-11-06 Thread 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 and \setinjector

[NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
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

Re: [NTG-context] index entries postponed if sections are empty

2020-11-02 Thread Henning Hraban Ramm
Otared, Jano, thank you for your answers – what finally helped was putting the image and the index entries in a vbox together. Hraban ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] index entries postponed if sections are empty

2020-11-01 Thread Jano Kula
Hello Hraban! On Sat, 31 Oct 2020 at 17:56, Henning Hraban Ramm wrote: > 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

Re: [NTG-context] index entries postponed if sections are empty

2020-10-31 Thread Otared Kavian
Hi Hraban, Maybe you can add some « virtual » text in the section with an invisible color such as \startcolor[white] a \stopcolor I don't know whether the following can solve your problem, but the entries of the index appear correctly: \usemodule[visual] \starttext \dorecurse{5}{%

[NTG-context] index entries postponed if sections are empty

2020-10-31 Thread Henning Hraban Ramm
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

[NTG-context] Index formatting difference LMTX and MkIV redux

2020-10-21 Thread Rik Kabel
Hello list, About two months ago (2020-08-26) I described a difference between LMTX and MkIV in the setting of index registers entries, and more particularly, in the trimming of text to fit the available width therein. I have now created a smallish example to demonstrate the problem. I do

[NTG-context] index issues

2020-10-14 Thread Henning Hraban Ramm
(1) If I get the same index entry two or more times on a page, sometimes with processor formatting, sometimes not, how can I control which version takes precedence? Actual use case: index entries from footnotes should be italics, while those from the main text stay upright. Now, if there is an

[NTG-context] Index range with page number suffix

2020-09-24 Thread Duncan Hothersall
(Using mkiv.) I have an index in which some entries need suffixes on the page numbers, for which I have used processors. For index ranges, I need the page number suffix only to appear on the end page number, not the start page number. The below MWE produces an index entry: sausage 1i-2i What

[NTG-context] Index formatting difference LMTX and MkIV

2020-08-26 Thread Rik Kabel
Hello list, I have an index which uses multilevel indexing (a+b+c) to insert entries which contain snips of text. LMTX behaves differently from MkIV when trimming that text, resulting in line wrapping which does not happen with MKiV. I am not sure when this began -- I just picked up work

[NTG-context] Index confusion with first entry

2020-08-18 Thread Henning Hraban Ramm
Hi, my index of locations shows a strange problem: Hamburg 6, 12, 14, 24–25, 27, 31, 33, 35, 44, 46, 48, 57, 59, 64, 75, 79, 81, 93–94, 96, 102, 104–105, 108–110, 112, 116–118, 120, 121–125, 6, 126–135, 6, 137– 147, 149, 151–159, 161, 165, 168, 169–171, 174, 176, 178, 182, 207, 209, 211,

Re: [NTG-context] index with chapter and section numbers

2019-11-07 Thread Hans Hagen
On 11/7/2019 10:25 AM, Otared Kavian wrote: Hi, In a math text book, I would like to create an index of some material where chapter and section numbers are given instead of a page number. For instance if the result « 3.2.5 Banach Fixed Point Theorem » is stated in section 2 of chapter 3, and

[NTG-context] index with chapter and section numbers

2019-11-07 Thread Otared Kavian
Hi, In a math text book, I would like to create an index of some material where chapter and section numbers are given instead of a page number. For instance if the result « 3.2.5 Banach Fixed Point Theorem » is stated in section 2 of chapter 3, and is the fifth numbered statement in that

[NTG-context] index page ranges where start page == end page

2019-07-09 Thread Sanjoy Mahajan
The following probably well known minimal example \starttext \startregister[index][key1]{an entry}\input knuth\stopregister[index][key1] \placeindex \stoptext produces the index entry "an entry 1--1", where the page range should be just a single page. A question (and then two

Re: [NTG-context] index entries printed over each other

2019-04-14 Thread Henning Hraban Ramm
Am 2019-04-14 um 21:34 schrieb Wolfgang Schuster : > Henning Hraban Ramm schrieb am 14.04.2019 um 21:11: >> Hi, >> on the last page of my index, there are two entries printed over each other, >> see attached screenshot. >> >> How can this happen? Any hints how to avoid it? >> >> Sorry, no MWE

Re: [NTG-context] index entries printed over each other

2019-04-14 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 14.04.2019 um 21:11: Hi, on the last page of my index, there are two entries printed over each other, see attached screenshot. How can this happen? Any hints how to avoid it? Sorry, no MWE yet, probably hard to reproduce... Latest, i.e. yesterday’s beta with

[NTG-context] index entries printed over each other

2019-04-14 Thread Henning Hraban Ramm
Hi, on the last page of my index, there are two entries printed over each other, see attached screenshot. How can this happen? Any hints how to avoid it? Sorry, no MWE yet, probably hard to reproduce... Latest, i.e. yesterday’s beta with LuaTeX; the same with the previous version. Also the

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Henning Hraban Ramm
Am 2019-04-03 um 13:30 schrieb Hans Hagen : > On 4/3/2019 10:56 AM, Henning Hraban Ramm wrote: >> Am 2019-04-02 um 18:53 schrieb Hans Hagen : >>> On 4/2/2019 11:54 AM, Henning Hraban Ramm wrote: Ahoi, with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Hans Hagen
On 4/3/2019 10:56 AM, Henning Hraban Ramm wrote: Am 2019-04-02 um 18:53 schrieb Hans Hagen : On 4/2/2019 11:54 AM, Henning Hraban Ramm wrote: Ahoi, with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s great. But (at least in German publications) it’s usual that 1,2

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Herbert Voss
Am 03.04.19 um 11:41 schrieb Thomas A. Schmitz: On 3. Apr 2019, at 10:56, Henning Hraban Ramm wrote: Thank you – it’s not only a German habit, even if we pronounce it “folgende”, “f.” stems from Latin “folio”, and “ff.” is a duplicated abbreviation, as was usual in mediaeval Latin. So,

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Thomas A. Schmitz
> On 3. Apr 2019, at 10:56, Henning Hraban Ramm wrote: > > Thank you – it’s not only a German habit, even if we pronounce it “folgende”, > “f.” stems from Latin “folio”, and “ff.” is a duplicated abbreviation, as was > usual in mediaeval Latin. > So, this is at least used in English, German,

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Ulrike Fischer
Am Wed, 3 Apr 2019 10:56:21 +0200 schrieb Henning Hraban Ramm: > or is there a need to collapse pages in bibliographies? there can be such page ranges with ff both in the bibliography and the citation. But normally you input them hard coded as you know it in advance (in biblatex as 1\psq or

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Henning Hraban Ramm
Am 2019-04-02 um 18:53 schrieb Hans Hagen : > On 4/2/2019 11:54 AM, Henning Hraban Ramm wrote: >> Ahoi, >> with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s >> great. >> But (at least in German publications) it’s usual that 1,2 becomes 1f. and >> 1,2,3 becomes 1ff. >>

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-02 Thread Hans Hagen
On 4/2/2019 11:54 AM, Henning Hraban Ramm wrote: Ahoi, with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s great. But (at least in German publications) it’s usual that 1,2 becomes 1f. and 1,2,3 becomes 1ff. Is it possible to configure it that way? it should not be

[NTG-context] index "compress" option / collapsing of page numbers

2019-04-02 Thread Henning Hraban Ramm
Ahoi, with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s great. But (at least in German publications) it’s usual that 1,2 becomes 1f. and 1,2,3 becomes 1ff. Is it possible to configure it that way? Greetlings, Hraban --- https://www.fiee.net

Re: [NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Jeong Dal
Dear Wolfgang, >> I couldn’t figure out what relation is there between Theorems and Exam. > The numbers are correct with the latest beta. > > mtx-context | current version: 2019.02.10 17:43 > You are right. The example which I sent last time had no problem in numbers. I checked it by

Re: [NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Wolfgang Schuster
Jeong Dal schrieb am 11.02.19 um 11:17: 2. Also, the numbers of examples is not reset even though the new chapter began, for example, Example 2.3, 2.4, 3.5, 3.6 etc. However, I couldn’t make the same error with this code, It never happened without theorems, but it appeared when I added

Re: [NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Jeong Dal
Dear all, Since the customized Theorem structure is already complicate, I just extract \index from the title as following: \startTheorem{\bf title of theorem} \index{title of theorem} bla bla bla \stopTheorem In this way, I cleared the message "[entry not flushed]” in the indices. There may be

[NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Jeong Dal
Dear all, I just found that the counter problem has no relation with theorems. It happened without theorems while some examples worked correctly. There may be another problem in my definitions in environment file. I’ll do more tests. Thank you for reading. Best regards, Dalyoung

[NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Jeong Dal
Dear all, I used a customized Theorem structure which is made by the help of experts in this list. I have two questions. 1. Recently I added titles of theorems which was indexed and found a strange error message "[entry not flushed]” in the list of index. Please run the following sample

Re: [NTG-context] \index[infinity]{$+\infty$} gives an error

2019-02-05 Thread Wolfgang Schuster
Mikael P. Sundqvist schrieb am 05.02.19 um 20:17: On Tue, Feb 5, 2019 at 5:11 PM Wolfgang Schuster wrote: Mikael P. Sundqvist schrieb am 05.02.19 um 15:37: Hi, With latest beta, the file below throws me the error given below the example file. I thought this was possible (see

Re: [NTG-context] \index[infinity]{$+\infty$} gives an error

2019-02-05 Thread Wolfgang Schuster
Mikael P. Sundqvist schrieb am 05.02.19 um 15:37: Hi, With latest beta, the file below throws me the error given below the example file. I thought this was possible (see http://www.pragma-ade.com/general/manuals/cont-enp.pdf, (pdf)page 202). The error is not present if I remove the third

[NTG-context] \index[infinity]{$+\infty$} gives an error

2019-02-05 Thread Mikael P. Sundqvist
Hi, With latest beta, the file below throws me the error given below the example file. I thought this was possible (see http://www.pragma-ade.com/general/manuals/cont-enp.pdf, (pdf)page 202). The error is not present if I remove the third problematic index entry. /Mikael % Example file

Re: [NTG-context] index problem with \setupcolumnset

2018-11-10 Thread Peter Rolf
Am 2018-11-10 um 13:00 schrieb Peter Rolf: > Hi Wolfgang, > > thanks for the info. I will download the new manual right now. > Mh, already on my RAM disk :D I tend to ignore the shipped documentation. My bad. > > Best wishes, Peter > > Am 2018-11-10 um 12:03 schrieb Wolfgang Schuster: >>

Re: [NTG-context] index problem with \setupcolumnset

2018-11-10 Thread Peter Rolf
Hi Wolfgang, thanks for the info. I will download the new manual right now. Best wishes, Peter Am 2018-11-10 um 12:03 schrieb Wolfgang Schuster: > Hi Peter, > > the new columnset mechanism accepts only two arguments for the > \setupcolumnset command but you can load the old code with >

Re: [NTG-context] index problem with \setupcolumnset

2018-11-10 Thread Wolfgang Schuster
Hi Peter, the new columnset mechanism accepts only two arguments for the \setupcolumnset command but you can load the old code with \usemodule[old-columnsets]. How you can apply backgrounds per column with the new code is shown in a example in the manual. Wolfgang Peter Rolf schrieb am

[NTG-context] index problem with \setupcolumnset

2018-11-09 Thread Peter Rolf
Hi, I run into this error after updating my ConTeXt version. Small (but not minimal) example attached. mtx-context | current version: 2018.10.18 00:07 Peter \startuniqueMPgraphic{column:bg} fill OverlayBox withcolor yellow; \stopuniqueMPgraphic

Re: [NTG-context] index with more than one column?

2018-08-26 Thread Wolfgang Schuster
Try it without the columns environment in your document, i.e. \startchapter[title=\mytitle{Register}] \placeregister[index] \stopchapter Hans van der Meer schrieb am 26.08.18 um 17:48: Could the following setup I used be the culprit?

Re: [NTG-context] index with more than one column?

2018-08-26 Thread Wolfgang Schuster
The real question is why do you get an index without two columns. \starttext \dorecurse{26}{\convertnumber{a}{#1}\expanded{\index{\convertnumber{a}{#1 \placeregister[index]%[n=3] \stoptext Hans van der Meer schrieb am 26.08.18 um 17:37: How do I produce an index with more than one

[NTG-context] index with more than one column?

2018-08-26 Thread Hans van der Meer
How do I produce an index with more than one column? This produces one column only: \startchapter[title=\mytitle{Register}] \startcolumns[n=2] \placeregister[index] \stopcolumns Nor did \placeregister[index][n=2] or \placeindex[n=2], with or without the

Re: [NTG-context] index x-ref problem

2018-05-25 Thread Alan Bowen
This is fixed in the latest beta. Thanks, Hans! Alan On Sat, May 19, 2018 at 8:05 AM Alan Bowen wrote: > IF I am doing this correctly, then, there seems to be problems in the > current standalone​ when there are two x-refs to a single heading. The > space after “and” is

[NTG-context] index x-ref problem

2018-05-19 Thread Alan Bowen
IF I am doing this correctly, then, there seems to be problems in the current standalone​ when there are two x-refs to a single heading. The space after “and” is missing and should the order of the refs not be alphabetical? MWE \starttext \seeindex{animal}{cat} \seeindex{animal}{quadruped}

[NTG-context] index and footnotes colliding

2017-09-27 Thread Henning Hraban Ramm
Researching my index problems I came upon a strange one: \starttext \input tufte\index{Tufte}\footnote{\input knuth} \placeindex \stoptext Here the index collides with the footnote. WTF? My other question regarding sorting of index entries that contain macros is still open. Greetlings,

Re: [NTG-context] Index with distinguishable entries -- again

2017-04-27 Thread Rik Kabel
On 2017-04-27 07:14, Florian Grammel wrote: Thank you very much for your example -- it really helps a lot! That’s one smart trick for the endnotes. It will do fine for my current project, but obviously it will not work for footnotes directly on the pages. I had somehow hoped that there would

Re: [NTG-context] Index with distinguishable entries -- again

2017-04-27 Thread Florian Grammel
Thank you very much for your example -- it really helps a lot! That’s one smart trick for the endnotes. It will do fine for my current project, but obviously it will not work for footnotes directly on the pages. I had somehow hoped that there would be something like „if within some

Re: [NTG-context] Index with distinguishable entries -- again

2017-04-26 Thread Rik Kabel
On 2017-04-26 09:18, Florian Grammel wrote: Back in april 2012 Robert Blackstone asked some questions about indexing http://www.mail-archive.com/ntg-context@ntg.nl/msg63134.html i.a.: For a book in the area of musicology I would like to make one register with entries of different kinds,

[NTG-context] Index with distinguishable entries -- again

2017-04-26 Thread Florian Grammel
Back in april 2012 Robert Blackstone asked some questions about indexing http://www.mail-archive.com/ntg-context@ntg.nl/msg63134.html i.a.: > For a book in the area of musicology I would like to make one register with > entries of different kinds, distinguishable by their appearance in the >

Re: [NTG-context] index(register) from an XML source

2017-01-14 Thread MF
> > Now an alternative approach I thought, because the index I'm > > working on > > is a biographical index, I mean a index of cited people, with a > > biographical profile. So every entry is a few lines long. > > That's why I thought to index only the ids in the text and use a > > textcommand in

Re: [NTG-context] index(register) from an XML source

2017-01-14 Thread Hans Hagen
On 1/14/2017 3:52 PM, MF wrote: Thank you, Hans. I had found a solution, then I saw your e-mail. Anyway I've learned a lot from it. My solution was something like this: function xml.functions.indexEntry(e) local animal = animals[e.at.idref] if animal then --[[

Re: [NTG-context] index(register) from an XML source

2017-01-14 Thread Alan Braslau
On Sat, 14 Jan 2017 15:52:25 +0100 MF wrote: > Now an alternative approach I thought, because the index I'm working > on is a biographical index, I mean a index of cited people, with a > biographical profile. One can create an index with the publications module as

Re: [NTG-context] index(register) from an XML source

2017-01-14 Thread MF
Thank you, Hans. I had found a solution, then I saw your e-mail. Anyway I've learned a lot from it. My solution was something like this: function xml.functions.indexEntry(e)  local animal = animals[e.at.idref]  if animal then  --[[  context.Animal (  { animal.key

Re: [NTG-context] index(register) from an XML source

2017-01-14 Thread Hans Hagen
On 1/13/2017 6:10 PM, MF wrote: Hello list, please see this: \startbuffer[test] In this page there is a cat, a dog and a horse. In this page there's only a fox terrier. In this page you find a persian cat and a

[NTG-context] index(register) from an XML source

2017-01-13 Thread MF
Hello list, please see this: \startbuffer[test]   In this page there is a cat,   a dog  and a horse.     In this page there's only a fox terrier.     In this page you find a persian cat  and a horse.     Cat Dog

Re: [NTG-context] index-register automatic sorting

2016-05-25 Thread luigi scarso
On Tue, May 24, 2016 at 6:13 PM, Manuel Conzelmann wrote: > hi everybody, > > if i place a register at the end of my document its sorted by page numbers > and not alphabetically. someone has an idea how to achieve this (from A to > Z)? > > if it would be sorted alphabetically

[NTG-context] index-register automatic sorting

2016-05-25 Thread Manuel Conzelmann
hi everybody, if i place a register at the end of my document its sorted by page numbers and not alphabetically. someone has an idea how to achieve this (from A to Z)? if it would be sorted alphabetically there would be only one indicator per letter: A B C D E F G at the moment it

Re: [NTG-context] Index items (additional question)

2015-04-19 Thread Robert Blackstone
On 16 Apr 2015, at 15:38 , Hans Hagen pra...@wxs.nl gave me the following: \startluacode document.indexentries = { [rule] = [[Rule(s)]], [ruleimperfect] = [[+ \quote{imperfect to perfect, from}]], [galilei] = [[Galilei, Vincenzo]], }

Re: [NTG-context] Index items (additional question)

2015-04-19 Thread Hans Hagen
On 4/19/2015 9:47 AM, Robert Blackstone wrote: On 16 Apr 2015, at 15:38 , Hans Hagen pra...@wxs.nl gave me the following: \startluacode document.indexentries = { [rule] = [[Rule(s)]], [ruleimperfect] = [[+ \quote{imperfect to perfect, from}]],

Re: [NTG-context] Index items (additional question)

2015-04-19 Thread Robert Blackstone
On 19 Apr 2015, at 11:55 , Hans Hagen pra...@wxs.nl wrote On 4/19/2015 9:47 AM, Robert Blackstone wrote: On 16 Apr 2015, at 15:38 , Hans Hagen pra...@wxs.nl gave me the following: \startluacode document.indexentries = { [rule] = [[Rule(s)]],

Re: [NTG-context] Index items

2015-04-16 Thread Robert Blackstone
Hi, Same subject as in my previous post but a new question: On the ConTeXt wiki-page Command\index one finds: \index[...][...][…] […] text […] text […] text What is the first argument for? Could it somehow be used to provide a key? Another point, just for the sake of completeness: the example

Re: [NTG-context] Index items

2015-04-16 Thread Alan BRASLAU
On Thu, 16 Apr 2015 09:50:23 +0200 Robert Blackstone blackstone.rob...@gmail.com wrote: Hi, Same subject as in my previous post but a new question: On the ConTeXt wiki-page Command\index one finds: \index[...][...][…] […] text […] text […] text What is the first argument for? Could it

Re: [NTG-context] Index items

2015-04-16 Thread Hans Hagen
On 4/15/2015 11:41 PM, Robert Blackstone wrote: On 15 Apr 2015, at 19:51 , Alan BRASLAU alan.bras...@cea.fr wrote Hans Hagen pra...@wxs.nl wrote: On 4/14/2015 1:48 PM, Robert Blackstone wrote: Dear all, The book I am typesetting contains a very extensive and detailed index. The number of

Re: [NTG-context] Index items

2015-04-16 Thread Robert Blackstone
On 16 Apr 2015, at 15:38 , Hans Hagen pra...@wxs.nl wrote To: mailing list for ConTeXt users ntg-context@ntg.nl Subject: Re: [NTG-context] Index items Message-ID: 552fbb35.9050...@wxs.nl Content-Type: text/plain; charset=utf-8; format=flowed On 4/15/2015 11:41 PM, Robert Blackstone wrote

Re: [NTG-context] Index items

2015-04-15 Thread Alan BRASLAU
On Tue, 14 Apr 2015 18:50:49 +0200 Hans Hagen pra...@wxs.nl wrote: On 4/14/2015 1:48 PM, Robert Blackstone wrote: Dear all, The book I am typesetting contains a very extensive and detailed index. The number of index items is probably around 1200, 16 pages. A fair number of them occur

Re: [NTG-context] Index items

2015-04-15 Thread Robert Blackstone
On 15 Apr 2015, at 19:51 , Alan BRASLAU alan.bras...@cea.fr wrote Hans Hagen pra...@wxs.nl wrote: On 4/14/2015 1:48 PM, Robert Blackstone wrote: Dear all, The book I am typesetting contains a very extensive and detailed index. The number of index items is probably around 1200, 16 pages.

[NTG-context] Index items

2015-04-14 Thread Robert Blackstone
Dear all, The book I am typesetting contains a very extensive and detailed index. The number of index items is probably around 1200, 16 pages. A fair number of them occur in more than one chapter. Like bibliography items, and for the sake of consistency, I have stored them in some auxiliary

Re: [NTG-context] Index items

2015-04-14 Thread Hans Hagen
On 4/14/2015 1:48 PM, Robert Blackstone wrote: Dear all, The book I am typesetting contains a very extensive and detailed index. The number of index items is probably around 1200, 16 pages. A fair number of them occur in more than one chapter. Like bibliography items, and for the sake of

Re: [NTG-context] Index notation in math mode

2014-03-25 Thread Fabrice
Hi, Thank youAditya, it works. Regards, Fabrice ___ 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

[NTG-context] Index notation in math mode

2014-03-24 Thread Fabrice Couvreur
Hi, I would like the f in \math{\cal C_f} is identical to that obtained with \math{f}. Regards, Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Index notation in math mode

2014-03-24 Thread Aditya Mahajan
On Tue, 25 Mar 2014, Fabrice Couvreur wrote: Hi, I would like the f in \math{\cal C_f} is identical to that obtained with \math{f}. \math{ {\cal C}_f } Aditya ___ If your question is of interest to others as

[NTG-context] Index register page entry numbers missing

2014-03-19 Thread Rik Kabel
In the following example, page number entries in the index are not displayed when a blank line is inserted in the text, but do appear without that blank. This happens with both the current 20140316 standalone beta and with TL2013. (I noticed this constructing MWEs for other index register

Re: [NTG-context] Index register page entry numbers missing

2014-03-19 Thread Hans Hagen
On 3/19/2014 4:59 PM, Rik Kabel wrote: In the following example, page number entries in the index are not displayed when a blank line is inserted in the text, but do appear without that blank. This happens with both the current 20140316 standalone beta and with TL2013. (I noticed this

Re: [NTG-context] [Index] Indenting long primaries after secondaries

2014-03-16 Thread Hans Hagen
On 3/7/2014 6:54 PM, Jan Tosovsky wrote: On 2014-02-26 Jan Tosovsky wrote: when a long primary is preceded with the secondary or tertiary index entry, the second line is not indented as usual, see the following example: \setupregister[balance=no] \starttext \index{primary+secondary+tertiary}

Re: [NTG-context] [Index] Indenting long primaries after secondaries

2014-03-16 Thread Jan Tosovsky
On 2014-03-16 Hans Hagen wrote: On 3/7/2014 6:54 PM, Jan Tosovsky wrote: On 2014-02-26 Jan Tosovsky wrote: when a long primary is preceded with the secondary or tertiary index entry, the second line is not indented as usual, see the following example: \setupregister[balance=no]

Re: [NTG-context] [Index] Indenting long primaries after secondaries

2014-03-16 Thread Hans Hagen
On 3/16/2014 4:34 PM, Jan Tosovsky wrote: On 2014-03-16 Hans Hagen wrote: On 3/7/2014 6:54 PM, Jan Tosovsky wrote: On 2014-02-26 Jan Tosovsky wrote: when a long primary is preceded with the secondary or tertiary index entry, the second line is not indented as usual, see the following

Re: [NTG-context] [Index] Indenting long primaries after secondaries

2014-03-16 Thread Hans Hagen
On 3/16/2014 4:34 PM, Jan Tosovsky wrote: On 2014-03-16 Hans Hagen wrote: On 3/7/2014 6:54 PM, Jan Tosovsky wrote: On 2014-02-26 Jan Tosovsky wrote: when a long primary is preceded with the secondary or tertiary index entry, the second line is not indented as usual, see the following

Re: [NTG-context] [Index] Indenting long primaries after secondaries

2014-03-16 Thread Jan Tosovsky
On 2014-03-16 Hans Hagen wrote: On 2014-02-26 Jan Tosovsky wrote: when a long primary is preceded with the secondary or tertiary index entry, the second line is not indented as usual, see the following example: \setupregister[balance=no] \starttext

Re: [NTG-context] [Index] Indenting long primaries after secondaries

2014-03-16 Thread Hans Hagen
On 3/16/2014 6:31 PM, Jan Tosovsky wrote: On 2014-03-16 Hans Hagen wrote: On 2014-02-26 Jan Tosovsky wrote: when a long primary is preceded with the secondary or tertiary index entry, the second line is not indented as usual, see the following example: \setupregister[balance=no] \starttext

Re: [NTG-context] [Index] Indenting long primaries after secondaries

2014-03-07 Thread Jan Tosovsky
On 2014-02-26 Jan Tosovsky wrote: when a long primary is preceded with the secondary or tertiary index entry, the second line is not indented as usual, see the following example: \setupregister[balance=no] \starttext \index{primary+secondary+tertiary} \index[primary

[NTG-context] [Index] Indenting long primaries after secondaries

2014-02-26 Thread Jan Tosovsky
Dear All, when a long primary is preceded with the secondary or tertiary index entry, the second line is not indented as usual, see the following example: \setupregister[balance=no] \starttext \index{primary+secondary+tertiary} \index[primary long]{\dorecurse{5}{primary long }} \index[primary

Re: [NTG-context] Index entries - custom font size

2013-11-23 Thread Jan Tosovsky
On 2013-11-16 Jan Tosovsky wrote: there are lot of index entries in my document and with the standard body font size they occupy too much space. I've tried to decrease the size by the textstyle parameter. It works, but it is applied recursively to every nested level: secondary items are

[NTG-context] Index entries - custom font size

2013-11-16 Thread honyk
Hello Everyone, there are lot of index entries in my document and with the standard body font size they occupy too much space. I've tried to decrease the size by the textstyle parameter. It works, but it is applied recursively to every nested level: secondary items are smaller twice and tertiary

Re: [NTG-context] Index - ranges

2013-11-15 Thread honyk
On 2013-11-12 honyk wrote: On 2013-11-07 honyk wrote: 1) when a range for my subject index entry is specified and the text between doesn't overflow to the next page, even in this case the range of pages 1-1 is created. Is there any option to normalize it to a single page number?

Re: [NTG-context] Index - ranges

2013-11-15 Thread honyk
On 2013-11-15 honyk wrote: On 2013-11-12 honyk wrote: On 2013-11-07 honyk wrote: 1) when a range for my subject index entry is specified and the text between doesn't overflow to the next page, even in this case the range of pages 1-1 is created. Is there any option to normalize

Re: [NTG-context] Index - ranges

2013-11-12 Thread honyk
On 2013-11-07 honyk wrote: 1) when a range for my subject index entry is specified and the text between doesn't overflow to the next page, even in this case the range of pages 1-1 is created. Is there any option to normalize it to a single page number?

Re: [NTG-context] Index - custom sorting

2013-11-11 Thread honyk
On 2013-11-07 Wolfgang Schuster wrote: Am 07.11.2013 um 23:11 schrieb honyk j.tosov...@email.cz: czech sorting has a quite complex logic. How can a default index entries sorting be overridden? Using a macro or somewhere under the hood via a lua code? When you have \mainlanguage[cz]

Re: [NTG-context] Index - ranges

2013-11-08 Thread honyk
On 2013-11-07 honyk wrote: 1) when a range for my subject index entry is specified and the text between doesn't overflow to the next page, even in this case the range of pages 1-1 is created. Is there any option to normalize it to a single page number?

[NTG-context] Index - 'sort as' parameter for secondary and tertiary index entries

2013-11-07 Thread honyk
Dear All, while there is a sorting parameter for the primary index entry: \index[primary]{primary} I cannot find any method how to define 'sort as' parameter for next two levels: \index{primary+aaa} \index{primary+bbb} I want to have aaa before bbb in my index. Any idea? Thanks, Jan

[NTG-context] Index - ranges

2013-11-07 Thread honyk
Dear All, 1) when a range for my subject index entry is specified and the text between doesn't overflow to the next page, even in this case the range of pages 1-1 is created. Is there any option to normalize it to a single page number? \startregister[index][range_01]{primary} Dummy text.

[NTG-context] Index - custom sorting

2013-11-07 Thread honyk
Dear All, czech sorting has a quite complex logic. How can a default index entries sorting be overridden? Using a macro or somewhere under the hood via a lua code? I am a total noob in this. Btw, as a Java programmer I have it implemented already in Java so I hope it won't be a huge task to

Re: [NTG-context] Index - custom sorting

2013-11-07 Thread Wolfgang Schuster
Am 07.11.2013 um 23:11 schrieb honyk j.tosov...@email.cz: Dear All, czech sorting has a quite complex logic. How can a default index entries sorting be overridden? Using a macro or somewhere under the hood via a lua code? I am a total noob in this. Btw, as a Java programmer I have it

  1   2   3   >