ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* context mkiv nomenclature problem (bug)
@ 2009-04-10  8:28 Thomas Prochaska
  2009-04-11  6:28 ` Wolfgang Schuster
  0 siblings, 1 reply; 11+ messages in thread
From: Thomas Prochaska @ 2009-04-10  8:28 UTC (permalink / raw)
  To: ntg-context

Hi!

this simple example works with "texexec" but not with "context".

%---------------------
 \definesynonyms[nomenclature][nomenclatures][\infull]
\setupsynonyms[nomenclature][criterium=all,width=broad]

\nomenclature[a]{abcdefg}{alphabet}
\nomenclature[b]{b}{letter b}

\starttext
xxx
\completelistofnomenclatures
yyy
\stoptext
%---------------------

is this bug known? i couldn't find anything on the web or in the mailinglist 
archive.

thanks!

regards
thomas prochaska


___________________________________________________________________________________
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] 11+ messages in thread

* Re: context mkiv nomenclature problem (bug)
  2009-04-10  8:28 context mkiv nomenclature problem (bug) Thomas Prochaska
@ 2009-04-11  6:28 ` Wolfgang Schuster
  2009-04-14 11:28   ` Thomas Prochaska
  0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Schuster @ 2009-04-11  6:28 UTC (permalink / raw)
  To: dev, mailing list for ConTeXt users


Am 10.04.2009 um 10:28 schrieb Thomas Prochaska:

> Hi!
>
> this simple example works with "texexec" but not with "context".
>
> %---------------------
> \definesynonyms[nomenclature][nomenclatures][\infull]
> \setupsynonyms[nomenclature][criterium=all,width=broad]
>
> \nomenclature[a]{abcdefg}{alphabet}
> \nomenclature[b]{b}{letter b}
>
> \starttext
> xxx
> \completelistofnomenclatures
> yyy
> \stoptext
> %---------------------
>
> is this bug known? i couldn't find anything on the web or in the  
> mailinglist
> archive.
>
> thanks!

You need the latest beta because Hans rewrote registers, section,  
synonyms etc.
in mkiv and it was broken for a while in the last betas but is now back.

Wolfgang

___________________________________________________________________________________
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] 11+ messages in thread

* Re: context mkiv nomenclature problem (bug)
  2009-04-11  6:28 ` Wolfgang Schuster
@ 2009-04-14 11:28   ` Thomas Prochaska
       [not found]     ` <A771E451-49D5-4CF6-9D31-8F774F272218@gmail.com>
  2009-04-14 12:07     ` Hans Hagen
  0 siblings, 2 replies; 11+ messages in thread
From: Thomas Prochaska @ 2009-04-14 11:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am Samstag, 11. April 2009 08:28:33 schrieb Wolfgang Schuster:
> Am 10.04.2009 um 10:28 schrieb Thomas Prochaska:
> > Hi!
> >
> > this simple example works with "texexec" but not with "context".
> >
> > %---------------------
> > \definesynonyms[nomenclature][nomenclatures][\infull]
> > \setupsynonyms[nomenclature][criterium=all,width=broad]
> >
> > \nomenclature[a]{abcdefg}{alphabet}
> > \nomenclature[b]{b}{letter b}
> >
> > \starttext
> > xxx
> > \completelistofnomenclatures
> > yyy
> > \stoptext
> > %---------------------
> >
> > is this bug known? i couldn't find anything on the web or in the
> > mailinglist
> > archive.
> >
> > thanks!
>
> You need the latest beta because Hans rewrote registers, section,
> synonyms etc.
> in mkiv and it was broken for a while in the last betas but is now back.
>
> Wolfgang

hm, with the latest context minimal i get this:

structure      : chapter @ level 2 : (0.4) . -> \headtext {abbreviations}
[5]
! LuaTeX error ...text/tex/texmf-context/tex/context/base/strc-syn.lua:108: 
attempt to index local 'rd' (a nil value)
stack traceback:
        ...text/tex/texmf-context/tex/context/base/strc-syn.lua:108: in 
function 'prepare'
        ...text/tex/texmf-context/tex/context/base/strc-syn.lua:170: in 
function 'analysed'
        ...text/tex/texmf-context/tex/context/base/strc-syn.lua:179: in 
function 'process'
        <main ctx instance>:1: in main chunk.
\doplacelistofsynonyms ...meter \c!criterium " })}
                                                  \stoppacked \endgroup
\docompletelistofsynonyms ...stofsynonyms {#1}{#2}
                                                  \page [\v!yes ]
l.51 \completelistofabbreviations
                                  % abkürzungsverzeichnis
?

is this work in progress or should this work by now?

regards
thomas prochaska
___________________________________________________________________________________
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] 11+ messages in thread

* Re: context mkiv nomenclature problem (bug)
       [not found]     ` <A771E451-49D5-4CF6-9D31-8F774F272218@gmail.com>
