名前: ttk 日時: 2009-03-03 23:55:46 IPアドレス: 219.104.163.*
>>52872 ご対応ありがとうございました。 先ほどダウンロードした版では、 ctxtools.rb にトラブルがあったのですが、 修正したら ruby 1.9.1p0 で動くようになったようです。 少々長いですが log です。 C:\tmp\context\test00>ruby --version ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mswin32] C:\tmp\context\test00>texexec --check TeXExec | current distribution: web2c TeXExec | context source date: 2009.01.05 12:36 TeXExec | format path: . C:/usr/local/share/texmf-local/web2c/unsetengine C:/usr /local/share/texmf/web2c/unsetengine C:/usr/local/share/texmf-local/web2c C:/usr /local/share/texmf/web2c TeXExec | start of analysis c:/usr/local/share/texmf/scripts/context/ruby/ctxtools.rb:1329: invalid multibyt e char (US-ASCII) c:/usr/local/share/texmf/scripts/context/ruby/ctxtools.rb:1329: invalid multibyt e char (US-ASCII) c:/usr/local/share/texmf/scripts/context/ruby/ctxtools.rb:1329: syntax error, un expected $end, expecting ')' remap(">2r1<2r", "[2眩、1眩・]") C:\tmp\context\test00>nkf -g c:\usr\local\share\texmf\scripts\context\ruby\ctxto ols.rb UTF-8 編集 C:\usr\local\share\texmf\scripts\context\ruby>diff -u ctxtools.rb_orig ctxtools. rb --- ctxtools.rb_orig Mon Mar 02 06:39:48 2009 +++ ctxtools.rb Tue Mar 03 23:46:37 2009 @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# coding: utf-8 # program : ctxtools # copyright : PRAGMA Advanced Document Engineering @@ -1530,39 +1531,39 @@ clone("[greekupsilontonos]", "[greekupsilonoxia]") clone("[greekomegatonos]", "[greekomegaoxia]") when 'ru' then - remap(/\xC1/, "[cyrillica]") - remap(/\xC2/, "[cyrillicb]") - remap(/\xD7/, "[cyrillicv]") - remap(/\xC7/, "[cyrillicg]") - remap(/\xC4/, "[cyrillicd]") - remap(/\xC5/, "[cyrillice]") - remap(/\xD6/, "[cyrilliczh]") - remap(/\xDA/, "[cyrillicz]") - remap(/\xC9/, "[cyrillici]") - remap(/\xCA/, "[cyrillicishrt]") - remap(/\xCB/, "[cyrillick]") - remap(/\xCC/, "[cyrillicl]") - remap(/\xCD/, "[cyrillicm]") - remap(/\xCE/, "[cyrillicn]") - remap(/\xCF/, "[cyrillico]") - remap(/\xD0/, "[cyrillicp]") - remap(/\xD2/, "[cyrillicr]") - remap(/\xD3/, "[cyrillics]") - remap(/\xD4/, "[cyrillict]") - remap(/\xD5/, "[cyrillicu]") - remap(/\xC6/, "[cyrillicf]") - remap(/\xC8/, "[cyrillich]") - remap(/\xC3/, "[cyrillicc]") - remap(/\xDE/, "[cyrillicch]") - remap(/\xDB/, "[cyrillicsh]") - remap(/\xDD/, "[cyrillicshch]") - remap(/\xDF/, "[cyrillichrdsn]") - remap(/\xD9/, "[cyrillicery]") - remap(/\xD8/, "[cyrillicsftsn]") - remap(/\xDC/, "[cyrillicerev]") - remap(/\xC0/, "[cyrillicyu]") - remap(/\xD1/, "[cyrillicya]") - remap(/\xA3/, "[cyrillicyo]") + remap(/\xC1/n, "[cyrillica]") + remap(/\xC2/n, "[cyrillicb]") + remap(/\xD7/n, "[cyrillicv]") + remap(/\xC7/n, "[cyrillicg]") + remap(/\xC4/n, "[cyrillicd]") + remap(/\xC5/n, "[cyrillice]") + remap(/\xD6/n, "[cyrilliczh]") + remap(/\xDA/n, "[cyrillicz]") + remap(/\xC9/n, "[cyrillici]") + remap(/\xCA/n, "[cyrillicishrt]") + remap(/\xCB/n, "[cyrillick]") + remap(/\xCC/n, "[cyrillicl]") + remap(/\xCD/n, "[cyrillicm]") + remap(/\xCE/n, "[cyrillicn]") + remap(/\xCF/n, "[cyrillico]") + remap(/\xD0/n, "[cyrillicp]") + remap(/\xD2/n, "[cyrillicr]") + remap(/\xD3/n, "[cyrillics]") + remap(/\xD4/n, "[cyrillict]") + remap(/\xD5/n, "[cyrillicu]") + remap(/\xC6/n, "[cyrillicf]") + remap(/\xC8/n, "[cyrillich]") + remap(/\xC3/n, "[cyrillicc]") + remap(/\xDE/n, "[cyrillicch]") + remap(/\xDB/n, "[cyrillicsh]") + remap(/\xDD/n, "[cyrillicshch]") + remap(/\xDF/n, "[cyrillichrdsn]") + remap(/\xD9/n, "[cyrillicery]") + remap(/\xD8/n, "[cyrillicsftsn]") + remap(/\xDC/n, "[cyrillicerev]") + remap(/\xC0/n, "[cyrillicyu]") + remap(/\xD1/n, "[cyrillicya]") + remap(/\xA3/n, "[cyrillicyo]") when 'tr' then remap(/\^\^11/, "[dotlessi]") else C:\tmp\context\test00>texexec --check TeXExec | current distribution: web2c TeXExec | context source date: 2009.01.05 12:36 TeXExec | format path: . C:/usr/local/share/texmf-local/web2c/unsetengine C:/usr /local/share/texmf/web2c/unsetengine C:/usr/local/share/texmf-local/web2c C:/usr /local/share/texmf/web2c TeXExec | start of analysis TeXExec | end of analysis TeXExec | TeXExec | TeXExec | ["version 6.2.0 - 1997-2006 - PRAGMA ADE/POD"] TeXExec | TeXUtil | ["version 9.1.0 - 1997-2005 - PRAGMA ADE/POD"] TeXExec | CtxTools | ["version 1.3.5 - 2004/2008 - PRAGMA ADE"]
この書き込みへの返事: