ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: ian.spackman@virginmedia.com
Subject: Fwd: bug in switch.rb
Date: Fri, 01 Nov 2013 15:37:52 +0100	[thread overview]
Message-ID: <5273BCC0.5040608@wxs.nl> (raw)
In-Reply-To: <526BE8D3.40304@virginmedia.com>

Hi List,

As my macbook is too old to update (according to apple) and will not be 
upgraded soon (if at all) I cannot test the attached issue. So it's up 
to others.

(My ipad is also too old so it seems I'm stuck with less and less 
useable apple hardware even if it's not yet broken down.)

Hans


-------- Original Message --------

Subject: 	bug in switch.rb
Date: 	Sat, 26 Oct 2013 17:07:47 +0100
From: 	Ian Spackman <ian.spackman@virginmedia.com>



Since upgrading to Mac OS X.9 I haven't been able to use ConTeXt/XeTex:
on even a minimal file I get the message

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in 

'require':
/usr/local/texlive/2013/texmf-dist/scripts/context/ruby/base/switch.rb:501:
invalid multibyte escape: /\xFF/ (SyntaxError) from
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in 

'require' from
/usr/local/texlive/2013/texmf-dist/scripts/context/ruby/texexec.rb:11:in `'

which refers to this method

      def cleanvalue(value)
          if value then
              # value.sub(/^([\"\'])(.*?)\1$/) { $2.gsub(/\xFF/o, ' ') }
              value.gsub(/\xFF/o, ' ')
          else
              ''
          end
      end

in
# module    : base/switch
# copyright : PRAGMA Advanced Document Engineering
# version   : 2002-2005
# author    : Hans Hagen

XeTeX 3.1415926-2.5-0.9999.3-2013052718 (TeX Live 2013)
mtx-context     | ConTeXt Process Management 0.60
mtx-context     |
mtx-context     | main context file:
/usr/local/texlive/2013/texmf-dist/tex/context/base/context.mkiv
mtx-context     | current version: 2013.04.20 01:15
TeX 3.1415926 (TeX Live 2013)


___________________________________________________________________________________
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:[~2013-11-01 14:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <526BE8D3.40304@virginmedia.com>
2013-11-01 14:37 ` Hans Hagen [this message]
2013-11-02  7:43 Akira Kakuto

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=5273BCC0.5040608@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ian.spackman@virginmedia.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).