[NTG-context] Re: index entry with sorting and processor

2024-09-27 Thread Marcus Vinicius Mesquita
; \starttext > > anything\setregisterentry[index][entries=Anything] > > something\setregisterentry[index][entries=Something] > > \page > > Anything\setregisterentry[index][keys=Red->Anything,entries=Titling->anything] > > Something\setregisterentry[index][keys=Re

[NTG-context] Re: index entry with sorting and processor

2024-09-27 Thread Henning Hraban Ramm
] something\setregisterentry[index][entries=Something] \page Anything\setregisterentry[index][keys=Red->Anything,entries=Titling->anything] Something\setregisterentry[index][keys=Red->Something,entries=Titling->something] \page \placeindex \stoptext """ Hraban (WRT pro

[NTG-context] Re: index entry with sorting and processor

2024-09-27 Thread Wolfgang Schuster
][entries=anything] % % something\setregisterentry[index][entries=something] % % \page Anything\setregisterentry[index][keys=hraban->,entries=henning->anything] Something\setregisterentry[index][keys=hraban->,entries=henning->something] \page \placeindex \stoptext end examp

[NTG-context] Re: index entry with sorting and processor

2024-09-26 Thread Marcus Vinicius Mesquita
also missing. > In the source, I found processors for entry & page, but not how to > address the latter. > > MWE: > """ > \defineprocessor[glossar][color=green] > \define[1]\GlIndex{\index[glossar->#1]{\Word{#1}}} > > \starttext > > \sampl

[NTG-context] index entry with sorting and processor

2024-08-25 Thread Henning Hraban Ramm
not how to address the latter. MWE: """ \defineprocessor[glossar][color=green] \define[1]\GlIndex{\index[glossar->#1]{\Word{#1}}} \starttext \samplefile{ward} \index{something} \index{anything} \page \samplefile{tufte} \GlIndex{something} \GlIndex{anything} \page \place

[NTG-context] Is there a short-cut to adding sub-categories for index entries?

2024-08-25 Thread Joel via ntg-context
I have a document with thousands of index entries. Here’s a samplecode: \starttext Some people livedin \index{cliff-dwelling}cliff-dwellings, while others lived in\index{lean-to}lean-tos. \placeindex \stoptext This produces anindex like this: c cliff-dwelling 1 l

[NTG-context] Re: processor for index sub-entry?

2024-07-07 Thread Wolfgang Schuster
cessor[type][style=mono] \starttext xxx\setregisterentry[index][entries:1=Modules,entries:2=filter,processors:2=type] \placeindex[n=1] \stoptext Wolfgang ___ If your question is of interest to others as well, please

[NTG-context] Re: more register questions!

2024-05-07 Thread Rik Kabel
amplefile{lorem}\expanded{\setregisterentry[index][entries=\recurselevel]}% \samplefile{lorem}\footnote{xxx\expanded{\setregisterentry[index][entries=\recurselevel][footnote={\rawcountervalue[footnote]}]}}%    \samplefile{lorem}} \page \placei

[NTG-context] Re: more register questions!

2024-05-03 Thread Thomas A. Schmitz
tnote={\rawcountervalue[footnote]}]}}%    \samplefile{lorem}} \page \placeindex \stoptext Wolfgang -- Prof. Dr. Thomas A. Schmitz Institut für Klassische und Romanische Philologie Universität Bonn Rabinstr. 8 53111 Bonn http://www.philologie.uni-bonn.de/de/personal/sc

[NTG-context] Re: more register questions!

2024-05-03 Thread Wolfgang Schuster
xpanded{\setregisterentry[index][entries=\recurselevel]}% \samplefile{lorem}\footnote{xxx\expanded{\setregisterentry[index][entries=\recurselevel][footnote={\rawcountervalue[footnote]}]}}%    \samplefile{lorem}} \page \placei

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

2024-03-13 Thread Joel via ntg-context
7: > 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 >

[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 secondary.tex

[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 handle the {...+...} syntax for both arguments.) Alan ___

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-14 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, displ

[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
ence 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 confus

[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
dex[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} \placeind

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

2022-01-31 Thread Robert via ntg-context
xperts)} >> 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

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

2022-01-31 Thread jbf via ntg-context
ls+tpecial} \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). S

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 in the

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}

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

2021-01-07 Thread jbf
the list has a cleaner alternative? 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 's

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

2021-01-07 Thread Jairo A. del Rio
83...@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

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&

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&

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

2020-11-17 Thread Rik Kabel
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
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-23 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
ndex{passim->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 wi

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

2020-09-03 Thread Henning Hraban Ramm
an 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 lookup works

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
at, 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:\pa

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

2019-10-25 Thread mf
s 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 \pl

Re: [NTG-context] formatting index entries

2019-08-21 Thread Robert Zydenbos
t; \defineprocessor [bf] [style=bold] > > \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
essor [bf] [style=bold] \starttext \dontleavehmode\index{sl->īga} \dontleavehmode\index{īga+normal} \dontleavehmode\index{bf->īga+bold} \placeindex[balance=no] \stoptext Wolfgang ___ If your question is of intere

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

2019-07-11 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 se

[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

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

2019-04-14 Thread Henning Hraban Ramm
t; \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
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
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
ex{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 is

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 the

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 and

[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 to

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
hould 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] > \placeindex > \stoptex

[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 is of

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
nce=0pt, pageleft=\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

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 is

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
rdright\bg 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

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
ternative=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 pu

[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 mov

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

2018-03-19 Thread Wolfgang Schuster
ent.tex 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[

[NTG-context] \completeindex and \setuparranging

2018-03-19 Thread Gerard
ached : - \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=

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] I

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,landscape]

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 ????????
s \setups{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 t

Re: [NTG-context] Broken Index Behavior?

2018-03-02 Thread luigi scarso
> \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: > references : duplicate ref

  1   2   3   4   >