Re: [NTG-context] mptopdf TeX text problem

2011-12-01 Thread Hans Hagen
On 30-11-2011 21:32, Martin Bruchanov wrote: Hello, what is the proper way of using MetaPost with TeX text? I have two examples: beginfig(1); draw unitsquare scaled(1cm); draw textext($\pi$) shifted((0.5,0.5)*cm); % label(btex $\pi$ etex, origin); endfig; end Easiest

[NTG-context] math font

2011-12-01 Thread Hans van der Meer
Instead of the mathfont'a italics I would like to try an upright typeface. See for example the P.p on the left of the sample, 1-p in the second \pmatrix and the toprow in the last one. How can I do this globally, there by avoiding avoiding the need to sprinkle \mathrm's all around as in:

Re: [NTG-context] math font

2011-12-01 Thread Aditya Mahajan
On Thu, 1 Dec 2011, Hans van der Meer wrote: Instead of the mathfont'a italics I would like to try an upright typeface. See for example the P.p on the left of the sample, 1-p in the second \pmatrix and the toprow in the last one. How can I do this globally, I don't think that there is a

Re: [NTG-context] beta

2011-12-01 Thread Ian Lawrence
New units are a great improvement. Thanks. Ian On 29 Nov 2011, at 17:57, Hans Hagen wrote: Hi, I uploaded a new beta. The usual fixes (as reported to/suggested on this list) and an updated unit mechanism. I'll also upload the new (but yet incomplete) units manual.

[NTG-context] MPpage-MPcode

2011-12-01 Thread Hans van der Meer
Can someone give me a short explanation of the difference between the various metapost enclosures in MetaFun? such as \startMPpage-\stopMPpage, \startMPcode-\stopMPcode? I am on the lookout for a setup in which textext can be used and where the figure comes out clipped, i.e. not contained in a

Re: [NTG-context] math font

2011-12-01 Thread Hans Hagen
On 1-12-2011 17:43, Aditya Mahajan wrote: That is because \pmatrix uses \halign, where each cell starts a new math gruop. This reminds me of an old request to have support for \mhalign and \mvalign at the engine level. just give a functional description and put it in the luatex tracker

Re: [NTG-context] Escaping a special character in a MetaPost figure within a ConTeXt document fails

2011-12-01 Thread Raymond LeClair
Thanks for the reply! Found I needed to use \letterbackslash\letterhash for this to work. Does that make sense? On Nov 30, 2011, at 10:37 AM, Aditya Mahajan wrote: Try: using \letterhash instead of \# or \startasciimode \def \FrontMatterTitle {

[NTG-context] Formatting footnote numbers (in text)

2011-12-01 Thread Chris Lott
I'm new to ConTeXt, but I have searched for this myself... I'm trying to format the footnote numbers that appear in the text of my documents. I've used this to change them from being blue (there may be a better way-- I am generating PDFs for print, so don't need the hyperlinks) using the

Re: [NTG-context] Formatting footnote numbers (in text)

2011-12-01 Thread Wolfgang Schuster
Am 01.12.2011 um 22:02 schrieb Chris Lott: I'm new to ConTeXt, but I have searched for this myself... I'm trying to format the footnote numbers that appear in the text of my documents. I've used this to change them from being blue (there may be a better way-- I am generating PDFs for print,

[NTG-context] metapost question

2011-12-01 Thread Hans van der Meer
In MetaPost: After putting something in a picture, one can draw its boundaries with draw boundingbox thepicture. Is it possible to obtain at that point the dimensions of this boudingbox in order to do some calculations with them? Hans van der Meer

Re: [NTG-context] metapost question

2011-12-01 Thread Peter Rolf
Am 01.12.2011 23:25, schrieb Hans van der Meer: In MetaPost: After putting something in a picture, one can draw its boundaries with draw boundingbox thepicture. Is it possible to obtain at that point the dimensions of this boudingbox in order to do some calculations with them? urcorner

Re: [NTG-context] Why does the oldstyle numerals switch, \os, also switch off m-dashes?

2011-12-01 Thread Pavneet Arora
Just for the sake of completeness, in case someone else stumbles upon this thread, it should be noted that \definefontfeature needs to be set before \setupbodyfont, i.e., \definefontfeature[default][default][onum=yes] \definefontfeature[smallcaps][smallcaps][onum=yes]

Re: [NTG-context] [SOLVED] mod_php vs context: tight loop

2011-12-01 Thread Brendan Jurd
On 27/11/11 16:45, Brendan Jurd wrote: On 25/11/11 19:17, Hans Hagen wrote: On 25-11-2011 06:12, Brendan Jurd wrote: I have a PHP application which generates documentation on the fly with context. This has been working really well, but I am now testing deployment on a new server with a more