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

2012-07-13 Thread Wolfgang Schuster

Am 11.07.2012 um 22:37 schrieb Andreas Mang:

 Hi Wolfgang,
 
 Thanks. That's truly an option. I have already looked into this and it works. 
 As a matter of fact, this is what I decided to do if there is no quick fix. 
 However, I thought I'd point it out, since it works for \index and just not 
 for \seeindex. Secondly, the \sc (command) issue persists. 

MkIV provides a new mechanism to format index entries called processors, it 
doesn't work yet with \seeindex (see my other mail on the list) but I guess 
Hans will fix this in one of the next betas.

\defineprocessor[sc][style=\sc]

\starttext

Test\index{Test}\index{sc-Testing}

\completeindex

\stoptext

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/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[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\WORD},
balance=yes
]

\starttext

% seeindex does not render ssharp properly
Wei{\ssharp}wurst\index{Wei{\ssharp}wurst}\seeindex{German 
sausage}{Wei{\ssharp}wurst}

% same holds for accents
M\unchner Wei{\ssharp}bier\index{M\unchner Wei{\ssharp}bier}\seeindex{good 
beer}{M\unchner Wei{\ssharp}bier}

% switching font style
{\sc Test}\index[Test]{\sc Test}\seeindex[Test]{Testing}{\sc Test}

\completeindex
 
\stoptext
___
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/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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

2012-07-11 Thread Andreas Mang
I forgot to mention that I am using

ConTeXt  ver: 2012.07.10 09:52 MKIV

Sorry...

Am Jul 11, 2012 um 8:38 PM schrieb 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\WORD},
 balance=yes
 ]
 
 \starttext
 
 % seeindex does not render ssharp properly
 Wei{\ssharp}wurst\index{Wei{\ssharp}wurst}\seeindex{German 
 sausage}{Wei{\ssharp}wurst}
 
 % same holds for accents
 M\unchner Wei{\ssharp}bier\index{M\unchner Wei{\ssharp}bier}\seeindex{good 
 beer}{M\unchner Wei{\ssharp}bier}
 
 % switching font style
 {\sc Test}\index[Test]{\sc Test}\seeindex[Test]{Testing}{\sc Test}
 
 \completeindex

 \stoptext
 ___
 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/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
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/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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

2012-07-11 Thread Wolfgang Schuster

Am 11.07.2012 um 20:38 schrieb 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?

Why don’t you use “ü” and “ß” in your document?

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/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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

2012-07-11 Thread Andreas Mang
Hi Wolfgang,

Thanks. That's truly an option. I have already looked into this and it works. 
As a matter of fact, this is what I decided to do if there is no quick fix. 
However, I thought I'd point it out, since it works for \index and just not for 
\seeindex. Secondly, the \sc (command) issue persists. 

Thirdly, once upon a time I have opened my tex files on a foreign machine and I 
realized that all accents were screwed. This was the day when I decided to 
become even more paranoid and by that not to use ü and friends in my source 
files. Maybe I should stop being paranoid, since all people around me seem to 
be using accents...

Cheers,
Andreas   

Am Jul 11, 2012 um 10:15 PM schrieb Wolfgang Schuster:

 
 Am 11.07.2012 um 20:38 schrieb 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?
 
 Why don’t you use “ü” and “ß” in your document?
 
 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/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
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/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___