ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Clean Machine, MacTeX 2013 installed, ConTeXt problem
@ 2013-09-18  8:47 Gerben Wierda
  2013-09-18  9:18 ` Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: Gerben Wierda @ 2013-09-18  8:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1.1: Type: text/plain, Size: 864 bytes --]

As my computer died I had to set up a clean one. I installed MacTeX 2013 and tried to compile a ConTeXt project, but this failed:

texexec --pdf --mode=editor --once ../products/prd_book.tex

resolvers       | caches | path '/Users/gerben/Library/texlive/2013/texmf-var' created/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 `<main>'

It seems a problem in a ruby file in MacTeX 2013. Can someone help me get this working?

Thanks,

G


[-- Attachment #1.1.2: Type: text/html, Size: 1753 bytes --]

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4142 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Clean Machine, MacTeX 2013 installed, ConTeXt problem
  2013-09-18  8:47 Clean Machine, MacTeX 2013 installed, ConTeXt problem Gerben Wierda
@ 2013-09-18  9:18 ` Hans Hagen
  2013-09-18 14:53   ` Gerben Wierda
  0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2013-09-18  9:18 UTC (permalink / raw)
  To: ntg-context

On 9/18/2013 10:47 AM, Gerben Wierda wrote:
> As my computer died I had to set up a clean one. I installed MacTeX 2013
> and tried to compile a ConTeXt project, but this failed:
>
> texexec --pdf --mode=editor --once .../products/prd_book.tex
>
> resolvers       | caches | path
> '/Users/gerben/Library/texlive/2013/texmf-var'
> created/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
> `<main>'
>
> It seems a problem in a ruby file in MacTeX 2013. Can someone help me
> get this working?

Maybe something utf in the latest ruby ... can you try to replace the 
\xFF with \xFFFC and see what happens?

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 10+ messages in thread

* Re: Clean Machine, MacTeX 2013 installed, ConTeXt problem
  2013-09-18  9:18 ` Hans Hagen
@ 2013-09-18 14:53   ` Gerben Wierda
  2013-09-18 17:15     ` Hans Hagen
                       ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Gerben Wierda @ 2013-09-18 14:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On 18 Sep 2013, at 11:18, Hans Hagen <pragma@wxs.nl> wrote:

> On 9/18/2013 10:47 AM, Gerben Wierda wrote:
>> As my computer died I had to set up a clean one. I installed MacTeX 2013
>> and tried to compile a ConTeXt project, but this failed:
>> 
>> texexec --pdf --mode=editor --once .../products/prd_book.tex
>> 
>> resolvers       | caches | path
>> '/Users/gerben/Library/texlive/2013/texmf-var'
>> created/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
>> `<main>'
>> 
>> It seems a problem in a ruby file in MacTeX 2013. Can someone help me
>> get this working?
> 
> Maybe something utf in the latest ruby ... can you try to replace the \xFF with \xFFFC and see what happens?

Same thing happens. Now it says \xFFFC is an invalid multibyte escape

G

> 
> Hans
> 
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
>                                             | www.pragma-pod.nl
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4142 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Clean Machine, MacTeX 2013 installed, ConTeXt problem
  2013-09-18 14:53   ` Gerben Wierda
@ 2013-09-18 17:15     ` Hans Hagen
  2013-09-18 17:21       ` Rajeesh K Nambiar
  2013-09-18 17:31     ` Hans Hagen
  2013-09-18 17:55     ` Hans Hagen
  2 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2013-09-18 17:15 UTC (permalink / raw)
  To: ntg-context

On 9/18/2013 4:53 PM, Gerben Wierda wrote:

> Same thing happens. Now it says \xFFFC is an invalid multibyte escape

hm, hoe ziet een multibyte escape in ruby er dan uit? ik heb al jaren 
niets in ruby gedaan

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 10+ messages in thread

* Re: Clean Machine, MacTeX 2013 installed, ConTeXt problem
  2013-09-18 17:15     ` Hans Hagen
@ 2013-09-18 17:21       ` Rajeesh K Nambiar
  0 siblings, 0 replies; 10+ messages in thread
From: Rajeesh K Nambiar @ 2013-09-18 17:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Sep 18, 2013 at 10:45 PM, Hans Hagen <pragma@wxs.nl> wrote:
> On 9/18/2013 4:53 PM, Gerben Wierda wrote:
>
>> Same thing happens. Now it says \xFFFC is an invalid multibyte escape
>

This error was reported against TeXLive 2013 in Fedora also -
https://bugzilla.redhat.com/show_bug.cgi?id=993255

>
> hm, hoe ziet een multibyte escape in ruby er dan uit? ik heb al jaren niets
> in ruby gedaan

Not sure what I did was correct (no idea about Ruby), but managed to
avoid this error by changing to \0xFF.

>
>

-- 
Cheers,
Rajeesh
___________________________________________________________________________________
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] 10+ messages in thread

