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

2024-03-13 Thread Joel via ntg-context
ter many hours of trial-and-error, I was able to recreate the problem > in a minimum working example: > > file main.tex only contains: > > \starttext > >      \index{birds} >      \index{insects} > >      \input secondary > >      \placeindex > > \s

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

2024-03-13 Thread Joel via ntg-context
ble to recreate the problem > in a minimum working example: > > file main.tex only contains: > > \starttext > >      \index{birds} >      \index{insects} > >      \input secondary > >      \placeindex > > \stoptext > > file seco

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

2024-03-13 Thread Wolfgang Schuster
Joel via ntg-context schrieb am 13.03.2024 um 23:27: After many hours of trial-and-error, I was able to recreate the problem in a minimum working example: file main.tex only contains: \starttext     \index{birds}     \index{insects}     \input secondary     \placeindex \stoptext file

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

2024-03-13 Thread Joel via ntg-context
After many hours of trial-and-error, I was able to recreate the problem in a minimum working example: file main.tex only contains: \starttext     \index{birds}     \index{insects}          \input secondary          \placeindex      \stoptext file secondary.tex only contains:    \index

Re: [NTG-context] Is there a way to centrally add a list of indexed items to a sub category?

2023-05-15 Thread Alan Braslau via ntg-context
be: \seeindex{dogs}{animals+dogs} with \index{animals+dogs} It's the author's choice, but this avoids redundant page entries and a very long \placeindex. (Note that we recently extended \seeindex to handl

Re: [NTG-context] Is there a way to centrally add a list of indexed items to a sub category?

2023-05-15 Thread Hans Hagen via ntg-context
On 5/15/2023 3:37 AM, Joel via ntg-context wrote: I have a document like this:     \starttext     \index{dogs}     \index{cats}     \index{flowers}     \index{snails}     \index{trees}     \placeindex     \stoptext As I understand, if you use \index

Re: [NTG-context] Is there a way to centrally add a list of indexed items to a sub category?

2023-05-15 Thread Henning Hraban Ramm via ntg-context
Am 15.05.23 um 03:37 schrieb Joel via ntg-context: I have a document like this:     \starttext     \index{dogs}     \index{cats}     \index{flowers}     \index{snails}     \index{trees}     \placeindex     \stoptext As I understand, if you use \index

[NTG-context] Is there a way to centrally add a list of indexed items to a sub category?

2023-05-14 Thread Joel via ntg-context
I have a document like this:     \starttext     \index{dogs}          \index{cats}          \index{flowers}          \index{snails}          \index{trees}          \placeindex          \stoptext      As I understand, if you use \index{animals+dogs

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

[NTG-context] How to fix indexes displaying [entry not flushed] with hidden data?

2023-05-07 Thread Joel via ntg-context
2. \setbox\scratchbox=\vbox{} These both successfully seem to place the data there, without it actually being visible and bibliograhy entries still function fine. The problem is, index and customer registers are getting confused: When one goes to render the page numbers in \placeindex, it gets confused,

[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] sorting for particular sub entries to register

2022-02-01 Thread jbf via ntg-context
+aeriti (experts)} S\index[animals+special]{animals+‘special kinds’} B\index[animals+bpecial]{animals+bpecial} A\index[animals+apecial]{animals+‘apecial’} U\index[animals+upecial]{animals+‘upecial’} T\index[animals+tpecial]{animals+tpecial} \placeindex \stoptext See result in: https

Re: [NTG-context] sorting for particular sub entries to register

2022-01-31 Thread Robert via ntg-context
[Plenary+aeriti]{Plenary Council+aeriti (experts)} >> >> S\index[animals+special]{animals+‘special kinds’} >> B\index[animals+bpecial]{animals+bpecial} >> A\index[animals+apecial]{animals+‘apecial’} >> U\index[animals+upecial]{animals+‘upecial’} >> T\index[anima

Re: [NTG-context] sorting for particular sub entries to register

2022-01-31 Thread jbf via ntg-context
} \placeindex \stoptext See result in: https://live.contextgarden.net/cgi-bin/result.cgi?id=j46XhZ Adam On Mon, Jan 31, 2022 at 10:38 PM jbf via ntg-context wrote: Let me come back to the unresolved (for me) question of two situations in sub entries to a book index (register). Sub entries

Re: [NTG-context] sorting for particular sub entries to register

2022-01-31 Thread Adam Reviczky via ntg-context
)} A\index[Plenary+aeriti]{Plenary Council+aeriti (experts)} S\index[animals+special]{animals+‘special kinds’} B\index[animals+bpecial]{animals+bpecial} A\index[animals+apecial]{animals+‘apecial’} U\index[animals+upecial]{animals+‘upecial’} T\index[animals+tpecial]{animals+tpecial} \placeindex

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] Indexing redux

