From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/48022 Path: news.gmane.org!not-for-mail From: "Kevin D. Robbins" Newsgroups: gmane.comp.tex.context Subject: Re: MKIV: problem with synonyms Date: Thu, 5 Mar 2009 09:59:13 -0700 Message-ID: References: <498B6482.2030502@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0460408694==" X-Trace: ger.gmane.org 1236272418 14537 80.91.229.12 (5 Mar 2009 17:00:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Mar 2009 17:00:18 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 05 18:01:34 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LfGwp-0003Ri-Kq for gctc-ntg-context-518@m.gmane.org; Thu, 05 Mar 2009 18:01:27 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B517D1FBBE; Thu, 5 Mar 2009 18:00:02 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21848-02; Thu, 5 Mar 2009 17:59:27 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2B2F11FB5B; Thu, 5 Mar 2009 17:59:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1792E1FB5B for ; Thu, 5 Mar 2009 17:59:25 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20793-04-2 for ; Thu, 5 Mar 2009 17:59:17 +0100 (CET) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by ronja.ntg.nl (Postfix) with ESMTP id EB33D1FB5A for ; Thu, 5 Mar 2009 17:59:17 +0100 (CET) Original-Received: from yx-out-1718.google.com (yx-out-1718.google.com [74.125.44.153]) by filter3-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n25GxEbq029592 for ; Thu, 5 Mar 2009 17:59:15 +0100 Original-Received: by yx-out-1718.google.com with SMTP id 4so7962yxp.74 for ; Thu, 05 Mar 2009 08:59:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=Y6NMazZNzqRy3oBaz7CtjisAKW5Va/95KVcCq12EUjM=; b=SbqRXcXE7l4qxTCpPyLU+OssB4p9f4pWkDjBZ33/XIfUTTC3+dHh/fiyUgAwRYuoWq hbejbNG9ChzB2u0wfn6GUUxyupdFyWBoPgS39f2rMmcQVDZqrpcZiWNlV64vTVEo0mQD uMTad8uuXd2MppP61K40/oDHSMjR39G+ZgfcQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=WnYkck8Pq/T4T2H5I7w48gYWOAgrJo/mkI9vFVgMm8AYGIp1MD/5h84G1d7S1iNQn3 90NSV/83oUu9j4clFfKu0ccr+wB7gz2cYm7LdEA6ZIxEni35fOReG4yeShsEtpU6aXMU G1u1HTSXwm7rRC+JqrptWNmVsfMB25XL4t700= Original-Received: by 10.90.91.9 with SMTP id o9mr360462agb.97.1236272353975; Thu, 05 Mar 2009 08:59:13 -0800 (PST) In-Reply-To: <498B6482.2030502@wxs.nl> X-Google-Sender-Auth: 332d339a8b2c8c94 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.44.153; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 189270148 - 6b93622253cf X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:48022 Archived-At: --===============0460408694== Content-Type: multipart/alternative; boundary=0016361e8806811cd0046462160a --0016361e8806811cd0046462160a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Hans, When you earlier said that sorting was supported in cont-xp, did you mean i= t should be working right now, or that you are only going to fix sorting in cont-xp? Right now, \completelistofacronyms fails in the following example using 'context --interface=3Dxp' : ----- \definesynonyms[acronym][acronyms][\infull] \acronym{ABC}{A Better Compiler} \acronym{DEF}{Don't Ever Fail} \starttext \completelistofacronyms \infull{ABC} (\ABC) \infull{DEF} (\DEF) \stoptext ----- The error I see is: ----- systems : synchronize: chapter,chapter,section-2,2 ! LuaTeX error ...text/tex/texmf-context/tex/context/base/strc-syn.lua:89: attempt to index field 'definition' (a nil value) stack traceback: ...text/tex/texmf-context/tex/context/base/strc-syn.lua:89: in function 'filter' ...text/tex/texmf-context/tex/context/base/strc-syn.lua:162: in functio= n 'analysed' ...text/tex/texmf-context/tex/context/base/strc-syn.lua:172: in functio= n 'process'
:1: in main chunk. \doplacelistofsynonyms ...blists.process('#1',{})} \stoppacked \endgroup \docompletelistofsynonyms ...stofsynonyms {#1}{#2} \page [\v!yes ] l.7 \completelistofacronyms ----- Thanks, Kevin On Thu, Feb 5, 2009 at 3:13 PM, Hans Hagen wrote: > Peter M=C3=BCnster wrote: > >> Hello, >> >> \completelistof... does not work with MKIV >> (ConTeXt 2009.01.18 and LuaTeX snapshot-0.31.3-2008123108): >> >> \definesynonyms[Acro][acronymes] >> \Acro{HTML}{HyperText Markup Language} >> \Acro{PDF}{Portable Document Format} >> \starttext >> \HTML\ and \PDF >> \completelistofacronymes >> \stoptext >> > > indeed, all sorting is not working since i moved to a different method > (supporte din cont-xp) > > Hans > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- > > > _________________________________________________________________________= __________ > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > _________________________________________________________________________= __________ > --0016361e8806811cd0046462160a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Hans,

When you earlier said that sorting was supported in cont-xp= , did you mean it should be working right now, or that you are only going t= o fix sorting in cont-xp?

Right now, \completelistofacronyms fails i= n the following example using 'context --interface=3Dxp' :

-----
\definesynonyms[acronym][acronyms][\infull]

\acronym{AB= C}{A Better Compiler}
\acronym{DEF}{Don't Ever Fail}

\startte= xt
=C2=A0 \completelistofacronyms
=C2=A0 \infull{ABC} (\ABC)
=C2= =A0 \infull{DEF} (\DEF)
\stoptext
-----

The error I see is:

-----
systems=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : synchronize: chapter,chapter,section= -2,2
! LuaTeX error ...text/tex/texmf-context/tex/context/base/strc-syn.= lua:89: attempt to index field 'definition' (a nil value)
stack traceback:
=C2=A0=C2=A0=C2=A0 ...text/tex/texmf-context/tex/contex= t/base/strc-syn.lua:89: in function 'filter'
=C2=A0=C2=A0=C2=A0 = ...text/tex/texmf-context/tex/context/base/strc-syn.lua:162: in function &#= 39;analysed'
=C2=A0=C2=A0=C2=A0 ...text/tex/texmf-context/tex/contex= t/base/strc-syn.lua:172: in function 'process'
=C2=A0=C2=A0=C2=A0 <main ctx instance>:1: in main chunk.
\doplacel= istofsynonyms ...blists.process('#1',{})}
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \stoppacked \endgroup
= \docompletelistofsynonyms ...stofsynonyms {#1}{#2}
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \page= [\v!yes ]
l.7=C2=A0=C2=A0 \completelistofacronyms
-----
=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0
Thanks,

Kevin

On Thu= , Feb 5, 2009 at 3:13 PM, Hans Hagen <pragma@wxs.nl> wrote:
Peter M=C3=BCnster wrote:
Hello,

\completelistof... does not work with MKIV
(ConTeXt 2009.01.18 and LuaTeX snapshot-0.31.3-2008123108):

\definesynonyms[Acro][acronymes]
\Acro{HTML}{HyperText Markup Language}
\Acro{PDF}{Portable Document Format}
\starttext
\HTML\ and \PDF
\completelistofacronymes
\stoptext

indeed, all sorting is not working since i moved to a different method (sup= porte din cont-xp)

Hans


-----------------------------------------------------------------
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Ha= ns Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Ridderstraat 27 | 8061 GH = Hasselt | The Netherlands
=C2=A0 =C2=A0 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 | www.pragma-= pod.nl
-----------------------------------------------------------------

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =C2=A0: http= ://www.pragma-ade.nl / http://tex.aanhet.net
archive =C2=A0: https://foundry.supelec.fr/projects/contextrev/
wiki =C2=A0 =C2=A0 : http://contextgarden.net
___________________________________________________________________________= ________

--0016361e8806811cd0046462160a-- --===============0460408694== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0460408694==--