Re: [NTG-context] does metafun require texexec --final?

2006-09-24 Thread Mojca Miklavec
On 9/23/06, Sanjoy Mahajan wrote: So maybe the best approach is to edit cont-sys.rme directly, then merge changes (using a revision control system like mercurial or git) that arrive with the new context distributions. Changes in cont-sys.rme don't happen that often. You can safely create

Re: [NTG-context] does metafun require texexec --final?

2006-09-24 Thread Taco Hoekwater
Mojca Miklavec wrote: On 9/23/06, Sanjoy Mahajan wrote: So maybe the best approach is to edit cont-sys.rme directly, then merge changes (using a revision control system like mercurial or git) that arrive with the new context distributions. Changes in cont-sys.rme don't happen that often.

[NTG-context] appendices in letters

2006-09-24 Thread batela
Dear Sirs, In my letters I tried to include some notes after the closing part. I use the m-letter module and xcorres: \startsetups[letter:appendices] My notes for my all students \stopsetups But in this way the appendice is only placed in the head of the first letter. If I try changing

[NTG-context] blackrule

2006-09-24 Thread batela
Dear Sirs, I want to prepare a forma for handwriting filling. With this propose e use \blackrule command for trace some lines inside paragraphs. For example, I, \blackrule[width=5cm, height=0.05cm] , promise maintain a good... In the pdf document appears: I, !max___ , promise

Re: [NTG-context] blackrule

2006-09-24 Thread Peter Rolf
Hi Jorge, batela wrote: Dear Sirs, I want to prepare a forma for handwriting filling. With this propose e use \blackrule command for trace some lines inside paragraphs. For example, I, \blackrule[width=5cm, height=0.05cm] , promise maintain a good... In the pdf document appears: I,

Re: [NTG-context] blackrule

2006-09-24 Thread Hans Hagen
Peter Rolf wrote: Hi Jorge, batela wrote: Dear Sirs, I want to prepare a forma for handwriting filling. With this propose e use \blackrule command for trace some lines inside paragraphs. For example, I, \blackrule[width=5cm, height=0.05cm] , promise maintain a good... In the pdf

Re: [NTG-context] trouble with \startMPinclusions[+]

2006-09-24 Thread Hans Hagen
Sanjoy Mahajan wrote: % instead, just \startMPinclusions works (i.e. without the [+]) \startMPinclusions[+] \stopMPinclusions hm, both work ok here, i've reshuffled quite some code so i cannot yet post a beta (needs some more testing) (ok, i can mail you a prelim beta if needed) Hans

[NTG-context] staticMPfigures can overrun output streams

2006-09-24 Thread Sanjoy Mahajan
The following minimal file overruns the available output streams (version 2006.08.08 and context live): \starttext \dorecurse{16}{\startstaticMPfigure{\recurselevel} fill fullcircle scaled 1cm withcolor red; \stopstaticMPfigure} \stoptext At the end are the last few lines of the log. Here are

Re: [NTG-context] does metafun require texexec --final?

2006-09-24 Thread Hans Hagen
Sanjoy Mahajan wrote: Wolfgang, Thanks for the pointer. I don't have a cont-sys.tex, but cont-sys.rme has these lines % \runMPgraphicstrue % \runMPTEXgraphicstrue The .rme extension meant I'd missed it when I ran grep on the .tex files. I'll uncomment them. Oh, that's not a good

Re: [NTG-context] calculations

2006-09-24 Thread Henning Hraban Ramm
Am 2006-09-21 um 21:12 schrieb Peter Rolf: \externalfigure[\lily!img][scale=\dimexpr(1000\LPscale)]% \numexpr should work here ..[scale=\numexpr1000\LPscale\relax]% thank you, that seemed what I looked for, but: ! You can't use `\numexpr' in horizontal mode. BTW, Hans' hint

Re: [NTG-context] blackrule

2006-09-24 Thread Peter Rolf
Hans Hagen wrote: Peter Rolf wrote: Hi Jorge, batela wrote: Dear Sirs, I want to prepare a forma for handwriting filling. With this propose e use \blackrule command for trace some lines inside paragraphs. For example, I, \blackrule[width=5cm, height=0.05cm] , promise maintain a

Re: [NTG-context] blackrule

2006-09-24 Thread batela
Dear Sirs, I had updated my context version and now all works fine. Thanks to all Jorge Em 24/09/2006, às 9:07, Peter Rolf escreveu: Hans Hagen wrote: Peter Rolf wrote: Hi Jorge, batela wrote: Dear Sirs, I want to prepare a forma for handwriting filling. With this propose e use

Re: [NTG-context] staticMPfigures can overrun output streams

2006-09-24 Thread Hans Hagen
Sanjoy Mahajan wrote: Here's a possible solution that works here but is a hack and may make unwarranted assumptions about control-sequence names. It require a new if to say whether we are processing a static MP figure, and then using a dedicated output stream for those writes.

Re: [NTG-context] beta

2006-09-24 Thread Sanjoy Mahajan
Can someone verify this error please or is there something wrong with my code? The figure file is not found here as well (2006.08.08). But if I change it to: \startMPrun \input test.mp \stopMPrun \starttext \externalfigure[w-mprun.1][width=15mm] \stoptext then there's no problem (w.tex was

[NTG-context] metafun: verbatimtex coming too late?

2006-09-24 Thread Sanjoy Mahajan
In this file, I intended that all labels would come out in 7pt: === cut here \starttext \startMPenvironment \setupbodyfont[7pt] \stopMPenvironment \startMPinclusions def drawtext = label(btex In drawtext() macro. etex, origin); enddef;

Re: [NTG-context] metafun: verbatimtex coming too late?

2006-09-24 Thread Sanjoy Mahajan
I had wondered: only the label that is directly in the figure (Inline in the figure.) comes out in 7pt. The other one, produced by the drawtext macro, comes out in 12pt. A possible solution is to put the verbatimtex at the beginning of the mp file or after the input mp-grph, making it like

[NTG-context] \textext can fail in definitions in \startMPinclusions

2006-09-24 Thread Sanjoy Mahajan
Another test file for metafun. I know that textext doesn't work in loops. I don't understand how it's implemented enough to know why, but is the reason for its not working in loops the same as the reason it doesn't work in included definitions (related to static analysis of the code)? The

[NTG-context] \sometxt in staticMPfigure

2006-09-24 Thread Sanjoy Mahajan
Another small metafun test file. It displays no text in the middle of the ellipse. Using \textext instead of \sometxt works. \starttext \startstaticMPfigure{fig} draw \sometxt{hello}; draw fullcircle scaled 1cm xscaled 2; \stopstaticMPfigure \usestaticMPfigure[fig] xyz \stoptext