Re: [NTG-context] interline spacing, me too

2009-10-15 Thread Taco Hoekwater
Andreas Harder wrote: Okay, thank you for your advise. Why I can't say: \setupbodyfontenvironment [minion] [14.4pt] [interlinespace=3ex] % \tfa \setupbodyfontenvironment [minion] [9.6pt] [interlinespace=4ex] % \tfx and then use style=\tfa? In the interest of speed, \tfa only does the bare nec

[NTG-context] Mk IV setup, \showcharacters

2009-10-15 Thread Peter Park Nelson
Hello, I'm a LaTeX user trying to move to ConTeXt Mk IV. I'm having trouble configuring my system on OS X. As a complete ConTeXt novice I'm not sure how to debug this, but I really want to get Mk IV working for some upcoming journal and book projects. Any suggestions would be appreciated. I unders

Re: [NTG-context] interline spacing, me too

2009-10-15 Thread Andreas Harder
Am 15.10.2009 um 21:55 schrieb Taco Hoekwater: Taco Hoekwater wrote: Andreas Harder wrote: There is also \setupbodyfontenvironment (Problem with \chapter{…} or did I something wrong?). Now I've to use \switchtobodyfont[…] instead of \tfa and so on. Why not do that? If you are fiddling w

Re: [NTG-context] interline spacing, me too

2009-10-15 Thread Taco Hoekwater
Taco Hoekwater wrote: Andreas Harder wrote: There is also \setupbodyfontenvironment (Problem with \chapter{…} or did I something wrong?). Now I've to use \switchtobodyfont[…] instead of \tfa and so on. Why not do that? If you are fiddling with the interline space, it is IMO better to switc

Re: [NTG-context] interline spacing, me too

2009-10-15 Thread Taco Hoekwater
Andreas Harder wrote: There is also \setupbodyfontenvironment (Problem with \chapter{…} or did I something wrong?). Now I've to use \switchtobodyfont[…] instead of \tfa and so on. Why not do that? If you are fiddling with the interline space, it is IMO better to switch the whole bodyfont, j

Re: [NTG-context] interline spacing, me too

2009-10-15 Thread Peter Rolf
Andreas Harder schrieb: Hi, please look at the attachment. I want different interline spacing for big, normal and small font sizes. What is the best approach? I tried \setupinterlinespace[big] (works only after \starttext!) or \setupinterlinespace[line=3.5ex] (works also before \starttext) b

[NTG-context] interline spacing, me too

2009-10-15 Thread Andreas Harder
Hi, please look at the attachment. I want different interline spacing for big, normal and small font sizes. What is the best approach? I tried \setupinterlinespace[big] (works only after \starttext!) or \setupinterlinespace[line=3.5ex] (works also before \starttext) but this changes, as i

Re: [NTG-context] placefigure broken in mkiv?

2009-10-15 Thread Alan BRASLAU
On Thursday 15 October 2009 17:29:12 Wolfgang Schuster wrote: > Am 15.10.2009 um 16:04 schrieb Vyatcheslav Yatskovsky: > > Hello, > > > > A document that was previously compiled successfully a few months > > ago, now throws an exception. > > > > My code: > > \placefigure > > [middle] > > {none} >

Re: [NTG-context] placefigure broken in mkiv?

