[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

Re: [NTG-context] force index entries without page number

2020-09-04 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 03.09.2020 um 10:17: Hi, I’d like to have an (person) index entry like Ramm, Hraban passim i.e. without actual page number. How can I force that? I also need to be able to refer to it like \seeindex{Hraban}{Ramm, Hraban) You can use this when the entry

Re: [NTG-context] force index entries without page number

2020-09-04 Thread mf
thing like this: Carolyne in the main text results in a \index[miller_carolyne]{v18in231} In another place of the XML there's a record like this: Miller, Carolyne ... The deeptextcommand parameter of \setupregister is set to a macro that takes the ID and gives back the text of the perso

Re: [NTG-context] force index entries without page number

2020-09-04 Thread Henning Hraban Ramm
different wording from the entry, and thus \seeindex{Something}{} always inserts a "see". I don’t know how common these "passim" entries are in scientific works; maybe I could use Mainperson firstpage–lastpage instead to avoid the major hassle of tricking t

Re: [NTG-context] force index entries without page number

2020-09-03 Thread mf
;Ramm, Hraban}{} No, this results in "Ramm, Hraban passim see passim" Only with check=yes, otherwise it works right. And \index{passim->Ramm, Hraban} results in "Ramm, Hraban passim 1" No, see attachment page 2. I.e. I’m still looking for an index entry without "

Re: [NTG-context] force index entries without page number

2020-09-03 Thread Henning Hraban Ramm
, Hraban passim see passim" And \index{passim->Ramm, Hraban} results in "Ramm, Hraban passim 1" I.e. I’m still looking for an index entry without "see" or page number. > \placeindex[check=no] This is essential for references to not (exactly

Re: [NTG-context] force index entries without page number

2020-09-03 Thread mf
Useful references I consulted to find a solution: https://www.mail-archive.com/ntg-context@ntg.nl/msg88118.html https://wiki.contextgarden.net/Registers#Processors Massi ___ If your question is of interest to others

Re: [NTG-context] force index entries without page number

2020-09-03 Thread mf
This should be exactly what you asked for: \defineprocessor[passim][right=\quad{\it passim}] \starttext \samplefile{ward}\index{Ward, Peter} \samplefile{sapolsky}\index{Sapolsky, Robert} \seeindex{passim->Ramm, Hraban}{} \seeindex{Hraban}{Ramm, Hraban} \page \placeindex[check=yes] \p

Re: [NTG-context] force index entries without page number

2020-09-03 Thread mf
Il 03/09/20 10:17, Henning Hraban Ramm ha scritto: Hi, I’d like to have an (person) index entry like Ramm, Hraban passim i.e. without actual page number. How can I force that? I also need to be able to refer to it like \seeindex{Hraban}{Ramm, Hraban) \starttext \samplefile{ward}\index

[NTG-context] force index entries without page number

2020-09-03 Thread Henning Hraban Ramm
Hi, I’d like to have an (person) index entry like Ramm, Hraban passim i.e. without actual page number. How can I force that? I also need to be able to refer to it like \seeindex{Hraban}{Ramm, Hraban) Hraban

