[NTG-context] Re: more register questions!

2024-05-07 Thread Rik Kabel
;know" that a register entry is within a footnote. But Hans never ceases to amaze me, so maybe there is a way (short of applying special markup to these notes in the source)? You can play with the following example, the main point use to use the \setregisterentry command and pass the footno

[NTG-context] Re: more register questions!

2024-05-03 Thread Thomas A. Schmitz
::footnote} {\setregisterentry [index][keys:1=\xmlatt{#1}{key},entries:1=\xmlatt{#1}{key}][footnote={\rawcountervalue[footnote]}]} {\setregisterentry[index][keys:1=\xmlatt{#1}{key},entries:1=\xmlatt{#1}{key}]} \stopxmlsetups \startxmlsetups xml:index \page \placeregister [index

[NTG-context] Re: more register questions!

2024-05-03 Thread Wolfgang Schuster
;know" that a register entry is within a footnote. But Hans never ceases to amaze me, so maybe there is a way (short of applying special markup to these notes in the source)? You can play with the following example, the main point use to use the \setregisterentry command and pass the footnote counter with

Re: [NTG-context] new upload

2021-12-01 Thread Hans Hagen via ntg-context
\setregisterentry [Russian] [entries:1={исчисление}, entries:2={n. neutr.}, entries:3={cálculo}] \setregisterentry [Russian] [entries:1={исчисление}, entries:2={n. neutr.}, entries:3={cálculo}] \setregisterentry [Russian] [entries:1={вероятность}, entries:2={n. fem.},entries:3

Re: [NTG-context] Concerning dictionaries. glossaries and related in ConTeXt

2021-11-26 Thread Hans Hagen via ntg-context
ngroup \getdummyparameters [word=, category=, meaning=, #1]% \setregisterentry [Russian] [keys={\dummyparameter{word}}, entries:1={\dummyparameter{word}}, entries:2={\dummyparameter{category}}, entries:3={\dummyparameter{meaning}}]% \en

Re: [NTG-context] Concerning dictionaries. glossaries and related in ConTeXt

2021-11-26 Thread Hans Hagen via ntg-context
headers. Is it fine to keep using registers in this case? Is there a better mechanism for this task in ConTeXt? Thank you in advance. you can also use: \setregisterentry [Russian] [keys={\dummyparameter{word}}, entries={\bold{\dummyparameter{word}} \italic

Re: [NTG-context] \setregisterentry levels with colon (keys:1, entries:1) in lua

2020-10-10 Thread Wolfgang Schuster
Jano Kula schrieb am 10.10.2020 um 20:52: Greetings! One can can set register levels with keys and entries \setregisterentry[MyIndex]     [keys:1=Sorting Key Level 1,      entries:1=Entry Level 1,      keys:2=Sorting Key Level 2,      entries:2=Entry Level 2] Rewriting the code in lua

[NTG-context] \setregisterentry levels with colon (keys:1, entries:1) in lua

2020-10-10 Thread Jano Kula
Greetings! One can can set register levels with keys and entries \setregisterentry[MyIndex] [keys:1=Sorting Key Level 1, entries:1=Entry Level 1, keys:2=Sorting Key Level 2, entries:2=Entry Level 2] Rewriting the code in lua works until colon (:) is used. \startluacode

[NTG-context] Questions on registers, and on processors used with registers

2015-10-04 Thread Rik Kabel
A few questions on registers, and on processors used with registers: Can processors be used on entries in \setregisterentry? My tests so far have not been successful. Can processors be used on one level of a two-level register {\index{Name+Processor->quotation precis}? Again, no succ

Re: [NTG-context] Hans Hagen: an index entry needs an anchor (Mail Archive 3/19/2014)

2014-11-15 Thread Rudolf Bahr
that any index mechanism that is supposed to provide the right page does a delayed write, so some kind of anchoring is there (you could try \index{...}\null or maybe \setregisterentry) Hans Sorry, Hans. \index{...}\null isn't the solution either: I get an unwanted additional empty page

Re: [NTG-context] Hans Hagen: an index entry needs an anchor (Mail Archive 3/19/2014)

2014-11-14 Thread Hans Hagen
a delayed write, so some kind of anchoring is there (you could try \index{...}\null or maybe \setregisterentry) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt

[NTG-context] Customize register format

2014-03-09 Thread Thangalin
\stopitemize} % #1 - Author; #2 - Author URL; #3 - Section title \define[3]\PhotographerIndexEntry{% \setregisterentry[PhotographerIndex][entries={#1}][ title={#3}, author={#1}, authorurl={#2}, ]{} } \defineregister[PhotographerIndex][ n=1, indicator=no, textcommand=\TextCommand

Re: [NTG-context] indexing puzzle

2012-05-26 Thread Hans Hagen
On 26-5-2012 16:12, Alan Bowen wrote: Thanks, Alan. Actually, I now think MKIV works without any trickery. I was perhaps too eager to try a Lua solution. \Passage{Author+Text+Locus} seems to work fine in the beta today. If you dont' like the + you can do: \setregisterentry [Passage

Re: [NTG-context] set-/finishregisterentry is killed

2011-02-17 Thread Steffen Wolfrum
\switchtobodyfont[50pt] START\setregisterentry[index][label={Index_Label}]% Test\dorecurse{10}{This is one long, long paragraph. }% STOP\finishregisterentry[index][label={Index_Label},entries={Index entry}] Test \stoptext Does it work on your machines? Is the syntax changed, do I have to add a certain

[NTG-context] set-/finishregisterentry is killed

2011-02-14 Thread Steffen Wolfrum
Hi, in current beta (2011.02.11 18:18 MKIV) set-/finishregisterentry is killed: Empty pagenumbers only! Please run attached example. Steffen --- \placeindex[method=first,criterium=all,compress=yes] \starttext \switchtobodyfont[50pt] START\setregisterentry[index][label={Index_Label

[NTG-context] (again) wrong page with \finishregisterentry

2011-02-08 Thread Steffen Wolfrum
lastrealpage is exactly the page where the ending mark is set? Attached you may find a minimal example. Best, Steffen --- \starttext \switchtobodyfont[50pt] \input tufte \par \setregisterentry[index][label={Index_Label}]% Test\dorecurse{5}{This is are words, not paragraphs. }\finishregisterentry

[NTG-context] wrong page with \finishregisterentry

2011-01-30 Thread Steffen Wolfrum
lastrealpage is exactly the page where the ending mark is set? Attached you may find a minimal example. Best, Steffen --- \starttext \switchtobodyfont[50pt] \input tufte \par \setregisterentry[index][label={Index_Label}]% Test\dorecurse{5}{This is are words, not paragraphs. }\finishregisterentry

Re: [NTG-context] entries in registerentry

2010-10-19 Thread Jano Kula
Hi Steffen, On 10/13/2010 07:23 PM, Steffen Wolfrum wrote: Hi, I don't understand the concept of entries in registerentry :o( Say, you have this example: \starttext \placeregister[index] \page page 1 \setregisterentry[index] [entries:1={eins}, entries:2={zwei}, entries:3={drei

[NTG-context] entries in registerentry

2010-10-13 Thread Steffen Wolfrum
Hi, I don't understand the concept of entries in registerentry :o( Say, you have this example: \starttext \placeregister[index] \page page 1 \setregisterentry[index] [entries:1={eins}, entries:2={zwei}, entries:3={drei}, label=range] \page page 2 text \page page 3 \finishregisterentry

Re: [NTG-context] change register entry separator

2010-10-08 Thread Jano Kula
, so it can be really anything. Other way around: I substitute + with PLUS in index terms before writing into the index, but which command is reading the sorted index entries to change it back to + when typesetting the sorted index on pages? \setregisterentry[index] [entries:1=..., entries:2

Re: [NTG-context] change register entry separator

2010-10-01 Thread Hans Hagen
substitute + with PLUS in index terms before writing into the index, but which command is reading the sorted index entries to change it back to + when typesetting the sorted index on pages? \setregisterentry[index] [entries:1=..., entries:2=..., entries:3=..., keys:1=..., keys:2

Re: [NTG-context] new beta (index)

2010-09-25 Thread Hans Hagen
, so some word in the index is triggering this ... no minimal example I guess btw: does the MkIV-structure-idea also provide an xml-alike start/stop for index marks? index termSchlüsselwort/term /index we have an experimental \setregisterentry [index] [specification][userdata] (I