ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bug in today's release
@ 2006-02-02 18:35 Thomas A. Schmitz
  2006-02-02 18:56 ` Taco Hoekwater
  2006-02-02 19:31 ` Hans Hagen
  0 siblings, 2 replies; 9+ messages in thread
From: Thomas A. Schmitz @ 2006-02-02 18:35 UTC (permalink / raw)


Sorry it's me again who's breaking the bad news... Today's release  
seems to have a bug; newtexexec won't run. Here's the output I get:

newtexexec.rb beredsamkeit.tex
TeXExec | processing document 'beredsamkeit.tex'
TeXExec | provide ctx file
/usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/tex.rb: 
1249:in `processfile'TeXExec | option 'filename' is set to  
'beredsamkeit.tex'
TeXExec | option 'mainlanguage' is set to 'standard'
TeXExec | option 'bodyfont' is set to 'standard'
TeXExec | option 'language' is set to 'standard'
TeXExec | option 'engine' is set to 'standard'
TeXExec | option 'distribution' is set to 'web2c'
TeXExec | option 'texformats' is set to 'standard'
TeXExec | option 'mpsformats' is set to 'metafun'
TeXExec | option 'progname' is set to 'context'
TeXExec | option 'interface' is set to 'standard'
TeXExec | option 'runs' is set to '8'
TeXExec | option 'backend' is set to 'standard'
: undefined local variable or method `verbose' for #<TEX:0x27d9a4>  
(NameError)
         from /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ 
base/tex.rb:826:in `processtex'
         from /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ 
base/tex.rb:823:in `each'
         from /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ 
base/tex.rb:823:in `processtex'
         from /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ 
newtexexec.rb:65:in `process'
         from /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ 
newtexexec.rb:55:in `main'
         from /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ 
newtexexec.rb:632:in `send'
         from /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ 
newtexexec.rb:632

Any obvious fix?

Best

Thomas

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

* Re: bug in today's release
  2006-02-02 18:35 bug in today's release Thomas A. Schmitz
@ 2006-02-02 18:56 ` Taco Hoekwater
  2006-02-02 19:54   ` Thomas A. Schmitz
  2006-02-02 19:31 ` Hans Hagen
  1 sibling, 1 reply; 9+ messages in thread
From: Taco Hoekwater @ 2006-02-02 18:56 UTC (permalink / raw)


Thomas A. Schmitz wrote:
> Sorry it's me again who's breaking the bad news... Today's release  
> seems to have a bug; newtexexec won't run. Here's the output I get:

On line 1249 in scripts/context/ruby/base/tex.rb there is a bare
"if verbose". It should be "if getvariable('verbose')"

Cheers, Taco

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

* Re: bug in today's release
  2006-02-02 18:35 bug in today's release Thomas A. Schmitz
  2006-02-02 18:56 ` Taco Hoekwater
@ 2006-02-02 19:31 ` Hans Hagen
  1 sibling, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2006-02-02 19:31 UTC (permalink / raw)


Thomas A. Schmitz wrote:
> Sorry it's me again who's breaking the bad news... Today's release  
> seems to have a bug; newtexexec won't run. Here's the output I get:
>
> newtexexec.rb beredsamkeit.tex
> TeXExec | processing document 'beredsamkeit.tex'
> TeXExec | provide ctx file
> /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/tex.rb: 
> 1249:in `processfile'TeXExec | option 'filename' is set to  
> 'beredsamkeit.tex'
> TeXExec | option 'mainlanguage' is set to 'standard'
> TeXExec | option 'bodyfont' is set to 'standard'
> TeXExec | option 'language' is set to 'standard'
> TeXExec | option 'engine' is set to 'standard'
> TeXExec | option 'distribution' is set to 'web2c'
> TeXExec | option 'texformats' is set to 'standard'
> TeXExec | option 'mpsformats' is set to 'metafun'
> TeXExec | option 'progname' is set to 'context'
> TeXExec | option 'interface' is set to 'standard'
> TeXExec | option 'runs' is set to '8'
> TeXExec | option 'backend' is set to 'standard'
> : undefined local variable or method `verbose' for #<TEX:0x27d9a4>  
> (NameError)
>          from /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ 
> base/tex.rb:826:in `processtex'
>          from /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ 
> base/tex.rb:823:in `each'
>          from /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ 
> base/tex.rb:823:in `processtex'
>          from /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ 
> newtexexec.rb:65:in `process'
>          from /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ 
> newtexexec.rb:55:in `main'
>          from /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ 
> newtexexec.rb:632:in `send'
>          from /usr/local/teTeX/share/texmf.local/scripts/context/ruby/ 
> newtexexec.rb:632
>
> Any obvious fix?
>   

grep for "if verbose" change that into "if  getvariable('verbose')"

btw, i now use the alternative (written in ruby) kpse lib; if that works 
ok, i'll enable a speed improvement (faster database read)

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] 9+ messages in thread

* Re: bug in today's release
  2006-02-02 18:56 ` Taco Hoekwater
@ 2006-02-02 19:54   ` Thomas A. Schmitz
  2006-02-02 21:41     ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Thomas A. Schmitz @ 2006-02-02 19:54 UTC (permalink / raw)


Taco, Hans,

thanks a lot, works now!

Would this be a bad time to mention that the problem of "` and "' is  
not yet quite fixed? Now the closing "' is gobbled...

Best

Thomas

On Feb 2, 2006, at 7:56 PM, Taco Hoekwater wrote:

