[NTG-context] math: \text does not scale properly

2012-10-04 Thread Andreas Mang
Hi there, As Aditya mentioned in a former posting (*) that "\text{ ... }" should scale properly when used as super- or subscript, I have prepared a minimal example to demonstrate that it doesn't. In my document I have switched from "\text{ }" to "\normal", which works. Kind regards, Andreas C

Re: [NTG-context] math: \text does not scale properly

2012-10-04 Thread Alan BRASLAU
On Thu, 4 Oct 2012 09:10:17 +0200 Andreas Mang wrote: > Hi there, > > As Aditya mentioned in a former posting (*) that "\text{ ... }" > should scale properly when used as super- or subscript, I have > prepared a minimal example to demonstrate that it doesn't. In my > document I have switched fro

Re: [NTG-context] math: \text does not scale properly

2012-10-04 Thread Andreas Mang
Hi Alan, thanks for your help. That's indeed an option, but not much of a difference to using "\normal" I suppose. In addition, "\text" has the nice feature of preserving the space character, which makes it very useful for lazy people (of course I can add "\," and friends but...). Cheers, And

[NTG-context] Math and units

2012-10-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, which is the most correct way to display units (here: kN) in math formula? \starttext \startformula a = 210 kN % "kN" is shown like a variable (here: like 'a'), which is unwanted \stopformula \startformula a = 210 \unit{kN} % No unit is displayed (?!) \stopformula

Re: [NTG-context] Math and units

2012-10-04 Thread Wolfgang Schuster
Am 04.10.2012 um 11:07 schrieb Procházka Lukáš Ing. - Pontex s. r. o. : > Hello, > > which is the most correct way to display units (here: kN) in math formula? > > > \starttext > \startformula >a = 210 kN % "kN" is shown like a variable (here: like 'a'), which is > unwanted > \stop

Re: [NTG-context] Math and units

2012-10-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Thu, 04 Oct 2012 11:32:20 +0200, Wolfgang Schuster wrote: The units code doesn’t know how to deal with “N” but you can use the full name of the unit (can also be lowercase) or “n” which is also accepted. \starttext \startformula a = \unit{210 kilo Newton} \stopformula \startformula

Re: [NTG-context] Math and units

2012-10-04 Thread Alan BRASLAU
\startformula a = 21407 g \stopformula :) The units code should certainly know how to deal with "N"... Alan On Thu, 4 Oct 2012 11:32:20 +0200 Wolfgang Schuster wrote: > > Am 04.10.2012 um 11:07 schrieb Procházka Lukáš Ing. - Pontex s. r. o. > : > > > Hello, > > > > which is the most cor

[NTG-context] Lua in Ctx: "require()" fails?

2012-10-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I just renewed ConTeXt and new error when using "require" appears (it worked OK until the update): t-Req.mkiv \startluacode require "Test-U" \stopluacode \starttext A \stoptext " mtx-context | run 1: luatex --fmt="c:/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e

Re: [NTG-context] Math and units

2012-10-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Thu, 04 Oct 2012 12:04:14 +0200, Alan BRASLAU wrote: \startformula a = 21407 g \stopformula :) The units code should certainly know how to deal with "N"... Alan - But "g" is shown like a variable (here: like 'a') - unwanted... I must substitute "N" -> "Newton"... Lukas -- Ing. Luk

Re: [NTG-context] Lua in Ctx: "require()" fails?

2012-10-04 Thread Hans Hagen
On 4-10-2012 12:09, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Personally - I've been using "require " so far at many places and there was no problem with it. try with \enabletrackers[resolvers.libraries] -

Re: [NTG-context] Lua in Ctx: "require()" fails?

2012-10-04 Thread Hans Hagen
On 4-10-2012 13:27, Hans Hagen wrote: On 4-10-2012 12:09, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Personally - I've been using "require " so far at many places and there was no problem with it. try with \enabletrackers[resolvers.libraries] btw, you should adapt LUAINPUTS and not some

[NTG-context] Issues with the legend mechanism

2012-10-04 Thread Marco Patzer
Hi, I discovered some issues with the legend mechanism. 1) A newline after \startplacelegend fails: \starttext \startplacelegend \startcontent Foo \stopcontent \startcaption Bar \stopcaption \stopplacelegend \stoptext 2) location != top | bottom throws “Infinite glue shrinkage

Re: [NTG-context] Issues with the legend mechanism

2012-10-04 Thread Wolfgang Schuster
Am 04.10.2012 um 14:00 schrieb Marco Patzer : > Hi, > > I discovered some issues with the legend mechanism. > > 1) A newline after \startplacelegend fails: > > \starttext > \startplacelegend > > \startcontent >Foo > \stopcontent > \startcaption >Bar > \stopcaption > \stopplacelege

Re: [NTG-context] Lua in Ctx: "require()" fails?

2012-10-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Thu, 04 Oct 2012 13:27:40 +0200, Hans Hagen wrote: On 4-10-2012 12:09, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Personally - I've been using "require " so far at many places and there was no problem with it. try with \enabletrackers[resolvers.libraries] - OK - \enabletracke

Re: [NTG-context] Defining a title font.

2012-10-04 Thread john Culleton
On Wed, 3 Oct 2012 10:45:39 +0200 Wolfgang Schuster wrote: > > > > The command ___ mkluatexfontdb___ creates a font database for LaTeX > (or more concrete the luaotfload package) but context has always used > it___s own font database. > > To update the font database for context you have to cal

Re: [NTG-context] Defining a title font.

2012-10-04 Thread Wolfgang Schuster
Am 04.10.2012 um 18:03 schrieb john Culleton : > On Wed, 3 Oct 2012 10:45:39 +0200 > Wolfgang Schuster wrote: > >> >>> >> The command ___ mkluatexfontdb___ creates a font database for LaTeX >> (or more concrete the luaotfload package) but context has always used >> it___s own font database. >

[NTG-context] Chapters without chapter number

2012-10-04 Thread Pavel Hanák
Hi all, I would like to ask what is the best way to achieve this: The title line of the chapter should be without the chapter number, but the chapter number should be on all subsequent pages in the header. I tried this: \setuphead [chapter] [header=empty, number=no ] \setupheadertexts

Re: [NTG-context] Chapters without chapter number

2012-10-04 Thread Wolfgang Schuster
Am 04.10.2012 um 19:18 schrieb Pavel Hanák : > Hi all, > > I would like to ask what is the best way to achieve this: > > The title line of the chapter should be without the chapter number, > but the chapter number should be on all subsequent pages in the header. > > I tried this: > > \setuphe

Re: [NTG-context] Lua in Ctx: "require()" fails? (solved)

2012-10-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Thu, 04 Oct 2012 13:32:42 +0200, Hans Hagen wrote: btw, you should adapt LUAINPUTS and not some other environment variable .. after all, luatex is not native lua so you need to avoid conflicts in case you hav einstalled both ... I just added SET LUAINPUTS=%LUA_PATH% to the batch I'm usin

Re: [NTG-context] Lua in Ctx: "require()" fails? (solved)

2012-10-04 Thread luigi scarso
On Fri, Oct 5, 2012 at 8:13 AM, Procházka Lukáš Ing. - Pontex s. r. o. < l...@pontex.cz> wrote: > On Thu, 04 Oct 2012 13:32:42 +0200, Hans Hagen wrote: > > btw, you should adapt LUAINPUTS and not some other environment variable >> .. after all, luatex is not native lua so you need to avoid confl