Re: [NTG-context] Calculating with variables

2013-11-26 Thread Hans Hagen
On 11/26/2013 7:59 AM, H. Özoguz wrote: Hello there, I am new in variables in ConTeXt, so I tried the the following example of two font-sizes wich should have a ratio of 0.7: \setvariables[fontsize][bigsize=17pt] \setvariables[fontsize][smallsize=0.7\getvariable{fontsize}{size}]

Re: [NTG-context] Calculating with variables

2013-11-26 Thread H. Özoguz
which is why the next is better: \definemeasure[fontsize:big] [17pt] \definemeasure[fontsize:small][0.7\measured{fontsize:big}] \definefont[big] [name:arial at \measure{fontsize:big}] \definefont[small][name:arial at \measure{fontsize:small}] \starttext \big Dies ist ein großer

[NTG-context] Calculating with variables

2013-11-25 Thread H. Özoguz
Hello there, I am new in variables in ConTeXt, so I tried the the following example of two font-sizes wich should have a ratio of 0.7: \setvariables[fontsize][bigsize=17pt] \setvariables[fontsize][smallsize=0.7\getvariable{fontsize}{size}] \definefont[big][name:arial at