Re: [NTG-context] Dividing dimensions

2009-03-23 Thread Alan BRASLAU
Can someone explain this? The solutions posted in lua seem more complicated than that using \dimexpr I will add further examples to http://wiki.contextgarden.net/Expressions (or someone else can do this directly, of course) once I understand the advantages and limitations. Alan On Saturday 21

[NTG-context] math problems in last beta (cont-en and cont-xp)

2009-03-23 Thread Lutz Haseloff
Hi Hans, hi Taco, hi all, testing math with the latest ConTeXt beta i found some problems. My test file is: \usetypescriptfile[type-buy] \def\currentfontname {\ctxlua{tex.print(font.getfont(font.current()).fullname)}} \starttext \startbuffer[mathbuffer] \currentfontname $a^2 + b^2 = c^2$ $E =

[NTG-context] new luatex beta

2009-03-23 Thread Hans Hagen
Hi, The code has been checked in for the next luatex beta. The current MKIV beta is already prepared for that (primitive initializations and changed directlua support). Also, there are a few bug fixes (esp the vf positioning) that might result in better output. There are some pending issues

Re: [NTG-context] font switching questions

2009-03-23 Thread Alan Stone
2009/3/19 Wolfgang Schuster schuster.wolfg...@googlemail.com: Am 18.03.2009 um 16:26 schrieb Alan Stone: On Wed, Mar 18, 2009 at 9:23 AM, Hans Hagen pra...@wxs.nl wrote: (there's also Normal, Bold etc that is even more generic in the sense that it can be sans or serif depending of the

Re: [NTG-context] font switching questions

2009-03-23 Thread Wolfgang Schuster
Am 23.03.2009 um 11:51 schrieb Alan Stone: (there's also Normal, Bold etc that is even more generic in the sense that it can be sans or serif depending of the situation) Hans, does what you meant by the above correspond to Wolfgang's example or did you mean something else ? If so, what

Re: [NTG-context] font switching questions

2009-03-23 Thread Vyatcheslav Yatskovsky
Hello Alan, If you need a typescript for Windows Arial, you can try font-win.tex, included in the latest beta. Vyatcheslav ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] font switching questions

2009-03-23 Thread Wolfgang Schuster
Am 23.03.2009 um 12:16 schrieb Vyatcheslav Yatskovsky: Hello Alan, If you need a typescript for Windows Arial, you can try font-win.tex, included in the latest beta. type-win.tex ;-) Wolfgang ___ If your

Re: [NTG-context] Dividing dimensions

2009-03-23 Thread Arthur Reutenauer
Can someone explain this? tex.dimen is a Lua table containing the dimension registers, in scaled points. Hence, if \!!dimena is 1pt, tex.dimen[!!dimena] will be 65536, for instance. The rest is algebra and Lua control structures. The solutions posted in lua seem more complicated than that

Re: [NTG-context] Dividing dimensions

2009-03-23 Thread Wolfgang Schuster
Am 23.03.2009 um 08:15 schrieb Alan BRASLAU: Can someone explain this? The solutions posted in lua seem more complicated than that using \dimexpr I will add further examples to http://wiki.contextgarden.net/Expressions (or someone else can do this directly, of course) once I understand the

Re: [NTG-context] Dividing dimensions

2009-03-23 Thread Arthur Reutenauer
Hello Wolfgang, Thanks for the detailed explanation. The \type{tex.dimen} function allows us to access the dimen register from \TEX\ in Lua. A small correction: it's not a function, it really behaves like a table in Lua. You can use both the register number, or the symbolic name

Re: [NTG-context] math problems in last beta (cont-en and cont-xp)

2009-03-23 Thread Aditya Mahajan
On Mon, 23 Mar 2009, Lutz Haseloff wrote: Hi Hans, hi Taco, hi all, testing math with the latest ConTeXt beta i found some problems. My test file is: \usetypescriptfile[type-buy] \def\currentfontname {\ctxlua{tex.print(font.getfont(font.current()).fullname)}} \starttext

[NTG-context] hangaround in right side of column?

2009-03-23 Thread Jelle Huisman
Hi all, I try to get text flowing nicely around a figure but since I'm working in a columns environment \placefloat related stuff doesn't work. Using \starthangaround I get precisely what I want but I need to place figures to the right instead of to the left. I modified the definition for

Re: [NTG-context] hangaround in right side of column?

2009-03-23 Thread Wolfgang Schuster
Am 23.03.2009 um 18:27 schrieb Jelle Huisman: Hi all, I try to get text flowing nicely around a figure but since I'm working in a columns environment \placefloat related stuff doesn't work. Using \starthangaround I get precisely what I want but I need to place figures to the right

Re: [NTG-context] hangaround in right side of column?

2009-03-23 Thread Jelle Huisman
Wolfgang Schuster wrote: Am 23.03.2009 um 18:27 schrieb Jelle Huisman: Hi all, I try to get text flowing nicely around a figure but since I'm working in a columns environment \placefloat related stuff doesn't work. Using \starthangaround I get precisely what I want but I need to place

[NTG-context] error in the latest distribution in the garden

2009-03-23 Thread Vyatcheslav Yatskovsky
Hi, Just synced context with the latest distribution in the garden. Ahhh! context --make gives an error: loading : Unicode Support (utf) ) (c:/contextminimal/texmf-context/tex/context/base/char-ini.tex loading : Character Support (initialization) )

