ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Kevin D. Robbins" <krobbins@alumni.princeton.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: MKIV: problem with synonyms
Date: Thu, 5 Mar 2009 09:59:13 -0700	[thread overview]
Message-ID: <f5d0b64b0903050859n2b947768kf52f8a7cc26c42d5@mail.gmail.com> (raw)
In-Reply-To: <498B6482.2030502@wxs.nl>


[-- Attachment #1.1: Type: text/plain, Size: 2841 bytes --]

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 to fix sorting in
cont-xp?

Right now, \completelistofacronyms fails in the following example using
'context --interface=xp' :

-----
\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 function
'analysed'
    ...text/tex/texmf-context/tex/context/base/strc-syn.lua:172: in function
'process'
    <main ctx instance>: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 <pragma@wxs.nl> wrote:

> Peter Münster 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 4225 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2009-03-05 16:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-05 18:49 Peter Münster
2009-02-05 22:13 ` Hans Hagen
2009-03-05 16:59   ` Kevin D. Robbins [this message]
2009-03-05 18:34     ` Hans Hagen

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=f5d0b64b0903050859n2b947768kf52f8a7cc26c42d5@mail.gmail.com \
    --to=krobbins@alumni.princeton.edu \
    --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).