[OS X TeX] Clean Machine, MacTeX 2013 installed, ConTeXt problem
Gerben Wierda
gerben.wierda at rna.nl
Wed Sep 18 16:41:56 EDT 2013
The problem was a '\xFF' on line 501 of /usr/local/texlive/2012/texmf-dist/scripts/context/ruby/base/switch.rb
If that is changed into \x01, it works.
G
On 17 Sep 2013, at 14:02, Herbert Schulz <herbs at wideopenwest.com> wrote:
>
> On Sep 17, 2013, at 5:59 AM, Gerben Wierda <Gerben.Wierda at rna.nl> 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?
>>
>> Thanks,
>>
>> G
>
> Howdy,
>
> Nice hearing from you!
>
> I'm certainly no expert in ConTeXt so I wonder what happens if you leave out the --mode=editor and --once options. I'm still using TeXShop and its internal context (mkii) engine doesn't use those options and seems to work fine on my very simple test files.
>
> Have you updated TeX Live either using TeX Live Utility or tlmgr since the install? There have been many updates to ConTeXt since release.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest dot com)
>
>
>
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20130918/5d37599a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4142 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20130918/5d37599a/attachment.p7s>
More information about the MacOSX-TeX
mailing list