[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, 215

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

2020-08-02 Thread Henning Hraban Ramm
> Am 02.08.2020 um 10:18 schrieb Hans Hagen : > > On 8/1/2020 6:08 PM, Henning Hraban Ramm wrote: >>> Am 01.08.2020 um 14:10 schrieb Hans Hagen : >>> >>> On 8/1/2020 1:54 PM, Henning Hraban Ramm wrote: >>>> Hi, >>>> my aforemen

Re: [NTG-context] cannot reload font index after luametatex update

2020-08-02 Thread kaddour kardio
thank you! running mtxrun --generate did the trick. NB: the other commands suggested produced the same errors, but it doesn't matter anymore. Thank You Wolfgang for your quick response Le dim. 2 août 2020 à 10:13, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> a écrit : > kaddour kardio

Re: [NTG-context] cannot reload font index after luametatex update

2020-08-02 Thread Wolfgang Schuster
kaddour kardio schrieb am 02.08.2020 um 11:02:  Hi, i am running the latest luametatex 2.07.2 from [aur] repos in my archlinux machine, i got this error when trying to update my font lists (lmtx) ➜  ~ mtxrun --script fonts --reload mtxrun          | unknown

[NTG-context] cannot reload font index after luametatex update

2020-08-02 Thread kaddour kardio
Hi, i am running the latest luametatex 2.07.2 from [aur] repos in my archlinux machine, i got this error when trying to update my font lists (lmtx) ➜ ~ mtxrun --script fonts --reload mtxrun | unknown script 'fonts.lua' or 'mtx-fonts.lua' is it a

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

2020-08-02 Thread Hans Hagen
On 8/1/2020 6:08 PM, Henning Hraban Ramm wrote: Am 01.08.2020 um 14:10 schrieb 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

Re: [NTG-context] consistent index entries

2020-08-01 Thread Henning Hraban Ramm
> Am 01.08.2020 um 22:44 schrieb Wolfgang Schuster > : >>> \define[1]\Ort{\expanded{\index{...}}} >> Ah, I never know where to expand (tried \expanded\ctxlua). > > \expanded needs a argument, i.e. \expanded{...} I recognized it doesn’t work otherwise. But I t

Re: [NTG-context] consistent index entries

2020-08-01 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 01.08.2020 um 22:16: Am 01.08.2020 um 21:30 schrieb Wolfgang Schuster : \def\Ort#1{\index{\ctxlua{user.Lookup("#1")}}} You have to expand the \index argument: \define[1]\Ort{\expanded{\index{...}}} Ah, I never know where to expand (tried \expan

Re: [NTG-context] consistent index entries

2020-08-01 Thread Henning Hraban Ramm
> Am 01.08.2020 um 21:30 schrieb Wolfgang Schuster > : >> \def\Ort#1{\index{\ctxlua{user.Lookup("#1")}}} > > You have to expand the \index argument: > > \define[1]\Ort{\expanded{\index{...}}} Ah, I never know where to expand (tried \expanded\ctxlua). Now,

Re: [NTG-context] consistent index entries

2020-08-01 Thread Henning Hraban Ramm
> Am 01.08.2020 um 21:01 schrieb Jairo A. del Rio : > > Hi, Henning. According to the garden, something like: > > \def\Ort#1{\index[#1]{\ctxlua{user.Lookup("#1")}}} > > as long as #1 is capable of being sorted in the normal way, should work. Thank you, but tha

Re: [NTG-context] consistent index entries

2020-08-01 Thread Wolfgang Schuster
additional information in the index, e.g. \Locality{Altona (Hamburg)} \Locality{Breslau (pol. Wrocław)} or \Person{Arends, Katharina (née Schoemaker)} \Person{Wilhelm II. (Kaiser)} Now, I need that consistent and I don’t want to type these complicated entries every time. I’m looking for a good way

Re: [NTG-context] consistent index entries

2020-08-01 Thread Jairo A. del Rio
Wrt formatting (e.g. \index{\emph{something}}), the garden also mentions processors for MkIV (https://wiki.contextgarden.net/Registers#Processors), so you can wrap them with custom commands, in case it helps. Cordially, Jairo. El sáb., 1 de ago. de 2020 a la(s) 14:01, Jairo A. del Rio

Re: [NTG-context] consistent index entries

2020-08-01 Thread Jairo A. del Rio
Hi, Henning. According to the garden, something like: \def\Ort#1{\index[#1]{\ctxlua{user.Lookup("#1")}}} as long as #1 is capable of being sorted in the normal way, should work. Regards, Jairo El sáb., 1 de ago. de 2020 a la(s) 13:49, Henning Hraban Ramm ( te...@fiee.net

Re: [NTG-context] consistent index entries

2020-08-01 Thread Henning Hraban Ramm
> Am 01.08.2020 um 13:22 schrieb 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 infor

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

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

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

[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

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 index you

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

2019-09-13 Thread luigi scarso
lem. 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. :-) > luahbte

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 MkIV which

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

2019-08-22 Thread Wolfgang Schuster
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 when you're unable to provide a working

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

2019-08-22 Thread Wolfgang Schuster
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 shown so far are snippets. Wolfgang

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 contents

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

2019-08-21 Thread Richard Mahoney | Indica et Buddhica
-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 (beginning

[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

Re: [NTG-context] formatting index entries

2019-08-21 Thread Robert Zydenbos
uments/work/Kannada-manual-compile-klad/indexpablo.tex' fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded structure > sectioning > chapter @ level 2 : 0.1 -> \headtext {index} tex error > tex error on

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.

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-entries, like

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 want the word

[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

[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

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,

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

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

[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

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. Ther

[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

[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? \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

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

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

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

2018-05-25 Thread Alan Bowen
gt; space after “and” is missing and should 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] &g

[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

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 a

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

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
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 i did not know

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

[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 move

Re: [NTG-context] Broken Index Behavior?

2018-03-05 Thread luigi scarso
On Mon, Mar 5, 2018 at 10:30 PM, Brian Wedde <wbr...@onlineed.com> 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 r

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 <wbr...@onlineed.com> 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 wou

[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

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

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,

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

  1   2   3   4   5   6   7   >