ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: UTF8 / TeXUtils parsing error
Date: Fri, 15 Jul 2011 03:01:19 +0200	[thread overview]
Message-ID: <CAG5iGsAK1Zq9rgKbQGROsENVsfKXPpfprK4uLWHUP+5Cab31Jg@mail.gmail.com> (raw)
In-Reply-To: <201107141750.46072.wbrian@onlineed.com>

On Fri, Jul 15, 2011 at 2:50 AM, Brian Wedde <wbrian@onlineed.com> wrote:
> Minimal example:
>
>
> \enableregime[utf]
> \defineregister[Index][Indeces]
> \starttext
> \Index{x}x.
> \pagebreak
> \placeIndex
> \stoptext
>
>
> When compiling, TeXUtils has a heart attack:
>
> . . .
> TeXUtil | parsing file <filename>.tui
> TeXUtil | fatal error in plugin (processing): invalid multibyte escape
> <contextroot>/tex/texmf-context/scripts/context/ruby/base/texutil.rb:204:in `prepare'
> <contextroot>/tex/texmf-context/scripts/context/ruby/base/texutil.rb:886:in `block in processor'
> <contextroot>/tex/texmf-context/scripts/context/ruby/base/texutil.rb:878:in `each'
> <contextroot>/tex/texmf-context/scripts/context/ruby/base/texutil.rb:878:in `processor'
> <contextroot>/tex/texmf-context/scripts/context/ruby/base/texutil.rb:127:in `block in processors'
> <contextroot>/tex/texmf-context/scripts/context/ruby/base/texutil.rb:125:in `each'
> <contextroot>/tex/texmf-context/scripts/context/ruby/base/texutil.rb:125:in `processors'
> <contextroot>/tex/texmf-context/scripts/context/ruby/base/texutil.rb:1060:in `processed'
> <contextroot>/tex/texmf-context/scripts/context/ruby/base/tex.rb:1667:in `block in runtexutil'
> <contextroot>/tex/texmf-context/scripts/context/ruby/base/tex.rb:1660:in `each'
> <contextroot>/tex/texmf-context/scripts/context/ruby/base/tex.rb:1660:in `runtexutil'
> <contextroot>/tex/texmf-context/scripts/context/ruby/base/tex.rb:1981:in `processfile'
> <contextroot>/tex/texmf-context/scripts/context/ruby/base/tex.rb:1149:in `block (2 levels) in processtex'
> <contextroot>/tex/texmf-context/scripts/context/ruby/base/tex.rb:1139:in `timedrun'
> <contextroot>/tex/texmf-context/scripts/context/ruby/base/tex.rb:1148:in `block in processtex'
> <contextroot>/tex/texmf-context/scripts/context/ruby/base/tex.rb:1145:in `each'
> <contextroot>/tex/texmf-context/scripts/context/ruby/base/tex.rb:1145:in `processtex'
> <contextroot>/tex/texmf-context/scripts/context/ruby/texexec.rb:66:in `process'
> <contextroot>/tex/texmf-context/scripts/context/ruby/texexec.rb:56:in `main'
> <contextroot>/tex/texmf-context/scripts/context/ruby/base/switch.rb:133:in `execute'
> <contextroot>/tex/texmf-context/scripts/context/ruby/texexec.rb:795:in `<main>'
>
> This causes cumulative errors on each iteration with "repeating indices".
>
> The culprit is "\enableregime[utf]". It works fine with TeXLive2010 on Linux, but not on a ConTeXt Minimals (stable) installation on FreeBSD. I'm assuming I haven't installed something
> correctly.
>
> \contextversion outputs "2010.07.30 11:35"
>
>
> Any thoughts? This one is over my head.
>
> Thanks! Your help is very much appreciated
> ___________________________________________________________________________________
> 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  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>
It's ok with mkii/mkiv on my latest minimals
Check the ruby version, mine is
# ruby --version
ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]


-- 
luigi
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2011-07-15  1:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-15  0:50 Brian Wedde
2011-07-15  1:01 ` luigi scarso [this message]
2011-07-15  7:46   ` Hans Hagen
2011-07-15  7:04 ` Mojca Miklavec
2011-07-15 18:34 Brian Wedde
2011-07-15 18:39 ` luigi scarso

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=CAG5iGsAK1Zq9rgKbQGROsENVsfKXPpfprK4uLWHUP+5Cab31Jg@mail.gmail.com \
    --to=luigi.scarso@gmail.com \
    --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).