ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
Subject: Re: register fine tuning
Date: Thu, 26 Oct 2006 10:42:31 +0200	[thread overview]
Message-ID: <8D4C0F70-74EB-4DE0-A519-F4D8FDDFADEE@uni-bonn.de> (raw)
In-Reply-To: <453FCCE0.3000103@wxs.nl>


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

      parent reply	other threads:[~2006-10-26  8:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-25  9:34 Steffen Wolfrum
2006-10-25 20:45 ` Hans Hagen
2006-10-25 22:35   ` Vit Zyka
2006-10-26  8:07   ` Steffen Wolfrum
2006-10-26  8:32     ` Hans Hagen
2006-10-26  9:17       ` Steffen Wolfrum
2007-02-14 16:12         ` TOC (was: register) " Steffen Wolfrum
2007-02-15 16:06           ` TOC Hans Hagen
2006-10-26  8:42   ` Thomas A. Schmitz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8D4C0F70-74EB-4DE0-A519-F4D8FDDFADEE@uni-bonn.de \
    --to=thomas.schmitz@uni-bonn.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).