[NTG-context] Re: start/stopregister

2024-04-26 Thread Hans Hagen
A\index{A} B \page A\startregister [index] {A} B\startregister [index] [B] {B} \dorecurse {10} {\input tufte} A\stopregister [index] {A} B\stopregister [index] [B] \page \placeregister[index] \stoptext And I'm not even sure if this is allowed to say anymore, but: works in mkii

[NTG-context] Re: start/stopregister

2024-04-26 Thread Thomas A. Schmitz
\startregister [index] [B] {B}     \dorecurse {10} {\input tufte}     A\stopregister [index] {A} B\stopregister [index] [B] \page \placeregister[index] \stoptext And I'm not even sure if this is allowed to say anymore, but: works in mkii... Thomas

[NTG-context] Re: start/stopregister

2024-04-26 Thread Thomas A. Schmitz
\placeregister[index] \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https

[NTG-context] Re: start/stopregister

2024-04-25 Thread Henning Hraban Ramm
but not in mkxl. All best Thomas \setuppapersize [A6] \starttext A\index{A} B\startregister [index] [B] {B} \dorecurse {10} {\input tufte} A\index{A} B\stopregister [index] [B] \page \placeregister[index] \stoptext I’m using it like \startregister[index][bibliografie]{Bibliografie

[NTG-context] start/stopregister

2024-04-25 Thread Thomas A. Schmitz
] \starttext A\index{A} B\startregister [index] [B] {B} \dorecurse {10} {\input tufte} A\index{A} B\stopregister [index] [B] \page \placeregister[index] \stoptext ___ If your question is of interest

