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: LuaTex choking on \definesynonyms?
Date: Tue, 4 Aug 2009 14:27:42 -0600	[thread overview]
Message-ID: <f5d0b64b0908041327l7bea98f9l802fa6de25b74409@mail.gmail.com> (raw)
In-Reply-To: <cd7ae9e30908020708w4cdeae1bra8120fae50ec49bc@mail.gmail.com>


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

Hi Roland,

Hans (or someone else) added abbreviation as a standard synonym in the file
strc-syn.mkiv<http://source.contextgarden.net/tex/context/base/strc-syn.mkiv?search=abbreviations>.
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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 7793 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-08-04 20:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-02 14:08 Roland
2009-08-04 20:27 ` Kevin D. Robbins [this message]
2009-08-29 12:14   ` Roland
2009-08-30  9:53     ` Hans Hagen
2009-08-30 10:24     ` 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=f5d0b64b0908041327l7bea98f9l802fa6de25b74409@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).