ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* yesterday's beta
@ 2006-11-02  6:22 Thomas A. Schmitz
  2006-11-02  8:27 ` Hans Hagen
  2006-11-02  8:29 ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas A. Schmitz @ 2006-11-02  6:22 UTC (permalink / raw)


Just to let you know that yesterday's beta has the same flaw that I  
reported a few days ago: something is wring with texutil.rb; the  
index it generates is incorrect. I get lots of warnings about  
"duplicate references" and these error messages at the end of the run:

TeXUtil | parsing file translation.tui
TeXUtil | fatal error in plugin (processing): undefined method  
`rjust' for 0:Fixnum

   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
texutil.rb:619:in `build'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
texutil.rb:845:in `processor'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
texutil.rb:844:in `each_index'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
texutil.rb:844:in `processor'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
texutil.rb:835:in `each'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
texutil.rb:835:in `processor'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
texutil.rb:127:in `processors'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
texutil.rb:125:in `each'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
texutil.rb:125:in `processors'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
texutil.rb:1017:in `processed'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
tex.rb:1577:in `runtexutil'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
tex.rb:1570:in `each'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
tex.rb:1570:in `runtexutil'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
tex.rb:1854:in `processfile'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
tex.rb:1086:in `processtex'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
tex.rb:1085:in `timedrun'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
tex.rb:1085:in `processtex'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
tex.rb:1082:in `each'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
tex.rb:1082:in `processtex'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texexec.rb: 
61:in `process'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texexec.rb: 
51:in `main'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texexec.rb: 
759:in `send'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texexec.rb: 
759


Also, texexec processes the file many many times; this didn't use to  
be the case.

Best

Thomas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: yesterday's beta
  2006-11-02  6:22 yesterday's beta Thomas A. Schmitz
@ 2006-11-02  8:27 ` Hans Hagen
  2006-11-02 11:39   ` Thomas A. Schmitz
  2006-11-02  8:29 ` Hans Hagen
  1 sibling, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2006-11-02  8:27 UTC (permalink / raw)


Thomas A. Schmitz wrote:
> Just to let you know that yesterday's beta has the same flaw that I  
> reported a few days ago: something is wring with texutil.rb; the  
> index it generates is incorrect. I get lots of warnings about  
> "duplicate references" and these error messages at the end of the run:
>
> TeXUtil | parsing file translation.tui
> TeXUtil | fatal error in plugin (processing): undefined method  
> `rjust' for 0:Fixnum
>
>   
do you have a simple test file? 

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
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: yesterday's beta
  2006-11-02  6:22 yesterday's beta Thomas A. Schmitz
  2006-11-02  8:27 ` Hans Hagen
@ 2006-11-02  8:29 ` Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2006-11-02  8:29 UTC (permalink / raw)


Thomas A. Schmitz wrote:
> Just to let you know that yesterday's beta has the same flaw that I  
> reported a few days ago: something is wring with texutil.rb; the  
> index it generates is incorrect. I get lots of warnings about  
> "duplicate references" and these error messages at the end of the run:
>
> TeXUtil | parsing file translation.tui
> TeXUtil | fatal error in plugin (processing): undefined method  
> `rjust' for 0:Fixnum
>
>    /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
> texutil.rb:619:in `build'
>  

maybe adding a .to_s to that line helps, but i'm still puzzled

 (@realpage.to_s || '').rjust(6,' ').gsub(/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
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: yesterday's beta
  2006-11-02  8:27 ` Hans Hagen
@ 2006-11-02 11:39   ` Thomas A. Schmitz
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas A. Schmitz @ 2006-11-02 11:39 UTC (permalink / raw)



On Nov 2, 2006, at 9:27 AM, Hans Hagen wrote:

> Thomas A. Schmitz wrote:
>> Just to let you know that yesterday's beta has the same flaw that I
>> reported a few days ago: something is wring with texutil.rb; the
>> index it generates is incorrect. I get lots of warnings about
>> "duplicate references" and these error messages at the end of the  
>> run:
>>
>> TeXUtil | parsing file translation.tui
>> TeXUtil | fatal error in plugin (processing): undefined method
>> `rjust' for 0:Fixnum
>>
>>
> do you have a simple test file?
>
> Hans
>
Yes, took me a while to find it out: the culprit seems to be  
\seeindex. Here's the testfile that triggers the error messages on my  
installation:

\starttext

Hello\index{hello} \seeindex{world}{hello}world!

\page

\placeindex

\stoptext

Which brings me back to my two index questions of two weeks ago...  
Should I post them again?

All best

Thomas

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-11-02 11:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-02  6:22 yesterday's beta Thomas A. Schmitz
2006-11-02  8:27 ` Hans Hagen
2006-11-02 11:39   ` Thomas A. Schmitz
2006-11-02  8:29 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).