Re: [NTG-context] error in the latest distribution in the garden

2009-03-23 Thread Lutz Haseloff
Hi Vyatcheslav, This error is shown while generating metatex.fmt. All other formats including cont-xp.fmt are generated successful here. I think, you do not really need this format. Greeting Lutz -Original Message- From: Vyatcheslav Yatskovsky

Re: [NTG-context] error in the latest distribution in the garden

2009-03-23 Thread Hans Hagen
Lutz Haseloff wrote: Hi Vyatcheslav, This error is shown while generating metatex.fmt. All other formats including cont-xp.fmt are generated successful here. I think, you do not really need this format. Greeting Lutz -Original Message- From: Vyatcheslav

[NTG-context] typescript repository

2009-03-23 Thread Wolfgang Schuster
Hi all, what do think about a page with typescript files for good quality free fonts, we have a few typescripts on the wiki but you have to copy them first in your document or in a file before you can use them. Wolfgang

Re: [NTG-context] typescript repository

2009-03-23 Thread luigi scarso
On Mon, Mar 23, 2009 at 9:30 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Hi all, what do think about a page with typescript files for good quality free fonts, we have a few typescripts on the wiki but you have to copy them first in your document or in a file before you can

Re: [NTG-context] typescript repository

2009-03-23 Thread Curiouslearn
On Mon, Mar 23, 2009 at 9:30 PM, Wolfgang Schuster schuster.wolfgang at googlemail.com wrote: Hi all, what do think about a page with typescript files for good quality free fonts, we have a few typescripts on the wiki but you have to copy them first in your document or in a file

Re: [NTG-context] math problems in last beta (cont-en and cont-xp)

2009-03-23 Thread Hans Hagen
Lutz Haseloff wrote: Lucida lacks greek and some operators. I found no embedded LucidaNewMath fonts in the resulting pdf. not defined at all (yet) (see end of math-vfu for how to do that; you can give lucida a try) Cambria has a very ugly spacing. hm, do you have the latest cambria?

Re: [NTG-context] typescript repository

2009-03-23 Thread Peter Münster
On Mon, 23 Mar 2009, Wolfgang Schuster wrote: what do think about a page with typescript files for good quality free fonts, we have a few typescripts on the wiki but you have to copy them first in your document or in a file before you can use them. Good idea! Or perhaps even better: make them

Re: [NTG-context] typescript repository

2009-03-23 Thread Aditya Mahajan
On Mon, 23 Mar 2009, Wolfgang Schuster wrote: Hi all, what do think about a page with typescript files for good quality free fonts, we have a few typescripts on the wiki but you have to copy them first in your document or in a file before you can use them. +1 Actually, I would also like to

Re: [NTG-context] typescript repository

2009-03-23 Thread Mohamed Bana
I personally would like see a professionally done typescript for Minion and Warnock Pro with Myriad and Cronos Pro. I posted mine a while ago, but I got no feed back. Wolfgang Schuster wrote: Hi all, what do think about a page with typescript files for good quality free fonts, we have a

Re: [NTG-context] typescript repository

2009-03-23 Thread Diego Depaoli
On Mon, Mar 23, 2009 at 9:30 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Hi all, what do think about a page with typescript files for good quality free fonts, we have a few typescripts on the wiki but you have to copy them first in your document or in a file before you can

Re: [NTG-context] typescript repository

2009-03-23 Thread luigi scarso
On Mon, Mar 23, 2009 at 9:30 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Hi all, what do think about a page with typescript files for good quality free fonts, we have a few typescripts on the wiki but you have to copy them first in your document or in a file before you can

Re: [NTG-context] typescript repository

2009-03-23 Thread Wolfgang Schuster
Am 23.03.2009 um 22:51 schrieb Mohamed Bana: I personally would like see a professionally done typescript for Minion and Warnock Pro with Myriad and Cronos Pro. I posted mine a while ago, but I got no feed back. Because people need the fonts to make a test and Adobes *free* Minion/

Re: [NTG-context] Dividing dimensions

2009-03-23 Thread Alan BRASLAU
Great! I added a section to the wiki http://wiki.contextgarden.net/Expressions taking liberties to modify the presentation slightly. A few points are broken, though, notably that the online ConTeXt doesn't appear to do luacode... Alan On Monday 23 March 2009 13:12:54 Wolfgang Schuster wrote:

Re: [NTG-context] Value of Metapost variable as a label

2009-03-23 Thread Eythan Weg
Aditya Mahajan adit...@umich.edu Sun, 22 Mar 2009 22:24:17 -0400 (EDT) On Mon, 23 Mar 2009, Mojca Miklavec wrote: This however fails: k:=2; label.bot(textext($1\over decimal k $), (10,0)) ; Try with \frac instead. Or prevent expansion of \over

Re: [NTG-context] Value of Metapost variable as a label

2009-03-23 Thread Aditya Mahajan
On Mon, 23 Mar 2009, Eythan Weg wrote: Aditya Mahajan adit...@umich.edu Sun, 22 Mar 2009 22:24:17 -0400 (EDT) On Mon, 23 Mar 2009, Mojca Miklavec wrote: This however fails: k:=2; label.bot(textext($1\over decimal k $), (10,0)) ; Try with \frac instead. Or prevent