2009-10-15 Thread Wolfgang Schuster
Am 15.10.2009 um 16:04 schrieb Vyatcheslav Yatskovsky: Hello, A document that was previously compiled successfully a few months ago, now throws an exception. My code: \placefigure [middle] {none} {\externalfigure[2009-05-26_200309s][width=0.9\textwidth]} \placefigure[middle,none]{}{..

Re: [NTG-context] obscure luatex error

2009-10-15 Thread luigi scarso
On Thu, Oct 15, 2009 at 5:08 PM, Alan BRASLAU wrote: > On Thursday 15 October 2009 16:36:01 luigi scarso wrote: >> On Thu, Oct 15, 2009 at 4:32 PM, Matthijs Kooijman > wrote: >> > Hi luigi, >> > >> >> > Do you think you could compile luatex with CFLAGS=-g, and run it in >> >> > gdb to get a backt

Re: [NTG-context] obscure luatex error

2009-10-15 Thread Alan BRASLAU
On Thursday 15 October 2009 16:36:01 luigi scarso wrote: > On Thu, Oct 15, 2009 at 4:32 PM, Matthijs Kooijman wrote: > > Hi luigi, > > > >> > Do you think you could compile luatex with CFLAGS=-g, and run it in > >> > gdb to get a backtrace? That might help to see where this comes > >> > from... >

Re: [NTG-context] obscure luatex error

2009-10-15 Thread luigi scarso
On Thu, Oct 15, 2009 at 4:32 PM, Matthijs Kooijman wrote: > Hi luigi, > >> > Do you think you could compile luatex with CFLAGS=-g, and run it in gdb to >> > get >> > a backtrace? That might help to see where this comes from... >> >> changing >> STRIP_LUATEX=TRUE >> in >> STRIP_LUATEX=FALSE >> in

Re: [NTG-context] obscure luatex error

2009-10-15 Thread Matthijs Kooijman
Hi luigi, > > Do you think you could compile luatex with CFLAGS=-g, and run it in gdb to > > get > > a backtrace? That might help to see where this comes from... > > changing > STRIP_LUATEX=TRUE > in > STRIP_LUATEX=FALSE > in build.sh isn't enough ? I don't know the luatex build system, I just

Re: [NTG-context] obscure luatex error

2009-10-15 Thread Taco Hoekwater
luigi scarso wrote: > > changing > STRIP_LUATEX=TRUE > in > STRIP_LUATEX=FALSE > in build.sh isn't enough ? probably is. And indeed, you defiantely also need to do that or ./build.sh --nostrip Best wishes, Taco __

Re: [NTG-context] obscure luatex error

2009-10-15 Thread luigi scarso
On Thu, Oct 15, 2009 at 4:09 PM, Matthijs Kooijman wrote: > Hi, > >> luatex: ../../../source/texk/web2c/luatexdir/tex/printing.c:266: print: >> Assertion `c < 256' failed. >> [329.327MTXrun | fatal error, no return code, message: luatex: execution >> interrupted > > A quick glance at the code, sho

Re: [NTG-context] obscure luatex error

2009-10-15 Thread Taco Hoekwater
Matthijs Kooijman wrote: > > It seems the second comment block talks about the code in which the error > occurs. It also seems that this is either caused by some very high unicode > character that's printed, or some invalid (uninitialized?) value is passed to > print(). > > Do you think you cou

Re: [NTG-context] Cambria integral operator

2009-10-15 Thread Taco Hoekwater
Michail Vidiassov wrote: > > While you are at it, may you take a second look at the integral limits > placement, as it was already reported in I did a trick in commit #3066 just now: the C function var_delimiter() (which is used for large operators as well as actual delimiters) now ignores ital

Re: [NTG-context] obscure luatex error

2009-10-15 Thread Matthijs Kooijman
Hi, > luatex: ../../../source/texk/web2c/luatexdir/tex/printing.c:266: print: > Assertion `c < 256' failed. > [329.327MTXrun | fatal error, no return code, message: luatex: execution > interrupted A quick glance at the code, shows it's in the following part: /* An entire string is output b

[NTG-context] placefigure broken in mkiv?

2009-10-15 Thread Vyatcheslav Yatskovsky
Hello, A document that was previously compiled successfully a few months ago, now throws an exception. My code: \placefigure [middle] {none} {\externalfigure[2009-05-26_200309s][width=0.9\textwidth]} My result: ! Missing number, treated as zero. \currentfloatattribut

Re: [NTG-context] Problem with \setupinterlinespace

2009-10-15 Thread luigi scarso
What about this ? \usemodule[maps] \usemodule[visual] \setupinteraction[state=start] \setuplanguage[en] \definecolumnsetspan[wide][n=2] \def\Tfx{\tfx\setupinterlinespace[line=2.5ex]} \starttext \startArticle [Year=2009, Number=xx, Period=xx, Page=1,

[NTG-context] obscure luatex error

2009-10-15 Thread Alan BRASLAU
In trying to compile a LARGE project (585 pages, 260 figures, 27 tables, indexing, bibliography, ...), I produce an obscure luatex error: luatex: ../../../source/texk/web2c/luatexdir/tex/printing.c:266: print: Assertion `c < 256' failed. [329.327MTXrun | fatal error, no return code, message: lua

Re: [NTG-context] Problem with \setupinterlinespace

2009-10-15 Thread Peter Rolf
luigi scarso schrieb: In this example interlines spaces look a bit strange to me \starttext \input knuth \begingroup \tfx\setupinterlinespace[reset] \starttyping function newCounter() local i = 0 return function() i = i+1 return i end end c1 = newCounter() print(c1())

[NTG-context] Problem with \setupinterlinespace

2009-10-15 Thread luigi scarso
In this example interlines spaces look a bit strange to me \starttext \input knuth \begingroup \tfx\setupinterlinespace[reset] \starttyping function newCounter() local i = 0 return function() i = i+1 return i end end c1 = newCounter() print(c1()) --> 1 print(c1()) --> 2

[NTG-context] Combining \sc and \em

2009-10-15 Thread Tim Wraight
Hi, Under the latest beta (2009.10.02 13:14), it doesn't seem possible to access \SerifCapsSlanted by combining the \em and \sc font switches. The following test case demonstrates this: --- \definefont [SlantyCaps][SerifCapsSlanted] \starttext {\em Italics works.} \par {\sc Small caps wor

Re: [NTG-context] Cambria integral operator

2009-10-15 Thread Michail Vidiassov
Dear Taco, On Thu, 15 Oct 2009, Taco Hoekwater wrote: I have been playing around a bit with the new ConTeXt Minimals and especially Cambria Math. I couldn't figure out, however, why the integral operator always comes out at about half the size of \sum or \prod. No, that is clearly not right. I

Re: [NTG-context] Cambria integral operator

2009-10-15 Thread Taco Hoekwater
Taco Hoekwater wrote: > > Sebastian Sturm wrote: >> Hi all, >> >> I have been playing around a bit with the new ConTeXt Minimals and >> especially Cambria Math. I couldn't figure out, however, why the >> integral operator always comes out at about half the size of \sum or >> \prod. I couldn't fi