* Re: Clean Machine, MacTeX 2013 installed, ConTeXt problem
  2013-09-18 14:53   ` Gerben Wierda
  2013-09-18 17:15     ` Hans Hagen
@ 2013-09-18 17:31     ` Hans Hagen
  2013-09-18 20:23       ` Gerben Wierda
  2013-09-18 17:55     ` Hans Hagen
  2 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2013-09-18 17:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 9/18/2013 4:53 PM, Gerben Wierda wrote:

> Same thing happens. Now it says \xFFFC is an invalid multibyte escape

and \x01 ?

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 10+ messages in thread

* Re: Clean Machine, MacTeX 2013 installed, ConTeXt problem
  2013-09-18 14:53   ` Gerben Wierda
  2013-09-18 17:15     ` Hans Hagen
  2013-09-18 17:31     ` Hans Hagen
@ 2013-09-18 17:55     ` Hans Hagen
  2013-09-18 23:36       ` Mica Semrick
  2 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2013-09-18 17:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 9/18/2013 4:53 PM, Gerben Wierda wrote:
> On 18 Sep 2013, at 11:18, Hans Hagen <pragma@wxs.nl> wrote:
>
>> On 9/18/2013 10:47 AM, Gerben Wierda wrote:
>>> As my computer died I had to set up a clean one. I installed MacTeX 2013
>>> and tried to compile a ConTeXt project, but this failed:
>>>
>>> texexec --pdf --mode=editor --once .../products/prd_book.tex
>>>
>>> resolvers       | caches | path
>>> '/Users/gerben/Library/texlive/2013/texmf-var'
>>> created/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
>>> `<main>'
>>>
>>> It seems a problem in a ruby file in MacTeX 2013. Can someone help me
>>> get this working?
>>
>> Maybe something utf in the latest ruby ... can you try to replace the \xFF with \xFFFC and see what happens?
>
> Same thing happens. Now it says \xFFFC is an invalid multibyte escape

it runs ok with \xFF here in 1.9

in 2.0 i need to patch in that file:

series.each_char do |key| # was .each but there is no alias to each_char 
any longer

does the top of switch.rb mention:

#encoding: ASCII-8BIT

(i do have a prototype of texexec in lua but no time to finish that now 
but i fear at some moment i have to do it as i cannot foresee ruby 2.0 
compatibility issues)

Hans



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 10+ messages in thread

* Re: Clean Machine, MacTeX 2013 installed, ConTeXt problem
  2013-09-18 17:31     ` Hans Hagen
@ 2013-09-18 20:23       ` Gerben Wierda
  2013-09-19  7:15         ` Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: Gerben Wierda @ 2013-09-18 20:23 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

On 18 Sep 2013, at 19:31, Hans Hagen <pragma@wxs.nl> wrote:

> On 9/18/2013 4:53 PM, Gerben Wierda wrote:
> 
>> Same thing happens. Now it says \xFFFC is an invalid multibyte escape
> 
> and \x01 ?

That works. 

Now I run into the next problem. GTAMacFonts does not work anymore. Sigh. 

G
___________________________________________________________________________________
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] 10+ messages in thread

* Re: Clean Machine, MacTeX 2013 installed, ConTeXt problem
  2013-09-18 17:55     ` Hans Hagen
@ 2013-09-18 23:36       ` Mica Semrick
  0 siblings, 0 replies; 10+ messages in thread
