Re: [NTG-context] Tikz updated in minimals but file does not compile

2009-03-21 Thread Mojca Miklavec
2009/3/17 Want to Learn wrote: Thanks Wolfgang. I suppose you mean that I need the beta version and not the stable version. Anyhow, I downloaded the beta version and tried to install tikz with the command Mojca mentioned in his post. Everything seemed to go on fine. But when I tried to

[NTG-context] Number and name of a section

2009-03-21 Thread Henning Hraban Ramm
I try to get number and name of the current chapter into my page header. Unfortunately, ConTeXt (MkIV) disagrees with itself about what's current - if several chapters start on the same page, I get the name of the first and the number of the last one. I know I can influence the name with

Re: [NTG-context] Number and name of a section

2009-03-21 Thread Hans Hagen
Henning Hraban Ramm wrote: I try to get number and name of the current chapter into my page header. Unfortunately, ConTeXt (MkIV) disagrees with itself about what's current - if several chapters start on the same page, I get the name of the first and the number of the last one. is this

Re: [NTG-context] Number and name of a section

2009-03-21 Thread Henning Hraban Ramm
Am 2009-03-21 um 17:35 schrieb Hans Hagen: Henning Hraban Ramm wrote: I try to get number and name of the current chapter into my page header. Unfortunately, ConTeXt (MkIV) disagrees with itself about what's current - if several chapters start on the same page, I get the name of the

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

2009-03-21 Thread Curiouslearn
Hello, First of all, Mojca thanks very much for the update about TikZ. (I could not find an option to reply in Context Garden mailing list). My new question is the following. I have the following code to generate the labels for the tick marks: for i = 0 step 5 until 45: draw

[NTG-context] Setting framed

2009-03-21 Thread Diego Depaoli
Hi all, in my text each section ends with an one-line box so I used \framed (thinking that's the right way). How to put each box at the same distance from last previous line even it comes after a list, a table, a regular text...? There is an the option to set the \framed's font globally? Thanks

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

2009-03-21 Thread Aditya Mahajan
On Sat, 21 Mar 2009, Curiouslearn wrote: Hello, First of all, Mojca thanks very much for the update about TikZ. (I could not find an option to reply in Context Garden mailing list). My new question is the following. I have the following code to generate the labels for the tick marks: for i =

[NTG-context] Dividing dimensions

2009-03-21 Thread Aditya Mahajan
Hi, Can I divide dimensions to get a number in pdftex? I have four dimensions \!!dimena, \!!dimenb, \!!dimenc and \!!dimend, and I want if (dimena/dimenb) (dimenc/dimend) do something else do otherthing Any hints on how to do this in ConTeXt. Thanks, Aditya

Re: [NTG-context] Dividing dimensions

2009-03-21 Thread Arthur Reutenauer
Can I divide dimensions to get a number in pdftex? LaTeX has a package to do exactly that, fp. You could look into its code. Or you could use LuaTeX :-) Arthur ___ If your question is of interest to

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

2009-03-21 Thread Curious Learn
Aditya Mahajan adityam at umich.edu writes: For example, if I had to typeset (n_{1},n{2},...,n_{100}), how could I do that. label.bot (textext($n_{ decimal i }), ... ) ; Thanks Aditya. That works great.

Re: [NTG-context] Dividing dimensions

2009-03-21 Thread Wolfgang Schuster
Am 21.03.2009 um 23:26 schrieb Arthur Reutenauer: Can I divide dimensions to get a number in pdftex? LaTeX has a package to do exactly that, fp. You could look into its code. Or you could use LuaTeX :-) It's easy to do with etex but I would use lua if possible. \starttext \unprotect

Re: [NTG-context] Dividing dimensions

2009-03-21 Thread Aditya Mahajan
On Sat, 21 Mar 2009, Wolfgang Schuster wrote: Am 21.03.2009 um 23:26 schrieb Arthur Reutenauer: Can I divide dimensions to get a number in pdftex? LaTeX has a package to do exactly that, fp. You could look into its code. Or you could use LuaTeX :-) It's easy to do with etex but I

Re: [NTG-context] Dividing dimensions

2009-03-21 Thread Wolfgang Schuster
Am 21.03.2009 um 23:49 schrieb Aditya Mahajan: \ifdim\dimexpr\!!dimena*100/\!!dimenb\relax\dimexpr\!! dimenc*100/\!!dimend\relax this \else that \fi Ah. I was using \dimexpr\!!dimena/\!!dimenb with crazy results. So the trick is to mulitply by a number in between. Thanks Wolfgang. Yes

Re: [NTG-context] Dividing dimensions

2009-03-21 Thread Marcin Borkowski
Dnia Sat, Mar 21, 2009 at 06:08:41PM -0400, Aditya Mahajan napisa#322;(a): Hi, Can I divide dimensions to get a number in pdftex? I have four dimensions \!!dimena, \!!dimenb, \!!dimenc and \!!dimend, and I want if (dimena/dimenb) (dimenc/dimend) do something else do otherthing

[NTG-context] Is \index command broken?

2009-03-21 Thread Curious Learn
Hi, I tried using the \index command in my document: \starttext \type{\textext()} \index[textext]{\textext} To typeset metapost variable values (not the verbatim text) using \TEX\ markup, use this command. \page \completeindex \stoptext However, no index is created. The log file

Re: [NTG-context] Is \index command broken?

2009-03-21 Thread Wolfgang Schuster
Am 22.03.2009 um 02:13 schrieb Curious Learn: I tried using the \index command in my document: However, no index is created. Hi curious who wants to learn but is still unable to use the list archive. http://www.ntg.nl/pipermail/ntg-context/2009/038198.html

Re: [NTG-context] Dividing dimensions

2009-03-21 Thread Aditya Mahajan
On Sun, 22 Mar 2009, Marcin Borkowski wrote: Dnia Sat, Mar 21, 2009 at 06:08:41PM -0400, Aditya Mahajan napisa#322;(a): Hi, Can I divide dimensions to get a number in pdftex? I have four dimensions \!!dimena, \!!dimenb, \!!dimenc and \!!dimend, and I want if (dimena/dimenb) (dimenc/dimend)

Re: [NTG-context] Is \index command broken?

2009-03-21 Thread Curious Learn
Wolfgang Schuster schuster.wolfgang at googlemail.com writes: Hi curious who wants to learn but is still unable to use the list archive. http://www.ntg.nl/pipermail/ntg-context/2009/038198.html http://www.ntg.nl/pipermail/ntg-context/2009/037891.html