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

Re: [NTG-context] Registers with distinguishable entries.

2012-04-26 Thread Philipp Gesang
of consecutive pages, usually a range is given in the index, like 144-53, or 143 ff. You want the “compress” switch in placeregister, or indicate ranges with \{start,stop}register: \defineregister [demo] [demoes] \starttext

Re: [NTG-context] Registers with distinguishable entries.

2012-04-26 Thread Robert Blackstone
On Thu, Apr 26, 2012 12:53:57 +0200, Philipp Gesang ges...@stud.uni-heidelberg.de wrote You want the ?compress? switch in placeregister, or indicate ranges with \{start,stop}register: \defineregister [demo] [demoes

[NTG-context] Index making

2011-05-04 Thread Willi Egger
lamp+bulb+wire} \blank[3cm] \placeregister[index] \stoptext Thanks, Willi ___ 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

Re: [NTG-context] Minimals ignores structureblockenvironment for frontmatter etc.

2011-03-20 Thread Wolfgang Schuster
\completeregister == \chapter + \placeregister + \page \completepublications == \chapter + \placepublications Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] MkII index bug?

2010-11-27 Thread Hans Hagen
On 25-11-2010 12:27, Jano Kula wrote: Hi Hans, playing with the solution for Horacio the line \enableregime[utf] stops treating index entries and its subentries right in MkII. %\enableregime[utf] \starttext \placeregister[index] \page A\index[arbol+rojo]{arbol+rojo}\page B\index[araña+linda

[NTG-context] MkII index bug?

2010-11-25 Thread Jano Kula
Hi Hans, playing with the solution for Horacio the line \enableregime[utf] stops treating index entries and its subentries right in MkII. %\enableregime[utf] \starttext \placeregister[index] \page A\index[arbol+rojo]{arbol+rojo}\page B\index[araña+linda]{araña+linda}\page C\index[arbol+verde

Re: [NTG-context] register sorting

2010-11-04 Thread Steffen Wolfrum
,uc} gives what you want, but I don't know your border cases. Jano % tricky-006.tex \setuplayout[topspace=1cm,height=middle] \setupbodyfont[11pt] \starttext \def\Test#1% {\vbox{{\bf#1}\blank\placeregister[index][language=cz,n=1,method={#1}]}\blank} wanted result: oá öb Oč Öď

[NTG-context] register sorting

2010-10-29 Thread Steffen Wolfrum
!! What is wrong? Steffen --- \starttext \subject{before : Oo Öo oo öo} \placeregister[index][language=en,method=before] \par \subject{after : oo öo Oo Öo} \placeregister[index][language=en,method=after] \par \subject{first : Oo oo Öo öo} \placeregister[index][language=en,method=last

Re: [NTG-context] register sorting

2010-10-29 Thread Jano Kula
[topspace=1cm,height=middle] \setupbodyfont[11pt] \starttext \def\Test#1% {\vbox{{\bf#1}\blank\placeregister[index][language=cz,n=1,method={#1}]}\blank} wanted result: oá öb Oč Öď Oo Öo oo öo Öq öř Oš oů \blank \startcolumns[n=3] \Test{mc,mm,uc} \Test{mc,zm,uc} \Test{mc,pm,uc} \Test{zc

Re: [NTG-context] \seeindex broken?

2010-10-21 Thread Steffen Wolfrum
anymore (please run attached example). Or did I do something wrong? Best, Steffen (ConTeXt ver: 2010.10.12 01:03 MKIV) \starttext \placeregister[index] \page %test \seeindex{index1}{xindex2}test % - here it works \page test \index{index1}test \index{xindex2}text \page

[NTG-context] \seeindex broken?

2010-10-20 Thread Steffen Wolfrum
Hi, it seems that \seeindex doesn't work as expected anymore (please run attached example). Or did I do something wrong? Best, Steffen (ConTeXt ver: 2010.10.12 01:03 MKIV) \starttext \placeregister[index] \page %test \seeindex{index1}{xindex2}test % - here it works \page test \index

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

[NTG-context] register broken in latest beta!

2010-10-11 Thread Steffen Wolfrum
Hi, todays beta gives an error with this test (taken from strc-reg.kmiv at line 35): \starttext \placeregister[index] test \index{aa} test \startregister[index][x]{bb} test \page test \page test \page test \stopregister[index][x] \stoptext ! LuaTeX error ...text/tex/texmf-context/tex

  1   2   >