@ 2009-04-14 11:54       ` Thomas Prochaska
  0 siblings, 0 replies; 11+ messages in thread
From: Thomas Prochaska @ 2009-04-14 11:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am Dienstag, 14. April 2009 13:47:44 schrieb Wolfgang Schuster:
> Am 14.04.2009 um 13:28 schrieb Thomas Prochaska:
> > hm, with the latest context minimal i get this:
> >
> > structure      : chapter @ level 2 : (0.4) . -> \headtext
> > {abbreviations}
> > [5]
> > ! LuaTeX error ...text/tex/texmf-context/tex/context/base/strc-
> > syn.lua:108:
> > attempt to index local 'rd' (a nil value)
> > stack traceback:
> >        ...text/tex/texmf-context/tex/context/base/strc-syn.lua:108: in
> > function 'prepare'
> >        ...text/tex/texmf-context/tex/context/base/strc-syn.lua:170: in
> > function 'analysed'
> >        ...text/tex/texmf-context/tex/context/base/strc-syn.lua:179: in
> > function 'process'
> >        <main ctx instance>:1: in main chunk.
> > \doplacelistofsynonyms ...meter \c!criterium " })}
> >                                                  \stoppacked \endgroup
> > \docompletelistofsynonyms ...stofsynonyms {#1}{#2}
> >                                                  \page [\v!yes ]
> > l.51 \completelistofabbreviations
> >                                  % abkürzungsverzeichnis
> > ?
> >
> > is this work in progress or should this work by now?
>
> Works for me and I can't reproduce your error.
>
> MTXrun | current version: 2009.04.13 15:00
> This is LuaTeX, Version snapshot-0.38.0-2009041013, build unknown
>
> Wolfgang

strange,

i get this error mentioned in my last post with the same version you use.

MTXrun | run 1: luatex --fmt="/home/fin/tmp/context/tex/texmf-cache/luatex-
cache/context/33a30fde7a9f22efaab522cd44afb585/formats/cont-en" --
lua="/home/fin/tmp/context/tex/texmf-cache/luatex-
cache/context/33a30fde7a9f22efaab522cd44afb585/formats/cont-en.lui" 
"./dipla.tex"                                                                                                       
This is LuaTeX, Version snapshot-0.38.0-2009041013 (Web2C 7.5.7)                                                             
(dipla.tex                                                                                                                   

ConTeXt  ver: 2009.04.13 15:00 MKIV  fmt: 2009.4.14  int: english/english

thomas
___________________________________________________________________________________
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] 11+ messages in thread

* Re: context mkiv nomenclature problem (bug)
  2009-04-14 11:28   ` Thomas Prochaska
       [not found]     ` <A771E451-49D5-4CF6-9D31-8F774F272218@gmail.com>
@ 2009-04-14 12:07     ` Hans Hagen
  2009-04-14 12:23       ` Thomas Prochaska
  1 sibling, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2009-04-14 12:07 UTC (permalink / raw)
  To: dev, mailing list for ConTeXt users

Thomas Prochaska wrote:
> Am Samstag, 11. April 2009 08:28:33 schrieb Wolfgang Schuster:
>> Am 10.04.2009 um 10:28 schrieb Thomas Prochaska:
>>> Hi!
>>>
>>> this simple example works with "texexec" but not with "context".
>>>
>>> %---------------------
>>> \definesynonyms[nomenclature][nomenclatures][\infull]
>>> \setupsynonyms[nomenclature][criterium=all,width=broad]
>>>
>>> \nomenclature[a]{abcdefg}{alphabet}
>>> \nomenclature[b]{b}{letter b}
>>>
>>> \starttext
>>> xxx
>>> \completelistofnomenclatures
>>> yyy
>>> \stoptext
>>> %---------------------
>>>
>>> is this bug known? i couldn't find anything on the web or in the
>>> mailinglist
>>> archive.
>>>
>>> thanks!
>> You need the latest beta because Hans rewrote registers, section,
>> synonyms etc.
>> in mkiv and it was broken for a while in the last betas but is now back.
>>
>> Wolfgang
> 
> hm, with the latest context minimal i get this:

maybe erase the tuc file helps

-----------------------------------------------------------------
                                           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] 11+ messages in thread

* Re: context mkiv nomenclature problem (bug)
  2009-04-14 12:07     ` Hans Hagen
