Hi all,
Ok, here it goes. Atached are the files used in the test.
The problem as reported in the >> previous email << used
the file with the offending chars wrapped in a main file, which was just:
\starttext
\input zzz.tex
\stoptext
That is, the offending chars were in zzz.tex.
In that example I noticed the error because the cross-refs
in the equation numbering were not working.
The parsing of the .tui file by ruby 1.9.1 failed. Then I saw the errors.
But then I made >> a single context file <<, which goes attached
with the correct results (tui, tuo, pdf), obtained with ruby 1.8.7.
Howver, when i run ruby 1.9.1 with patch 129 (the last one), in this
single tex file (attached) now the first pass don't work!
Here is the result (in windows xp), which proves ruby 1.9.1 doesn't like
the non US-ASCII chars :-)
F:\ANOS\ano09-10-pen\NotasProcSinal>texexec test1.tex
TeXExec | processing document 'test1.tex'
TeXExec | no ctx file found
D:/Context/tex/texmf-context/SCRIPTS/CONTEXT/ruby/base/tex.rb:946:in `===':
invalid byte sequence in US-ASCII (ArgumentError)
from
D:/Context/tex/texmf-context/SCRIPTS/CONTEXT/ruby/base/tex.rb:946: in
`scantexcontent'
from
D:/Context/tex/texmf-context/SCRIPTS/CONTEXT/ruby/base/tex.rb:1907: in
`processfile'
from
D:/Context/tex/texmf-context/SCRIPTS/CONTEXT/ruby/base/tex.rb:1143: in
`block (2 levels) in processtex'
from
D:/Context/tex/texmf-context/SCRIPTS/CONTEXT/ruby/base/tex.rb:1133: in
`timedrun'
from
D:/Context/tex/texmf-context/SCRIPTS/CONTEXT/ruby/base/tex.rb:1142: in
`block in processtex'
from
D:/Context/tex/texmf-context/SCRIPTS/CONTEXT/ruby/base/tex.rb:1139: in
`each'
from
D:/Context/tex/texmf-context/SCRIPTS/CONTEXT/ruby/base/tex.rb:1139: in
`processtex'
from
D:/Context/tex/texmf-context/scripts/context/ruby/texexec.rb:63:in`process'
from
D:/Context/tex/texmf-context/scripts/context/ruby/texexec.rb:53:in `main'
from
D:/Context/tex/texmf-context/SCRIPTS/CONTEXT/ruby/base/switch.rb:133:in
`execute'
from
D:/Context/tex/texmf-context/scripts/context/ruby/texexec.rb:787:in `<main>'
Thanks all for your interest,
Kind regards
J. Augusto
On Sun, Aug 9, 2009 at 8:57 PM, Hans Hagen
Jose Augusto wrote:
when /^c (.*)$/o then @plugins.reader('MyCommands', [$1])
what if you remove the o (/o)
can you find out what changed between 1.8 and 1.9 ... actually 1.9 is the stepping stone to 2.0 and 2 versions can be incompatible to 1 versions
also, can you make a test file so that we can see if there's a platform dependency?
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________