From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/10245 Path: main.gmane.org!not-for-mail From: John Culleton Newsgroups: gmane.comp.tex.context Subject: Re: More in lang-ger.tex and a MetaPost problem Date: Wed, 8 Jan 2003 12:51:42 +0000 Organization: WexfordPress Sender: ntg-context-admin@ntg.nl Message-ID: <200301081251.42724.john@wexfordpress.com> References: <20030108141559.11b771d8.md9per@mdstud.chalmers.se> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1042048395 4130 80.91.224.249 (8 Jan 2003 17:53:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 8 Jan 2003 17:53:15 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18WKNs-000122-00 for ; Wed, 08 Jan 2003 18:52:56 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 44CA910AEF; Wed, 8 Jan 2003 18:54:10 +0100 (MET) Original-Received: from mta10.adelphia.net (unknown [64.8.50.202]) by ref.ntg.nl (Postfix) with ESMTP id 5A6A610AE8 for ; Wed, 8 Jan 2003 18:53:59 +0100 (MET) Original-Received: from publish ([68.65.115.54]) by mta10.adelphia.net (InterMail vM.5.01.05.25 201-253-122-126-125-20021216) with ESMTP id <20030108175348.OFBM20120.mta10.adelphia.net@publish>; Wed, 8 Jan 2003 12:53:48 -0500 Original-To: ntg-context@ntg.nl, Mikael Persson X-Mailer: KMail [version 1.4] In-Reply-To: <20030108141559.11b771d8.md9per@mdstud.chalmers.se> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:10245 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:10245 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=3DInneh\aring l] should have one > more l, that is: \setupheadtext [\s!sv] [\v!inhoud=3DInneh\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 =E5 {\aring{}} % \defineactivecharacter =C5 > {\Aring{}} % \defineactivecharacter =E4 {\aumlaut{}} % > \defineactivecharacter =C4 {\Aumlaut{}} % \defineactivecharacter =F6 > {\oumlaut{}} % \defineactivecharacter =D6 {\Oumlaut{}} % > \stoplanguagespecifics % \stopencoding > > At last, some questions: > > 1) How should I do to get =C5,=C4,=D6 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.=20 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 --=20 John Culleton Able Indexers and Typesetters=20 Rowse Reviews Culleton Editorial Services http://wexfordpress.com