2021-08-26 Thread Rik Kabel via ntg-context
pseudepigraphy]{pseudepigraphy}pseudepigraphy\quad 2\par \quad {\em See also} \in[obliteration]    \stopIndex    \startIndex{t} \reference[TravenB]{Traven, B.}Traven, B.\quad 2    \stopIndex    \startIndex{w} Weimaraner\quad {\em see under} \in[

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

2021-01-07 Thread jbf
lternative? Cordially, Jairo El jue, 7 de ene. de 2021 a la(s) 18:01, jbf (roma83...@gmail.com <mailto:roma83...@gmail.com>) escribió: Thanks Jairo, with some tweaking I now have it working ( I had \placeindex instead of \placemyindex! And altered the 'style' name to something el

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

2021-01-07 Thread Jairo A. del Rio
@gmail.com) escribió: > Thanks Jairo, with some tweaking I now have it working ( I had \placeindex > instead of \placemyindex! And altered the 'style' name to something else as > you hinted I should). > > Now, this might be asking too much of ConTeXt, but some Newspaper names > don

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

2021-01-07 Thread jbf
Thanks Jairo, with some tweaking I now have it working ( I had \placeindex instead of \placemyindex! And altered the 'style' name to something else as you hinted I should). Now, this might be asking too much of ConTeXt, but some Newspaper names don't italicise the 'The', only the main name

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

2021-01-07 Thread jbf
Thanks Jairo, with some tweaking I now have it working ( I had \placeindex instead of \placemyindex! And altered the 'style' name to something else as you hinted I should). Now, this might be asking too much of ConTeXt, but some Newspaper names don't italicise the 'The', only the main name

Re: [NTG-context] Index formatting difference LMTX and MkIV redux

2020-11-17 Thread Rik Kabel
and convenience, the precious resources of tomorrow} \placeindex \stopchapter \stoptext produces, with MkIV: and with LMTX: The example code shows one other instance as well, in the fourth indexed entry. Beside looking uglier, this results in a couple more pages for the same

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

2020-11-07 Thread Henning Hraban Ramm
im] [command=\Passim] > > \starttext > > xxx\index{First} > > yyy\index[passim->]{Second} > > zzz\seeindex{Third}{Second} > > \placeindex > > \stoptext Hi Wolfgang, forgot to answer: This solution works for me, thank you! Hraban ___

[NTG-context] MkIV and LMTX difference in comma list expansion

2020-10-26 Thread Rik Kabel
\stopBlockQuotation \startBlockQuotation[index={{{aam, aan}},{{aao, aap}}}]  \startparagraph   7 \quad when indexing \{\{\{aam, aan\}\},\{\{aao, aap\}\}\}.  \stopparagraph \stopBlockQuotation \placeindex \stoptext Did I misuse the comma list processing, or is this a bug

[NTG-context] Index formatting difference LMTX and MkIV redux

2020-10-21 Thread Rik Kabel
… by the military-industrial complex} \index{Eisenhower+Dwight D.+plundering, for our own ease and convenience, the precious resources of tomorrow} \placeindex \stopchapter \stoptext produces, with MkIV: and with LMTX: The example code shows one other instance as well, in the fourth indexed

[NTG-context] index issues

