On Oct 25, 2006, at 10:45 PM, Hans Hagen wrote:
in mkiv there will be more control because we may move index handling in mem
Hans
OK, since we're speaking of registers, may I repeat my question from last weekend and add something that could be a bug? First, here's the question: 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 something like \startregister[imp][signi][signifie]{\em signifié} but get errors "missing csname." What am i overlooking? And then the bug: I want a \seeindex entry to be typeset in italics, but there seems to be a problem; I get this error message: Runaway argument? {\noexpand \gdef \noexpand \dosplitofffoliopart [####1 \sectionseparator \ETC. ! File ended while scanning use of \aftersplitstring. <inserted text> \par <to be read again> \relax \dodoreadfile ...\preprocesssuffix \or \fi \relax \the \everyafterreadfile \emphasislook ...beginrobusttest \futurelet \next \emphasistest \doifelsenothing #1->\edef \!!stringa {#1 }\ifx \!!stringa \empty \expandafte... \dolimitatetext #1#2->\doifelsenothing {#1} {\unhbox \nextbox } {\nopenaltie... ... l.40 \registersee{index}{,}{two}{2--0-0-0-0-0-0-0} ! Missing number, treated as zero. <to be read again> \begingroup \emphasislook ->\begingroup \beginrobusttest \futurelet \next \emphasistest <argument> ...s \scratchdimen \emphasiscorrection \relax \ifdim \scratchdime... \secondoftwoarguments #1#2->#2 \dolimitatetext ...fi \else \unhbox \nextbox \fi } \egroup \limitatetext ...ormallimitatetext {#1}\leftlimit {#3}\else \speciallimitate... ... l.40 \registersee{index}{,}{two}{2--0-0-0-0-0-0-0} ! Illegal unit of measure (pt inserted). <to be read again> \begingroup \emphasislook ->\begingroup \beginrobusttest \futurelet \next \emphasistest <argument> ...s \scratchdimen \emphasiscorrection \relax \ifdim \scratchdime... \secondoftwoarguments #1#2->#2 \dolimitatetext ...fi \else \unhbox \nextbox \fi } \egroup \limitatetext ...ormallimitatetext {#1}\leftlimit {#3}\else \speciallimitate... ... l.40 \registersee{index}{,}{two}{2--0-0-0-0-0-0-0} ) minimal test file: \starttext one\seeindex[one]{\em one}{two} \seeindex[Latex]{\LaTeX}{one}\LaTeX\ \index{two}two \page \placeregister[index] \stoptext Thanks for any help! Thomas