@ 2009-04-14 12:23       ` Thomas Prochaska
  2009-04-15  9:13         ` Thomas A. Schmitz
  2009-04-16 21:24         ` Hans Hagen
  0 siblings, 2 replies; 11+ messages in thread
From: Thomas Prochaska @ 2009-04-14 12:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am Dienstag, 14. April 2009 14:07:14 schrieb Hans Hagen:
> Thomas Prochaska wrote:
> > Am Samstag, 11. April 2009 08:28:33 schrieb Wolfgang Schuster:
> >> Am 10.04.2009 um 10:28 schrieb Thomas Prochaska:
> >>> Hi!
> >>>
> >>> this simple example works with "texexec" but not with "context".
> >>>
> >>> %---------------------
> >>> \definesynonyms[nomenclature][nomenclatures][\infull]
> >>> \setupsynonyms[nomenclature][criterium=all,width=broad]
> >>>
> >>> \nomenclature[a]{abcdefg}{alphabet}
> >>> \nomenclature[b]{b}{letter b}
> >>>
> >>> \starttext
> >>> xxx
> >>> \completelistofnomenclatures
> >>> yyy
> >>> \stoptext
> >>> %---------------------
> >>>
> >>> is this bug known? i couldn't find anything on the web or in the
> >>> mailinglist
> >>> archive.
> >>>
> >>> thanks!
> >>
> >> You need the latest beta because Hans rewrote registers, section,
> >> synonyms etc.
> >> in mkiv and it was broken for a while in the last betas but is now back.
> >>
> >> Wolfgang
> >
> > hm, with the latest context minimal i get this:
>
> maybe erase the tuc file helps
>
> -----------------------------------------------------------------
>                                            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
>
> -----------------------------------------------------------------

ok, i deleted all files except my .tex .bib files.
now this error occurs.

structure      : section @ level 3 : (0.1.1) .. -> Biometrische Systeme
! Undefined control sequence.
\preparebibrefprefix ...lltoclevels \alltoclevels
                                                  \let \savedcurrentlevel 
\c...
\expandrefs #1->\bgroup \preparebibrefprefix
                                             \preparebibreflist {#1}\global ...
\next1 #1,->\expandrefs {#1}
                            \doprocesscommaitem
\doprocesscommalist ...item \gobbleoneargument #1,
                                                  ]\relax \global \advance 
\...
\bibnumref ...y \processcommalist [#1]\expandrefs
                                                  \sortcommacommand 
[\theref...
\docite ...alue {bib\@@currentalternative ref}[#2]
                                                  \else \processcommalist 
[#...
l.46 ...System\cite[extras={, vgl. S. 3-11}][hbio]
                                                   setzt sich generell
?

ups, sorry, the last posts and this error occurs on my real document and not 
on the simple testcase provided in the first post.
the simple nomenclature test now works, thanks!!

but this new error remains on my master thesis.

thomas
___________________________________________________________________________________
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] 11+ messages in thread

* Re: context mkiv nomenclature problem (bug)
  2009-04-14 12:23       ` Thomas Prochaska
@ 2009-04-15  9:13         ` Thomas A. Schmitz
  2009-04-15  9:18           ` Hans Hagen
  2009-04-16 21:24         ` Hans Hagen
  1 sibling, 1 reply; 11+ messages in thread
From: Thomas A. Schmitz @ 2009-04-15  9:13 UTC (permalink / raw)
  To: dev, mailing list for ConTeXt users


On Apr 14, 2009, at 2:23 PM, Thomas Prochaska wrote:
>
> ok, i deleted all files except my .tex .bib files.
> now this error occurs.
>
> structure      : section @ level 3 : (0.1.1) .. -> Biometrische  
> Systeme
> ! Undefined control sequence.
> \preparebibrefprefix ...lltoclevels \alltoclevels
>                                                  \let  
> \savedcurrentlevel
> \c...
> \expandrefs #1->\bgroup \preparebibrefprefix
>                                             \preparebibreflist  
> {#1}\global ...
> \next1 #1,->\expandrefs {#1}
>                            \doprocesscommaitem
> \doprocesscommalist ...item \gobbleoneargument #1,
>                                                  ]\relax \global  
> \advance
> \...
> \bibnumref ...y \processcommalist [#1]\expandrefs
>                                                  \sortcommacommand
> [\theref...
> \docite ...alue {bib\@@currentalternative ref}[#2]
>                                                  \else  
> \processcommalist
> [#...
> l.46 ...System\cite[extras={, vgl. S. 3-11}][hbio]
>                                                   setzt sich generell
> ?
>
> ups, sorry, the last posts and this error occurs on my real document  
> and not
> on the simple testcase provided in the first post.
> the simple nomenclature test now works, thanks!!
>
> but this new error remains on my master thesis.
>
> thomas

Yes, I get a similar error too; the latest beta doesn't like t-bib.

Thomas
___________________________________________________________________________________
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] 11+ messages in thread

* Re: context mkiv nomenclature problem (bug)
  2009-04-15  9:13         ` Thomas A. Schmitz
