[NTG-context] Labels in figures with wrong bounding box

2007-06-28 Thread nicola
is fine. My environment file is quite long and I cannot find a short example showing the problem. The deformed labels seem to be always among those written by \sometxt (but not all of them are wrong!), while those written using sometxt() seem always ok. What may it depend upon? Nicola PS: I am

Re: [NTG-context] Label loops within a XeConTeXt document

2007-06-24 Thread nicola
ed that, but sometxt(0) prints nothing. Anyway, I have solved it like this: \startTeXtexts \TeXtext{0}{$x_0$} \dorecurse{30}{\TeXtext{\recurselevel}{$x_{\recurselevel}$}} \stopTeXtexts Thanks again! Nicola ___ If

Re: [NTG-context] Label loops within a XeConTeXt document

2007-06-23 Thread nicola
t; No, use \dostepwiserecuse. The general syntax is > > \dostepwiserecurse {from} {to} {step} {action} > > so > > \dostepwiserecurse {0} {9} {1} > {\TeXtext{\recurselevel}{$x_{\recurselevel}$} should work. Thank you very much! Nicola

[NTG-context] Macro with suffix

2007-06-23 Thread nicola
hic ...MPgraphic #3\stopMPgraphic \ifMPrun \else \loadMPgrap... ... Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Label loops within a XeConTeXt document

2007-06-23 Thread nicola
In article <[EMAIL PROTECTED]>, Aditya Mahajan <[EMAIL PROTECTED]> wrote: > On Sat, 23 Jun 2007, nicola wrote: > > > Hi, > > given the following XeConTeXt document (I use ConTeXt ver: 2007.01.12): > > > > \definetypeface[MyMainFace][rm

[NTG-context] Label loops within a XeConTeXt document

2007-06-23 Thread nicola
save s; string s; s = ""; for i = 0 upto n-1: s := s & "label(\sometxt{test},(" & decimal(i) & "*cm,0));"; endfor; s enddef; scantokens(prepare(10)); Nicola

Re: [NTG-context] Several environments in a project?

2007-06-20 Thread nicola
X \product Y \project Z So, the rule of thumb is: include all environments in the project file, not in the products files, if you want them to be read when typesetting the project, a product or a component. That works for me. Tha

Re: [NTG-context] Several environments in a project?

2007-06-19 Thread nicola
In article <[EMAIL PROTECTED]>, Aditya Mahajan <[EMAIL PROTECTED]> wrote: > On Mon, 18 Jun 2007, fiëé visuëlle wrote: > > > Am 2007-06-18 um 12:50 schrieb nicola: > > > >> I have a project with a few products sharing the same layout, which is > >&

[NTG-context] Several environments in a project?

2007-06-18 Thread nicola
this: \startproduct OneProduct \project MyProject \environment OneProductDir/LocalEnvironment ... The problem is that the local environment is not read when I typeset a particular component, but only when I typeset the whole product. How can I fix that? Nicola

[NTG-context] drawoptions in \startMPinclusions

2007-06-14 Thread nicola
. Is this a bug? Or do I misunderstand the purpose of \startMPinclusions (I have assumed that it inserts the text verbatim inside each figure definition)? I am using ConTeXt ver: 2007.01.12 15:56 MKII fmt: 2007.6.8 int: english/english Nicola

[NTG-context] \loadcurrentMPgraphic from metafun manual

2007-06-08 Thread nicola
{width=8cm,height=1cm}\placeMPgraphic \egroup but nothing is drawn unless I remove the setups in curly braces (in which case a rectangle 5cm x 1cm is drawn). Is there a different way to pass options to the figure inclusion macro? Nicola

Re: [NTG-context] unicode in metafun?

2007-04-07 Thread nicola
In article <[EMAIL PROTECTED]>, Andrea Valle <[EMAIL PROTECTED]> wrote: > Hi to all, > > I'm plotting a phonetic formant chart with metapost inside context. > I know I can't use TIPA, but I would be happy with utf8. I did something similar with XeTeX and ConTeXt using the \sometxt macro, e.g.:

Re: [NTG-context] Relationship among mptopdf, mpost and latex

2007-03-31 Thread nicola
n" ; } The rationale here is that, probably, the more complicated processing by texexec is not relevant to the LaTeX user. My other question was: is page 5, ?1 in metafun-p.pdf obsolete? As I have already pointed out, 'input mp-tool; input mp-spec;' at the beginning of m

[NTG-context] Relationship among mptopdf, mpost and latex

2007-03-25 Thread nicola
n in the output; variant 1) I get the error: ! Unable to make mpx file. l.3 btex x_1 etex So, I kindly ask someone to help me tidy things up. In particular: a) Is it possible to include the MetaFun macros when using mpost? b) Is it possible to use the %&latex syntax with mptopdf?

Re: [NTG-context] ! Unable to make mpx file.

2007-03-24 Thread nicola
ttp://thread.gmane.org/gmane.comp.tex.metapost/323/focus=330 Nicola ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] XeConTeXt and Euler

2007-03-18 Thread nicola
In article <[EMAIL PROTECTED]>, Aditya Mahajan <[EMAIL PROTECTED]> wrote: > On Sun, 18 Mar 2007, nicola wrote: > > My goal is to use an arbitrary text font together with the Euler math > > font. I am able to use a few combinations in ConTeXt, e.g. Palatino with >

[NTG-context] XeConTeXt and Euler

2007-03-18 Thread nicola
use of virtual fonts), but I know that Euler works in XeTeX: is it possible to make it work in XeConTeXt? Below you find my sample code. Nicola %!TEX TS-program = XeConTeXt %!TEX encoding = UTF-8 Unicode \definetypeface[Charis][rm][Xserif][Charis SIL][default][encoding=uc] \definetypeface[Dou

<    1   2   3