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
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
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
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 -----------------------------------------------------------------
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
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 ______________________________________________
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
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 -----------------------------------------------------------------
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 -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Taco Hoekwater
-
Thomas A. Schmitz