@ 2009-04-15  9:18           ` Hans Hagen
  2009-04-15  9:26             ` Thomas A. Schmitz
  0 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2009-04-15  9:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thomas A. Schmitz wrote:

> Yes, I get a similar error too; the latest beta doesn't like t-bib.

well, you were warned ... as no one came up with a test i decided that 
it was harmless to merge 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] 11+ messages in thread

* Re: context mkiv nomenclature problem (bug)
  2009-04-15  9:18           ` Hans Hagen
@ 2009-04-15  9:26             ` Thomas A. Schmitz
  2009-04-15  9:45               ` Hans Hagen
  0 siblings, 1 reply; 11+ messages in thread
From: Thomas A. Schmitz @ 2009-04-15  9:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users


On Apr 15, 2009, at 11:18 AM, Hans Hagen wrote:

> Thomas A. Schmitz wrote:
>
>> Yes, I get a similar error too; the latest beta doesn't like t-bib.
>
> well, you were warned ... as no one came up with a test i decided  
> that it was harmless to merge xp -)
>
>
> Hans
>
Let's not fight and agree on blaming Taco ;-)

Thomas
___________________________________________________________________________________
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] 11+ messages in thread

* Re: context mkiv nomenclature problem (bug)
  2009-04-15  9:26             ` Thomas A. Schmitz
@ 2009-04-15  9:45               ` Hans Hagen
  0 siblings, 0 replies; 11+ messages in thread
From: Hans Hagen @ 2009-04-15  9:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thomas A. Schmitz wrote:
> 
> On Apr 15, 2009, at 11:18 AM, Hans Hagen wrote:
> 
>> Thomas A. Schmitz wrote:
>>
>>> Yes, I get a similar error too; the latest beta doesn't like t-bib.
>>
>> well, you were warned ... as no one came up with a test i decided that 
>> it was harmless to merge xp -)
>>
>>
>> Hans
>>
> Let's not fight and agree on blaming Taco ;-)

indeed, and after that mojca who is suspiciously silent these days

anyhow, it should not be to complex to cook up a hack as the only thing 
needed is to store some refs; taco identified the two macro involved so 
all we need is a test file (and as i never used bibtex myself ...)

Hans

btw, as you know the xml code ... there are some bibl* files in the 
distribution that you might like to play with ..

-----------------------------------------------------------------
                                           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] 11+ messages in thread

* Re: context mkiv nomenclature problem (bug)
  2009-04-14 12:23       ` Thomas Prochaska
  2009-04-15  9:13         ` Thomas A. Schmitz
@ 2009-04-16 21:24         ` Hans Hagen
  1 sibling, 0 replies; 11+ messages in thread
From: Hans Hagen @ 2009-04-16 21:24 UTC (permalink / raw)
  To: dev; +Cc: mailing list for ConTeXt users

Thomas Prochaska wrote:
>
> ok, i deleted all files except my .tex .bib files.
> now this error occurs.

i sent a mkiv hack to taco who has to check it and integrate it in the 
bib zip

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] 11+ messages in thread

end of thread, other threads:[~2009-04-16 21:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-10  8:28 context mkiv nomenclature problem (bug) Thomas Prochaska
2009-04-11  6:28 ` Wolfgang Schuster
2009-04-14 11:28   ` Thomas Prochaska
     [not found]     ` <A771E451-49D5-4CF6-9D31-8F774F272218@gmail.com>
2009-04-14 11:54       ` Thomas Prochaska
2009-04-14 12:07     ` Hans Hagen
2009-04-14 12:23       ` Thomas Prochaska
2009-04-15  9:13         ` Thomas A. Schmitz
2009-04-15  9:18           ` Hans Hagen
2009-04-15  9:26             ` Thomas A. Schmitz
2009-04-15  9:45               ` Hans Hagen
2009-04-16 21:24         ` 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).