ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* MKIV: problem with synonyms
@ 2009-02-05 18:49 Peter Münster
  2009-02-05 22:13 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Münster @ 2009-02-05 18:49 UTC (permalink / raw)
  To: ConTeXt list

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

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: MKIV: problem with synonyms
  2009-02-05 18:49 MKIV: problem with synonyms Peter Münster
@ 2009-02-05 22:13 ` Hans Hagen
  2009-03-05 16:59   ` Kevin D. Robbins
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2009-02-05 22:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: MKIV: problem with synonyms
  2009-02-05 22:13 ` Hans Hagen
@ 2009-03-05 16:59   ` Kevin D. Robbins
  2009-03-05 18:34     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Kevin D. Robbins @ 2009-03-05 16:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: MKIV: problem with synonyms
  2009-03-05 16:59   ` Kevin D. Robbins
@ 2009-03-05 18:34     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2009-03-05 18:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Kevin D. Robbins wrote:
> 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?

indeed, only fix in xp which will become normal mkiv as soon as i have 
time to merge back the code (which is rather soon)

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-03-05 18:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-05 18:49 MKIV: problem with synonyms Peter Münster
2009-02-05 22:13 ` Hans Hagen
2009-03-05 16:59   ` Kevin D. Robbins
2009-03-05 18:34     ` Hans Hagen

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).