[NTG-context] texutil malformed UTF-8 character error

2004-08-22 Thread Duncan Hothersall
I'm running the latest beta on top of a TeXlive 2003 install on linux. 
The job I'm currently running needs various tables of contents (and a 
set of bookmarks) but texutil (v. 8.2) seems to be choking on the .tui 
file at the very end of the run with this message:

 TeXUtil 8.2 - ConTeXt / PRAGMA ADE 1992-2004
action : processing commands, lists and registers
option : sorting IJ under Y
option : converting high ASCII values
input file : nubs-rg-bk.tui
   output file : nubs-rg-bk.tuo
Malformed UTF-8 character (unexpected end of string) at 
/usr/TeX/texmf/scripts/context/perl/texutil.pl line 1520, TUI line 3.
Malformed UTF-8 character (unexpected end of string) at 
/usr/TeX/texmf/scripts/context/perl/texutil.pl line 979, TUI line 3.
Malformed UTF-8 character (unexpected end of string) at 
/usr/TeX/texmf/scripts/context/perl/texutil.pl line 990, TUI line 3.
   passed commands : 1136
 remapped keys : 0
  register entries : 0 - 0 entries 0 references
   synonym entries : 0 - 0 entries
embedded files : 1

As you can see, as a result of the UTF-8 errors the .tui file isn't 
being successfully read, so I'm getting no register entries and hence no 
tables of contents ( or bookmarks).

I'm in the process of composing a minimal example file, but it's tough 
going and I wondered if anyone could point me in the right direction 
from the information in the error message.

I'd be really grateful! (Impossible deadlines approach...)
Thanks all.
Duncan
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] texutil malformed UTF-8 character error

2004-08-22 Thread Hans Hagen Outside
Duncan Hothersall wrote:
I'm running the latest beta on top of a TeXlive 2003 install on linux. 
The job I'm currently running needs various tables of contents (and a 
set of bookmarks) but texutil (v. 8.2) seems to be choking on the .tui 
file at the very end of the run with this message:

 TeXUtil 8.2 - ConTeXt / PRAGMA ADE 1992-2004
action : processing commands, lists and registers
option : sorting IJ under Y
option : converting high ASCII values
input file : nubs-rg-bk.tui
   output file : nubs-rg-bk.tuo
Malformed UTF-8 character (unexpected end of string) at 
/usr/TeX/texmf/scripts/context/perl/texutil.pl line 1520, TUI line 3.
Malformed UTF-8 character (unexpected end of string) at 
/usr/TeX/texmf/scripts/context/perl/texutil.pl line 979, TUI line 3.
Malformed UTF-8 character (unexpected end of string) at 
/usr/TeX/texmf/scripts/context/perl/texutil.pl line 990, TUI line 3.
   passed commands : 1136
 remapped keys : 0
  register entries : 0 - 0 entries 0 references
   synonym entries : 0 - 0 entries
embedded files : 1

As you can see, as a result of the UTF-8 errors the .tui file isn't 
being successfully read, so I'm getting no register entries and hence 
no tables of contents ( or bookmarks).

I'm in the process of composing a minimal example file, but it's tough 
going and I wondered if anyone could point me in the right direction 
from the information in the error message.

I'd be really grateful! (Impossible deadlines approach...)
in cont-new (or cont-sys) you can say:
\def\testbytesequence{}
This 'test' was added in order to determine of tex runs in 8 bit mode. I wonder where the Malformed message comes from. Since when is perl utf-8 by default? 

(i run perl 5.8.0) 

Hans 

-
 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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context