Re: [NTG-context] limit of index entries?

2020-08-01 Thread Hans Hagen
On 8/1/2020 1:54 PM, Henning Hraban Ramm wrote: Hi, my aforementioned person index has more than 600 entries. If I get over ~500, ConTeXt (MkIV, several versions) breaks with ! error (push_node): stack overflow mtx-context | fatal error: return code: 256 Is there a hard limit? Can I

[NTG-context] limit of index entries?

2020-08-01 Thread Henning Hraban Ramm
Hi, my aforementioned person index has more than 600 entries. If I get over ~500, ConTeXt (MkIV, several versions) breaks with ! error (push_node): stack overflow mtx-context | fatal error: return code: 256 Is there a hard limit? Can I change it? Hraban

[NTG-context] consistent index entries

2020-08-01 Thread Henning Hraban Ramm
Hi, besides the CG journal I’m working on a scientific biography with huge person and locality indexes (named Person and Locality for the examples). In many cases, the author wants additional information in the index, e.g. \Locality{Altona (Hamburg)} \Locallity{Breslau (pol. Wrocław)} or

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

2019-11-10 Thread Wolfgang Schuster
Otared Kavian schrieb am 10.11.2019 um 10:38: 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

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

2019-11-10 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

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

Re: [NTG-context] formatting index entries: alphabetical order in Unicode

2019-09-16 Thread Robert Zydenbos
> On 13. Sep 2019, at 12:31, luigi scarso wrote: > > > On Fri, Sep 13, 2019 at 12:20 PM Robert Zydenbos wrote: > > When ConTeXt MkIV (rather: LuaTeX) supports Indic fonts, I'll gladly do that. > :-) > > > luahbtex (in texlive 2020) has harfbuzz embedded . That sounds like *the* solution (

Re: [NTG-context] formatting index entries: alphabetical order in Unicode

2019-09-13 Thread Hans Hagen
On 9/13/2019 12:20 PM, Robert Zydenbos wrote: On 22. Aug 2019, at 18:17, Wolfgang Schuster wrote: A PDF with the wrong sorting order doesn't help when you can't show a working minimal example to reproduce the problem. When you need more control about the sorting order of the

Re: [NTG-context] formatting index entries: alphabetical order in Unicode

2019-09-13 Thread luigi scarso
e the problem. When you need more > control about the sorting order of the index you should switch to MkIV > which has more options. > > > > Wolfgang > > When ConTeXt MkIV (rather: LuaTeX) supports Indic fonts, I'll gladly do > that. :-)

Re: [NTG-context] formatting index entries: alphabetical order in Unicode

2019-09-13 Thread Robert Zydenbos
On 22. Aug 2019, at 18:17, Wolfgang Schuster wrote: > A PDF with the wrong sorting order doesn't help when you can't show a working > minimal example to reproduce the problem. When you need more control about > the sorting order of the index you should switch to

Re: [NTG-context] formatting index entries: alphabetical order in Unicode

2019-08-22 Thread Wolfgang Schuster
sidered a word that starts with a 'y'; the word īga (beginning with an i with a macron) is placed as if it is 'ga'. Is there any way to tell the indexing function how to deal with such special characters? How should we know why you have problems with your index entries

Re: [NTG-context] formatting index entries: alphabetical order in Unicode

2019-08-22 Thread Wolfgang Schuster
a macron) is placed as if it is 'ga'. Is there any way to tell the indexing function how to deal with such special characters? How should we know why you have problems with your index entries when you're unable to provide a working minimal example, all you have sho

Re: [NTG-context] formatting index entries: alphabetical order in Unicode

2019-08-22 Thread Robert Zydenbos
That helps! But in any case, it looks like the problems are actually several (also the one of the precise order of the words in the index), and I think the 'fastest' solution for now is that I just compile the index (only 4 pages), make a separate component file and rearrange the c

Re: [NTG-context] formatting index entries: alphabetical order in Unicode

