Re: [NTG-context] Registers and getparameters

2018-01-23 Thread Otared Kavian
On 23 Jan 2018, at 10:19, Hans Hagen <pra...@wxs.nl> wrote: > > On 1/22/2018 8:26 PM, Wolfgang Schuster wrote: >>> […] >> You have to add \expanded, i.e. \expanded{\speakers{...}}. > > or maybe try the 'expanded' option > > \setupregister > [speakers]

Re: [NTG-context] Registers and getparameters

2018-01-23 Thread Hans Hagen
eakers. Then with the command \getparameters[Talk] I get the name of each speaker and try to write it to the register with \speakers{\TalkSpeakerName} You have to add \expanded, i.e. \expanded{\speakers{...}}. or maybe try the 'expanded' option \setupregister [speakers] [style=sansbold, n=2, expansi

Re: [NTG-context] Registers and getparameters

2018-01-22 Thread Otared Kavian
K. %%% begin register-talks.tex \setupinteraction[state=start] \defineregister[speakers] \setupregister [speakers] [style=sansbold, n=2] \startbuffer[pagetalk] \doflushatpar {\expanded{\speakers{\getvariable{talk}{speakername}}}% \expanded{\pagereference[talk:\getvariable{talk

Re: [NTG-context] Registers and getparameters

2018-01-22 Thread Wolfgang Schuster
gister[speakers] \setupregister [speakers] [style=sansbold, n=2] \startbuffer[pagetalk] \doflushatpar {\expanded{\speakers{\getvariable{talk}{speakername}}}% \expanded{\pagereference[talk:\getvariable{talk}{speakername}]}}% \starttabulate[|f{\bi}l|p|] \NC Speaker \EQ \getvariabl

[NTG-context] Registers and getparameters

2018-01-22 Thread Otared Kavian
help me in this matter? Thanks in advance for your attention and time! Best regards: OK %%% begin register-speaker.tex \defineregister[speakers] \setupregister[speakers] [ style=sansbold, %% headings n=2, %% columns ] \define\MakePageTalk{% \reference[ref

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

2017-10-09 Thread Jano Kula
ress} > \abbreviation{AV}{Auslandsvertretung} > \abbreviation{BArch}{Bundesarchiv} > > \defineregister[Sach][ > pagestyle=normal, > compress=yes, > indicator=no, > ] > \setupregister[Sach][style=normal] > > \def\Abk#1{\Sach{\infull{#1} (#1)}{\sc\lowercase{#1}}} > %\def\qAbk#

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

2017-10-01 Thread Henning Hraban Ramm
llgemeiner Deutscher Nachrichtendienst} >> \abbreviation{AFL}{American Federation of Labor} >> \abbreviation{ANC}{African National Congress} >> \abbreviation{AV}{Auslandsvertretung} >> \abbreviation{BArch}{Bundesarchiv} >> >> \defineregister[Sach][ &

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

2017-09-25 Thread Henning Hraban Ramm
{Bundesarchiv} > > \defineregister[Sach][ > pagestyle=normal, > compress=yes, > indicator=no, > ] > \setupregister[Sach][style=normal] > > \def\Abk#1{\Sach{\infull{#1} (#1)}{\sc\lowercase{#1}}} > %\def\qAbk#1{\Sach{\infull{#1} (#1)}} > > > \starttext > \section{In

[NTG-context] Sorting of abbreviations in index

2017-09-23 Thread Henning Hraban Ramm
of Labor} \abbreviation{ANC}{African National Congress} \abbreviation{AV}{Auslandsvertretung} \abbreviation{BArch}{Bundesarchiv} \defineregister[Sach][ pagestyle=normal, compress=yes, indicator=no, ] \setupregister[Sach][style=normal] \def\Abk#1{\Sach{\infull{#1} (#1)}{\sc\lowercase{#1}}} %\def

[NTG-context] a special kind of notes in each page

2017-06-01 Thread Pablo Rodriguez
and words alphabetically sorted, which is essential in a vocabulary. I guess that \definenote[NAME][alternative=register] and \setupregister[NAME][indicator=no, before=, after=] could be a good way to invoke these page-related vocabularies. Would it be possible to have such a feature? This would the way to

Re: [NTG-context] (again) index sorting of accented characters

2017-04-29 Thread Pablo Rodriguez
th Spanish and >> French, […] > > Even with {zm, zc} or any of the predefined methods I don’t really think > it is working completely as expected, even though the problem might just > occur in very special cases: Hi Florian, a simpler sample would be: \mainlangua

Re: [NTG-context] (again) index sorting of accented characters

2017-04-28 Thread Florian Grammel
edefined methods I don’t really think it is working completely as expected, even though the problem might just occur in very special cases: \setupregister[method={zm, zc}] \starttext \startTEXpage[offset=2em] \index{káv} \index{kav} \index{káva} \index{kava} \index{káf} \index{kaf} \index{káfa}

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

2017-04-27 Thread Rik Kabel
be something like „if within some environment/command" to the processors. With this also the formating of the items within the captions could be done automatically. A real problem though is that adding \setupregister [index] [compress=yes] will wrongly compress e.g. "aaa 1, 2, 1n“ to

[NTG-context] (again) index sorting of accented characters

2017-04-27 Thread Pablo Rodriguez
Dear list, sorry for bothering again with this issue, but I need to have indices in my documents. I have the following sample: \mainlanguage[es] \setupregister[method=default] \starttext \startTEXpage[offset=1em] \index{ámame}\index{arisco}\index{ándrago} \index{antonia

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

2017-04-27 Thread Florian Grammel
/command" to the processors. With this also the formating of the items within the captions could be done automatically. A real problem though is that adding \setupregister [index] [compress=yes] will wrongly compress e.g. "aaa 1, 2, 1n“ to "aaa 1–1n“. I’ll need to use compressed r

[NTG-context] bug in index sorting with latest beta?

2017-04-03 Thread Pablo Rodriguez
Dear list, I have this minimal sample: \mainlanguage[fr] \setupregister[method=default] \starttext Aristote\index{Aristote}, %~ Œdipe\index{Œdipe} Platon\index{Platon} d'Ænésidème\index{Ænésidème} \placeindex \stoptext If I comment the “Platon” entry

[NTG-context] Greek word sorting

2017-04-01 Thread Pablo Rodriguez
Hans, I have the following source: \mainlanguage[agr] \setupbodyfont[dejavu] \defineregister[indexgr][indexgrs] \setupregister[indexgr][pagenumber=no, balance=yes] \define[1]\grcindx{#1\index{#1}\indexgr{#1}} \setupregisters[n=3, pagenumber=no, method=default

Re: [NTG-context] understanding index sorting

2017-04-01 Thread Pablo Rodriguez
;> > I believe you want method=default for your \setupregister[index][] > options. The allowable values appear to be default, first, last, before, > and after. With nothing specified you do not get the same as specifying > default. I asked about these a while back but got no answe

Re: [NTG-context] understanding index sorting

2017-04-01 Thread Rik Kabel
\setupregister[index][] options. The allowable values appear to be default, first, last, before, and after. With nothing specified you do not get the same as specifying default. I asked about these a while back but got no answer. There is a cryptic explanation from 2010 at http://www.mail

Re: [NTG-context] aligning heads in indices

2017-04-01 Thread Pablo Rodriguez
m][GFS Didot] >> \setupbodyfont[mainface] >> >> \setupregister[index][style=\addfs{smcp}, command={\hfill}] >> [...] >> Is there no way to center the head in indices? >> [...] > > As to the centering, it works fine here with command=\centerline . Index &g

Re: [NTG-context] aligning heads in indices

2017-04-01 Thread Rik Kabel
On 2017-04-01 08:38, Pablo Rodriguez wrote: Dear list, I have the following sample: \showframe \definefontfeature[smcp][smcp=yes] \definefontfamily[mainface][rm][GFS Didot] \setupbodyfont[mainface] \setupregister[index][style=\addfs{smcp}, command={\hfill

[NTG-context] aligning heads in indices

2017-04-01 Thread Pablo Rodriguez
Dear list, I have the following sample: \showframe \definefontfeature[smcp][smcp=yes] \definefontfamily[mainface][rm][GFS Didot] \setupbodyfont[mainface] \setupregister[index][style=\addfs{smcp}, command={\hfill}] \starttext ancient\index{ancient} better\index

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

2017-01-14 Thread MF
text and use a > > textcommand in the index to pass from the id to the real entry. > > > > Suppose to use \setupregister[Animal][textcommand=\fromIdToEntry] > > and > > an indexEntry function modified like this: > > > > function xml.functions.inde

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

2017-01-14 Thread Hans Hagen
hought to index only the ids in the text and use a textcommand in the index to pass from the id to the real entry. Suppose to use \setupregister[Animal][textcommand=\fromIdToEntry] and an indexEntry function modified like this: function xml.functions.indexEntry(e) local animal = animals[e.at.i

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

2017-01-14 Thread MF
id to the real entry. Suppose to use \setupregister[Animal][textcommand=\fromIdToEntry] and an indexEntry function modified like this: function xml.functions.indexEntry(e)  local animal = animals[e.at.idref]  if animal then context.Animal( { animal.key }, e.at.idref )

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

2017-01-14 Thread Hans Hagen
know which one to choose so we consider them variants (one can for instance have bold and slanted keys at the same time) you can wrap the entry in \expanded or nicer is: \setupregister[expansion=yes] but if your entries contain markup you might like this more: \startbuffer[test] In this page

Re: [NTG-context] Problems with indexing (+feature requests)

2016-08-22 Thread Mohammad Hossein Bateni
][direction=reverse] \setupregister[index][ before=,after=, command=\MyCommand, alternative=b, color=red, ] \def\MyCommand#1{#1} %\def\MyCommand#1{\inframed[frame=no]{#1}} % this fixes the problem \showboxes \starttext \index{آب} \index{عذر} \index[تک]{TEX} testing \placeindex \stoptext any

[NTG-context] Problems with indexing (+feature requests)

2016-08-17 Thread Mohammad Hossein Bateni
ith extra space below. See attached PDF and the MWE. (I could not reproduce this with DejaVuSans or ALM Fixed.) \definefontfamily [myfamily] [serif] [Scheherazade] [features=arabic] \setupbodyfont[myfamily] \setupalign[r2l] \setupdirections[bidi=global,method=two] \setupmixedcolumns[register]

Re: [NTG-context] Ordered list of references (figures)

2015-10-05 Thread Henning Hraban Ramm
> \newif\iffirstFIDXpage > > \def\textcommand#1{#1\global\firstFIDXpagetrue} > \def\pagecommand#1{\iffirstFIDXpage (p.~\fi \global\firstFIDXpagefalse #1} > \def\stopregisterpages{)\dostoptagged\endgroup} > > \defineregister[fidx] > \setupregister[fidx][% >

Re: [NTG-context] Ordered list of references (figures)

2015-09-30 Thread Henning Hraban Ramm
igure? >>>> – How can I output that list? >>>> >>>> About like this?: >>>> >>>> \placefigure[top][someref]{\externalfigure[somepic]}\reference[someref]{Hraban >>>> Ramm} >>>> >>>> \ref[t][someref]

Re: [NTG-context] Ordered list of references (figures)

2015-09-30 Thread Taco Hoekwater
{\iffirstFIDXpage (p.~\fi \global\firstFIDXpagefalse #1} \def\stopregisterpages{)\dostoptagged\endgroup} \defineregister[fidx] \setupregister[fidx][% n=1, align=no, %alternative=B, compress=yes, indicator=no, textcommand=\textcommand, pagecommand=\pagecommand

[NTG-context] Question on register sort order and default method

2015-09-27 Thread Rik Kabel
Why does the sort order (for registers, lists of synonyms, and so on) differ when no method is specified compared to when method=default is specified? That is, should not the default method applied when no method is specified be that named ‘default’? \setupregister[index][n=1

Re: [NTG-context] Ordered list of references (figures)

2015-09-27 Thread Henning Hraban Ramm
by \listoffigures ? >> >> >> Extension: I need to integrate some unnumbered pages into the list, like the >> cover. > > Ok, I can use registers for that: > > \defineregister[fidx] > \setupregister[fidx][% > n=1, > compress=yes, > ind

[NTG-context] Typesetting levels of index differently

2015-09-23 Thread Sytse Knypstra
\setupregister command: \setupregister[.?.] \starttext \index{level+second} \completeindex % rendering 'second' as italic \stoptext Sytse ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Ordered list of references (figures)

2015-09-22 Thread Henning Hraban Ramm
\ref[t][someref] (\at{p.}[someref]) % put this in some command that is called > by \listoffigures ? > > > Extension: I need to integrate some unnumbered pages into the list, like the > cover. Ok, I can use registers for that: \defineregister[fidx] \setupregister[fidx][%

Re: [NTG-context] \defineprocessor and \at

2015-08-11 Thread Rik Kabel
, ] \defineregister[Index] \setupregister [Index][n=2, command=\Word, balance=no, compress=yes, ] \starttexdefinition unexpanded index \dosingleempty\dostartindex

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

2015-08-01 Thread Rik Kabel
[notBack] [style=normal] \defineregister [Index] \setupregister [Index] [n=2,command=\Word,balance=no,compress=yes] -- rik ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] Index items

2015-04-16 Thread Hans Hagen
)}% \index[Dissonance2Parall]{ + + parallel}s can be found as well. \setupregister[index][indicator=yes] \completeindex[compress=yes] \stoptext

Re: [NTG-context] Index items

2015-04-15 Thread Robert Blackstone
]{dissonance(s)}% \index[Dissonance2Parall]{ + + parallel}s can be found as well. \setupregister[index][indicator=yes] \completeindex[compress=yes] \stoptext

Re: [NTG-context] Spurious registers log entry?

2015-03-31 Thread Hans Hagen
On 3/31/2015 2:11 AM, Rik Kabel wrote: On 2015-03-29 17:47, Rik Kabel wrote: The following code: \setupregister[index][n=1] \starttext \index{A}\index{A+A}AA\seeindex{AA}{A+A}. \placeindex \stoptext generates the following log entry. structureregisters

Re: [NTG-context] Spurious registers log entry?

2015-03-30 Thread Rik Kabel
On 2015-03-29 17:47, Rik Kabel wrote: The following code: \setupregister[index][n=1] \starttext \index{A}\index{A+A}AA\seeindex{AA}{A+A}. \placeindex \stoptext generates the following log entry. structureregisters invalid see entry in register 'index

[NTG-context] Spurious registers log entry?

2015-03-29 Thread Rik Kabel
The following code: \setupregister[index][n=1] \starttext \index{A}\index{A+A}AA\seeindex{AA}{A+A}. \placeindex \stoptext generates the following log entry. structureregisters invalid see entry in register 'index', reference 'AA' No similar entry is produced

[NTG-context] placing registers on the same page

2014-11-15 Thread Alan Bowen
I currently have a problem setting the indices of a book. A minimal example \defineregister[mouse][mice] \setupregister[mouse][n=2,balance=no] \defineregister[house][houses] \setupregister[house][n=2,balance=no] \starttext rodents\mouse{rats+large} home\house{ranch+split-level} \page

Re: [NTG-context] placing registers on the same page

2014-11-15 Thread Pablo Rodriguez
On 11/15/2014 05:40 PM, Alan Bowen wrote: I currently have a problem setting the indices of a book. A minimal example [...] places the second register on its own page. How can I get the second register on the same page as the first? Hi Alan, removing [balance=no] from \setupregister outputs

Re: [NTG-context] placing registers on the same page

2014-11-15 Thread Alan Bowen
[...] places the second register on its own page. How can I get the second register on the same page as the first? Hi Alan, removing [balance=no] from \setupregister outputs both registers on the same page. Just in case it helps, Pablo -- http://www.ousia.tk

Re: [NTG-context] Testing the param value

2014-07-06 Thread Jan Tosovsky
\ IndexState}#1} \define[1]\IndexCommand {\setfalse\IndexState \setbox\scratchbox\hbox{#1}% \ifconditional\IndexState \column \fi \box\nextbox} \setupregister [index] [textcommand=\IndexCommand, deeptextcommand=\IndexInternalCommand] Thanks, it looks promising

Re: [NTG-context] Orphans/Widows in the Index

2014-07-05 Thread Jan Tosovsky
}% But when tested on this MWE, you can see a drawback - the first letter (p) starts always on the second line (not on the first one): \setupregister[balance=yes] \starttext \index{primary+secondary+tertiary} \index[primary long]{\dorecurse{5}{primary long }} \index[primary longer

Re: [NTG-context] Testing the param value

2014-07-05 Thread Wolfgang Schuster
]\IndexCommand {\setfalse\IndexState \setbox\scratchbox\hbox{#1}% \ifconditional\IndexState \column \fi \box\nextbox} \setupregister [index] [textcommand=\IndexCommand, deeptextcommand=\IndexInternalCommand] Wolfgang

Re: [NTG-context] Orphans/Widows in the Index

2014-06-25 Thread Jan Tosovsky
see a drawback - the first letter (p) starts always on the second line (not on the first one): \setupregister[balance=yes] \starttext \index{primary+secondary+tertiary} \index[primary long]{\dorecurse{5}{primary long }} \index[primary longer]{\dorecurse{5}{primary longer }} \input{tufte

Re: [NTG-context] second-level seeindex entry nested too deeply

2014-06-23 Thread Hans Hagen
!pagestyle\c!pagecolor} \unexpanded\def\stopregisterseewords {\dostoptagged \endgroup} \protect (P.S. What's the setupregister key that puts the see ... entry in italic? I seem to have turned it off in my environment file somewhere. Oh, it's 'pagestyle', but then how can one separately set

Re: [NTG-context] second-level seeindex entry nested too deeply

2014-06-23 Thread Sanjoy Mahajan
{\par % \ifhmode\crlf\fi \begingroup \setfalse\c_strc_registers_page_done \dostarttagged\t!registerpage\empty \useregisterstyleandcolor\c!pagestyle\c!pagecolor} \unexpanded\def\stopregisterseewords {\dostoptagged \endgroup} \protect \setupregister[index][n=1] \starttext

[NTG-context] small indexing glitch if index entry has extra {}

2014-06-23 Thread Sanjoy Mahajan
Here's a small glitch with indexing, which I ran into by chance and enclose a minimal example. Because of the extra {} in the entry \index{{two dimensional}} the index duplicates the entry: t two dimensional 1 two dimensional 1 \setupregister[index][n=1] \starttext \index{two

[NTG-context] second-level seeindex entry nested too deeply

2014-06-22 Thread Sanjoy Mahajan
the \index{area+ellipse} entry. (P.S. What's the setupregister key that puts the see ... entry in italic? I seem to have turned it off in my environment file somewhere. Oh, it's 'pagestyle', but then how can one separately set the style of the pagenumbers from the style of the see ...?) That aside

[NTG-context] distinguishing index entries according to function by using \setupregister

2014-06-07 Thread Sanjoy Mahajan
In MkII, one could configure the index to have different types of page entries, e.g. roman and italic, by using \setupregister, as in the example at http://wiki.contextgarden.net/Command/setupregister. That doesn't work with a fairly recent MkIV (2014.05.17 beta). I see that it's a long-standing

Re: [NTG-context] distinguishing index entries according to function by using \setupregister

2014-06-07 Thread Hans Hagen
On 6/7/2014 7:39 PM, Sanjoy Mahajan wrote: In MkII, one could configure the index to have different types of page entries, e.g. roman and italic, by using \setupregister, as in the example at http://wiki.contextgarden.net/Command/setupregister. That doesn't work with a fairly recent MkIV

Re: [NTG-context] distinguishing index entries according to function by using \setupregister

2014-06-07 Thread Sanjoy Mahajan
page, because I stopped looking after seeing the \setupregister command help. But I've updated that help to refer (for MkIV) to the Registers#Processors section. -Sanjoy ___ If your question is of interest to others

Re: [NTG-context] \seeindex and secondary index (register) levels

2014-03-19 Thread Rik Kabel
anything different, and in particular it does not create a link. Perhaps this new example better illustrates the problem: \setupinteraction[state=start] \setupregister[index][n=1] \setuppapersize[A7] \starttext \type{Dilbert} should be a link to the second-level on page~3

Re: [NTG-context] [Index] Indenting long primaries after secondaries

2014-03-16 Thread Hans Hagen
On 3/7/2014 6:54 PM, Jan Tosovsky wrote: On 2014-02-26 Jan Tosovsky wrote: when a long primary is preceded with the secondary or tertiary index entry, the second line is not indented as usual, see the following example: \setupregister[balance=no] \starttext \index{primary+secondary+tertiary

Re: [NTG-context] [Index] Indenting long primaries after secondaries

2014-03-16 Thread Jan Tosovsky
On 2014-03-16 Hans Hagen wrote: On 3/7/2014 6:54 PM, Jan Tosovsky wrote: On 2014-02-26 Jan Tosovsky wrote: when a long primary is preceded with the secondary or tertiary index entry, the second line is not indented as usual, see the following example: \setupregister[balance

Re: [NTG-context] [Index] Indenting long primaries after secondaries

2014-03-16 Thread Hans Hagen
: \setupregister[balance=no] \starttext \index{primary+secondary+tertiary} \index[primary long]{\dorecurse{5}{primary long }} \index[primary longer]{\dorecurse{5}{primary longer }} % Ok \input{tufte} \completeindex \stoptext how is a \dorecurse supposed to get sorted ... That \dorecurse

Re: [NTG-context] [Index] Indenting long primaries after secondaries

2014-03-16 Thread Hans Hagen
: \setupregister[balance=no] \starttext \index{primary+secondary+tertiary} \index[primary long]{\dorecurse{5}{primary long }} \index[primary longer]{\dorecurse{5}{primary longer }} % Ok \input{tufte} \completeindex \stoptext how is a \dorecurse supposed to get sorted ... That \dorecurse

Re: [NTG-context] [Index] Indenting long primaries after secondaries

2014-03-16 Thread Jan Tosovsky
On 2014-03-16 Hans Hagen wrote: On 2014-02-26 Jan Tosovsky wrote: when a long primary is preceded with the secondary or tertiary index entry, the second line is not indented as usual, see the following example: \setupregister[balance=no] \starttext \index{primary+secondary

Re: [NTG-context] [Index] Indenting long primaries after secondaries

2014-03-16 Thread Hans Hagen
On 3/16/2014 6:31 PM, Jan Tosovsky wrote: On 2014-03-16 Hans Hagen wrote: On 2014-02-26 Jan Tosovsky wrote: when a long primary is preceded with the secondary or tertiary index entry, the second line is not indented as usual, see the following example: \setupregister[balance=no] \starttext

[NTG-context] new beta

2014-03-07 Thread Hans Hagen
of all a memory issue due to limitations in luajit, after that a 20 fold slowdown thanks to poor hashing) but Luigi and I were able to sort that out. If you use luajittex and run into memory issues (indicated by the inability to load the tuc file) you can say \setupregister[index

Re: [NTG-context] [Index] Indenting long primaries after secondaries

2014-03-07 Thread Jan Tosovsky
On 2014-02-26 Jan Tosovsky wrote: when a long primary is preceded with the secondary or tertiary index entry, the second line is not indented as usual, see the following example: \setupregister[balance=no] \starttext \index{primary+secondary+tertiary} \index[primary long]{\dorecurse{5

[NTG-context] [Index] Indenting long primaries after secondaries

2014-02-26 Thread Jan Tosovsky
Dear All, when a long primary is preceded with the secondary or tertiary index entry, the second line is not indented as usual, see the following example: \setupregister[balance=no] \starttext \index{primary+secondary+tertiary} \index[primary long]{\dorecurse{5}{primary long }} \index[primary

Re: [NTG-context] luatex crashes

2014-01-21 Thread Henning Hraban Ramm
, and no TUC file is created. If I put it back, it works again. Rather minimal example: --- \setupregister[index][align=yes] \starttext \dorecurse{20}{% \expanded{\chapter{My chapter \recurselevel}} \expanded{\index{Index entry \recurselevel}} \expanded{\section{My Zapf \recurselevel}} \input zapf

Re: [NTG-context] Index entries - custom font size

2013-11-23 Thread Jan Tosovsky
are smaller twice and tertiary items three times... \setupregister[index][command=\Word, textstyle=small] \starttext \index{primary}\index{primary+secondary}\index{primary+secondary+tertia ry}Text \completeindex \stoptext The following code switches the font size for all the index content. Even

[NTG-context] Index entries - custom font size

2013-11-16 Thread honyk
items three times... \setupregister[index][command=\Word, textstyle=small] \starttext \index{primary}\index{primary+secondary}\index{primary+secondary+tertiary}Te xt \completeindex \stoptext How can I set the same value to all the levels? Thanks, Jan

Re: [NTG-context] Index - ranges

2013-11-12 Thread honyk
to upper case: \setupregister[index][n=2,command=\Word,style=normal] Can these commands be combined together somehow? Or is it obsolete in favor of (A)? Thanks, Jan ___ If your question is of interest to others as well

[NTG-context] Handling index entries with many references

2013-06-09 Thread honyk
there are first three page references listed for that index entry followed by 'and many' phrase. Can something like this be done in the ConTeXt (MkIV)? No interactivity is needed. The PDF output will be used just for printing. \setupregister[index][coupling=yes] is not exactly what I want. Thanks, Jan

Re: [NTG-context] Handling index entries with many references

2013-06-09 Thread Wolfgang Schuster
. \setupregister[index][coupling=yes] is not exactly what I want. Do you have a example what you did in MkII? Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] Handling index entries with many references

2013-06-09 Thread honyk
. The PDF output will be used just for printing. \setupregister[index][coupling=yes] is not exactly what I want. Do you have a example what you did in MkII? I hadn't typeset anything like this before. When mentioning the old book, I mean manually typeset book (not digital one) produced

[NTG-context] Two questions about registers

2013-06-02 Thread Marcin Borkowski
with subsequent letters of the alphabet. I did [indicator=no] in \setupregister, but still got the *vertical spacing* between gropus of entries beginning with the same letter. Then, I did also [before={}], but then the space between entry groups is actually *smaller* than the usual interline space (confirmed

Re: [NTG-context] Two questions about registers

2013-06-02 Thread Marcin Borkowski
section and not a numbered chapter.) OK, I've just found out about \setupheadtext[register={...}], but the rest of my problems are still unsolved for me. 2. I'd like my register not to have the headers with subsequent letters of the alphabet. I did [indicator=no] in \setupregister, but still got

Re: [NTG-context] Two questions about registers

2013-06-02 Thread Marcin Borkowski
with subsequent letters of the alphabet. I did [indicator=no] in \setupregister, but still got the *vertical spacing* between gropus of entries beginning with the same letter. Then, I did also [before={}], but then the space between entry groups is actually *smaller* than the usual

Re: [NTG-context] Two questions about registers

2013-06-02 Thread Wolfgang Schuster
like my register not to have the headers with subsequent letters of the alphabet. I did [indicator=no] in \setupregister, but still got the *vertical spacing* between gropus of entries beginning with the same letter. Then, I did also [before={}], but then the space between entry groups

Re: [NTG-context] Two questions about registers

2013-06-02 Thread Marcin Borkowski
letters of the alphabet. I did [indicator=no] in \setupregister, but still got the *vertical spacing* between gropus of entries beginning with the same letter. Then, I did also [before={}], but then the space between entry groups is actually *smaller* than the usual interline space

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

2013-04-12 Thread WolfgangZ
,right=\eTD, first=\bTR,last=\eTR, before=\bTABLE,after=\eTABLE, setups=MyTableWrong] \defineregister[Correctliste][style=slanted,pagestyle=bold,indicator=no] \setupregister[Correctliste][coupling=yes] \def\Listright#1{\Correctliste{#1}{#1}} \defineregister[Wrongliste][style=slanted

Re: [NTG-context] index: distinguish entries by pagestyle

2013-01-15 Thread Andreas Mang
to distinguish between the definition of some term and its appearance/use somewhere else (boldface vs. normal font of page number for instance). The garden provides a solution, which does not seem to work for me: %%% \setupregister[index][nb][pagestyle=bold] \starttext

[NTG-context] index: distinguish entries by pagestyle

2013-01-14 Thread Andreas Mang
: %%% \setupregister[index][nb][pagestyle=bold] \starttext My \index[nb::dog]{dog}dog is a cat\index{cat}. \placeindex \stoptext %%% (modified from http://wiki.contextgarden.net/Registers). What I'd like to have is, that dog appears with a bold page number and that cat doesn't

Re: [NTG-context] index: distinguish entries by pagestyle

2013-01-14 Thread Schmitz Thomas A.
). The garden provides a solution, which does not seem to work for me: %%% \setupregister[index][nb][pagestyle=bold] \starttext My \index[nb::dog]{dog}dog is a cat\index{cat}. \placeindex \stoptext %%% (modified from http://wiki.contextgarden.net/Registers

Re: [NTG-context] index: distinguish entries by pagestyle

2013-01-14 Thread Philipp Gesang
(boldface vs. normal font of page number for instance). The garden provides a solution, which does not seem to work for me: %%% \setupregister[index][nb][pagestyle=bold] \starttext My \index[nb::dog]{dog}dog is a cat\index{cat}. \placeindex \stoptext

Re: [NTG-context] Referring to multiple elements

2012-09-16 Thread Marco Patzer
it the right input, and print its output to ConTeXt. I wonder if this function is not already present in ConTeXt. The register mechanism, for instance, already does something very similar: \setupregister [index] [compress=yes] \starttext A\index{A} \page A\index{A} \page aaa\page

[NTG-context] seeindex: accents and such

2012-07-11 Thread Andreas Mang
Dear all, I have some minor problems with \seeindex It seems that it does not render accents properly nor is it possible to introduce commands. Is this an intended behavior, am I doing something wrong or is there a bug? Cheers, Andreas Minimal example: \setupregister[index] [ style={\bf

Re: [NTG-context] seeindex: accents and such

2012-07-11 Thread Andreas Mang
. Is this an intended behavior, am I doing something wrong or is there a bug? Cheers, Andreas Minimal example: \setupregister[index] [ style={\bf\WORD}, balance=yes ] \starttext % seeindex does not render ssharp properly Wei{\ssharp}wurst\index{Wei{\ssharp}wurst}\seeindex{German sausage

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

2012-06-27 Thread Alan Bowen
] \page[makeup] \stopcomponent The registers are defined in an environment file as follows; %Passages \defineregister[Passage][Passages] \setupregister[Passage][n=3,% balance=yes,% pagestyle={\switchtobodyfont[9.6pt]\em},% textstyle={\switchtobodyfont[9.6pt]},% criterium=all,% interaction

[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
is: \defineregister[Passage][Passages] \setupregister[Passage][n=1,% balance=yes,% pagestyle=\tfx\em,% textstyle=\tfx,% criterium=all,% interaction={pagenumber},% ] \setupregister[Passage][indicator=no,distance=0.5em] \starttext See \Passage{Simplicius+{\em In de caelo}+483.15--19}483.15--19. \page

Re: [NTG-context] indexing query

2012-05-11 Thread Hans Hagen
problem: The test file is: \defineregister[Passage][Passages] \setupregister[Passage][n=1,% balance=yes,% pagestyle=\tfx\em,% textstyle=\tfx,% criterium=all,% interaction={pagenumber},% ] \setupregister[Passage][indicator=no,distance=0.5em] \starttext See \Passage{Simplicius+{\em In de caelo

[NTG-context] Registers with distinguishable entries.

2012-04-26 Thread Robert Blackstone
this be done in ConTeXt, and if so, can anybody give me advice on how to do it? I have tried making three different Registers, for text, for illustrations and for notes, but I cannot figure out how to combine them into one index. But also, whatever I set in \setupregister, they all look exactly

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

2012-04-26 Thread S Barmeier
Leaving out the plural in \setupregister gives you the setup you set up. \defineregister[Note][Notes] \setupregister[Note][n=2,pagestyle=small,textstyle=normal] \defineregister[Text][Texts] \setupregister[Text][n=2,textstyle=normal,pagestyle=normal] \defineregister[Music][Musics] \setupregister

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

2012-04-26 Thread Robert Blackstone
On Thu, Apr 26, 2012 19:18:55 +0900 S Barmeier severinbarme...@googlemail.com wrote Leaving out the plural in \setupregister gives you the setup you set up. Thank you, Severin. I always wondered what the plural form of the name between the second pair of square brackets in the \setup command

Re: [NTG-context] Index setup

2012-04-14 Thread Wolfgang Schuster
Am 14.04.2012 um 03:46 schrieb Jeff Smith: So basically, I have this: \starttext \chapter{Ch1} \index{abc}abc \index{bcd}bcd \index{def}def \chapter{Ch2} \index{wxy}wxy \index{xyz}xyz \index{zzz}zzz \page \setupregister[index][indicator=no] \placeindex

Re: [NTG-context] Index setup

2012-04-14 Thread Jeff Smith
On Sat, Apr 14, 2012 at 08:26, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \setupregister[index][indicator=no,pagecommand=\wordright,before=] Setup commands are put before \starttext, when you really need these settings for a certain register placement you can write \placeindex

Re: [NTG-context] Index setup

2012-04-13 Thread Jeff Smith
So basically, I have this: \starttext \chapter{Ch1} \index{abc}abc \index{bcd}bcd \index{def}def \chapter{Ch2} \index{wxy}wxy \index{xyz}xyz \index{zzz}zzz \page \setupregister[index][indicator=no] \placeindex \stoptext 1) I'd like a single list with no blank lines

Re: [NTG-context] index for Japanese alphabet

2012-04-10 Thread Hans Hagen
On 9-4-2012 13:26, S Barmeier wrote: Once I know how to enable a particular sorting pattern for a register I can probably figure it out by myself. How would I do that? \setupregister[index][language=jp] Best, Severin --- Japanese definitions[jp] = { replacements = { { ぁ, あ

[NTG-context] Index setup

2012-04-10 Thread Jeff Smith
\index{bcd}bcd \index{def}def \chapter{Ch2} \index{wxy}wxy \index{xyz}xyz \index{zzz}zzz \page \setupregister[index][indicator=no] \placeindex \stoptext That works. But I'm trying to do two things here and I'll be damned if the info can be found somewhere. I've tried my best to find

Re: [NTG-context] \em after font fallbacks

2012-04-02 Thread Wolfgang Schuster
of the number with \setupregister[index][pagestyle=italic] Wolfgang ___ 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

Re: [NTG-context] indexing query

2012-03-18 Thread Alan Bowen
To answer my own question, after experimentation: \index[key]{form::entry} with \setupregister[index][form][textstyle=\hskip1em] A. On Sun, Mar 18, 2012 at 12:38 PM, Alan Bowen bowenala...@gmail.com wrote: Sorry: My effort escaped without a subject line. In placing the heads and subheads

<    1   2   3   >