2020-10-14 Thread Henning Hraban Ramm
suppose you’ll remember; I left out the Lua table lookup for unified entries): \defineprocessor[kursiv][style=italicface] \define[1]\nIndex{\doifmodeelse{*footnote}{% \expanded{\index[kursiv->]{#1}}}% }{% \expanded{\index{#1}}}% }} (2) Can I avoid linebreaking of page ranges in \placein

[NTG-context] Index range with page number suffix

2020-09-24 Thread Duncan Hothersall
I need is: sausage 1-2i Is this possible? MWE \defineprocessor[important][right={\it{i}}] \starttext \samplefile{knuth} \startregister[index][sausage][important->sausage]{sausage} \dorecurse{6}{\samplefile{knuth}} \stopregister[index][sausage]{sausage} \samplefile{knuth} \page \placein

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

2020-09-04 Thread Wolfgang Schuster
appears only once which replaces the page number with "passim". \define[1]\Passim {passim} \defineprocessor [passim] [command=\Passim] \starttext xxx\index{First} yyy\index[passim->]{Second} zzz\seeindex{Third}{Second} \placeindex \stopt

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
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
{Ward, Peter} \samplefile{sapolsky}\index{Sapolsky, Robert} \seeindex{Ramm, Hraban}{} \seeindex{Hraban}{Ramm, Hraban} \page \placeindex[check=yes] \page \placeindex[check=no] \stoptext Massi ___ If your question

Re: [NTG-context] consistent index entries

2020-08-01 Thread Wolfgang Schuster
else return context(Name) end end \stopluacode \def\Ort#1{\index{\ctxlua{user.Lookup("#1")}}} You have to expand the \index argument: \define[1]\Ort{\expanded{\index{...}}} \starttext \Ort{Albano} \Ort{Altona} \Ort{Aurich} \strut\page \placeindex \stoptext The lookup wor

Re: [NTG-context] consistent index entries

2020-08-01 Thread Jairo A. del Rio
ot;Altona (Hamburg)", >> ["Aurich"] = "Aurich (Ostfriesland)" >> } >> >> function user.Lookup(Name) >> local Res = user.Lookups[Name] >> if Res then >> return context(Res) >> else >> retur

Re: [NTG-context] consistent index entries

2020-08-01 Thread Jairo A. del Rio
nz Rom)", > ["Altona"] = "Altona (Hamburg)", > ["Aurich"] = "Aurich (Ostfriesland)" > } > > function user.Lookup(Name) > local Res = user.Lookups[Name] > if Res then > return context(Res) > else > return context(

Re: [NTG-context] consistent index entries

2020-08-01 Thread Henning Hraban Ramm
(Name) local Res = user.Lookups[Name] if Res then return context(Res) else return context(Name) end end \stopluacode \def\Ort#1{\index{\ctxlua{user.Lookup("#1")}}} \starttext \Ort{Albano} \Ort{Altona} \Ort{Aurich} \strut\page \placeindex \stoptext The look

Re: [NTG-context] index with chapter and section numbers

2019-11-07 Thread Hans Hagen
{whatever 1}x\index {whatever 2}x\index {whatever 2}x \page \chapter {one} \section {alpha} x\index {whatever 1}x\index {whatever 2}x\index {whatever 2}x \page x\index {whatever 1}x\index {whatever 2}x\index {whatever 2}x \page \placeindex[n=1] \stoptext which then renders: w

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

2019-10-25 Thread Hans Hagen
but maybe a better solution is already there. Here's a very simple MWE to work on, in case it's possible: \starttext Cat\index{cat}, mouse\index{mouse}. \page Cat\index{cat}, dog\index{dog}. \page \placeindex \page Here I'd like to place only the "cat" entry:\par \placeindex[criter

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

2019-10-25 Thread mf
is already there. Here's a very simple MWE to work on, in case it's possible: \starttext Cat\index{cat}, mouse\index{mouse}. \page Cat\index{cat}, dog\index{dog}. \page \placeindex \page Here I'd like to place only the "cat" entry:\par \placeindex[criterium=?

Re: [NTG-context] formatting index entries

2019-08-21 Thread Robert Zydenbos
d] > > \starttext > > \dontleavehmode\index{sl->īga} > > \dontleavehmode\index{īga+normal} > > \dontleavehmode\index{bf->īga+bold} > > \placeindex[balance=no] > > \stoptext > > Wolfgang > _

Re: [NTG-context] formatting index entries

2019-08-21 Thread Wolfgang Schuster
\dontleavehmode\index{sl->īga} \dontleavehmode\index{īga+normal} \dontleavehmode\index{bf->īga+bold} \placeindex[balance=no] \stoptext Wolfgang ___ If your question is of interest to others as well, please add an

[NTG-context] registers: subentry indentation different from word--number gap?

2019-07-12 Thread Sanjoy Mahajan
I don't think the current behavior is a bug, so the following is a feature request: With the following fairly minimal example \setupregister[index][indicator=no, distance=0.5em] \starttext ABC\index{x}DEF\index{x+yyz} \blank \placeindex \stoptext the distance parameter sets (1

[NTG-context] index page ranges where start page == end page

2019-07-09 Thread Sanjoy Mahajan
The following probably well known minimal example \starttext \startregister[index][key1]{an entry}\input knuth\stopregister[index][key1] \placeindex \stoptext produces the index entry "an entry 1--1", where the page range should be just a single page. A question (an

[NTG-context] registers: setting pageleft parameter by index term

2019-04-29 Thread mf
}. \page Bar\index{bar}. \page Baz\index{baz}. \page \placeindex \stoptext The pageleft parameter of \setupindex (\setupregister) is normally set to " p.~", but it gets redefined to " P.~" for the second term in the index ("baz"). Here i'm using a counter and i ch

Re: [NTG-context] index entries printed over each other

2019-04-14 Thread Henning Hraban Ramm
ith > > \setupindex[balance=no] Of course, I should have remembered that. > or disable columns for the index and flush the content within a columns > environment. > > \startmixedcolumns %[grid=no] > \placeindex[n=1] > \stopmixedcolumns Both work and give the same result, thank you!

Re: [NTG-context] index entries printed over each other

2019-04-14 Thread Wolfgang Schuster
with LuaTeX; the same with the previous version. This can be a problem with the columns mechanism. You can try to disable balancing with \setupindex[balance=no] or disable columns for the index and flush the content within a columns environment. \startmixedcolumns %[grid=no] \placeindex[n=1

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Henning Hraban Ramm
and like \at for more than one page anyway; or is there a need to collapse pages in bibliographies? Test case: \usemodule[visual] \setuppapersize[A6] \setupregister[index][ compress=yes, %compresssymbols={\,f.,\,ff.}, %compress=symbols, ] \starttext \placeindex\index{nonsense} \

Re: [NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Jeong Dal
OneTwo}{\bf OneTwo} \stopExam \stopchapter } \page \placeindex \stoptext % > Wolfgang > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : n

[NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Jeong Dal
eorem{\index{ThreeOne}{\bf ThreeOne}} This is the first Theorem \stopTheorem \startExam We call it \index{ThreeThree}{\bf ThreeThree} \stopExam \stopchapter \page \placeindex \stoptext %% How to get rid of the message [entry not flushed]? 2. Also, the numbers of examples is no

[NTG-context] \index[infinity]{$+\infty$} gives an error

2019-02-05 Thread Mikael P. Sundqvist
\starttext This does not look right: \index{entry} \index[key]{entry} \index[infinifty]{$+\infty$} \placeindex \stoptext % Error message tex error > tex error on line 68 in file /home/mps/tmp/indexproblem.tex: ! Extra }, or forgotten $ } ...mand {[internal expandable lua function c

Re: [NTG-context] Bidi-related register problem

2019-01-27 Thread Rik Kabel
On 1/27/2019 12:07, Hans Hagen wrote: On 1/27/2019 12:59 AM, Rik Kabel wrote: Here is a much-closer-to minimal example.   \setupregister   [index] [maxwidth=4cm]   \setupdirections [bidi=on,method=two]   \starttext   .\index{Mairzy doats and dozy doats and liddle lamzy divey}   \placeindex

Re: [NTG-context] Bidi-related register problem

2019-01-27 Thread Hans Hagen
On 1/27/2019 12:59 AM, Rik Kabel wrote: Here is a much-closer-to minimal example.  \setupregister   [index] [maxwidth=4cm]  \setupdirections [bidi=on,method=two]  \starttext  .\index{Mairzy doats and dozy doats and liddle lamzy divey}  \placeindex  \stoptext With the \setupdirections

Re: [NTG-context] Bidi-related register problem

2019-01-26 Thread Rik Kabel
Here is a much-closer-to minimal example.  \setupregister   [index] [maxwidth=4cm]  \setupdirections [bidi=on,method=two]  \starttext  .\index{Mairzy doats and dozy doats and liddle lamzy divey}  \placeindex  \stoptext With the \setupdirections line removed, all is well. However, that line

Re: [NTG-context] Possible seeindex enhancement

2018-10-27 Thread Rik Kabel
depigraphy} \index{Traven, B.} \placeindex \stoptext -- Rik ___ 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/li

Re: [NTG-context] index with more than one column?

2018-08-26 Thread Wolfgang Schuster
dex]%[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 column? This produces one column only: \startchapter[title=\mytitle{Register}] \startcolumns[n=2] \placeregister[index] \stopcolumns Nor did \placeregister[index][n=2] or \place

Re: [NTG-context] index with more than one column?

2018-08-26 Thread Wolfgang Schuster
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 the columns envirenment, produce the result wanted. The \startsimplecolumns[n=2] environment

[NTG-context] index with more than one column?

2018-08-26 Thread Hans van der Meer
How do I produce an index with more than one column? This produces one column only: \startchapter[title=\mytitle{Register}] \startcolumns[n=2] \placeregister[index] \stopcolumns Nor did \placeregister[index][n=2] or \placeindex[n=2], with or without

Re: [NTG-context] title of index

2018-07-19 Thread Hans van der Meer
atter\startappendices typesets as “I Index”. >> How can I change and format with my custom macro the part “Index”? >> Such as using \mytitle{xyz} instead of Index? >> >> No solution found in the Context Wiki. >> >> dr. Hans van der Meer >> > >

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

[NTG-context] issue with balanced columns

2018-07-15 Thread Pablo Rodriguez
, pupil} \index{μανθάνω: learn} \index{μισθός, ὁ: wages, pay, hire} \index{νόμος, ὁ: custom, law} \index{ὁρκίζω: bind by oath} \index{υἱός, ὁ: son} \index{χρέομαι: use} \index{ὠφέλειη, ἡ: help, aid, benefit} \placeindex \stoptext Although colums are balanced, I get

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

2018-06-25 Thread Alan Braslau
> >> %\index{fun} > > >> \seeindex{fun}{sample}% now with heading (as it should be) > > >> \seeindex{fun}{blah}% not shown > > >> \seeindex{fun}{humbug}% not shown > > >> \seeindex{fun}{bug}% not shown > > >> \seeindex{fun+games}{entert

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

2018-06-25 Thread Hans Hagen
\index{sample} \index{fun+games}\index{fun+stuff} %\index{fun} \seeindex{fun}{sample}% now with heading (as it should be) \seeindex{fun}{blah}% not shown \seeindex{fun}{humbug}% not shown \seeindex{fun}{bug}% not shown \seeindex{fun+games}{entertainment}% not shown \placeindex[n=1] \stoptext When I

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

2018-06-25 Thread Alan Bowen
; \seeindex{fun}{blah}% not shown > >> \seeindex{fun}{humbug}% not shown > >> \seeindex{fun}{bug}% not shown > >> \seeindex{fun+games}{entertainment}% not shown > >> \placeindex[n=1] > >> \stoptext > >> When I generate the indices for my book, \s

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

2018-06-24 Thread Henning Hraban Ramm
index{sample} >> \index{fun+games}\index{fun+stuff} >> %\index{fun} >> \seeindex{fun}{sample}% now with heading (as it should be) >> \seeindex{fun}{blah}% not shown >> \seeindex{fun}{humbug}% not shown >> \seeindex{fun}{bug}% not shown >> \seeindex{fun+

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

2018-06-24 Thread Hans Hagen
with heading (as it should be) \seeindex{fun}{blah}% not shown \seeindex{fun}{humbug}% not shown \seeindex{fun}{bug}% not shown \seeindex{fun+games}{entertainment}% not shown \placeindex[n=1] \stoptext When I generate the indices for my book, \seeindex{A}{B} works only if it is a unique x-ref

[NTG-context] latest beta and \seeindex

2018-06-23 Thread Alan Bowen
{fun}{blah} % not shown \seeindex{fun}{humbug} % not shown \seeindex{fun}{bug} % not shown \seeindex{fun+games}{entertainment} % not shown \placeindex[n=1] \stoptext When I generate the indices for my book, \seeindex{A}{B} works only if it is a unique x-ref and A is a heading. Multiple x-refs

Re: [NTG-context] error in seeindex sorting

2018-06-15 Thread Alan Bowen
\seeindex{fun}{bug} % not shown \seeindex{fun+games}{entertainment} % not shown \placeindex[n=1] shows several problems in \seeindex. What is needed is fun 1 *see blah, bug, humbug, and sample* games 1 *see entertainment* stuff1 As Hraban has indicated, there is some urgency here

Re: [NTG-context] error in seeindex sorting

2018-06-13 Thread Henning Hraban Ramm
In latest beta, the error got bigger: \starttext \index{sample} \index{Fun+games}\index{Fun+stuff} \seeindex{Fun}{sample} \seeindex{Fun}{bug} % missing! \seeindex{Fun}{blah} \placeindex[n=1] \stoptext now gives f Fun see blah games , see sample stuff s sample i.e. * multiple seeindex

[NTG-context] error in seeindex sorting

2018-06-11 Thread Henning Hraban Ramm
stuff 1 \starttext \index{sample} \index{Fun+games}\index{Fun+stuff} \seeindex{Fun}{sample} \placeindex[n=1] \stoptext This prevents the completion of a scientific tome, so would be really nice if this could be fixed. Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net

[NTG-context] highlighting in registers (index)

2018-06-11 Thread Henning Hraban Ramm
emph][style=italic] \starttext \index{Sun} \index{Sun->rays} \index{emph->Sun} \index{Sun+emph->rays} % doesn’t work \index{emph->Sun+rays} % rays upright \index{emph->Sun+beams} % beams italic \placeindex[n=1] \stoptext """ Greetlings, Hraban --- https://

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

2018-05-25 Thread Alan Bowen
gt; space after “and” is missing and should the order of the refs not be > alphabetical? > > MWE > > \starttext > \seeindex{animal}{cat} > \seeindex{animal}{quadruped} > > %\seeindex{animal}{whiskers} > > The \index{cat}cat has \index{whiskers} whiskers. > \blank[3*big] &g

[NTG-context] index x-ref problem

2018-05-19 Thread Alan Bowen
} %\seeindex{animal}{whiskers} The \index{cat}cat has \index{whiskers} whiskers. \blank[3*big] \placeindex \stoptext Uncomment the \seeindex{animal}{whiskers} and it gets even messier. Alan ___ If your question

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
geleft=\wordorparagraphright\bgroup, pageright=\egroup] \starttext \CONTEXT\index{\ConTeXt} \page \LATEX\index{\LaTeX} \page \CONTEXT\index{\ConTeXt} \page \placeindex \stoptext --- I suppose it's related to the problem that \groupedcommand

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread Hans Hagen
} \page \LATEX\index{\LaTeX} \page \CONTEXT\index{\ConTeXt} \page \setupregisterpagescommand{\wordright} \placeindex \page \resetregisterpagescommand \placeindex \stoptext btw, Hans, are you going to add an option to \setupregister? :) knowing that wolfgang looked into it i just wait till he cooks up

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread Wolfgang Schuster
} \page \LATEX\index{\LaTeX} \page \CONTEXT\index{\ConTeXt} \page \placeindex \stoptext Wolfgang MF <mailto:mass...@fastwebnet.it> 10. Mai 2018 um 12:35 This is a more polite version, that lets you restore the original macros. \let\origstartregisterpages=\startregisterpages

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
\CONTEXT\index{\ConTeXt} \page \setupregisterpagescommand{\wordright} \placeindex \page \resetregisterpagescommand \placeindex \stoptext btw, Hans, are you going to add an option to \setupregister? :) ___ If your question

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
roup } \unexpanded\def\stopregisterpages{\egroup\origstopregisterpages} \setupregister[index][n=1,alternative=A] \starttext \CONTEXT\index{\ConTeXt} \page \LATEX\index{\LaTeX} \page \CONTEXT\index{\ConTeXt} \page \placeindex \stoptext I've also learned about \groupedcommand, which i did not know

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-09 Thread Wolfgang Schuster
native=A] \starttext \CONTEXT\index{\ConTeXt} \page \LATEX\index{\LaTeX} \page \CONTEXT\index{\ConTeXt} \page \placeindex \stoptext The index is at page 4. I want to move the numbers "1,3" and "2" to the right. The parameter pagecommand is for the single page number, i want to put a c

[NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-09 Thread MF
Hello list, i'd like moving the page numbers in my index to the right, with a \wordright. \setupregister[index][n=1,alternative=A] \starttext \CONTEXT\index{\ConTeXt} \page \LATEX\index{\LaTeX} \page \CONTEXT\index{\ConTeXt} \page \placeindex \stoptext The index is at page 4. I want to move

Re: [NTG-context] \completeindex and \setuparranging

2018-03-19 Thread Wolfgang Schuster
ex I responded too quickly. Look at the two pictures attached : - \placeindex does not mark the pages - \completeindex only marks page 19 (the last page) Your example doesn’t help because it doesn’t show the problem. That's the context : --- \setuppapersize[A5][A4,lan

[NTG-context] \completeindex and \setuparranging

2018-03-19 Thread Gerard
: - \placeindex does not mark the pages - \completeindex only marks page 19 (the last page) That's the context : --- \setuppapersize[A5][A4,landscape] \setuparranging[2UP] \setupregister[index][n=2,     pagestyle=bold] \starttext \externalfigure[Alaude][width=\textwidth

Re: [NTG-context] \completindex in \setuparranging

2018-03-18 Thread Pablo Rodriguez
ge belongs to is the old one. Just in case it helps, Pablo > Le 18/03/2018 à 20:32, Wolfgang Schuster a écrit : >> >>> survoje <mailto:surv...@free.fr> >>> 18. März 2018 um 19:37 >>> >>> Bonjour, >>> >>> \

[NTG-context] \completindex in \setuparranging

2018-03-18 Thread Gerard
<mailto:surv...@free.fr> 18. März 2018 um 19:37 Bonjour, \completeindex (or \placeindex) works in this case : \setuppapersize[A5]%[A4,landscape] %\setuparranging[2UP] with % but does not work in this case : \setuppapersize[A5][A4,landscape] \setuparranging[2UP] I do not understand where

Re: [NTG-context] \xmldoifelseempty

2018-03-18 Thread Wolfgang Schuster
survoje <mailto:surv...@free.fr> 18. März 2018 um 19:37 Bonjour, \completeindex (or \placeindex) works in this case : \setuppapersize[A5]%[A4,landscape] %\setuparranging[2UP] with % but does not work in this case : \setuppapersize[A5][A4,landscape] \setuparranging[2UP]

Re: [NTG-context] \xmldoifelseempty

2018-03-18 Thread Pablo Rodriguez
On 03/18/2018 07:37 PM, survoje wrote: > Bonjour, > > \completeindex (or \placeindex) works in this case : > > \setuppapersize[A5]%[A4,landscape] > %\setuparranging[2UP] > > with % > > but does not work in this case : > > \setuppapersize[A5][A4,landsca

Re: [NTG-context] \xmldoifelseempty

2018-03-18 Thread survoje
Bonjour, \completeindex (or \placeindex) works in this case : \setuppapersize[A5]%[A4,landscape] %\setuparranging[2UP] with % but does not work in this case : \setuppapersize[A5][A4,landscape] \setuparranging[2UP] I do not understand where is my mistake ! Thank you for your help

[NTG-context] tex error Argument of \titlecmd has an extra }

2018-03-06 Thread ????????
tups{Appendices} \title{} \placepublications \title{} \placeindex \page \setups{Empty} \stopappendices \startbackmatter \stopbackmatter \stoptext___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] Broken Index Behavior?

2018-03-02 Thread luigi scarso
; \index{Camel}Camel > \pagebreak > \index{Baboon}Baboon > \placeindex[compress=yes] > \stoptext > > Outputs Index like this: > > A > Aardvark 1 > > B > Baboon 1 > > C > Camel 1 > > B > Baboon 2 > > and issues warning when compiling: > refe

[NTG-context] Broken Index Behavior?

2018-03-01 Thread Brian Wedde
. %Minimal example: % ConTeXt  ver: 2017.05.15 21:48 MKII  fmt: 2017.8.17  int: english/english \enableregime[utf] \starttext \index{Aardvark}Aardvark \index{Baboon}Baboon \index{Camel}Camel \pagebreak \index{Baboon}Baboon \placeindex[compress=yes] \stoptext Outputs Index like this: A Aardvark 1 B Baboon

Re: [NTG-context] Passing two arguments from Lua to Context

2018-02-13 Thread Hans Hagen
acode you need to use context["goto"]("Index",{"ref:index"}) -- this does not work because "goto" is a reserved lua word you can't say foo.if or foo.end either \input ward.tex \stopchapter \starttitle[title={Index}] \startluacode local s,t = &

Re: [NTG-context] Passing two arguments from Lua to Context

2018-02-13 Thread Otared Kavian
de context.index("Knuth") context.index("Ward") context("Read Knuth and see also the ") local s,t = "Index","ref:index" context.MyGoTo({s},{t}) -- context.goto("Index",{"ref:index"}) --

[NTG-context] Paasing two arguments from Lua to Context

2018-02-13 Thread Otared Kavian
say \pagereference[ref:index], but I need a construction such as this: \startluacode local s,t = "ref:","index" context.pagereference({s..t}) \stopluacode \placeindex \stoptitle \stoptext %% end test-lua-reference.tex

Re: [NTG-context] about \placeindex: uppercase initial and lowercase initial, two languages

2018-01-28 Thread Pablo Rodriguez
On 01/28/2018 03:16 PM, Jeong Dal wrote: > Hi, > > To place the index at the end of the book, I put \placeindex before > \stopproduct. > It is compiled well. > But, for the better output, I have two questions about the index. > > 1. In the output, it distinguished

[NTG-context] about \placeindex: uppercase initial and lowercase initial, two languages

2018-01-28 Thread Jeong Dal
Hi, To place the index at the end of the book, I put \placeindex before \stopproduct. It is compiled well. But, for the better output, I have two questions about the index. 1. In the output, it distinguished uppercase and lowercase initial. For example, S Squeeze theorem s set simple

[NTG-context] (again) references to sections in registers

2018-01-27 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \chapter{Chapter} \section{Section} \index{one} \subsection{Subsection} \index{two} \placeindex \stoptext How can I do the following? - "one" is referred in the ind

Re: [NTG-context] Problem with \seeindex and two + entries

2017-11-15 Thread Alan Braslau
; > Some text. > > \index{Aaa+SecondPlus} > > \index{Bbb+SecondPlus} > > \index{Mmm+Plus} > > \index{Mmm+SecondPlus} > > \index{Ppp+Plus} > > \index{Ppp+SecondPlus} > > \index{Ooo, Comma} > > \index{Nnn, Comma} > >

[NTG-context] Problem with \seeindex and two + entries

2017-11-15 Thread Alan Braslau
> \index{Ooo, Comma} > \index{Nnn, Comma} > Some more text. > \page > \placeindex > \stoptext > > > -- > > Rik ___ If your question is of interest to others as well

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

2017-10-06 Thread Henning Hraban Ramm
{Zapf} \placeindex \stoptext The generated index sorts everything that is indexed via \Sindex{} after "Some". In the book, I’m using ConTeXt’s abbreviations (synonyms) mechanism and resolve them with \infull, so that all the organizations are sorted after "infull". I don

  1   2   3   >