[NTG-context] Re: problem with symbols in index

2023-07-18 Thread Floris van Manen via ntg-context
On 17/07/2023 23:37, Henning Hraban Ramm wrote: Also, "context --purge" doesn’t delete the tuc file (don’t know if that changed), so the wrong entry stuck in there, and my code changes didn’t affect it. not does it remove the log file

[NTG-context] problem with symbols in index

2023-07-17 Thread Henning Hraban Ramm
I hunted for two days after an index error in my book: """ structure > sectioning > chapter @ level 2 : 0.1 -> Sachregister tex error > tex error on line 95 in file ./prd_test.tex: The file ended when scanning an argument. {\startregisterentrie

Re: [NTG-context] How to print all pages for a single index entry?

2023-05-07 Thread Alan Braslau via ntg-context
On Sun, 7 May 2023 22:26:12 + (UTC) Joel via ntg-context wrote: > I have an index like this: > > \starttext > \index{butterflies}\index{horses}\index{cows} > \placeindex > > \stoptext > The placeindex will place every index. > Is there a way to say,

[NTG-context] How to print all pages for a single index entry?

2023-05-07 Thread Joel via ntg-context
I have an index like this: \starttext \index{butterflies}\index{horses}\index{cows} \placeindex \stoptext The placeindex will place every index. Is there a way to say, display an index, but only for a specific single entry, or specific list of entries, e.g. \placeindex[horses, cows] (would

Re: [NTG-context] attempt to index nil value with bidi math in hbox

2023-04-03 Thread Hans Hagen via ntg-context
-duc.lmt:618: attempt to index a nil value (local 'before') stack traceback: ...ext/tex/texmf-context/tex/context/base/mkxl/typo-duc.lmt:618: in upvalue 'resolve_weak' ...ext/tex/texmf-context/tex/context/base/mkxl/typo-duc.lmt:781: in upvalue 'resolve_levels

[NTG-context] attempt to index nil value with bidi math in hbox

2023-04-02 Thread Max Chernoff via ntg-context
Hi Hans, This test file: \setupdirections[bidi=global,method=one] \starttext \hbox{$\varepsilon$-TeX} \stoptext gives the following error: callback error: ...ext/tex/texmf-context/tex/context/base/mkxl/typo-duc.lmt:618: attempt to index a nil value (local 'before

Re: [NTG-context] How to add data from another PDF in index?

2023-02-26 Thread Joel via ntg-context
Fantastic! Exactly what I needed. My publisher was gong to ask for the information of this index soon, so its great that already works! --Joel On Sunday, February 26, 2023 at 11:45:48 AM MST, Alan Braslau wrote: Hans needs to confirm, "In the next update..." Test f

Re: [NTG-context] How to add data from another PDF in index?

2023-02-26 Thread Alan Braslau via ntg-context
Hans needs to confirm, "In the next update..." Test files (MWEs): % index-1.tex \setupinteraction[state=start] \starttext test \index{entryWB.1} \page empty \page test \index{another WB.1} \page empty \page test \index{onemore WB.1} \page empty \page test \inde

Re: [NTG-context] How to add data from another PDF in index?

2023-02-24 Thread Alan Braslau via ntg-context
: > I am making a textbook and workbook set. > I have this custom index using this code, in both the textbook and > workbook: % > \defineregister[learnedshort][compress=yes] > \setupregister[learnedshort][style=sansbold, textstyle=slanted, n=2, > pagenumber=yes, indicator=no] %

[NTG-context] How to add data from another PDF in index?

2023-02-23 Thread Joel via ntg-context
I am making a textbook and workbook set. I have this custom index using this code, in both the textbook and workbook: % \defineregister[learnedshort][compress=yes] \setupregister[learnedshort][style=sansbold, textstyle=slanted, n=2, pagenumber=yes, indicator=no] % \defineregister[learnedlong

Re: [NTG-context] Quick way to proofread / check index entries?

2022-09-04 Thread Bruce Horrocks via ntg-context
> On 3 Sep 2022, at 19:51, Bruce Horrocks via ntg-context > wrote: > > My own fault for not thinking head :-) but I have a largeish text with a lot > of \index{...} entries. To make life easier for the proofreader I would like > to temporarily redefine \index to

Re: [NTG-context] Quick way to proofread / check index entries?

2022-09-04 Thread Mikael Sundqvist via ntg-context
Den sön 4 sep. 2022 08:59Richard Mahoney via ntg-context skrev: > Bruce, > > Did something of the sort a while back: redefined the index command to > something short, in capitals; then adjusted the syntax highlighting to pick > up the code. This was for emacs + auctex, so it

Re: [NTG-context] Quick way to proofread / check index entries?

2022-09-04 Thread Richard Mahoney via ntg-context
Bruce, Did something of the sort a while back: redefined the index command to something short, in capitals; then adjusted the syntax highlighting to pick up the code. This was for emacs + auctex, so it was just a case of adjusting one of the stock auctex files. I think Scite may let one do

[NTG-context] Quick way to proofread / check index entries?

2022-09-03 Thread Bruce Horrocks via ntg-context
My own fault for not thinking head :-) but I have a largeish text with a lot of \index{...} entries. To make life easier for the proofreader I would like to temporarily redefine \index to wrap it or replace it with something that will highlight indexed items in the text where they occur, e.g

Re: [NTG-context] How to add entire chapter's page ranger for index entry?

2022-01-23 Thread Bruce Horrocks via ntg-context
> On 23 Jan 2022, at 21:40, Joel via ntg-context wrote: > > I am adding items to an index simply using `\index{word}`. > > There are a few cases where instead of printing just the page number where > `\index{word}` is placed, I need the entire page range for that chapter

Re: [NTG-context] How to add entire chapter's page ranger for index entry?

2022-01-23 Thread Henning Hraban Ramm via ntg-context
Am 23.01.22 um 22:40 schrieb Joel via ntg-context: I am adding items to an index simply using `\index{word}`. There are a few cases where instead of printing just the page number where `\index{word}` is placed, I need the entire page range for that chapter to be displayed. For instance

[NTG-context] How to add entire chapter's page ranger for index entry?

2022-01-23 Thread Joel via ntg-context
I am adding items to an index simply using `\index{word}`. There are a few cases where instead of printing just the page number where `\index{word}` is placed, I need the entire page range for that chapter to be displayed. For instance, if Chapter 3 spans page 22-50, and I place `\index{word

Re: [NTG-context] How to create an index that refers to multiple other books?

2022-01-18 Thread Joel via ntg-context
I tried adding 'pageprefixsegments' to setupregister, but cannot find any value that adds anything, ex. pageprefixsegments={WB1} pageprefixsegments=part:number How does it work? I'd be fine if the index listed pages like "WB1 3" meaning "Workbook 1, page 3", it isn't idea

Re: [NTG-context] How to create an index that refers to multiple other books?

2022-01-18 Thread Hans Hagen via ntg-context
On 1/18/2022 2:16 PM, Joel via ntg-context wrote: I am writing a secondary textbook to be used in public schools. In my state, the textbooks must adhere to standards, such as the Common Core State Standards (CCSS). It is typical for a textbook to contain an index for teachers to check where

Re: [NTG-context] How to create an index that refers to multiple other books?

2022-01-18 Thread Henning Hraban Ramm via ntg-context
the files, but I'm not sure how the index could tell readers which of the five "page 5's" (for example) the index is referring to. --Joel In this case, you could use \part per workbook and use pageprefixsegments in \setupregister to add the part number in front of the page number. Ot

Re: [NTG-context] How to create an index that refers to multiple other books?

2022-01-18 Thread Joel via ntg-context
One possible solution I see, since the textbooks and workbooks share the same macros, formatting, fonts, etc. is to just render them as a single file, resetting the page number at the start of each new book, then later use pdfjam to split the files, but I'm not sure how the index could tell

[NTG-context] How to create an index that refers to multiple other books?

2022-01-18 Thread Joel via ntg-context
I am writing a secondary textbook to be used in public schools. In my state, the textbooks must adhere to standards, such as the Common Core State Standards (CCSS). It is typical for a textbook to contain an index for teachers to check where in the textbook which standards are used. I've used

Re: [NTG-context] How to manually adjust the sort order of items appearing in a custom index?

2022-01-17 Thread Henning Hraban Ramm via ntg-context
Am 17.01.22 um 16:53 schrieb Joel via ntg-context: I created a custom index that displays a list of "Important Dates" appearing in my book. It lists the year, a short description of what happened, and should show the page number. I'm running into two errors though: First, i

[NTG-context] How to manually adjust the sort order of items appearing in a custom index?

2022-01-17 Thread Joel via ntg-context
I created a custom index that displays a list of "Important Dates" appearing in my book. It lists the year, a short description of what happened, and should show the page number. I'm running into two errors though: First, if the date is the same year, it is sorting alphabeticall

Re: [NTG-context] Is there a syntax for making many index entry's all in one?

2021-12-28 Thread Hans Hagen via ntg-context
On 12/28/2021 11:09 PM, Joel via ntg-context wrote: I am using \index{} to populate \placeindex (an index) with items. I am wondering if there is any syntax that allows one \index{} command to define more than one entry, for example, something like this: \index{presidents+Lincoln, Abraham

[NTG-context] Is there a syntax for making many index entry's all in one?

2021-12-28 Thread Joel via ntg-context
I am using \index{} to populate \placeindex (an index) with items. I am wondering if there is any syntax that allows one \index{} command to define more than one entry, for example, something like this: \index{presidents+Lincoln, Abraham; Lincoln, Abraham} The result is two appearances

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Åberg via ntg-context
/usr/local/texlive/2021/texmf-dist/tex/latex/base/ltluatex.tex)) >>>> (./luatex-math-modified.tex[\directlua]:1: attempt to index a nil value >>>> (global >>>> 'arguments') >>>> stack traceback: >>>>[\directlua]:1: in main chun

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Åberg via ntg-context
> On 13 Oct 2021, at 22:28, Hans Hagen wrote: > > On 10/13/2021 7:02 PM, Hans Åberg wrote: >>> On 13 Oct 2021, at 18:37, Hans Hagen wrote: >>> >>> On 10/13/2021 6:01 PM, Hans Åberg via ntg-context wrote: … —I may ditch this setup in favour of using 'context' directly, so it is

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Hagen via ntg-context
, now using Version 1.13.2 (TeX Live 2021), but I get this error: (./luaotfload.sty (/usr/local/texlive/2021/texmf-dist/tex/latex/base/ltluatex.tex)) (./luatex-math-modified.tex[\directlua]:1: attempt to index a nil value (global 'arguments') stack traceback: [\directlua]:1: in main chunk. l

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Hagen via ntg-context
On 10/13/2021 7:02 PM, Hans Åberg wrote: On 13 Oct 2021, at 18:37, Hans Hagen wrote: On 10/13/2021 6:01 PM, Hans Åberg via ntg-context wrote: … —I may ditch this setup in favour of using 'context' directly, so it is not so important if there is no fix. I have no clue .. I made this as

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Åberg via ntg-context
> On 13 Oct 2021, at 18:37, Hans Hagen wrote: > > On 10/13/2021 6:01 PM, Hans Åberg via ntg-context wrote: >> >> … —I may ditch this setup in favour of using 'context' directly, so it is >> not so important if there is no fix. > I have no clue .. I made this as experiment to make a texinfo

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Åberg via ntg-context
irectly, now using Version 1.13.2 (TeX Live 2021), but I get >> this error: >> (./luaotfload.sty >> (/usr/local/texlive/2021/texmf-dist/tex/latex/base/ltluatex.tex)) >> (./luatex-math-modified.tex[\directlua]:1: attempt to index a nil value >> (global >> 'argume

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Åberg via ntg-context
It results in the error ! Argument of \\ has an extra }. \par } l.132 } ? > On 13 Oct 2021, at 18:26, Hans van der Meer via ntg-context > wrote: > >> tex.print("\string\\latinmodern") > > should be at least double backslashes: tex.print("\\string\\latinmodern") I > would

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Hagen via ntg-context
/local/texlive/2021/texmf-dist/tex/latex/base/ltluatex.tex)) (./luatex-math-modified.tex[\directlua]:1: attempt to index a nil value (global 'arguments') stack traceback: [\directlua]:1: in main chunk. l.132 } ? … It is from this segment in the modified luatex-math.tex: \ifdefined

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans van der Meer via ntg-context
.tex)) > (./luatex-math-modified.tex[\directlua]:1: attempt to index a nil value > (global > 'arguments') > stack traceback: > [\directlua]:1: in main chunk. > l.132 } > > ? … > > > It is from this segment in the modified luatex-math.tex

[NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Åberg via ntg-context
)) (./luatex-math-modified.tex[\directlua]:1: attempt to index a nil value (global 'arguments') stack traceback: [\directlua]:1: in main chunk. l.132 } ? … It is from this segment in the modified luatex-math.tex: \ifdefined\directlua \directlua { if arguments["mtx:lucidab

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread Aditya Mahajan
On Fri, 8 Jan 2021, jbf wrote: > Very useful!  And I'll be on the lookout for a newspaper called The Onion :-) > one that I presume would bring you to tears. Oh, it does: https://www.theonion.com/ Aditya___ If your

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread jbf
if further progress has been made in Mk IV on styling parts of an index (register) entry? I have followed the explanation on the wiki, but do not seem to be able to achieve what I need. And what I need is to be able to italicise entries that refer to newspa

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread Jairo A. del Rio
Observer} of 31 July 2018 > > \placemyindex% > > \stoptext > > Jairo > > El jue, 7 de ene. de 2021 a la(s) 17:29, jbf (roma83...@gmail.com) > escribió: > >> I'm wondering if further progress has been made in Mk IV on styling parts >> of an index (register

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread jbf
roma83...@gmail.com <mailto:roma83...@gmail.com>) escribió: I'm wondering if further progress has been made in Mk IV on styling parts of an index (register) entry? I have followed the explanation on the wiki, but do not seem to be able to achieve what I need. And

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread jbf
roma83...@gmail.com <mailto:roma83...@gmail.com>) escribió: I'm wondering if further progress has been made in Mk IV on styling parts of an index (register) entry? I have followed the explanation on the wiki, but do not seem to be able to achieve what I need. And

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread Jairo A. del Rio
ene. de 2021 a la(s) 17:29, jbf (roma83...@gmail.com) escribió: > I'm wondering if further progress has been made in Mk IV on styling parts > of an index (register) entry? I have followed the explanation on the wiki, > but do not seem to be able to achieve what I need. > &g

[NTG-context] styling part of an index entry

2021-01-07 Thread jbf
I'm wondering if further progress has been made in Mk IV on styling parts of an index (register) entry? I have followed the explanation on the wiki, but do not seem to be able to achieve what I need. And what I need is to be able to italicise entries that refer to newspaper names, e.g

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
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 notice that the problem is very sensitive to the width settings, and slight variations in width create

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

2020-11-07 Thread Henning Hraban Ramm
> Am 04.09.2020 um 11:59 schrieb 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 forc

Re: [NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
gt; It doesn’t change with balance=yes/no. If one of the \index{D...} lines is commented in the following example, the last D entry goes into the second column, the columns get balanced, and the second line of the last K entry is broken to the next page. If you uncomment that line, it looks as i

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
have at least one \setinjector as well otherwise it doesn't show the > numbers. > > > > It doesn’t work for me: > > lua error > lua error on line 24 in file inhalt/99anhang.tex: > > registered function call [421]: > ...-06/tex/texmf-context/tex/context/base/

Re: [NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
t doesn’t work for me: lua error > lua error on line 24 in file inhalt/99anhang.tex: registered function call [421]: ...-06/tex/texmf-context/tex/context/base/mkiv/typo-inj.lua:63: attempt to index a nil value (field '?') stack traceback: ...-06/tex/texmf-context/tex/context/b

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
it possible to combine entries from \index and \startregister[index]? If I use \start/stopregister and have the same index entry within the range or on the same page, I get duplicate pages or page ranges, like 10-12 from \startregister and additionally 11, 12-13 from \index entries, makes at the

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

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

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

Re: [NTG-context] Fine tuning an index

2020-10-09 Thread Duncan Hothersall
0 2:58 am, Duncan Hothersall wrote: >> >> Fine tuning column and page breaking in an index. This is tricky, because >> there are usually very few "good" places to break an index, and automatic >> breaking seems to alter slightly depending on whether interaction

Re: [NTG-context] Fine tuning an index

2020-10-09 Thread Duncan Hothersall
so need \showinjector. But it should work for indexes > (register). > > Julian > On 9/10/20 2:58 am, Duncan Hothersall wrote: > > Fine tuning column and page breaking in an index. This is tricky, because > there are usually very few "good" places to break an index, and au

Re: [NTG-context] Fine tuning an index

2020-10-08 Thread jbf
d page breaking in an index. This is tricky, because there are usually very few "good" places to break an index, and automatic breaking seems to alter slightly depending on whether interactions are set up or not, but is there a way to manually insert a column or page break into the

[NTG-context] Fine tuning an index

2020-10-08 Thread Duncan Hothersall
I'm doing my first mkiv index (it took me a long time to upgrade from mkii!) and I really like the processor feature to format elements differently. But there are a couple of things I would really like to achieve that I'm struggling with: 1. Elided numbers in an index range entry. For example

[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

  1   2   3   4   5   6   7   8   >