> Thomas A. Schmitz wrote:
>> Sorry it's me again who's breaking the bad news... Today's release
>> seems to have a bug; newtexexec won't run. Here's the output I get:
>
> On line 1249 in scripts/context/ruby/base/tex.rb there is a bare
> "if verbose". It should be "if getvariable('verbose')"
>
> Cheers, Taco
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: bug in today's release
  2006-02-02 19:54   ` Thomas A. Schmitz
@ 2006-02-02 21:41     ` Hans Hagen
  2006-02-02 21:54       ` Taco Hoekwater
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2006-02-02 21:41 UTC (permalink / raw)


Thomas A. Schmitz wrote:
> Taco, Hans,
>
> thanks a lot, works now!
>
> Would this be a bad time to mention that the problem of "` and "' is  
> not yet quite fixed? Now the closing "' is gobbled...
>   
not gobbled, simply not placed

the best definition is still:

  \installcompoundcharacter "` {\startdelimitedtext[\v!quotation]}
  \installcompoundcharacter "' {\stopdelimitedtext}

so i reverted to that one.  One is supposed to used those " things as pairs, hence the group. Of course nothing prevents you from defining them as: 

\installcompoundcharacter "` {\symbol[\c!leftquotation]}
\installcompoundcharacter "' {\symbol[\c!rightquotation]}


 

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] 9+ messages in thread

* Re: bug in today's release
  2006-02-02 21:41     ` Hans Hagen
@ 2006-02-02 21:54       ` Taco Hoekwater
  2006-02-02 22:05         ` Thomas A. Schmitz
  0 siblings, 1 reply; 9+ messages in thread
From: Taco Hoekwater @ 2006-02-02 21:54 UTC (permalink / raw)


Hans Hagen wrote:
> \installcompoundcharacter "` {\symbol[\c!leftquotation]}
> \installcompoundcharacter "' {\symbol[\c!rightquotation]}

Or:

\installcompoundcharacter "` {\languageparameter\c!leftquotation}
\installcompoundcharacter "' {\languageparameter\c!rightquotation}

(to make the implicit kerns in the font work)

Taco

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

* Re: bug in today's release
  2006-02-02 21:54       ` Taco Hoekwater
@ 2006-02-02 22:05         ` Thomas A. Schmitz
  2006-02-02 22:25           ` Taco Hoekwater
  2006-02-03 10:00           ` Hans Hagen
  0 siblings, 2 replies; 9+ messages in thread
From: Thomas A. Schmitz @ 2006-02-02 22:05 UTC (permalink / raw)


sigh... this makes me feel really bad, but: no kerning, no output for  
"'. Or am I missing something? Here's my minimal example:

\enableregime[utf]

\mainlanguage[de]

\installcompoundcharacter "` {\languageparameter\c!leftquotation}
\installcompoundcharacter "' {\languageparameter\c!rightquotation}

\setupdelimitedtext[quotation][method=font]

\starttext

"`W"'

\quotation{W}

„W“

\quotedblbase W\quotedblleft

\stoptext

Thanks

Thomas


On Feb 2, 2006, at 10:54 PM, Taco Hoekwater wrote:

> Hans Hagen wrote:
>> \installcompoundcharacter "` {\symbol[\c!leftquotation]}
>> \installcompoundcharacter "' {\symbol[\c!rightquotation]}
>
> Or:
>
> \installcompoundcharacter "` {\languageparameter\c!leftquotation}
> \installcompoundcharacter "' {\languageparameter\c!rightquotation}
>
> (to make the implicit kerns in the font work)
>
> Taco
> ______________________________________________

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

* Re: bug in today's release
  2006-02-02 22:05         ` Thomas A. Schmitz
@ 2006-02-02 22:25           ` Taco Hoekwater
  2006-02-03 10:00           ` Hans Hagen
  1 sibling, 0 replies; 9+ messages in thread
From: Taco Hoekwater @ 2006-02-02 22:25 UTC (permalink / raw)


Thomas A. Schmitz wrote:
> sigh... this makes me feel really bad, but: no kerning, no output for  
> "'. Or am I missing something? Here's my minimal example:
> 
> \enableregime[utf]
> 
> \mainlanguage[de]
> 
> \installcompoundcharacter "` {\languageparameter\c!leftquotation}
> \installcompoundcharacter "' {\languageparameter\c!rightquotation}

My bad, I should have tested it, but I don't have your font
installed on this machine. I'll check in the morning when I
am back at the office.

Taco

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

* Re: bug in today's release
  2006-02-02 22:05         ` Thomas A. Schmitz
  2006-02-02 22:25           ` Taco Hoekwater
@ 2006-02-03 10:00           ` Hans Hagen
  1 sibling, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2006-02-03 10:00 UTC (permalink / raw)


Thomas A. Schmitz wrote:
> sigh... this makes me feel really bad, but: no kerning, no output for  
> "'. Or am I missing something? Here's my minimal example:
>   
an \unprotect -) 

the kerning is kind of tricky since there is some grouping involved 

take some thinking because i don't want to break other stuff 

(what we actually need is a way to let tex ignore grouping i.e. to see 

{"}W{"} 

as 

"W" 

when applying font kerning 

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] 9+ messages in thread

end of thread, other threads:[~2006-02-03 10:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-02 18:35 bug in today's release Thomas A. Schmitz
2006-02-02 18:56 ` Taco Hoekwater
2006-02-02 19:54   ` Thomas A. Schmitz
2006-02-02 21:41     ` Hans Hagen
2006-02-02 21:54       ` Taco Hoekwater
2006-02-02 22:05         ` Thomas A. Schmitz
2006-02-02 22:25           ` Taco Hoekwater
2006-02-03 10:00           ` Hans Hagen
2006-02-02 19:31 ` 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).