On Wed, 8 Jan 2003 12:51:42 +0000
John Culleton <[EMAIL PROTECTED]> wrote:
> On Wednesday 08 January 2003 13:15, Mikael Persson wrote:
> > Hi,
> >
> > I added som changes in lang-ger.tex some week ago. As I mentioned I
> > forgot one headtext in lang-ger.tex.
> >
> > \setupheadtext [\s!sv] [\v!inhoud=Inneh\aring l] should have one
> > more l, that is: \setupheadtext [\s!sv] [\v!inhoud=Inneh\aring ll]
> >
> > I also read in lang-ger.tex that there are some \definesortkey's for
> > the norwegian language. I don't know why they are commented out
> > (obsolete?). I tried to uncomment them and make a register that
> > contains these additional letters (\aa,\ae,\o) but they still end up
> > before A in the index.
> >
> > If they are correct for the norwegian language, then the swedish
> > counterparts should look like this:
> >
> > %% SWEDISH % % These three letters (in this order) are the % last
> > in the swedish alphabet (and hence should % come after z in the
> > latin alphabet). % I'm not sure about the syntax for %
> > \definesortkey so I left some of it open ... % %
> > \startlanguagespecifics[\s!sv] % % \definesortkey
> > {\aring}{z}{b}{\aring} % \definesortkey {\Aring}{z}{b}{\Aring} %
> > \definesortkey {\aumlaut}{z}{c}{\aumlaut} % \definesortkey
> > {\Aumlaut}{z}{c}{\Aumlaut} % \definesortkey
> > {\oumlaut}{z}{d}{\oumlaut} % \definesortkey
> > {\Oumlaut}{z}{d}{\Oumlaut} % % \stoplanguagespecifics
> >
> > I also saw this with activecharacters... The swedish counterpart
> > should here be:
> >
> > % \startencoding[texnansi] % \startlanguagespecifics[\s!sv]% %
> > \defineactivecharacter � {\aring{}} % \defineactivecharacter �
> > {\Aring{}} % \defineactivecharacter � {\aumlaut{}} %
> > \defineactivecharacter � {\Aumlaut{}} % \defineactivecharacter �
> > {\oumlaut{}} % \defineactivecharacter � {\Oumlaut{}} %
> > \stoplanguagespecifics % \stopencoding
> >
> > At last, some questions:
> >
> > 1) How should I do to get �,�,� last in the index?
> >
> For what purpose do you seek a new sort order? If for an index then
> Xindy has some superior tools for accomplishing this. But how to use
> Xindy in a Context run? I used the sort macro package from the TeXsis
> macros. The particular file is called index.tex. There are some name
> conflicts between this package and Context so I modified some names in
> the macro package, e.g., index becomes indexx. Then one can embed the
> commands in your pdfetex or Context file, run Context, run a couple of
> programs from the Xindy suite (one to convert from makeindex format
> and then Xindy itself) and rerun Context to produce the index in the
> proper place.
>
> If Context can be made to do this with equal or greater facility then
> there is no problem. But if not, Xindy was designed specifically to
> handle indexes with various alphabets; indeed the tutorial deals with
> accented words and the Hungarian "Ny" which is sorted as a separate
> letter. All the situations you describe above are easily handled.
>
> HTH
> --
>
> John Culleton
> Able Indexers and Typesetters
> Rowse Reviews
> Culleton Editorial Services
> http://wexfordpress.com
>
> _______________________________________________
> ntg-context mailing list
> [EMAIL PROTECTED]
> http://www.ntg.nl/mailman/listinfo/ntg-context
Thanks for your answer John! I want to be able to sort the swedish
letters, �,� and �. (the order is ... u,v,x,y,z,�,�,�). When I add words
now that begin with those letters they end up before all other letters.
Example. Adding zebra, �sna, �lg and �dla gives something like
�dla
�lg
�sna
Z
zebra
while I want it to be
Z
zebra
�
�sna
�
�lg
�
�dla
============
I have used xindy in LaTeX and liked it alot. Do I read your text
correct between the lines when I read that ConTeXt uses makeindex as
default but there is a way to use xindy instead to sort things? Or does
ConTeXt sort things in another way?
Regards, Micke P
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context