ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Fwd: bug in switch.rb
@ 2013-11-02  7:43 Akira Kakuto
  0 siblings, 0 replies; 2+ messages in thread
From: Akira Kakuto @ 2013-11-02  7:43 UTC (permalink / raw)
  To: pragma, ntg-context

Hi Hans,

> /usr/local/texlive/2013/texmf-dist/scripts/context/ruby/base/switch.rb:501:

You added two lines in the latest swith.rb:
#encoding: ASCII-8BIT

# module    : base/switch
... ...

There may be no errors if the new switch.rb is used.

Best,
Akira

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Fwd: bug in switch.rb
       [not found] <526BE8D3.40304@virginmedia.com>
@ 2013-11-01 14:37 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2013-11-01 14:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: ian.spackman

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-02  7:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-02  7:43 Fwd: bug in switch.rb Akira Kakuto
     [not found] <526BE8D3.40304@virginmedia.com>
2013-11-01 14:37 ` Hans Hagen

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).