2019-08-21 Thread Richard Mahoney | Indica et Buddhica
ly-To: mailing list for ConTeXt users To: mailing list for ConTeXt users Subject: [NTG-context] formatting index entries: alphabetical order in Unicode Date: Thu, 22 Aug 2019 01:42:40 +0200 Mailer: I seem to have a problem with Unicode in the indexing function for my book: a word like āyitu (begi

[NTG-context] formatting index entries: alphabetical order in Unicode

2019-08-21 Thread Robert Zydenbos
I seem to have a problem with Unicode in the indexing function for my book: a word like āyitu (beginning with an 'a' with a macron over it) is considered a word that starts with a 'y'; the word īga (beginning with an i with a macron) is placed as if it is 'ga'. Is there any way to tell the inde

Re: [NTG-context] formatting index entries

2019-08-21 Thread Robert Zydenbos
ct 5-10 pct runtime overhead! open source > level 2, order 3, name '/Users/rz/Documents/work/Kannada-manual-compile-klad/indexpablo.tex' fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded structure

Re: [NTG-context] formatting index entries

2019-08-21 Thread Robert Zydenbos
Sorry, that works fine in MkIV, but not in MkII, which I need to use. Robert > On 21. Aug 2019, at 17:33, Wolfgang Schuster > wrote: > > Robert Zydenbos schrieb am 21.08.2019 um 10:59: >> Dear list members, >> >> In my book I am creating an index. I kn

Re: [NTG-context] formatting index entries

2019-08-21 Thread Wolfgang Schuster
Robert Zydenbos schrieb am 21.08.2019 um 10:59: Dear list members, In my book I am creating an index. I know that there are commands for formatting index entries, like: \index{sl::īga} if I want the word 'īga' to be printed in slanted type. I also know that we can create sub-ent

Re: [NTG-context] formatting index entries

2019-08-21 Thread Pablo Rodriguez
On 8/21/19 10:59 AM, Robert Zydenbos wrote: > Dear list members, > > In my book I am creating an index. I know that there are commands > for formatting index entries, like: > > \index{sl::īga} > [...] > \index{īga+emphasized} > [...] > Any suggestions? Hi Robert, t

[NTG-context] formatting index entries

2019-08-21 Thread Robert Zydenbos
Dear list members, In my book I am creating an index. I know that there are commands for formatting index entries, like: \index{sl::īga} if I want the word 'īga' to be printed in slanted type. I also know that we can create sub-entries, like \index{īga+emphasized} But now I wan

[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 (an

Re: [NTG-context] thumb index: \setlayer on every odd/even page?

2019-05-13 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 13.05.2019 um 23:17: Hai, how must I setup layers that get repeated on every even/odd page? Or should I use \doifoddpageelse with \setlayer? Or do you have a different suggestion for thumb index “boxes”? https://wiki.contextgarden.net/Thumb_index You can also

[NTG-context] thumb index: \setlayer on every odd/even page?

2019-05-13 Thread Henning Hraban Ramm
Hai, how must I setup layers that get repeated on every even/odd page? Or should I use \doifoddpageelse with \setlayer? Or do you have a different suggestion for thumb index “boxes”? Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key

[NTG-context] registers: setting pageleft parameter by index term

2019-04-29 Thread mf
Hello list, please consider this MWE: \definenumber[p] \setnumber[p][1] \def\PageLeft{ p.~} \def\TextCommand#1{\getnumber[p] #1\doif{\rawcountervalue[p]}{2}{\def\PageLeft{ P.~}}\incrementnumber[p]} \setupindex[n=1,pageleft=\PageLeft,pageright=,textcommand=\TextCommand] \starttext Foo\index{foo

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

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], inde

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, t

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 1\ps

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

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 http

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

2019-02-11 Thread Jeong Dal
3em, title=yes, prefix=yes, prefixsegments=chapter, way=bychapter, before={\blank}, after=\blank] \setupbodyfont[rm, 11pt] \starttext \dorecurse{3}{ \startchapter[title={Chapter Title}] \startExam We call it \index{OneTwo}{\bf OneTwo} \stopExam \startExam We call it \index{

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 \star

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 m

[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
://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 \starttext This does not look right: \index{entry} \index[key]{entry} \index[infinifty]{$+\infty$} \index[infinifty]{$\mathplus\infty$} ConTeXt

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

2019-02-05 Thread Wolfgang Schuster
problematic index entry. /Mikael % Example file \starttext This does not look right: \index{entry} \index[key]{entry} \index[infinifty]{$+\infty$} \index[infinifty]{$\mathplus\infty$} ConTeXt uses + as separator in index entries. In you example the argument is split into the two parts “$” and

[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: >> Hi

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 > \usemo

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 0

[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 \defineoverlay[columnbg][\uniqueMPgrap

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? \setupregister[index][pagestyle=slanted,textstyle=small

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] title of index

2018-07-19 Thread Henri Menke
On 19/07/18 23:54, Hans van der Meer wrote: The macro \completeregister[index] placed in \startbackmatter\startappendices typesets as “I Index”. How can I change and format with my custom macro the part “Index”? Such as using \mytitle{xyz} instead of Index? Looks like the sectioning command

Re: [NTG-context] title of index

2018-07-19 Thread Wolfgang Schuster
\definehead[mytitle][title] \starttext ... \mytitle{...} \placeregister[index] \stoptext Wolfgang Hans van der Meer <mailto:havdm...@ziggo.nl> 19. Juli 2018 um 13:54 The macro \completeregister[index] placed in \startbackmatter\startappendices typesets as “I Index”. How can I chan

Re: [NTG-context] title of index

2018-07-19 Thread Hans van der Meer
Thanks. Putting \placeregister[index] inside a \startchapter[title=\mytitle{}]-\stopchapter pair does the ttrick. > On 19 Jul 2018, at 14:19, Rik Kabel wrote: > > On 7/19/2018 07:54, Hans van der Meer wrote: >> The macro \completeregister[index] placed in >> \startbackm

Re: [NTG-context] title of index

2018-07-19 Thread Rik Kabel
On 7/19/2018 07:54, Hans van der Meer wrote: The macro \completeregister[index] placed in \startbackmatter\startappendices typesets as “I Index”. How can I change and format with my custom macro the part “Index”? Such as using \mytitle{xyz} instead of Index? No solution found in the Context

[NTG-context] title of index

2018-07-19 Thread Hans van der Meer
The macro \completeregister[index] placed in \startbackmatter\startappendices typesets as “I Index”. How can I change and format with my custom macro the part “Index”? Such as using \mytitle{xyz} instead of Index? No solution found in the Context Wiki. dr. Hans van der Meer

[NTG-context] highlighting in registers (index)

2018-06-11 Thread Henning Hraban Ramm
According to http://wiki.contextgarden.net/Registers#Processors, processors are the MkIV way of highlighting within index entries. If there are highlighted and not-highlighted entries, the normal version wins. If there is a highlighted version with subentry, the subentry becomes highlighted and

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

2018-05-25 Thread Alan Bowen
hould the order of the refs not be > alphabetical? > > MWE > > \starttext > \seeindex{animal}{cat} > \seeindex{animal}{quadruped} > > %\seeindex{animal}{whiskers} > > The \index{cat}cat has \index{whiskers} whiskers. > \blank[3*big] > \placeindex > \stoptex

[NTG-context] index x-ref problem

2018-05-19 Thread Alan Bowen
} %\seeindex{animal}{whiskers} The \index{cat}cat has \index{whiskers} whiskers. \blank[3*big] \placeindex \stoptext Uncomment the \seeindex{animal}{whiskers} and it gets even messier. Alan ___ If your question is of

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
> This would be a solution: > > Index term, and some > text > 21, 34, 45, 72, 89, >101, 103, 109 > > where the rule is: when the numbers exceed the text width, close the > paragraph, then start a new, right aligne

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
\wordright is ok until the numbers don't exceed the text width. It manages these two cases right: Index term, and some text 21, 34, 45, 72 Index term, and some text 21, 34, 45, 72, 89 When the numbers exceed the text width, it fails: Index term, and some text 21, 34, 45, 72, 89, 101

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread Hans Hagen
{\origstartregisterpages#1\bgroup } \unexpanded\def\stopregisterpages{\egroup\origstopregisterpages}} \def\resetregisterpagescommand{% \let\startregisterpages=\origstartregisterpages% \let\stopregisterpages=\origstopregisterpages} \setupregister[index][n=1,alternative=A] \starttext \CONTEXT\index{\ConTeXt

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread Wolfgang Schuster
\registerparameter\c!pageleft} \unexpanded\def\stopregisterpages {\registerparameter\c!pageright \dostoptagged \endgroup} \protect \setupregister [index] [n=1, alternative=A, distance=0pt, pageleft=\wordright\bgroup, pageright=\egroup] \starttext \CONTEXT\index{\ConTeXt

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
\stopregisterpages{\egroup\origstopregisterpages}} \def\resetregisterpagescommand{% \let\startregisterpages=\origstartregisterpages% \let\stopregisterpages=\origstopregisterpages} \setupregister[index][n=1,alternative=A] \starttext \CONTEXT\index{\ConTeXt} \page \LATEX\index{\LaTeX} \page

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
rdright\bg roup } \unexpanded\def\stopregisterpages{\egroup\origstopregisterpages} \setupregister[index][n=1,alternative=A] \starttext \CONTEXT\index{\ConTeXt} \page \LATEX\index{\LaTeX} \page \CONTEXT\index{\ConTeXt} \page \placeindex \stoptext I've also learned about \groupedcommand, which

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-09 Thread Wolfgang Schuster
. \setupregister [index] [n=1, alternative=A, textcommand=\groupedcommand{}{\hfill\quad}] Wolfgang MF <mailto:mass...@fastwebnet.it> 9. Mai 2018 um 17:09 Hello list, i'd like moving the page numbers in my index to the right, with a \wordright. \setupregister[index][n=1,al

[NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-09 Thread MF
Hello list, i'd like moving the page numbers in my index to the right, with a \wordright. \setupregister[index][n=1,alternative=A] \starttext \CONTEXT\index{\ConTeXt} \page \LATEX\index{\LaTeX} \page \CONTEXT\index{\ConTeXt} \page \placeindex \stoptext The index is at page 4. I want to mov

Re: [NTG-context] Broken Index Behavior?

2018-03-05 Thread luigi scarso
On Mon, Mar 5, 2018 at 10:30 PM, Brian Wedde wrote: > Thanks Luigi. I am getting the "correct" results on my local workstation as > well. However, when working on an installation on a Amazon Linux EC2 > instance, the index refuses to aggregate the results. This even happens if

Re: [NTG-context] Broken Index Behavior?

2018-03-05 Thread Brian Wedde
Thanks Luigi. I am getting the "correct" results on my local workstation as well. However, when working on an installation on a Amazon Linux EC2 instance, the index refuses to aggregate the results. This even happens if i copy my entire ConTeXt directory to the Amazon Linux machine v

Re: [NTG-context] Broken Index Behavior?

2018-03-02 Thread luigi scarso
On Fri, Mar 2, 2018 at 2:28 AM, Brian Wedde wrote: > I put ConTeXt on a new server. It works fine except that it is not > aggregating index results. I have isolated it to a single line, but i do not > understand why it breaks indexing. Feedback from anybody would be immensely > hel

[NTG-context] Broken Index Behavior?

2018-03-01 Thread Brian Wedde
I put ConTeXt on a new server. It works fine except that it is not aggregating index results. I have isolated it to a single line, but i do not understand why it breaks indexing. Feedback from anybody would be immensely helpful. I have already spent way too much time figuring this out

[NTG-context] Question about index

2017-11-03 Thread MANUEL GONZALEZ SUAREZ
Dear friends. I want to ask you a question, although I do not know if it has been resolved on the mailing list. I think I have formulated it already, but I do not remember well. Can I make an index (of words or passages, authors, etc.), that refer to chapter, section, subsection, instead of

Re: [NTG-context] Sorting of abbreviations in index

2017-10-09 Thread Floris van Manen
> On 9 October 2017 at 17:35, Henning Hraban Ramm wrote: > > If you like, I’ll gladly send you a voucher copy of the book*, once it’s > printed. > *) https://www.dreiviertelhaus.de/editionka/gewerkschaftspolitik/ (1947 — 1975) why does the book ends a year before i travelled there ? ;-) .F

Re: [NTG-context] Sorting of abbreviations in index

2017-10-09 Thread Jano Kula
On 9 October 2017 at 17:35, Henning Hraban Ramm wrote: > > > If you like, I’ll gladly send you a voucher copy of the book*, once it’s > printed. > *) https://www.dreiviertelhaus.de/editionka/gewerkschaftspolitik/ Sure, I'll check the page numbers in the register are right, especially at the page

Re: [NTG-context] Sorting of abbreviations in index

2017-10-09 Thread Henning Hraban Ramm
Am 2017-10-09 um 12:42 schrieb Jano Kula : > Hello Hraban, > > have a look into the TUC file to find out, what's going on. I'm sure, Hans > would come with a more efficient approach, but this works here. Especially > the abbreviation table is probably stored on the fly somewhere, not only in >

Re: [NTG-context] Sorting of abbreviations in index

2017-10-09 Thread Jano Kula
iation] [textstyle=normal,criterium=all] Complete example attached. Regards, Jano On 24 September 2017 at 00:45, Henning Hraban Ramm wrote: > So, in extension of my previous question: > I’m combining abbreviations and registers (index). > My author wants organizations listed with full n

Re: [NTG-context] Sorting of abbreviations in index

2017-10-06 Thread Henning Hraban Ramm
Sorry to insist, but this bug is blocking the publication of our latest book: \def\Some#1{#1} \def\Sindex#1{\index{\Some{#1}}#1} \starttext \index{Tufte}\index{Knuth}\index{Zapf} \index{Sole}\index{Some}\index{Sone} \input tufte \Sindex{Tufte} \input knuth \Sindex{Knuth} \input zapf \Sindex

Re: [NTG-context] Sorting of abbreviations in index

2017-10-01 Thread Henning Hraban Ramm
Pretty please? Am 2017-09-25 um 19:50 schrieb Henning Hraban Ramm : > Might I get an answer? It’s getting urgent... > > In short: \index{\SomeMacro{stuff}} orders not after the result of > \SomeMacro{stuff}, but after "SomeMacro". > The same, if I use \SomeMacro

[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] Sorting of abbreviations in index

2017-09-25 Thread Henning Hraban Ramm
Might I get an answer? It’s getting urgent... In short: \index{\SomeMacro{stuff}} orders not after the result of \SomeMacro{stuff}, but after "SomeMacro". The same, if I use \SomeMacro within the sorting option: \index[\SomeMacro{stuff}]{stuff}. How can I change this? Best, Hraban

[NTG-context] Sorting of abbreviations in index

2017-09-23 Thread Henning Hraban Ramm
So, in extension of my previous question: I’m combining abbreviations and registers (index). My author wants organizations listed with full name and abbreviation, and I try to avoid many verbose entries in the text. If I use \infull within \index, entries get sorted at i – probably a problem of

Re: [NTG-context] italian index: "I" and "J" under "I", "U" and "V" under "V"

2017-06-27 Thread Hans Åberg
> On 27 Jun 2017, at 09:06, Hans Hagen wrote: > > On 6/26/2017 11:39 PM, Hans Åberg wrote: >> >> In Swedish, originally, "w" is sorted the same as "v", but it has changed >> lately, though there is a recommendation to still use the old style in >> tables of personal names, in view they phonet

Re: [NTG-context] italian index: "I" and "J" under "I", "U" and "V" under "V"

2017-06-27 Thread Hans Hagen
r are grouped under the I letter - items starting with the V letter are grouped under the U letter This is not what one would expect from an index in modern italian. If you browse an italian dictionary, you will find all the 26 letters. Is there a way to get around this bug and get all the 26 disti

Re: [NTG-context] italian index: "I" and "J" under "I", "U" and "V" under "V"

2017-06-26 Thread Hans Åberg
letter are grouped under the I letter >> - items starting with the V letter are grouped under the U letter >> This is not what one would expect from an index in modern italian. >> If you browse an italian dictionary, you will find all the 26 letters. >> Is there a way to get ar

Re: [NTG-context] italian index: "I" and "J" under "I", "U" and "V" under "V"

2017-06-26 Thread mf
> in sort-lan.lua you can fix the table: > > definitions["it"] = { >  entries = { > > (not sure which italian is responsible for it) > > Hans > > Thank you, Hans. Looking at the code, there's a revealing comment before the definitions for the Latin language:  -- Treating the post-classic

Re: [NTG-context] italian index: "I" and "J" under "I", "U" and "V" under "V"

2017-06-26 Thread Hans Hagen
der the U letter This is not what one would expect from an index in modern italian. If you browse an italian dictionary, you will find all the 26 letters. You can test the bug with this code: -- \starttext \mainlanguage[it] Imbuto\index{imbuto}, Juventus\index{Juventus}, vo

[NTG-context] italian index: "I" and "J" under "I", "U" and "V" under "V"

2017-06-26 Thread MF
one would expect from an index in modern italian. If you browse an italian dictionary, you will find all the 26 letters. You can test the bug with this code: -- \starttext \mainlanguage[it] Imbuto\index{imbuto}, Juventus\index{Juventus}, volpe\index{volpe}, Windows\index{

Re: [NTG-context] (again) index sorting of accented characters

2017-05-01 Thread Pablo Rodriguez
On 04/29/2017 05:36 PM, Schmitz Thomas A. wrote: > [...]> Who is going to profit from this long discussion? Sorry for having abused your help and your time, Thomas. I’m afraid I cannot explain such a basic issue clearly. Many thanks again for your kind help, Pablo -- http://www.ousia.tk __

Re: [NTG-context] (again) index sorting of accented characters

2017-04-29 Thread Schmitz Thomas A.
> On 29. Apr 2017, at 16:51, Pablo Rodriguez wrote: > > An index with classical Greek words (or names) that follows the same > principle as in German, English or Dutch: word sorting is the same as in > most important dictionaries. > > This is the main reason of having it

Re: [NTG-context] (again) index sorting of accented characters

2017-04-29 Thread Pablo Rodriguez
duced now should be “wrong.” It really depends on the purpose of your > sorting. Sorry, Thomas, I’m afraid I don’t get your point here. I mean, if alphabetic sorting makes any sense at all, this is to sort index and dictionary entries. (If not, please tell me what I am missing here.) Imagine tha

Re: [NTG-context] (again) index sorting of accented characters

2017-04-29 Thread Pablo Rodriguez
ge[es] \setupregister[language=es, method={zm, zc}] \starttext \startTEXpage[offset=2em] \index{cómodo} \index{comodos} \index{cómoda} \placeindex \stopTEXpage \stoptext I know that "comodos" isn’t a word in Spanish. But it should be the last word in the sorting.

Re: [NTG-context] (again) index sorting of accented characters

2017-04-29 Thread Schmitz Thomas A.
> On 29. Apr 2017, at 13:10, Pablo Rodriguez wrote: > > I don‘t know why "α" isn’t the first in sorting, but it is clear that > letters with different diacritical marks are considered as different > letters for word sorting. > > Could you confirm that the right word order is the second list in

Re: [NTG-context] (again) index sorting of accented characters

2017-04-29 Thread Pablo Rodriguez
On 04/27/2017 11:08 PM, Thomas A. Schmitz wrote: > Two remarks: > > 1. I'm not sure what you're looking for. Sorry, Thomas, it is a question on pure word order. No correction in form selection for any existing or possible index. This is my sample: \setupbodyfont[dejavu]

Re: [NTG-context] (again) index sorting of accented characters

2017-04-28 Thread Florian Grammel
edefined methods I don’t really think it is working completely as expected, even though the problem might just occur in very special cases: \setupregister[method={zm, zc}] \starttext \startTEXpage[offset=2em] \index{káv} \index{kav} \index{káva} \index{kava} \index{káf} \index{kaf} \index{káfa}

Re: [NTG-context] (again) index sorting of accented characters

2017-04-27 Thread Thomas A. Schmitz
On 04/27/2017 10:26 PM, Pablo Rodriguez wrote: Could you please confirm the issue? Many thanks for your help, Two remarks: 1. I'm not sure what you're looking for. Do you really want an index that sorts every form of every word as an entry? So that ἐμήν and ἐμοῖς are different

Re: [NTG-context] (again) index sorting of accented characters

2017-04-27 Thread Pablo Rodriguez
atic. I have a source file, http://www.ousia.tk/grc-index.tex. Standard sorting gives the following results http://www.ousia.tk/grc-index-standard.pdf#page=3. When I add replacements (http://www.ousia.tk/grc-replacements.diff) to sort-lan.lua, sorting order is right (http://www.ousia.tk/grc-index-modif

Re: [NTG-context] (again) index sorting of accented characters

2017-04-27 Thread Thomas A. Schmitz
On 04/27/2017 07:21 PM, Pablo Rodriguez wrote: I mean, if this is the way, I have other two patches for other two languages in which I have indices. And if I’m wrong, I would like to know how to get right word sorting in registers. Have you played with the different "methods" defined in sort-i

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

2017-04-27 Thread Rik Kabel
be something like „if within some environment/command" to the processors. With this also the formating of the items within the captions could be done automatically. A real problem though is that adding \setupregister [index] [compress=yes] will wrongly compress e.g. "aaa 1, 2, 1n“ to

[NTG-context] (again) index sorting of accented characters

2017-04-27 Thread Pablo Rodriguez
Dear list, sorry for bothering again with this issue, but I need to have indices in my documents. I have the following sample: \mainlanguage[es] \setupregister[method=default] \starttext \startTEXpage[offset=1em] \index{ámame}\index{arisco}\index{ándrago} \index{antonia

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

2017-04-27 Thread Florian Grammel
/command" to the processors. With this also the formating of the items within the captions could be done automatically. A real problem though is that adding \setupregister [index] [compress=yes] will wrongly compress e.g. "aaa 1, 2, 1n“ to "aaa 1–1n“. I’ll need to use compressed r

<    1   2   3   4   5   6   7   8   >