[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
ommand/ note Command/ ornament Command/ paragraphs Command/ placecombinedlist Command/ placefloat Command/ placelistoffloats Command/ placelistofsorts Command/ placelistofsynonyms Command/ placement Command/ placepairedbox Command/ placeregister Command/ presetlabeltext Command/ referenceformat Comma

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
ence[ref#1]{}% %     \learnedshort{#1}     \learnedlong{\getvalue{#1}} } \starttext \learned{W3}     \startchapter[title=Standards]   \placeregister[learnedlong]     \stopchapter \stoptext ___ If you

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
ence[ref#1]{}% %     \learnedshort{#1}     \learnedlong{\getvalue{#1}} } \starttext \learned{W3}     \startchapter[title=Standards]   \placeregister[learnedlong]     \stopchapter \stoptext ___ If your question is o

[NTG-context] How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
=Standards]   \placeregister[learnedlong]     \stopchapter \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https

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

2023-02-26 Thread Joel via ntg-context
mpty \page     \placeregister[index] \stoptext % index-2.tex \setupinteraction[state=start] \defineregister[xedni] \useregister[workbook][index-1][index][WB ] \starttext     test \index{onemore TB.1} \page     test \index{another TB.1} \page     test \index{entry  TB.1} \page     test \in

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

2023-02-26 Thread Alan Braslau via ntg-context
x{whatever WB.1} \page empty \page test \index{common}\page empty \page \placeregister[index] \stoptext % index-2.tex \setupinteraction[state=start] \defineregister[xedni] \useregister[workbook][index-1][index][WB ] \starttext test \index{onemore TB.1} \page test \index{

[NTG-context] setupregister/placeregister

2023-02-10 Thread Alan Braslau via ntg-context
Hello, The criterium key in setupregister (so placeregister, placeindex, ...) takes the following values: criterium local text current previous all section all: places all entries of the document section: (part, chapter, section, ...) places entries associated with that structure element

Re: [NTG-context] injectors not working in LMTX?

2021-06-25 Thread Hans Hagen
[register][3][\column] \setinjector[list][2][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha] first \index{first} \startsection[title

Re: [NTG-context] injectors not working in LMTX?

2021-06-24 Thread Rik Kabel
][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha] first \index{first} \startsection[title=Beta] second \index{second} \startsection[title

Re: [NTG-context] register for biblical citations

2021-04-16 Thread jbf
ibcit{Gen 3:6} test ... \bibcit{Gen 4:2-8} test ... \bibcit{Gen 39:6-20} test ... \bibcit{Gen 17:1} test ... \bibcit{Gen 18:27} test ... \bibcit{Gen 28:10-12} test ... \bibcit{Ex 20:12} test ... \bibcit{Lev 6:5-6} test ... \bibcit{Deut 6:5} test ... \bibcit{Lam 3:27} \blank[3*big] \placeregister[bibcit]

Re: [NTG-context] register for biblical citations

2021-04-16 Thread Hans Hagen
st ... \bibcit{Gen 28:10-12} test ... \bibcit{Ex 20:12} test ... \bibcit{Lev 6:5-6} test ... \bibcit{Deut 6:5} test ... \bibcit{Lam 3:27} \blank[3*big] \placeregister[bibcit] \stoptext but

[NTG-context] injectors not working in LMTX?

2021-03-25 Thread Pablo Rodriguez
\placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha] first \index{first} \startsection[title=Beta] second \index{second} \startsection[title=Gamma] third \index{third} \startsection[title=Delta] fourth \index

[NTG-context] format error with latest 2020-11-16 19:40 with mkiv (luatex)

2020-11-16 Thread Adam Reviczky
ector{#1}{#2}} 39 %D \placeregister[index][criterium=text] 40 %D \page 41 %D \startsection[title=Alpha] first \index{first} \stopsection 42 %D \startsection[title=Beta] second \index{second} \stopsection 43 %D \startsection[title=Gamma] third

Re: [NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
jector[index] % ERROR! \index{Danold} \index{Drum} %\index{Dapper} % uncomment to test \index{Kankra} \index{Kookaburra} \placeregister[index][criterium=all] \page \startregister[index][test]{Knuth} \input tufte \index{Donald}\index{Drom}\index{Divine} \page\index{Dummy} \input knuth \index{Don

Re: [NTG-context] index issues

2020-11-06 Thread Duncan Hothersall
\setinjector[Person][10][{\column}] > 24 >> \showinjector[Person] > > > Regardless what I try as parameter of \showinjector (e.g. register, index, > my own registers, one or a list) and where (in the environment or before > \placeregister), I always get this error. > >

Re: [NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
registers, one or a list) and where (in the environment or before \placeregister), I always get this error. Bug? LMTX version: 2020.09.20 23:02 Hraban ___ If your question is of interest to others as well, please add an

[NTG-context] Index confusion with first entry

2020-08-18 Thread Henning Hraban Ramm
moves. If I move the Hamburg entry in front of \startregister, it disappears! I.e. if the first index entry is set by \startregister, the subsequent entry gets confused. I tried to come up with a MWE, but couldn’t reproduce the problem in a simple example like \starttext \placeregister[index

Re: [NTG-context] \checkpage in the TOC

2020-08-12 Thread Willi Egger
gt;> inbetween={\checkpage[willi][lines=4]} >> Thank you for advice! >> Kind regards >> Willi >> ] > Here's an example of an actually already quite old mechanism .. > > \showinjector > > \setinjector[register][3][\column] > \setinjector[list][2][{\blank

Re: [NTG-context] \checkpage in the TOC

2020-08-11 Thread Hans Hagen
][lines=4]} Thank you for advice! Kind regards Willi ] Here's an example of an actually already quite old mechanism .. \showinjector \setinjector[register][3][\column] \setinjector[list][2][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister

Re: [NTG-context] check if inside footnote

2020-08-04 Thread Hans Hagen
->]{kursiv->#1}}#1} \starttext Text --- \index[C]{A}{B}\footnote{Inside\index{FN}}\index{BF} --- \placeregister[index][criterium=all] \stoptext bad MWE ... took me more time to se that \Idx was not used than this: Ouch, sorry! That means I didn’t even check if that mode existed before; I also s

Re: [NTG-context] check if inside footnote

2020-08-04 Thread Henning Hraban Ramm
ursiv][style=italicface] >> \define[1]\Idx{\doifmodeelse{*footnote}{\index{#1}}{\index[kursiv->]{kursiv->#1}}#1} >> \starttext >> Text >> --- >> \index[C]{A}{B}\footnote{Inside\index{FN}}\index{BF} >> --- >> \placeregister[index][criterium=all] >> \stopte

Re: [NTG-context] check if inside footnote

2020-08-04 Thread Hans Hagen
dex{BF} --- \placeregister[index][criterium=all] \stoptext bad MWE ... took me more time to se that \Idx was not used than this: \appendtoks \setsystemmode\currentnote \to \everysynchronizenote can you check if that works ok?

[NTG-context] check if inside footnote

2020-08-04 Thread Henning Hraban Ramm
example: \setupinteraction[state=start] \defineprocessor[kursiv][style=italicface] \define[1]\Idx{\doifmodeelse{*footnote}{\index{#1}}{\index[kursiv->]{kursiv->#1}}#1} \starttext Text --- \index[C]{A}{B}\footnote{Inside\index{FN}}\index{BF} --- \placeregister[index][criterium=all] \st

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

2020-08-02 Thread Henning Hraban Ramm
it? >>> it might relate to protrusion (which needs to enter nested boxes to >>> determine an edge) but how that then can relate to the number of entries >>> puzzles me, unless we pop too less ... in which case i need to trace (with >>> a mwe) >> I can’t repro

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

2020-08-02 Thread Hans Hagen
need to trace (with a mwe) I can’t reproduce it with a simple example like \setupalign[hanging] \starttext \placeregister[index][criterium=all] \dorecurse{1}{\par\strut\index{Test\recurselevel}} \stoptext \recurselevel is empty in that context, \expanded didn’t help, but I guess we

Re: [NTG-context] register entries in footnotes

2020-04-26 Thread Hans Hagen
erm in the index: cat\index{cat}. This sentence also has an indexed term, dog\index{dog}, as well as a footnote.\footnote{The footnote also contains an indexed term, mouse.\fnindex{mouse}} \page \placeregister [index] \stoptext And about a year ago, Hans made a different suggestion to my own quest

[NTG-context] register entries in footnotes

2020-04-26 Thread Thomas A. Schmitz
has an indexed term, dog\index{dog}, as well as a footnote.\footnote{The footnote also contains an indexed term, mouse.\fnindex{mouse}} \page \placeregister [index] \stoptext And about a year ago, Hans made a different suggestion to my own question; however, I didn't real

Re: [NTG-context] place single entry of a register, or filtering the terms of a register

2019-10-25 Thread Hans Hagen
ium=???] \stoptext i guess the opposite makes more sense: combine different registers and then have different entries (kind of categories) \defineregister[one] \defineregister[two] \starttext one \one{alpha} two \two{beta} \subject{ONE} \placeregister[one] \subject{TWO} \placeregister[t

[NTG-context] mapping seeregister command to xml

2019-07-04 Thread Thomas A. Schmitz
indicator=no] \starttext \xmlprocessbuffer{main}{test}{} \blank [line] \placeregister[inscription] \stoptext Maybe my problem is with expansion in index entries? I must admit that I haven't really grasped why the \expanded was necessary an

Re: [NTG-context] two (2) questions about footnotes

2019-05-27 Thread Thomas A. Schmitz
On 05/27/2019 09:35 AM, Hans Hagen wrote:   Test1: \index{Adam}Adam. \footnote{Test2: \index{Eve}Eve.} \footnote[note:abel]{Test3: \index[Abel]{Abel in \in{note}[note:abel]}Abel.} \page \placeregister [index] \stoptext Ah excellent, thanks a lot, that makes everything clear! All

Re: [NTG-context] two (2) questions about footnotes

2019-05-27 Thread Hans Hagen
ke that? \starttext Test1: \index{Adam}Adam. \footnote{Test2: \index{Eve}Eve.} \footnote[note:abel]{Test3: \index[Abel]{Abel in \in{note}[note:abel]}Abel.} \page \placeregist

Re: [NTG-context] two (2) questions about footnotes

2019-05-27 Thread Hans Hagen
On 5/27/2019 8:45 AM, Thomas A. Schmitz wrote: \unexpanded\def\MyRule{\blackrule[width=\textwidth,height=3pt]} \setupfootnotes[rule=\MyRule] \starttext Test1: \index{Adam}Adam.\footnote{Test2: \index{Eve}Eve.} \page \placeregister [index] \stoptext \setupnote [footnote] [rule=command

[NTG-context] two (2) questions about footnotes

2019-05-27 Thread Thomas A. Schmitz
\placeregister [index] \stoptext (1) In my current project, the publisher wants the rule separating text and notes to extend across the entire text width. I found the \blackrule command and its use in the setup on the mailing list, many years ago, proposed by Steffen Wolfrum, but it doesn't work

[NTG-context] Bidi-related register problem

2019-01-24 Thread Rik Kabel
vey} \input jojomayer \stopparagraph \startparagraph סלאם שלום \stopparagraph \placeregister[Mindex] \stoptext -- Rik Kabel ___ If your question is of interest to others as well, please add an en

Re: [NTG-context] Sorting registers method for "uppercase like lowercase, diacritics ignored"

2019-01-20 Thread Thomas A. Schmitz
ação \mynome{alegria}alegria \mynome{agrilhoado}agrilhoado \mynome{anjo}anjo \mynome{ódio}ódio \mynome{orgulho}orgulho \mynome{Åz}Åz \mynome{Åaaa}Åaaa \mynome{Özz}Özz \mynome{Öaa}Öaa \page[yes] \placeregister [nome] \stoptext ___

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] \startregister…\stopregister bug?

2018-08-14 Thread Wolfgang Schuster
] \placeregister[TesT] \stoptext Wolfgang Alan Bowen schrieb am 14.08.18 um 17:25: In the latest beta (2018.08.10), \defineregister[TesT] \starttext \startregister[TesT]{samples} \input knuth \page \input ward \stopregister[TesT] \blank[3*big] \placeregister[TesT] \stoptext produces on page 2 the index

[NTG-context] \startregister…\stopregister bug?

2018-08-14 Thread Alan Bowen
In the latest beta (2018.08.10), \defineregister[TesT] \starttext \startregister[TesT]{samples} \input knuth \page \input ward \stopregister[TesT] \blank[3*big] \placeregister[TesT] \stoptext produces on page 2 the index entry *samples 1* when one expects *samples 1–2* Alan

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
Wiki. dr. Hans van der Meer Try \placeindex or \placeregister[index] and your own section heading. This is analagous to \completecontent and \placecontent. ___ If your question is of interest to others as well, please

Re: [NTG-context] latest beta and \seeindex

2018-06-25 Thread Henning Hraban Ramm
usability, but also double the length of the index). > anyway, i'll add check=no to placeregister so that one can bypass the check > (but i cannot foresee side effects like missing references in interactiev > documents so these have to be taken for granted) Thank you, that fits m

Re: [NTG-context] latest beta and \seeindex

2018-06-25 Thread Hans Hagen
) anyway, i'll add check=no to placeregister so that one can bypass the check (but i cannot foresee side effects like missing references in interactiev documents so these have to be taken for granted) Hans

Re: [NTG-context] Fwd: Custom sorting of "pseudo-language" in a register

2018-03-22 Thread Hans Hagen
quot;Colossians", "1 Thessalonians", "2 Thessalonians", "1 Timothy", "2 Timothy", "Titus", "Philemon", "Hebrews", "James", "1 Peter", "2 Peter", "1 John", "2 John",

[NTG-context] Custom sorting of "pseudo-language" in a register

2018-03-16 Thread John Grasty
ister[booksort] [language=bbt, n=1, indicator=yes, ] \starttext \booksort{Janez+5.2}One \booksort{Eksodus+2}Two \booksort{Geneza+45}Three \page \placeregister[booksort][language=bbt] \stoptext __

[NTG-context] registers with section and line number references

2018-01-02 Thread Pablo Rodriguez
[big] \placeregister[index] \stoptext Which is the way to have sectioning and line number references instead of page references? Many thanks for your help, Pablo -- http://www.ousia.tk ___ If your question

[NTG-context] register with section references (instead of pages)

2017-11-08 Thread Pablo Rodriguez
Dear list, I have this sample: \starttext \chapter{One} \index{one} \section{Two} \index{two} \subsection{Three} \index{three} \placeregister[index] \stoptext Is there any way to get section numbers in the index references instead of page numbers? I have

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

2017-10-09 Thread Jano Kula
1{\Sach{\infull{#1} (#1)}} > > > \starttext > \section{Intro} > \Sach{Abenteuer}\Sach{Abba}\Sach{Alliteration} > \Sach{Berta}\Sach{Cäsar}\Sach[Context]{\CONTEXT}\Sach{COBOL}\Sach{Cäsium} > \Sach{Igel}\Sach{Jagertee}\Sach{Humboldt}\Sach{infulk}\Sach{infulm} > > \Abk{

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

2017-10-01 Thread Henning Hraban Ramm
tro} >> \Sach{Abenteuer}\Sach{Abba}\Sach{Alliteration} >> \Sach{Berta}\Sach{Cäsar}\Sach[Context]{\CONTEXT}\Sach{COBOL}\Sach{Cäsium} >> \Sach{Igel}\Sach{Jagertee}\Sach{Humboldt}\Sach{infulk}\Sach{infulm} >> >> \Abk{ADN}, \Abk{ANC}, \Abk{AV} >>

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

2017-09-25 Thread Henning Hraban Ramm
tro} > \Sach{Abenteuer}\Sach{Abba}\Sach{Alliteration} > \Sach{Berta}\Sach{Cäsar}\Sach[Context]{\CONTEXT}\Sach{COBOL}\Sach{Cäsium} > \Sach{Igel}\Sach{Jagertee}\Sach{Humboldt}\Sach{infulk}\Sach{infulm} > > \Abk{ADN}, \Abk{ANC}, \Abk{AV} > > \section{Abkürzungen} &g

[NTG-context] Sorting of abbreviations in index

2017-09-23 Thread Henning Hraban Ramm
{Abkürzungen} \placelistofabbreviations %[criterium=all] \section{Sachregister} \placeregister[Sach] %\infull{AV} %\infull{AFL} \stoptext - Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net GPG Key ID 1C9B22FD

Re: [NTG-context] compressing register ranges

2017-06-16 Thread Florian Grammel
2 > \demo{Demorange} > > \page[yes] > > 3 > \startregister[demo][demorange]{Demorange} > > \page[yes] > > 4 > \demo{Demorange} > > \page[yes] > > 5 > > \page[yes] > > 6 > \stopregister[demo][demorange] > > \page[yes]

[NTG-context] compressing register ranges

2017-06-16 Thread Florian Grammel
\page[yes] 2 \demo{Demorange} \page[yes] 3 \startregister[demo][demorange]{Demorange} \page[yes] 4 \demo{Demorange} \page[yes] 5 \page[yes] 6 \stopregister[demo][demorange] \page[yes] 7 \demo{Demorange} \page[yes] \placeregister [demo] [comp

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

2017-04-27 Thread Rik Kabel
chapter \startchapter[title=Index] \placeregister[index] \stopchapter \stopbackmatter \stoptext Of course, there may be conflicts. You may index the same term twice on one page, once in the text, once in a footnote. Context will not choke, and there is a fifty-fifty chance it

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

2017-04-27 Thread Florian Grammel
> \stopbodymatter > \page > \startbackmatter > \startchapter[title=An appendix] > This is in the backmatter.\index{aaa}\footnote{\index{bbb}This is a > footnote.} > \startplacefigure[location=default, > title={Appendix illustration\index[Figure->]{ddd}}] &

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

2017-04-26 Thread Rik Kabel
chapter[title=Notes] \placenotes[footnote] \stopchapter \startchapter[title=Index] \placeregister[index] \stopchapter \stopbackmatter \stoptext -- Rik ___ If your question is of interest to oth

[NTG-context] Greek word sorting

2017-04-01 Thread Pablo Rodriguez
} \grcindx{δὲ} \grcindx{δέ} \grcindx{δ’} \grcindx{σ} \grcindx{ς} \grcindx{Παυσανίας} \grcindx{Παυσανίας} \section{Improved} \placeindex \section{Default} \placeregister[indexgr] \stoptext Just for the sake of testing, I added the following sorting language to sort-lang.lua: 8

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

2017-01-14 Thread MF
tartxmlsetups xml:div  \xmlflush{#1}  \page \stopxmlsetups \startxmlsetups xml:p  \ignorespaces  \xmlflush{#1}  \removeunwantedspaces  \par \stopxmlsetups \startxmlsetups xml:name  \dontleavehmode  \xmlfunction{#1}{indexEntry}  {\bf\xmlflush{#1}} \stopxmlsetups \startx

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

2017-01-14 Thread Alan Braslau
dule as follows: \defineregister [indexofauthors] \definebtrxregister [authors] [field=author, register=indexofauthors, method=always, dataset=default, alternative=invertedshort] ... \placeregister [indexofauthors] [compress=yes] This will create an index of all \cited authors

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

2017-01-14 Thread Hans Hagen
}} \stopxmlsetups \startxmlsetups xml:index \placeregister[Animal] \stopxmlsetups \startxmlsetups xml:entry \xmlflush{#1} \stopxmlsetups \startluacode userdata = userdata or {} userdata.animals = {} function userdata.findAnimal(t) local idref = xml.attribute(t, "", "idref&q

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

2017-01-13 Thread MF
xml:index   \placeregister[Animal] \stopxmlsetups \startxmlsetups xml:entry   \xmlflush{#1} \stopxmlsetups \startluacode userdata = userdata or {} userdata.animals = {} function userdata.findAnimal(t)   local idref = xml.attribute(t, "", "idref")   local animal = us

Re: [NTG-context] insert pagebreak in toc (MkIV)

2016-09-06 Thread Robert Blackstone
t;>> Compiled with a recent mkiv, from between sept 2015 till july 2016, the >>> result shows no page break in the ToC. >>> What can be done about this? >> >> \showinjector >> >> \setinjector[register][3][\column] >> \setinjector[list]

Re: [NTG-context] insert pagebreak in toc (MkIV)

2016-09-05 Thread Robert Blackstone
y2} >> >> \stoptext >> >> % >> Compiled with a recent mkiv, from between sept 2015 till july 2016, the >> result shows no page break in the ToC. >> What can be done about this? > > \showinjector > > \setinjec

Re: [NTG-context] insert pagebreak in toc (MkIV)

2016-09-05 Thread Hans Hagen
] \setinjector[list][2][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha] first \index{first} \stopsection \startsection[title=Beta] second \index{second} \stopsection

Re: [NTG-context] Forced page break in a TOC

2015-09-08 Thread Hans Hagen
). Any ideas on how to fix the problem? \showinjector \setinjector[register][3][\column] \setinjector[list][2][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha] first \index

[NTG-context] Solved, was Re: Register customization for backmatter page numbers

2015-08-01 Thread Rik Kabel
(except to change \index to \Index), and I can further distinguish notes from glossary entries if needed. I could even eliminate that last change by defining my own register Index and using \def\index{\Index[\Where-] (and an appropriate \placeregister). I still haven't played with this a lot, so

Re: [NTG-context] Solved, was Re: Register customization for backmatter page numbers

2015-08-01 Thread Rik Kabel
to the indexing is required in the text (except to change \index to \Index), and I can further distinguish notes from glossary entries if needed. I could even eliminate that last change by defining my own register Index and using \def\index{\Index[\Where-] (and an appropriate \placeregister

[NTG-context] placing registers on the same page

2014-11-15 Thread Alan Bowen
\placeregister[mouse] \placeregister[house] \stoptext places the second register on its own page. How can I get the second register on the same page as the first? Alan ___ If your question is of interest to others as well

[NTG-context] new mechanism

2014-10-14 Thread Hans Hagen
Hi, As we needed it for a project, I made this: \showinjector \setinjector[register][3][\column] \setinjector[list][2][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha

Re: [NTG-context] E-books and XML.

2014-08-29 Thread Henning Hraban Ramm
+test}foo \page \index{bar+test}bar \page \placeregister[index] \stoptext gives: register detail=index registersection registertagb/registertag registerentries registerentry registercontentbar/registercontent registerpagesregisterpage2/registerpageregisterseparator

Re: [NTG-context] E-books and XML.

2014-08-29 Thread Hans Hagen
{bar}bar \page \index{foo+test}foo \page \index{bar+test}bar \page \placeregister[index] \stoptext gives: register detail=index registersection registertagb/registertag registerentries registerentry registercontentbar/registercontent registerpagesregisterpage2

Re: [NTG-context] E-books and XML.

2014-08-28 Thread Hans Hagen
to create my ToC. new beta \setupbackend [export=yes, xhtml=yes, css=export-example.css] \starttext \index{foo}foo \page \index{bar}bar \page \index{foo}foo \page \index{bar}bar \page \index{foo+test}foo \page \index{bar+test}bar \page \placeregister[index

Re: [NTG-context] “Case-insensitive” sorting for \placelistofsynonyms?

2014-06-01 Thread Hans Hagen
On 5/29/2014 10:51 AM, Benjamin Buchmuller wrote: Hi list, according to case-insensitive sorting for \placeregister[…][…, method=…], I tried to figure out how to achieve similar results for \placelistofsynonyms (has method-key too). I tried this modified minimal example (that originally

[NTG-context] “Case-insensitive” sorting for \placelistofsynonyms?

2014-05-29 Thread Benjamin Buchmuller
Hi list, according to case-insensitive sorting for \placeregister[…][…, method=…], I tried to figure out how to achieve similar results for \placelistofsynonyms (has method-key too). I tried this modified minimal example (that originally was proposed by Hans here: http://www.ntg.nl/pipermail

Re: [NTG-context] “Case-insensitive” sorting for \placelistofsynonyms?

2014-05-29 Thread Hans Hagen
On 5/29/2014 10:51 AM, Benjamin Buchmuller wrote: Hi list, according to case-insensitive sorting for \placeregister[…][…, method=…], I tried to figure out how to achieve similar results for \placelistofsynonyms (has method-key too). I tried this modified minimal example (that originally

Re: [NTG-context] Command for printing back of book index.

2014-05-26 Thread john Culleton
to correct the manual. Neither section 12.7 nor the list of commands in the back mention \completeregister nor \placeregister as the means to create a back of the book index. -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html PDF e-book: Create

Re: [NTG-context] Index - ranges

2013-11-12 Thread honyk
located in the strc-reg.mkiv file. The corresponding lua code seems to be performing some cleanup of page ranges, but when I define it same way, there is no difference in my output (still 1-1): \startregister[index][range_01]{primary} Dummy text. \stopregister[index][range_01] \placeregister[index

Re: [NTG-context] Index - custom sorting

2013-11-11 Thread honyk
] in your document context should use the czech sorting mechanism, when you english as main language you can use them in the register with \placeregister[index][language=cz]. You can also influence the sorting with the method key for \placeregister: http://www.ntg.nl/pipermail/ntg- context

Re: [NTG-context] Index - custom sorting

2013-11-07 Thread Wolfgang Schuster
it implemented already in Java so I hope it won't be a huge task to convert it into something else… When you have \mainlanguage[cz] in your document context should use the czech sorting mechanism, when you english as main language you can use them in the register with \placeregister[index][language

[NTG-context] spaces in xml index

2013-06-26 Thread Thomas A. Schmitz
{\index{\xmlatt{#1}{keyword}}}\xmlflush{#1}\removeunwantedspaces} \stopxmlsetups \xmlprocessbuffer{whatever}{demo}{} \page \placeregister[index] \stoptext ___ If your question is of interest to others as well

[NTG-context] register in xml

2013-06-11 Thread Thomas A. Schmitz
\startxmlsetups xml:p \xmlflush{#1} \par \stopxmlsetups \startxmlsetups xml:indexterm \index{\xmlflush{#1}} \stopxmlsetups \xmlprocessbuffer{whatever}{demo}{} \page \placeregister[index] \stoptext

Re: [NTG-context] Two questions about registers

2013-06-02 Thread Marcin Borkowski
unsolved, though not critical - I can use \placeregister and supply the title myself. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University ___ If your question

[NTG-context] strange index behaviour with entries inside separatedlist

2013-04-12 Thread WolfgangZ
/1994 Annummer: 2303 Pub:3/6/1996 Pubnummer: 0699257 Ert:1/8/1997 Ertnummer: 257B1 \stopMyTable \chapter{Index: Correct} \placeregister[Correctliste] \chapter{Index: Wrong} \placeregister[Wrongliste

Re: [NTG-context] strange index behaviour with entries inside separatedlist

2013-04-12 Thread Hans Hagen
\bTR \bTD \index{test 1} entry 1 \eTD \eTR \eTABLE \page \bTABLE \bTR \bTD \index{test 2} entry 2 \eTD \eTR \eTABLE \page \placeregister[index][n=1] \stoptext - Hans Hagen | PRAGMA ADE

Re: [NTG-context] Problem with local installation - MKIV- register

2013-04-02 Thread Wolfgang
=slanted,pagestyle=bold] Regards Philipp \starttext \chapter{F53667} Hello world! \Erf{Bla} Fool \page \placeregister[Erf] \stoptext The error I get: mtx-context | run 1: luatex --fmt=D:/context/tex/texmf-cache/luatex-cache/c ontext/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en

Re: [NTG-context] Problem with local installation - MKIV- register

2013-04-02 Thread Hans Hagen
=bold] Regards Philipp \starttext \chapter{F53667} Hello world! \Erf{Bla} Fool \page \placeregister[Erf] \stoptext The error I get: mtx-context | run 1: luatex --fmt=D:/context/tex/texmf-cache/luatex-cache/c ontext/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en --jobname=test1

[NTG-context] Problem with local installation - MKIV- register

2013-04-01 Thread WolfgangZ
Hello, I have a problem with a using a register in my local installation (MKIV). The minimal example works on contextgarden. The example: \defineregister[Erf][Erflist] \starttext \chapter{F53667} Hello world! \Erf{Bla} Fool \page \placeregister[Erf] \stoptext The error I get: mtx-context

Re: [NTG-context] Problem with local installation - MKIV- register

2013-04-01 Thread Philipp Gesang
\page \placeregister[Erf] \stoptext The error I get: mtx-context | run 1: luatex --fmt=D:/context/tex/texmf-cache/luatex-cache/c ontext/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en --jobname=test1 --lua=D:/context/tex/texmf-cache/luatex-cache/context

[NTG-context] two problems with xml processing

2013-01-11 Thread Thomas A. Schmitz
\placeregister[index] \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http

Re: [NTG-context] \placeregister[index]—preventing page break before

2012-06-27 Thread Alan Bowen
Perhaps more information would be helpful: The index comes in this component file: \startcomponent c_B2-IndexLocorum \setupheader[state=high] \BibTitle[IndexLocorum]{\WORD{index of passages}} \placeregister[Passage] \LevelBHead[KiddPassages]{Passages in Kidd's collection} \placeregister[Kidd

[NTG-context] \placeregister[index]—preventing page break before

2012-06-26 Thread Alan Bowen
I have been experimenting for a while with \placeregister and \setupregister and can find no way no prevent page breaks before a register. Simply inserting \page[no] does not seem to work. So can anyone suggest a way to do this in MKII? Alan

Re: [NTG-context] indexing query

2012-05-11 Thread Alan Bowen
See \Passage{Simplicius+{\em In de caelo}+477.3--4}477.3--4 \page \placeregister[Passage] \stoptext The result is an index that puts 483.15–19 *before* 477.3–4 as in Simplicius *In de caelo* 483.15–19 *1* 477.3–4 *2* rather than after. How can I fix this? Alan

Re: [NTG-context] indexing query

2012-05-11 Thread Hans Hagen
}+483.15--19}483.15--19. \page See \Passage{Simplicius+{\em In de caelo}+477.3--4}477.3--4 \page \placeregister[Passage] \stoptext The result is an index that puts 483.15–19 *before* 477.3–4 as in Simplicius *In de caelo* 483.15–19 *1* 477.3–4 *2* rather than after. How can I fix

  1   2   >