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.spack...@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..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
___