Hi Roland,

Hans (or someone else) added abbreviation as a standard synonym in the file strc-syn.mkiv. You no longer need to separately define abbreviation with \definesynonym in order to use \abbeviation{VVV}{Bureau of Tourist Information}.

Kevin

On Sun, Aug 2, 2009 at 8:08 AM, Roland <ntg-context@rolandsiebelink.com> wrote:
Hi all,

LuaTex doesn't seem to like the \definesynonyms command. The following
works fine in PDFtex:

    1  \definesynonyms[abbreviation][abbreviations][\infull]
    2
    3  \starttext
    4  \abbreviation{VVV}{Bureau of Tourist Information}
    5  The Dutch \VVV\ (\infull{VVV}) can provide you with the tourist
    6  information on Hasselt.
    7
    8  \stoptext


...but when compiling with Luatex, I get the errors as below. On Mac
OS X with an updated ConTeXt/Luatex minimals installation.

The abbreviations aren't essential in my current document but I guess
somebody might want to look into this?

Thanks
Roland


    1  This is LuaTeX, Version beta-0.42.0-2009071723
    2   \write18 enabled.
    3  (/Users/rs/Desktop/Dropbox/C/ConTeXt_sandbox/sandbox.tex
    4
    5  ConTeXt  ver: 2009.07.23 20:11 MKIV  fmt: 2009.8.2  int: english/english
    6
    7  system          : cont-new loaded
    8  (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.tex
    9  systems         : beware: some patches loaded from cont-new.tex
   10  (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.mkiv))
   11  system          : cont-fil loaded
   12  (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-fil.tex
   13  loading         : ConTeXt File Synonyms
   14  )
   15  system          : cont-sys.rme loaded
   16  (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/user/cont-sys.rme
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.mkiv))
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.mkiv))
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.mkiv)))
   17  system          : sandbox.top loaded
   18  (sandbox.top)
   19  fonts           : preloading latin modern fonts
   20  bodyfont        : 12pt rm is loaded
   21  language        : language en is active
   22  ! Use of \doassignsometextprefixnop doesn't match its definition.
   23  \doassignsometextprefix ...sometextprefixyes \fi {
   24                                                    #1}
   25  \dododosetupsometextprefix ...nsometextprefix {#1}
   26                                                    [#2,,]
   27  \next1 #1,->\dodosetupsometextprefix {#1}
   28                                           \doprocesscommaitem
   29  \doprocesscommalist ...item \gobbleoneargument #1,
   30                                                    ]\relax
\global \advance \...
   31  \dosetupsometextprefix ...dodosetupsometextprefix
   32                                                    \fi
   33  <to be read again>
   34                     \setvalue
   35  ...
   36  l.2
   37
   38
   39  ? ! Too many }'s.
   40  \doassignsometextprefix ...etextprefixyes \fi {#1}
   41
   42  \dododosetupsometextprefix ...nsometextprefix {#1}
   43                                                    [#2,,]
   44  \next1 #1,->\dodosetupsometextprefix {#1}
   45                                           \doprocesscommaitem
   46  \doprocesscommalist ...item \gobbleoneargument #1,
   47                                                    ]\relax
\global \advance \...
   48  \dosetupsometextprefix ...dodosetupsometextprefix
   49                                                    \fi
   50  <to be read again>
   51                     \setvalue
   52  ...
   53  l.2
   54
   55
   56  ? systems         : begin file sandbox at line 3
   57  ! Missing } inserted.
   58  <inserted text>
   59                  }
   60  <to be read again>
   61                     \endgroup
   62  l.5 The Dutch \VVV\ (\infull{VVV}
   63                                   ) can provide you with the tourist
   64  ?
   65  ! Emergency stop.
   66  <inserted text>
   67                  }
   68  <to be read again>
   69                     \endgroup
   70  l.5 The Dutch \VVV\ (\infull{VVV}
   71                                   ) can provide you with the tourist
   72  !  ==> Fatal error occurred, no output PDF file
produced!MTXrun | run 1: luatex
--fmt="/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/formats/cont-en"
--lua="/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/formats/cont-en.lui"
--backend=pdf "/Users/rs/Desktop/Dropbox/C/ConTeXt_sandbox/sandbox.tex"
   73  MTXrun | fatal error, return code: 1
___________________________________________________________________________________
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
___________________________________________________________________________________