Re: [NTG-context] indexing query

2012-03-18 Thread Alan Bowen
Sorry for the bother, Wolfgang. I think I have the answer now (see my message earlier by about 30 seconds). I had not realized that the textstyle key in \setupregister could take a command for positioning the head as well as its actual style. Alan On Sun, Mar 18, 2012 at 5:00 PM, Wolfgang

Re: [NTG-context] indexing query

2012-03-18 Thread Wolfgang Schuster
Am 18.03.2012 um 22:11 schrieb Alan Bowen: Sorry for the bother, Wolfgang. I think I have the answer now (see my message earlier by about 30 seconds). I had not realized that the textstyle key in \setupregister could take a command for positioning the head as well as its actual style

Re: [NTG-context] indexing query

2012-03-18 Thread Alan Bowen
=red] \setupcolors[state=start] \setupregister[index][n=3, balance=yes, pagestyle=italic, textstyle=normal, criterium=all, interaction={pagenumber}, ] \setupregister[index][indicator=no,distance=0.5em] \setupregister[index][pagecommand=\it] %needed with MKIV \starttext Throughout the millennia

[NTG-context] bad argument #1 to 'gsub'

2011-06-23 Thread Kip Warner
=\v!slanted] \setuplist [\v!section] [\c!width=3em] \defineregister [texmacro] [texmacros] \setupregister [texmacro] [\c!indicator=\v!off, \c!distance=1em minus .25em] \setupfootnotes [\c!rule=\v!on] \setuphead [\v!chapter] [\c!header=\v!empty] \setupitemgroup[\v!itemize

Re: [NTG-context] Problem with chem module

2011-06-18 Thread Kip Warner
] \setupregister [texmacro] [\c!indicator=\v!off, \c!distance=1em minus .25em] \setupfootnotes [\c!rule=\v!on] \setuphead [\v!chapter] [\c!header=\v!empty] \setupitemgroup[\v!itemize] [\v!each] [\c!headstyle=\v!bold] \setupitemgroup[\v!itemize] [\v!each] [\v!stopper

[NTG-context] [register] setup detailed formatting

2011-06-01 Thread Philipp Gesang
Hi all, according to the manual (current draft p. 238f.) the following should work: ···8 \setupinteraction[state=start] \defineregister[myreg][myreg] \setupregister[myreg][textstyle=italic,pagestyle=slanted] %% That’s what it’s about

[NTG-context] Modifying the header of a Register : \setuphead or \setupregister not working

2011-05-27 Thread Mathieu DUPONT
Hi, How can one modify the header of a Register, after it apparently inherited from Chapter ?In the following example, I try to have the title INDEX at the same height as the title CHAPTER,but neither the \setuphead nor \setupregister commands seem to do anything.Is there another command

Re: [NTG-context] Modifying the header of a Register : \setuphead or \setupregister not working

2011-05-27 Thread Wolfgang Schuster
Am 27.05.2011 um 20:32 schrieb Mathieu DUPONT: Hi, How can one modify the header of a Register, after it apparently inherited from Chapter ? In the following example, I try to have the title INDEX at the same height as the title CHAPTER, but neither the \setuphead nor \setupregister

Re: [NTG-context] Modifying the header of a Register : \setuphead or \setupregister not working

2011-05-27 Thread Mathieu DUPONT
This is fixing a lot of problems I had, thank you ! Mathieu From: schuster.wolfg...@googlemail.com Date: Fri, 27 May 2011 20:46:01 +0200 To: ntg-context@ntg.nl Subject: Re: [NTG-context] Modifying the header of a Register : \setuphead or \setupregister not working Am 27.05.2011

Re: [NTG-context] Coupled register errors!

2011-05-12 Thread Verhaag, G.C.H.M.
what has happened to this feature? Are commands like \defineregister, \setupregister and \couple(d)register still valid ConTeXt commands? Currently I use ConTeXt ver: 2011.03.30 11:21 MKIV fmt: 2011.3.30 int: english/english. coupled registers are not (yet) implemented in mkiv (delayed till I

[NTG-context] Coupled register errors!

2011-05-11 Thread Verhaag, G.C.H.M.
Hi, A few years ago I created a screen document met menus and coupled registers, and it just worked fine. A fresh compilation of this document throws several 'undefined control sequence' errors; so I wonder what has happened to this feature? Are commands like \defineregister, \setupregister

Re: [NTG-context] Coupled register errors!

2011-05-11 Thread Hans Hagen
? Are commands like \defineregister, \setupregister and \couple(d)register still valid ConTeXt commands? Currently I use ConTeXt ver: 2011.03.30 11:21 MKIV fmt: 2011.3.30 int: english/english. coupled registers are not (yet) implemented in mkiv (delayed till I need it in some project) Hans

Re: [NTG-context] index sort question

2010-11-21 Thread Vianney le Clément
+blanco}\page I guess you should ensure that \pagenumber is expanded immediately. Otherwise, it will be expanded on your table of contents page, which will of course be the same number for every entry. Maybe try with \setupregister[expansion=yes] If that doesn't work, you could try replacing

[NTG-context] Dotted leader in index entries

2010-11-11 Thread Duncan Hothersall
[Now with a proper example!] Hello all. I'm using Mk II. I need to set up dotted leaders between an index entry and its page number as show in this runnable sample: \def\Icmd#1{#1\dotfill} \setupregister[index][n=2,textcommand=\Icmd,distance=1em,alternative=A] \starttext \index{Example

[NTG-context] Dotted leader in index entries

2010-11-06 Thread Duncan Hothersall
[Reposting because I think my last message got mangled.] Hello all. I'm using Mk II. When I use the following setup to get dotted leaders between an index entry and its page number: \def\MyIndexTextCmd#1{#1\dotfill} \setupregister[Index][n=2,textcommand=\MyIndexTextCmd,distance=1em

[NTG-context] Dotted leader in index entries

2010-11-04 Thread Duncan Hothersall
{#1\dotfill} \setupregister[Index][n=2,textcommand=\MyIndexTextCmd,distance=1em,alternative=A] which gives me something like: Mainentry Subentry.3 Slightly longer subentry.. 5 See also X I can work around

Re: [NTG-context] two buglets

2010-10-03 Thread Thomas A. Schmitz
Hi all, Hans, On Feb 11, 2010, at 6:17 PM, Hans Hagen wrote: 1. index sorts uppercase letters after lowercase letters. Minimal example: \starttext \index{Aardvark}Aardvark \index{azygous}azygous \page \setupregister[index][n=1] \placeregister[index] \stoptext I would

Re: [NTG-context] two buglets

2010-10-03 Thread Hans Hagen
On 3-10-2010 10:24, Thomas A. Schmitz wrote: Hi all, Hans, On Feb 11, 2010, at 6:17 PM, Hans Hagen wrote: 1. index sorts uppercase letters after lowercase letters. Minimal example: \starttext \index{Aardvark}Aardvark \index{azygous}azygous \page \setupregister[index][n=1] \placeregister

[NTG-context] realpage in register

2010-09-28 Thread Steffen Wolfrum
Hi, I want to set up a register that shows the number of userpage and the number of realpage (used in pdf numbering). I was thinking of something like ... \def\BothPageNumbers#1 {#1 (\realpageno[#1])} \setupregister[index][pagecommand=\BothPageNumbers] ... only, I don't know how to address

Re: [NTG-context] realpage in register

2010-09-28 Thread luigi scarso
])} \setupregister[index][pagecommand=\BothPageNumbers] ... only, I don't know how to address the corresponding realpage number ;o( Any idea? strc-pag.mkiv:\def\realfolio{\the\realpageno} strc-pag.mkiv:\def\userfolio{\the\userpageno} strc-pag.mkiv:\def\subfolio {\the\subpageno } just an idea, btw