From: Mica Semrick @ 2013-09-18 23:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi,

Not sure if this is helpful, but I get a very similar error when trying to
build the nokogiri gem with RVM & ruby 2.0 on my Mac OS X 10.6.8 machine.
I'm not at that machine currently, but I can post the error if you think
that will help.

Best,
Mica


On Wed, Sep 18, 2013 at 10:55 AM, Hans Hagen <pragma@wxs.nl> wrote:

> On 9/18/2013 4:53 PM, Gerben Wierda wrote:
>
>> On 18 Sep 2013, at 11:18, Hans Hagen <pragma@wxs.nl> wrote:
>>
>>  On 9/18/2013 10:47 AM, Gerben Wierda wrote:
>>>
>>>> As my computer died I had to set up a clean one. I installed MacTeX 2013
>>>> and tried to compile a ConTeXt project, but this failed:
>>>>
>>>> texexec --pdf --mode=editor --once .../products/prd_book.tex
>>>>
>>>> resolvers       | caches | path
>>>> '/Users/gerben/Library/**texlive/2013/texmf-var'
>>>> created/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
>>>> `<main>'
>>>>
>>>> It seems a problem in a ruby file in MacTeX 2013. Can someone help me
>>>> get this working?
>>>>
>>>
>>> Maybe something utf in the latest ruby ... can you try to replace the
>>> \xFF with \xFFFC and see what happens?
>>>
>>
>> Same thing happens. Now it says \xFFFC is an invalid multibyte escape
>>
>
> it runs ok with \xFF here in 1.9
>
> in 2.0 i need to patch in that file:
>
> series.each_char do |key| # was .each but there is no alias to each_char
> any longer
>
> does the top of switch.rb mention:
>
> #encoding: ASCII-8BIT
>
> (i do have a prototype of texexec in lua but no time to finish that now
> but i fear at some moment i have to do it as i cannot foresee ruby 2.0
> compatibility issues)
>
>
> Hans
>
>
>
> ------------------------------**------------------------------**-----
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
>                                              | www.pragma-pod.nl
> ------------------------------**------------------------------**-----
> ______________________________**______________________________**
> _______________________
> 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 <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/<http://foundry.supelec.fr/projects/contextrev/>
> wiki     : http://contextgarden.net
> ______________________________**______________________________**
> _______________________
>

[-- Attachment #1.2: Type: text/html, Size: 4598 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Clean Machine, MacTeX 2013 installed, ConTeXt problem
  2013-09-18 20:23       ` Gerben Wierda
@ 2013-09-19  7:15         ` Hans Hagen
  0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2013-09-19  7:15 UTC (permalink / raw)
  To: Gerben Wierda; +Cc: mailing list for ConTeXt users

On 9/18/2013 10:23 PM, Gerben Wierda wrote:
> On 18 Sep 2013, at 19:31, Hans Hagen <pragma@wxs.nl> wrote:
>
>> On 9/18/2013 4:53 PM, Gerben Wierda wrote:
>>
>>> Same thing happens. Now it says \xFFFC is an invalid multibyte escape
>>
>> and \x01 ?
>
> That works.
>
> Now I run into the next problem. GTAMacFonts does not work anymore. Sigh.

I have no clue ... mkii didn't change, so maybe the fonts did?

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 10+ messages in thread

end of thread, other threads:[~2013-09-19  7:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-18  8:47 Clean Machine, MacTeX 2013 installed, ConTeXt problem Gerben Wierda
2013-09-18  9:18 ` Hans Hagen
2013-09-18 14:53   ` Gerben Wierda
2013-09-18 17:15     ` Hans Hagen
2013-09-18 17:21       ` Rajeesh K Nambiar
2013-09-18 17:31     ` Hans Hagen
2013-09-18 20:23       ` Gerben Wierda
2013-09-19  7:15         ` Hans Hagen
2013-09-18 17:55     ` Hans Hagen
2013-09-18 23:36       ` Mica Semrick

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