From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84313 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Clean Machine, MacTeX 2013 installed, ConTeXt problem Date: Wed, 18 Sep 2013 19:55:16 +0200 Message-ID: <5239E904.2050506@wxs.nl> References: <52396FEB.5090809@wxs.nl> <0A07BB90-DDB6-47D3-8E59-268F9F538F52@rna.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1379526945 30018 80.91.229.3 (18 Sep 2013 17:55:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Sep 2013 17:55:45 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 18 19:55:49 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VMLyf-0001UH-9e for gctc-ntg-context-518@m.gmane.org; Wed, 18 Sep 2013 19:55:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9F16B101E9; Wed, 18 Sep 2013 19:53:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6yaWHigtrQOO; Wed, 18 Sep 2013 19:53:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id DDB56101DE; Wed, 18 Sep 2013 19:53:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 447C3101DE for ; Wed, 18 Sep 2013 19:53:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yiZpfxjzOT1H for ; Wed, 18 Sep 2013 19:53:48 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 56EE010193 for ; Wed, 18 Sep 2013 19:53:48 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r8IHthVY032112 for ; Wed, 18 Sep 2013 19:55:43 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.103; Original-Received: from [10.100.1.103] (unverified [10.100.1.103]) by pragma-net.nl (SurgeMail 6.3c2) with ESMTP id 6342-1713362 for multiple; Wed, 18 Sep 2013 19:55:40 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 In-Reply-To: <0A07BB90-DDB6-47D3-8E59-268F9F538F52@rna.nl> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=15; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NKqFTHx1 - 236fbd1be1da - 20130918 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:84313 Archived-At: On 9/18/2013 4:53 PM, Gerben Wierda wrote: > On 18 Sep 2013, at 11:18, Hans Hagen 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 >>> `
' >>> >>> 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 ___________________________________________________________________________________