Re: [NTG-context] HowUgly setupregister

2010-09-27 Thread Hans Hagen
On 26-9-2010 10:45, Steffen Wolfrum wrote: Hi, in MkII I used for formatting the index-register a command=\HowUgly \def\HowUgly#1{\doHowUgly#1\relax} \def\doHowUgly#1#2\relax{\iffirstregisterentry{\crlf \crlf $\backslash$blank[biggerblank]$\backslash$hangIndex$\{\backslash$bf

[NTG-context] HowUgly setupregister

2010-09-26 Thread Steffen Wolfrum
Hi, in MkII I used for formatting the index-register a command=\HowUgly \def\HowUgly#1{\doHowUgly#1\relax} \def\doHowUgly#1#2\relax{\iffirstregisterentry{\crlf \crlf $\backslash$blank[biggerblank]$\backslash$hangIndex$\{\backslash$bf #1$\}$}#2\else#1#2\fi} In MkIV there is no

[NTG-context] index: xml in mkiv

2010-09-25 Thread Jano Kula
xml:content \xmlflush{#1} \stopxmlsetups %A similar approach is followed with the index entries. Watch how we use the numbered entries variant (in this case we could also have used just entries and keys. \startxmlsetups xml:index \ifcase \TestMode \setupregister[index][expansion=xml,xmlsetup

[NTG-context] czech sorting in MiIV

2010-05-15 Thread Tomáš Pustelník
Hi, is czech sorting in MkIV working? When I tried it with this code: \mainlanguage[cz] \enableregime [utf-8] \starttext \setupregister[index][language=cz] \index{chobot}chobot \index{áro}áro \index{akát}akát \index{Áčko}Áčko \index{astma}astma \index{ámerika}ámerika \index{arábie}arábie

Re: [NTG-context] czech sorting in MiIV

2010-05-15 Thread Hans Hagen
On 15-5-2010 2:49, Tomáš Pustelník wrote: Hi, is czech sorting in MkIV working? When I tried it with this code: \mainlanguage[cz] \enableregime [utf-8] \starttext \setupregister[index][language=cz] \index{chobot}chobot \index{áro}áro \index{akát}akát \index{Áčko}Áčko \index{astma}astma \index

Re: [NTG-context] index sorting and formatting mixed up

2010-05-14 Thread luigi scarso
On Fri, May 14, 2010 at 1:46 AM, Michael Saunders odrad...@gmail.com wrote: \setupregister[index][bd][pagestyle=bold] \starttext \index{bc}\index{be} This is a \index[bd::]{test}test. \page This is a less important \index{test}test. \page \placeindex \stoptext Confirmed: mkiv is different

Re: [NTG-context] index sorting and formatting mixed up

2010-05-14 Thread Michael Saunders
luigi scarso: \setupregister[index][bd][pagestyle=bold] \starttext \index{bc}\index{be} This is a \index[bd::]{test}test. \page This is a less important \index{test}test. \page \placeindex \stoptext Confirmed: mkiv is different from mkii. How is it to be done in MKIV? I could find

Re: [NTG-context] index sorting and formatting mixed up

2010-05-14 Thread luigi scarso
On Fri, May 14, 2010 at 4:07 PM, Michael Saunders odrad...@gmail.com wrote: luigi scarso: \setupregister[index][bd][pagestyle=bold] \starttext \index{bc}\index{be} This is a \index[bd::]{test}test. \page This is a less important \index{test}test. \page \placeindex \stoptext Confirmed

Re: [NTG-context] index sorting and formatting mixed up

2010-05-14 Thread Hans Hagen
On 14-5-2010 2:50, luigi scarso wrote: On Fri, May 14, 2010 at 1:46 AM, Michael Saundersodrad...@gmail.com wrote: \setupregister[index][bd][pagestyle=bold] \starttext \index{bc}\index{be} This is a \index[bd::]{test}test. \page This is a less important \index{test}test. \page \placeindex

[NTG-context] index sorting and formatting mixed up

2010-05-13 Thread Michael Saunders
\setupregister[index][bd][pagestyle=bold] \starttext \index{bc}\index{be} This is a \index[bd::]{test}test. \page This is a less important \index{test}test. \page \placeindex \stoptext ___ If your question

Re: [NTG-context] tooltips and glossary

2010-05-05 Thread Marius
with \setupregister http://wiki.contextgarden.net/Reference/en/setupregister test2.pdf Description: Adobe PDF document test2.tex Description: TeX document ___ If your question is of interest to others as well, please add

[NTG-context] No indicators in registers when using french as main language

2010-04-07 Thread Vianney le Clément
Hello, The subject says it all. \mainlanguage[fr] \starttext \index{Item}Item \placeindex \stoptext There is no indicator i in the index. It appears when you comment out the first line or change it to another language. Adding \setupregister[index][indicator=yes] does not help. Another

Re: [NTG-context] No indicators in registers when using french as main language

2010-04-07 Thread Wolfgang Schuster
Am 07.04.10 21:37, schrieb Vianney le Clément: Hello, The subject says it all. \mainlanguage[fr] \starttext \index{Item}Item \placeindex \stoptext There is no indicator i in the index. It appears when you comment out the first line or change it to another language. Adding \setupregister[index

Re: [NTG-context] tlig not active in register

2010-03-17 Thread Piotr Kopszak
Here it is, for archives only, as the bug is no longer there with today's minimals. I noticed it with context version of 2009.09.25 23:52. Evidently time to update. \setupregister[index][pagestyle=\it] \usetypescript[iwona] \switchtobodyfont[iwona] \starttext first \index[first]{first item

[NTG-context] two buglets

2010-02-11 Thread Thomas A. Schmitz
Hi all, working on a book project with index and bibliography, I discovered two small bugs (at least I think they are bugs): 1. index sorts uppercase letters after lowercase letters. Minimal example: \starttext \index{Aardvark}Aardvark \index{azygous}azygous \page \setupregister[index][n=1

Re: [NTG-context] two buglets

2010-02-11 Thread Hans Hagen
{azygous}azygous \page \setupregister[index][n=1] \placeregister[index] \stoptext I would expect azygous to follow Aardvark, but it is sorted before. are you sure that that's the convention for english? it's easy to change it ... \startluacode sorters.mappings['en'] = { [a] = 2, [b] = 4

[NTG-context] Strange Behaviour for toc

2009-10-12 Thread Martin Scholz
] \setupfloat[BigFramedFigure][location=inner,frame=on,offset=2pt] \definefloat[FramedFigure][FramedFigures][figure] \setupfloat[FramedFigure][frame=on,offset=2pt] \stopsectionblockenvironment \setupregister[index][imp][pagestyle=bold] \setupcombinedlist[content][level=2,alternative=c] \setuplist

Re: [NTG-context] bugs in beta

2009-05-07 Thread Henning Hraban Ramm
][chapter][pagenumber] \setupheader[text][state=start] \setupregister[index]% [n=2, balance=no, align=yes, alternative=A, indicator=yes, pagestyle=normal, location=right, style=type] \starttext \dorecurse{20}{% \chapter{My chapter \recurselevel} \index{Index entry \recurselevel} \input zapf

Re: [NTG-context] lists and notes (was: \placelist)

2009-05-04 Thread Henning Hraban Ramm
Not only list handling, but also footnotes and headers are broken (at least), while the index seems fixed in the latest beta of MkIV: \setuphead[chapter][page=no] \setupheadertexts[text][chapter][pagenumber] \setupheader[text][state=start] \setupregister[index]% [n=2, balance=no, align=yes

Re: [NTG-context] Indexing macros

2008-09-15 Thread Alan BRASLAU
On Tuesday 3 December 2002 17:57:00 Hans Hagen wrote: Copied from the manual source: ... \index {form::entry} The following minimal example works as expected: \setupregister[index][au][textstyle=\sc] \def\Index#1{\index{#1}#1} \def\Author#1{\index{au::#1}#1} \starttext The \index[TeX]{\TeX

Re: [NTG-context] trouble with indices

2008-02-17 Thread Wolfgang Schuster
for the moment to your document. \unprotect \def\doplaceregister[#1][#2]% {\iffirstargument \begingroup \edef\currentregister{#1}% \setupregister[\currentregister][#2]% \doifelse{\registerparameter\c!compress}\v!yes % new {\chardef\collapseregisterpages\plusone

Re: [NTG-context] exploring register options

2008-02-14 Thread Wolfgang Schuster
On Wed, Feb 13, 2008 at 10:19 PM, Henning Hraban Ramm [EMAIL PROTECTED] wrote: Am 2008-02-13 um 16:20 schrieb Bart Wise: I'm relatively new to ConTeXt, but I did stumble on a way to get right-aligned page numbers. \def\MyIndexTextCmd#1{#1\hfill} \setupregister[index

Re: [NTG-context] exploring register options

2008-02-13 Thread Bart Wise
Hraban, I'm relatively new to ConTeXt, but I did stumble on a way to get right-aligned page numbers. \def\MyIndexTextCmd#1{#1\hfill} \setupregister[index][textcommand=\MyIndexTextCmd] Bart On Tuesday January 29 2008, Henning Hraban Ramm wrote: Can someone tell me, if the following options

Re: [NTG-context] \placeregister[index][compress=yes] BROKEN ??

2008-01-29 Thread Taco Hoekwater
the before and after placeregister commands are then % not executed. Xtended definition: \def\mkloadregisterX#1#2#3% {\doutilities{#1}{\registerparameter\c!file}{#1}{#2}{#3}} \def\doplaceregister[#1][#2]% {\iffirstargument \begingroup \edef\currentregister{#1}% \setupregister

[NTG-context] exploring register options

2008-01-29 Thread Henning Hraban Ramm
Can someone tell me, if the following options of \setupregister are supposed to have some effect (I couldn't see any): style (pagestyle and textstyle work) command (pagecommand and textcommand work) location (Just fixed the texshow description.) I didn't check those (also undocumented

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
[options] \setupregister[singular][name][options] \setuprotate[options] \setuprule[name][options] # \setups \setupscreens[options] \setupsection[name][name][options] \setupsectionblock[name][options] \setupsorting[name][options] \setupspacing[broad|packed] \setupstrut[yes|no|cap|text] \setupsubpagenumber

[NTG-context] style= in \placeindex

2007-09-21 Thread Jörg Hagmann
Hi, How can I get capital AND colored character headings in the index (style=...)? I can get either one with style={\WORD} and style={\color[red]} in \placeindex (or \setupregister), but all my attempts at combining them (using different ways of grouping) failed. Thanks, Jörg

Re: [NTG-context] style= in \placeindex

2007-09-21 Thread Wolfgang Schuster
On Fri, 21 Sep 2007 11:24:21 +0200 Jörg Hagmann [EMAIL PROTECTED] wrote: Hi, How can I get capital AND colored character headings in the index (style=...)? I can get either one with style={\WORD} and style={\color[red]} in \placeindex (or \setupregister), but all my attempts

Re: [NTG-context] style= in \placeindex

2007-09-21 Thread Jörg Hagmann
(or \setupregister), but all my attempts at combining them (using different ways of grouping) failed. Thanks, Jörg \setupindex[color=red,alternative=A] Wolfgang ___ If your question is of interest to others as well

Re: [NTG-context] Index bug (urgent)

2007-07-03 Thread Idris Samawi Hamid
Hi luigi, On Mon, 02 Jul 2007 17:08:26 -0600, luigi scarso [EMAIL PROTECTED] wrote: \starttext \setupregister[index][n=1] \index{This is a very, very, very, very, very, very, very, very, very, very, very, very, very, very, long entry}{This is a very, very

[NTG-context] Index bug (urgent)

2007-07-02 Thread Idris Samawi Hamid
Dear gang, Consider the following: \starttext \setupregister[index][n=1] \index{This is a very, very, very, very, very, very, very, very, very, very, very, very, very, very, long entry}{This is a very, very, very, very, very, very, very, very, very, very, very

Re: [NTG-context] Index bug (urgent)

2007-07-02 Thread luigi scarso
On 7/3/07, Idris Samawi Hamid [EMAIL PROTECTED] wrote: Dear gang, Consider the following: \starttext \setupregister[index][n=1] \index{This is a very, very, very, very, very, very, very, very, very, very, very, very, very, very, long entry}{This is a very

Re: [NTG-context] index questions - again

2007-03-13 Thread Hans Hagen
if this doesn't work :-) 1. I need to define a special type of register that will typeset page ranges in bold. I have a subindex that does that for single entries: \setupregister[index][imp][pagestyle=bold] which I invoke like \index[imp::]{modernity} and it works. How can I have the same thing

Re: [NTG-context] index questions - again

2007-03-12 Thread Thomas A. Schmitz
to define a special type of register that will typeset page ranges in bold. I have a subindex that does that for single entries: \setupregister[index][imp][pagestyle=bold] which I invoke like \index[imp::]{modernity} and it works. How can I have the same thing for ranges? OK, I tried a hack

Re: [NTG-context] Index formatting: column leaks over page margin

2007-01-22 Thread luigi scarso
{% \switchtobodyfont[8pt]% \framed[frame=off, width=1.5em,height=1em,after=0.5em, strut=no, background=color,backgroundcolor=black]% {\color[white]{\setnostrut{#1}}}\hfill}% \box100% }%%end \ICHeadLetterCommand % \setupregister[Index][n=2, align=yes

[NTG-context] Index and bookmark problem

2006-12-01 Thread Wim Neimeijer
metrische en de affiene connectie aan elkaar gelijk kunnen zijn. \setupfootertexts[] \setupheadertexts[][][][] \setupregister[index] [partnumber=no, criterium=all, pagestyle={\tf}, style={\WORD

Re: [NTG-context] register fine tuning

2006-10-26 Thread Steffen Wolfrum
the entries from a tuo into another file and use that one: dirty hack: \bgroup\def\jobname{copyof}\placeregister\egroup if needed i can provide a \setupregister[file=copyof] feature ; in mkiv there will be more control because we may move index handling in mem Hans

Re: [NTG-context] register fine tuning

2006-10-26 Thread Hans Hagen
? it should not be to hard to filter the entries from a tuo into another file and use that one: dirty hack: \bgroup\def\jobname{copyof}\placeregister\egroup if needed i can provide a \setupregister[file=copyof] feature ; hm, you really want to do that now? i'll make a beta

Re: [NTG-context] register fine tuning

2006-10-26 Thread Thomas A. Schmitz
have defined a special index which will typeset numbers in bold: \setupregister[index][imp][pagestyle=bold] which I invoke like \index[imp::]{modernity} How can I get a register range to use this special style? I tried something like \startregister[imp][signi][signifie]{\em signifié} but get

[NTG-context] index question

2006-10-21 Thread Thomas A. Schmitz
I couldn't find anything on the wiki or in the documentation: I have defined a special index which will typeset numbers in bold: \setupregister[index][imp][pagestyle=bold] which I invoke like \index[imp::]{modernity} How can I get a register range to use this special style? I tried

[NTG-context] Register layout

2006-10-03 Thread Duncan Hothersall
of \setupregister but no change. Are there any hooks for this sort of thing? Thanks, Duncan ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] Context 2006.08.08 released

2006-08-08 Thread Renaud AUBIN
(\sortalphacommacommand) is now possible * Included metapost figures start out using black instead of the text color now, and \MPcolor{currentcolor} can be used for selecting the current text color outside figure * Page ranges in registers can optionally be compressed using \setupregister

Re: [NTG-context] Context 2006.08.08 released

2006-08-08 Thread Willi Egger
\setupregister[compress=yes] * The bib module automatically runs bibtex now * SciTE on Windows now uses ComSpec instead of calling cmd.exe directly Bugfixes: * A bugfix in defined (named) buffer handling * Some french messages fixed * Some fixes for character alignment errors in natural tables

Re: [NTG-context] index (again)

2006-08-04 Thread Steffen Wolfrum
{\bf#1}\else#1\fi#2} \setupregister[index][indicator=no,deeptextcommand=\HowUgly] \starttext \chapter{First Chapter} Some text...\index{word} \section {First Section} Some text...\index{word} Some text...\index{another entry} Some text...\index{ansi} Some text...\index{another entry

Re: [NTG-context] index (again)

2006-08-02 Thread Steffen Wolfrum
{\doHowUgly#1\relax} \def\doHowUgly#1#2\relax{\iffirstregisterentry{\bf#1}\else#1\fi#2} \setupregister[index][indicator=no,deeptextcommand=\HowUgly] \starttext \chapter{First Chapter} Some text...\index{word} \section {First Section} Some text...\index{word} Some text...\index{another entry} Some

Re: [NTG-context] [off-list, urgent] Index design

2006-07-26 Thread Hans Hagen
{\iffirstregisterentry{\bf#1}\else#1\fi#2} \setupregister[index][indicator=no,deeptextcommand=\HowUgly] \starttext \chapter{First Chapter} Some text...\index{word} \section {First Section} Some text...\index{word} Some text...\index{another entry} Some text...\index{ansi} Some text...\index{another entry

Re: [NTG-context] Index sorting for other languages than English

2006-05-30 Thread Hans Hagen
version: i've (a bit more) finished teutil sorting so that it also can sort different registers conform their own language: i'll post an alpha (generating now) that can do: \defineregister[one] \defineregister[two] \setupregister[two][language=cz] \starttext test \one{one} test \one{two} test

Re: [NTG-context] Index sorting for other languages that English

2006-05-26 Thread Hans Hagen
Richard Gabriel wrote: Thanks Hans, it works with my test file, unless I set up: \setupregister[index][expansion=xml] which i need for correct processing of the XML files. If I simply add this command into the testing TeX file (no XML), the Czech sorting stops to work and all accented

Re: [NTG-context] Index sorting for other languages that English

2006-05-26 Thread Richard Gabriel
Here is the test file. If you remove the \setupregister command, or simply set expansion=no, the sorting will work perfectly.With expansion=yes or expansion=xml, the accented letters are sorted under "A".Below are my updated sorting rules again...-Richard---\def\czsortdivision

[NTG-context] Czech sorting

2006-05-25 Thread Richard Gabriel
; and "ring" letters (wowels) are placed under the appropriate unaccented lettersBut I vitally need to fix the problem that the sorting doesn't work when using \setupregister[index][expansion=xml]otherwise it's still useless for me... :-(Many thanx,Richard--\def\czsortdivisionch{ch}\def\

Re: [NTG-context] Index sorting for other languages that English

2006-05-24 Thread Richard Gabriel
Thanks Hans, it works with my test file, unless I set up:\setupregister[index][expansion=xml]which i need for correct processing of the XML files.If I simply add this command into the testing TeX file (no XML), the Czech sorting stops to work and all accented characters are placed under

Re: [NTG-context] Register with numeric values

2006-04-26 Thread luigi scarso
\pagereference[IndexCode:NR#2]}\par\nobreak} \def\ICHeadLetterOtherCommand#1{\relax} % \setupregister[IndexCode][n=2, align=yes, balance=no, symbol=1, %distance=0pt, %expand

[NTG-context] Context 2005.11.15 Released

2005-11-15 Thread Taco Hoekwater
: * A new key in \setupregister: prefix= This controls page prefixes in index ranges * New functionality: indentnext=auto Blank lines in the source are taken into account when indextnext=auto is in effect. A really short example of usage would be: \setupindenting[small

Re: [NTG-context] Index

2005-11-14 Thread Duncan Hothersall
these three separate spans coalesce 1/1–1/2, 1/3–1/5, 1/6–1/7 Really hope you can hammer out these two bugs, it would really help me! Thanks, Duncan \defineregister[Index][Indices] \setupregister[Index][2,balance=no,distance=1em,partnumber=no,chapternumber=yes,pagestyle=,separator

Re: [NTG-context] Index

2005-11-10 Thread Vit Zyka
[Name][Names] \setupregister[Name][pagestyle=\it] \setupregister[Name][bf][pagestyle=\bf] \starttext Names: \Name[bf::]{Hans} \Name{Taco} \startregister[Name][bf::]{Patrick} \page[yes] \Name{Hans} \stopregister[Name][bf::]{Patrick} \page[yes] \Name{Patrick} \placeregister[Name

Re[2]: [NTG-context] Bug / feature request tracking

2005-11-08 Thread Giuseppe Bilotta
. I have the following, in my PhD thesis \setupindex[pagestyle=normal] \setupregister[index][def][pagestyle=bold] \def\indexdefinition#1{\index[def::]{#1}} \def\defterm#1{\leavevmode{\indexdefinition{#1}\it#1}} \def\deftermx#1#2{\leavevmode{\processcommalist[#2]\indexdefinition\it#1}} \def\useterm

Re: Re[2]: [NTG-context] Bug / feature request tracking

2005-11-08 Thread Thomas A. Schmitz
in the register. That would be immensely useful to produce a structured index. I have the following, in my PhD thesis \setupindex[pagestyle=normal] \setupregister[index][def][pagestyle=bold] \def\indexdefinition#1{\index[def::]{#1}} \def\defterm#1{\leavevmode{\indexdefinition{#1}\it#1}} \def\deftermx#1

Re: [NTG-context] \setupregister - \setupindex

2005-10-08 Thread Hans Hagen
Giuseppe Bilotta wrote: I just noticed that \setupindex is not exactly the same as \setupregister[index]; indeed, \setupindex does not allow the syntax \setupindex[form][options=values] whereas \setupregister[index][form][options=values] is valid. yeh, \setupindex is a generated command

[NTG-context] \setupregister - \setupindex

2005-10-07 Thread Giuseppe Bilotta
I just noticed that \setupindex is not exactly the same as \setupregister[index]; indeed, \setupindex does not allow the syntax \setupindex[form][options=values] whereas \setupregister[index][form][options=values] is valid. -- Giuseppe Oblomov Bilotta

Re: [NTG-context] Elided page numbers in registers

2005-08-31 Thread Vit Zyka
: -- \defineregister[Name][Names] \setupregister[Name][pagestyle=\it] \setupregister[Name][bf][pagestyle=\bf] \starttext Names: \Name[bf::]{Hans} \Name{Taco} \startregister[Name][bf::]{Duncan} \page[yes] \Name{Hans} \stopregister[Name][bf::]{Duncan} \page[yes] \Name{Duncan

[NTG-context] style in registers

2005-08-06 Thread Vit Zyka
Good evening, I have opened another topic. Why both Hans's page numbers are bold? -- \defineregister[Name][Names] \setupregister[Name][pagestyle=\it] \setupregister[Name][bf][pagestyle=\bf] \starttext Names: \Name[bf::]{Hans} \Name{Taco} \page[yes

[NTG-context] formatted pagenumbers in registers

2005-04-13 Thread sjoerd siebinga
I have noticed a strange irregularity in the formatting of pagenumbers in one of my registers. Somehow not every pagenumber that should be bold has been rendered bold. I have defined this register as follows. cite \defineregister[indexri][Dialect of Riustring 1] % \setupregister[indexri][lemma

Re: [NTG-context] Using LateX packages

2005-01-26 Thread h h extern
] \setupregister[function][expansion=yes] \startXMLmapping[code] \defineXMLsingular [if] {\endgraf{\bf if}\incrementcodedepth} \defineXMLsingular [then] {{\bf then}\endgraf\incrementcodedepth} \defineXMLsingular [else] {\endgraf\decrementcodedepth{\bf else}\endgraf\incrementcodedepth

Re: [NTG-context] cz support

2005-01-26 Thread h h extern
\@@globalexpanded\to} \protect \enableencoding[texnansi] \setupregister[index][keyexpansion=yes] \starttext \defineactivecharacter * {\eacute} test \index{test \eacute * \'e test} \stoptext - Hans Hagen

Re: [NTG-context] cz support

2005-01-26 Thread Vit Zyka
\convertcommand\@@globalexpanded\to} \protect \enableencoding[texnansi] \setupregister[index][keyexpansion=yes] \starttext \defineactivecharacter * {\eacute} test \index{test \eacute * \'e test} \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http

Re: [NTG-context] Using LateX packages

2005-01-26 Thread Holger Peters
\advance\codedepth\minusone \relax} \defineregister[function][functions] \setupregister[function][expansion=yes] \startXMLmapping[code] \defineXMLsingular [if] {\endgraf{\bf if}\incrementcodedepth} \defineXMLsingular [then] {{\bf then}\endgraf\incrementcodedepth} \defineXMLsingular [else

Re: [NTG-context] Index-question

2005-01-17 Thread Hans Hagen
Bernd Militzer wrote: Hi all, how can I change in my index list from Lower to Upper-case? instead: a Achten, Juliane b Blankenheim, Martin I wont to get A Achten, Juliane B Blankenheim, Martin \setupregister[index][alternative=A] % default a Hans

Re: [NTG-context] Index-question

2005-01-17 Thread Bernd Militzer
Am Montag, den 17.01.2005, 11:48 +0100 schrieb Hans Hagen: \setupregister[index][alternative=A] % default a Thanks Bernd ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] function that purges 8 bit text?

2005-01-06 Thread Hans Hagen
it's a three line macro to do this kind of things; however, i decided to install yet another expansion handler, \enableregime[windows] \setupregister[index][keyexpansion=strict] \starttext \index[Ätsch]{Ätsch} test \index{QÄtsch} test \index[ratsch]{RÄtsch} test \placeindex \stoptext those who

Re: [NTG-context] function that purges 8 bit text?

2005-01-06 Thread Henning Hraban Ramm
Am 06.01.2005 um 17:18 schrieb Hans Hagen: it's a three line macro to do this kind of things; however, i decided to install yet another expansion handler, \enableregime[windows] \setupregister[index][keyexpansion=strict] \starttext \index[Ätsch]{Ätsch} test \index{QÄtsch} test \index[ratsch

Re: [NTG-context] Context index and sorting question

2004-12-29 Thread Henning Hraban Ramm
to point out that you can define your own indexes easily: index is only the one predefined register. Look after \defineregister, \setupregister etc. in the manual. Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net ___ ntg-context

Re: [NTG-context] Re: My first week with ConTeXt

2003-09-10 Thread Holger Schöner
. - How to format the index (divided into sections preceeded by the appropriate uppercase letter, pagenumbers aligned right, \dotfill between word and pagenumber) I am wondering about that (the uppercase letter) as well. You can right-align the numbers by typing \setupregister[index][distance

<    1   2   3