Hi
I am using context to run a metapost graph. I am however unable to
insert a label with \frac, since this is not pure Tex but Latex. This
seems to be a known problem for metapost:
-Seems for metapost only, one should add %latex
(http://ryanmlayer.wordpress.com/tag/metapost/).
-I saw also
On 25-4-2011 8:33, mat wrote:
Any idea how I should do? Find below minimal example, that does not work
on my computer when compiling with context...
best use textext ...
label.top(textext(1.4)scaled 1.00,
(10, 10));
label.top(textext($\sigma_t$)
=1pt]
\switchtobodyfont[10pt]
% Beginning MetaPost graphic
\startMPpage
label.top(btex 1.4 etex scaled 1.00, (10, 10));
label.top(btex $\sigma_t$ etex scaled 1.00, (0, 10));
label.top(btex $\displaystyle \frac{\sigma_t}{a}$ etex scaled 1.00, (0, 10));
\stopMPpage
\stoptext
Error
On 26-4-2011 12:02, Matthieu Stigler wrote:
Dear Hans
Thanks for your quick answer! I was however not able to produce the
graph with the textext code... Should I actually then use another
compiler? I tried with context and texexec (I thought texexec is the
compiler for mkiv, right? I'm on linux
Le 26/04/2011 12:36, Hans Hagen a écrit :
On 26-4-2011 12:02, Matthieu Stigler wrote:
Dear Hans
Thanks for your quick answer! I was however not able to produce the
graph with the textext code... Should I actually then use another
compiler? I tried with context and texexec (I thought texexec
Am 26.04.2011 um 13:36 schrieb Matthieu Stigler:
Le 26/04/2011 12:36, Hans Hagen a écrit :
On 26-4-2011 12:02, Matthieu Stigler wrote:
Dear Hans
Thanks for your quick answer! I was however not able to produce the
graph with the textext code... Should I actually then use another
Le 26/04/2011 16:33, Andreas Harder a écrit :
Am 26.04.2011 um 13:36 schrieb Matthieu Stigler:
Le 26/04/2011 12:36, Hans Hagen a écrit :
On 26-4-2011 12:02, Matthieu Stigler wrote:
Dear Hans
Thanks for your quick answer! I was however not able to produce the
graph with the textext code...
On 26-4-2011 5:17, Matthieu Stigler wrote:
MTXrun | current version: 2009.11.26 16:2
that's rather old for a luatex/context combination
on the wiki you can find how to install minimals (takes a few minutes
only, no compilation needed)
Hans
But it run into compiling error. For you convenience, append the
sources for mpost and context.
As for metauml, have a look at this example:
http://www.ntg.nl/pipermail/ntg-context/2010/049511.html
This works for me with the latest beta.
For quick testing purposes just put the metauml (mp)
-,
the MetaPost UML library);
drawObject(A);
\stopMPpage
\stoptext
I don't know the internal details of metaUML, but it could be the same
problem as with MetaObj. See:
http://wiki.contextgarden.net/MetaObj_and_Labels
Aditya
Hi All,
I would like to use metauml modules with context, but context can
not find it from ~/texmf/metapost/metauml directory. What the context
search path for the 3rd party metapost modules?
Thanks in advance.
Br/JL
--
Joshua Lee
On Tue, Apr 19, 2011 at 15:12, Joshua Lee wrote:
Hi All,
I would like to use metauml modules with context, but context can
not find it from ~/texmf/metapost/metauml directory. What the context
search path for the 3rd party metapost modules?
The search path is defined inside texmf/web2c
activity.tex
\startMPinclusions
input metauml;
\stopMPinclusions
\startMPpage
Activity.A(Learn MetaUML -,
the MetaPost UML library);
drawObject(A);
\stopMPpage
\stoptext
I don't know the internal details
Thanks for your tips Wolfgang! I switched to a solution as on the
wiki, using overlays and frames in place of layers. After setting the
boudingboxes right it works! I have to increase the \objectoffset
though, because otherwise the graphic is chopped of:
\setuppapersize[A5][A5]
Thanks Peter! You are right it is easier to draw both the wave and the
line in Metapost. And the dx=-\cutspace is just what I needed for left
pages!
I striped the frames out of the code and placed just the graphics in
the layer with a reuseMPgraphic. Also, I pulled out the definition of
the wave
Am 04.04.2011 um 01:22 schrieb Tim Steenvoorden:
Thanks Peter! You are right it is easier to draw both the wave and the
line in Metapost. And the dx=-\cutspace is just what I needed for left
pages!
I striped the frames out of the code and placed just the graphics in
the layer
Am 2011-03-13 um 22:31 schrieb Thomas Schmitz:
what fails is the shadow for the highlight. Aditya wrote this code,
so please curse him :-) I must admit I don't really understand what
he did there. As a workaround (or solution?): line 835 of
simpleslides-s-default.tex:
withcolor
Am 01.04.2011 11:39, schrieb Tim Steenvoorden:
Dear list,
I'm trying to make some fancy chapter headers. With MetaPost I drew a
wave, which I'd like to place in the margin. I've read details.pdf and
metafun.pdf, but I don't manage to get the positioning right. The wave
should begin where
On Fri, 1 Apr 2011, Tim Steenvoorden wrote:
(Untested).
\startuniqueMPgraphic{wave}
numeric periods, width;
path wave;
periods := 3 + 1/4;
width := periods * 2*pi;
wave:= origin for x=0 step 0.1 until width:
-- (x,x*sin(x))
endfor;
pickup pencircle scaled 1pt;
draw
On Fri, 11 Mar 2011 16:02:32 +0100
zs zstry...@physics.ujep.cz wrote:
Hello everybody.
Can you please confirm that following code fails:
\usemodule[simpleslides]
\starttext
\IncludePicture[horizontal][cow][highlight=yes,
alternative=circle, x=1, y=1, xscale=1, yscale=1,
Hello everybody.
Can you please confirm that following code fails:
\usemodule[simpleslides]
\starttext
\IncludePicture[horizontal][cow][highlight=yes, alternative=circle, x=1, y=1,
xscale=1, yscale=1, shadow=bottomleft]{hello}
\stoptext
And this does not:
\usemodule[simpleslides]
\starttext
for one page, I tried a Metapost run in luatex
but after taking some 12 GB of memory it gave up.
The idea is thus to have one contiguous input which at certain points produces
a new startTEXpage. That will flush the internal memory I guess and makes long
documents possible.
I'd rather not split
The only letter (g) I have left in the logo has two spaces that I want to cut
out.
I can't make a single path out of it so that it doesn't go through the entire
letter, so what to do in this case?
Here's the example:
%%%
\starttext
On 02/21/2011 05:09 PM, Reviczky, Adam wrote:
The only letter (g) I have left in the logo has two spaces that I want to cut
out.
I can't make a single path out of it so that it doesn't go through the entire
letter, so what to do in this case?
Can't you construct four outlines instead of three,
... what you currently do with metapost at the
moment is a bit of cheating to overcome lack of a feature in metapost
- there is still an infinitely thin line between segments and a dumb
renderer might display artifacts.
If I wanted to draw a logo (very important graphic that will be used
more
Just as a thought ... what you currently do with metapost at the
moment is a bit of cheating to overcome lack of a feature in metapost
- there is still an infinitely thin line between segments and a dumb
renderer might display artifacts.
Yes, I am aware of this, just wanted to hear something
that regions are simply
connected), (...) (http://en.wikipedia.org/wiki/MetaPost).
I thought I ask here before I put this aside.
As a workaround I fill out the bigger one with color black and the smaller one
with color white, but I need to put this on different background colors, so the
use
On 02/20/2011 04:25 PM, Reviczky, Adam wrote:
As a workaround I fill out the bigger one with color black and the smaller one
with color white, but I need to put this on different background colors, so the
use of this is very limited.
You can fill out the bigger one, than clips the smaller
You can fill out the bigger one, than clips the smaller one.
Can you give me an example with the clip? I can't get it work in a way I want
to have it.
I've found another thread here:
http://www.tug.org/pipermail/metapost/2006-September/000650.html
But I fail to see the conclusion there too
On 02/21/2011 03:52 AM, Reviczky, Adam wrote:
As for the path of the difference, how do you mean that? Example?
\startMPpage
path p ;
p := fullcircle scaled 1cm ;
path q ;
q := fullcircle scaled .5cm ;
path r ;
r := p -- reverse q -- cycle ;
drawarrow r withcolor green ;
fill r withcolor red ;
\startMPpage
path p ;
p := fullcircle scaled 1cm ;
path q ;
q := fullcircle scaled .5cm ;
path r ;
r := p -- reverse q -- cycle ;
drawarrow r withcolor green ;
fill r withcolor red ;
\stopMPpage
This works here.
Based on this I can now cut out the smaller one from a fullcircle, but it
On 02/21/2011 01:12 PM, Reviczky, Adam wrote:
\starttext
\framed[background=color,backgroundcolor=red,height=fit,width=fit]{
\startMPcode
path p[];
p1 := (6.949220,13.046900)..controls (9.539060,13.046900) and
(10.023400,10.781200)..(10.023400,8.679690)..controls (10.023400,5.335940) and
Maybe you can know why now, from the above code. The direction of the
path is important.
I get it now, thanks for your help!
___
If your question is of interest to others as well, please add an entry to the
Wiki!
So with this method, I can cut out some fillings of letters in a logo,
but for this example it draws a small line through the letter:
%%%
\starttext
\framed[background=color,backgroundcolor=red,height=fit,width=fit]{
\startMPcode
path db[],df[],dc[];
drawoptions (withcolor
On 02/21/2011 02:41 PM, Reviczky, Adam wrote:
but for this example it draws a small line through the letter:
\starttext
\framed[background=color,backgroundcolor=red,height=fit,width=fit]{
\startMPcode
path db[],df[],dc[];
drawoptions (withcolor (0.00,0.329412,0.560784));
db1 :=
Wikified: http://wiki.contextgarden.net/MetaObj_and_Labels
Please update/change as appropriate.
Best regards,
Stefan
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist
On 22.01.2011 17:30, Aditya Mahajan wrote:
On Sat, 22 Jan 2011, Stefan Müller wrote:
So its either using text or using metaobj? Too bad, metaobj is quite
fun... I still hope you guys can fix this, but it's not urgent (to me).
Anyway, what does the [+] after \startMPinclusions? I did not find
On 23.01.2011 12:40, Stefan Müller wrote:
On 22.01.2011 17:30, Aditya Mahajan wrote:
On Sat, 22 Jan 2011, Stefan Müller wrote:
So its either using text or using metaobj? Too bad, metaobj is quite
fun... I still hope you guys can fix this, but it's not urgent (to me).
Anyway, what does the
On Sun, 23 Jan 2011, Stefan Müller wrote:
Sorry for double posting... The method with if not flag is a bit arkward,
because assignObj isn't the only problem. rotateObj(s, 90) would rotate the
object 180 degrees instead of 90; when defining the relation between several
objects some equations
On 23.01.2011 18:22, Aditya Mahajan wrote:
On Sun, 23 Jan 2011, Stefan Müller wrote:
Sorry for double posting... The method with if not flag is a bit
arkward, because assignObj isn't the only problem. rotateObj(s, 90)
would rotate the object 180 degrees instead of 90; when defining the
\stoptext
On 22.01.2011 02:38, Aditya Mahajan wrote:
On Sat, 22 Jan 2011, Hans Hagen wrote:
On 20-1-2011 9:59, Taco Hoekwater wrote:
On 01/18/2011 01:17 PM, Stefan Müller wrote:
Hi list,
I'm having some trouble with MetaPost in general and MetaObj in
particular.
The core problem
On Sat, 22 Jan 2011, Stefan Müller wrote:
So its either using text or using metaobj? Too bad, metaobj is quite fun... I
still hope you guys can fix this, but it's not urgent (to me).
Anyway, what does the [+] after
\startMPinclusions? I did not find documentation for that on the wiki.
On 20-1-2011 9:59, Taco Hoekwater wrote:
On 01/18/2011 01:17 PM, Stefan Müller wrote:
Hi list,
I'm having some trouble with MetaPost in general and MetaObj in
particular.
The core problem is that context mkiv loads the metapost code twice
when you are typesetting labels, and that causes
On Sat, 22 Jan 2011, Hans Hagen wrote:
On 20-1-2011 9:59, Taco Hoekwater wrote:
On 01/18/2011 01:17 PM, Stefan Müller wrote:
Hi list,
I'm having some trouble with MetaPost in general and MetaObj in
particular.
The core problem is that context mkiv loads the metapost code twice
when you
On 01/18/2011 01:17 PM, Stefan Müller wrote:
Hi list,
I'm having some trouble with MetaPost in general and MetaObj in
particular.
The core problem is that context mkiv loads the metapost code twice
when you are typesetting labels, and that causes trouble for metaobj
which does not expect
Aditya Mahajan wrote:
On Tue, 18 Jan 2011, Verhaag, G.C.H.M. wrote:
Hi,
I wanted to try (using ConTeXt minimals MkIV) the example on page 228
of the MetaFun manual, dealing with typesetting in MetaPost.
I haven't look at the metapost manual ... but
The code is given
=\hbox{\bfd\the\MPtoks}%
\startMPdrawing
n := n + 1 ; len[n] := \the\wd\MPbox ;
\stopMPdrawing
\startMPdrawing[-]
pic[n] := textext(\bfd\setstrut\strut#1) ;
pic[n] := pic[n] shifted - llcorner pic[n] ;
\stopMPdrawing}
\handletokens MetaPost is Fun!\with\whatever
\startMPdrawing
pair len
Verhaag, G.C.H.M. wrote:
Hi,
I wanted to try (using ConTeXt minimals MkIV) the example on page 228
of the MetaFun manual, dealing with typesetting in MetaPost.
The code is given as:
\resetMPdrawing
\startMPdrawing
picture pic[] ;
numeric wid[], len[], pos[], n ;
wid[0] := len[0] := pos[0
Am 19.01.2011 14:35, schrieb Verhaag, G.C.H.M.:
Verhaag, G.C.H.M. wrote:
Hi,
I wanted to try (using ConTeXt minimals MkIV) the example on page 228
of the MetaFun manual, dealing with typesetting in MetaPost.
The code is given as:
\resetMPdrawing
\startMPdrawing
picture pic
On Tue, 18 Jan 2011, Verhaag, G.C.H.M. wrote:
Hi,
I wanted to try (using ConTeXt minimals MkIV) the example on page 228 of the
MetaFun manual, dealing with typesetting in MetaPost.
I haven't look at the metapost manual ... but
The code is given as:
\resetMPdrawing
\startMPdrawing
picture
Hi list,
I'm having some trouble with MetaPost in general and MetaObj in
particular. I hope someone on this list can assist me here. I'm trying
to run the appended ConTeXt file with a quite simple object Segment
(from the manual [1], section 2.1). This script works fine as it is. I
wanted
Hi,
I wanted to try (using ConTeXt minimals MkIV) the example on page 228 of
the MetaFun manual, dealing with typesetting in MetaPost.
The code is given as:
\resetMPdrawing
\startMPdrawing
picture pic[] ;
numeric wid[], len[], pos[], n ;
wid[0] := len[0] := pos[0] := n := 0 ;
\stopMPdrawing
In that case one should better run mtxrun instead of luatools (they
are equivalent at the moment, but luatools is becomming obsolete).
Ahhh ... I guess that needs some divine inspiration to know ...
And yes, texmfcnf.lua should be carefully designed to match the
structure of texmf trees in
On Fri, Jan 14, 2011 at 09:57:32PM +0100, Jonas Stein wrote:
In that case one should better run mtxrun instead of luatools (they
are equivalent at the moment, but luatools is becomming obsolete).
Ahhh ... I guess that needs some divine inspiration to know ...
And yes, texmfcnf.lua
Is there any hope that context will become a replacement of latex?
I don't think this have been a goal.
Maybe Jonas means that for *some* particular users, ConTeXt could be a
replacement for LaTeX, and that we could, for example, use it to
introduce newcomers to TeX-based typesetting
Arthur Reutenauer arthur.reutena...@normalesup.org writes:
Is there any hope that context will become a replacement of latex?
I don't think this have been a goal.
Maybe Jonas means that for *some* particular users, ConTeXt could be a
replacement for LaTeX,
For *some* particular users,
On 14-1-2011 9:57, Jonas Stein wrote:
Its so sad to read this but no other reply on this thread till now.
As far i have looked into the .deb packages the bug should be in the
current stable versions too.
The ideas behind context are so nice and could save us from so
much latex-pain. If there
For *some* particular users, ConTeXt *is* already a replacement for
LaTeX
Yes, for me too. But you're missing the point.
Arthur
___
If your question is of interest to others as well, please add an entry
On Tue, Jan 11, 2011 at 06:00, Norbert Preining wrote:
Hi Aditya, hi all,
On Mo, 10 Jan 2011, Aditya Mahajan wrote:
Assuming that Norbert packaged ConTeXt package in debian testing, I am
CCing this message to him.
So it seems that current Context has changed something, anyone can help
me
2011/1/11 Mojca Miklavec mojca.miklavec.li...@gmail.com
It should probably be called texmfcnf.lua instead of contextcnf.lua.
And there's also a high chance that the settings in that file are
wrong if you just took the file from distribution. The settings should
somehow match the contents in
2011/1/11 Vedran Miletić riva...@gmail.com:
2011/1/11 Mojca Miklavec mojca.miklavec.li...@gmail.com
It should probably be called texmfcnf.lua instead of contextcnf.lua.
And there's also a high chance that the settings in that file are
wrong if you just took the file from distribution. The
On Tue, 11 Jan 2011, Mojca Miklavec wrote:
2011/1/11 Vedran Miletić riva...@gmail.com:
2011/1/11 Mojca Miklavec mojca.miklavec.li...@gmail.com
It should probably be called texmfcnf.lua instead of contextcnf.lua.
And there's also a high chance that the settings in that file are
wrong if you
On Tue, Jan 11, 2011 at 17:45, Aditya Mahajan wrote:
On Tue, 11 Jan 2011, Mojca Miklavec wrote:
And yes, texmfcnf.lua should be carefully designed to match the
structure of texmf trees in debian.
Wouldn't just copying the texmfcnf.lua from texlive work?
Mine
Hi Mojca,
On Di, 11 Jan 2011, Mojca Miklavec wrote:
2010.07.30, according to http://packages.debian.org/search?keywords=context
In that case one should better run mtxrun instead of luatools (they
are equivalent at the moment, but luatools is becomming obsolete).
Ahhh ... I guess that needs
Hi,
MetaPost embedded in ConTeXt does not work here, but plain
MetaPost works fine:
This [1] test works fine if i call
mpost test.1
I can see a circle.
But this [2] fails.
Does ConTeXt expect MetaPost to have the executable named mp?
On my debian system its called mpost
[1] http
On 01/10/2011 03:29 PM, Jonas Stein wrote:
[2]
http://wiki.contextgarden.net/MetaPost#Troubleshooting_MetaPost_embedded_in_ConTeXt
Are you using mkii or mkiv? And what versions of what? (terminal output
would be helpful). To answer the immediate question: no, context does
not expect
here is my typescript:
$ cat test.tex
\starttext
\systemcommandmode
\startMPcode
draw fullcircle scaled 3cm ;
\stopMPcode
$ context test.tex
MTXrun | forcing cache reload
MTXrun | resolvers: warning: no lua configuration files found
MTXrun | resolvers
MTXrun | resolvers
MTXrun | the
On 01/10/2011 03:50 PM, Jonas Stein wrote:
$ context test.tex
MTXrun | forcing cache reload
MTXrun | resolvers: warning: no lua configuration files found
Something is wrong with your installation. Mkiv should have found
a texmfcnf.lua at this spot. What distribution are you running?
On 2011-01-10, Taco Hoekwater t...@elvenkind.com wrote:
On 01/10/2011 03:50 PM, Jonas Stein wrote:
$ context test.tex
MTXrun | forcing cache reload
MTXrun | resolvers: warning: no lua configuration files found
Something is wrong with your installation. Mkiv should have found
a texmfcnf.lua
Hi,
My linux is not Debian-based so I cannot help much further
(but I have changed the title of this reply in the hope
that more debian people will read it)
Best wishes,
Taco
On 01/10/2011 04:42 PM, Jonas Stein wrote:
On 2011-01-10, Taco Hoekwatert...@elvenkind.com wrote:
On 01/10/2011
Hi,
\starttext
% \systemcommandmode % (doesn't work here, i.e. strange ^ char with
texexec and not defined by mkiv)
\startMPcode
draw fullcircle scaled 3cm;
\stopMPcode
\stoptext % (missing in your code snippet)
Tested on the following ConTeXt minimals version on an up-to-date debian
(amd64
On Mon, 10 Jan 2011, Renaud AUBIN wrote:
\stoptext % (missing in your code snippet)
Tested on the following ConTeXt minimals version on an up-to-date debian
(amd64 unstable/experimental hybrid).
MTXrun | main context file:
Hi Aditya,
Hum… OK, my english is not so good but Tested on the following
**ConTeXt minimals** version on an up-to-date debian seems clear to me.
And, you are right: /usr/local is one of the place to install stuff
**not** installed by the debian package manager. ;)
Now, I have installed the
Hi Renaud,
On Mon, 10 Jan 2011, Renaud AUBIN wrote:
Hum… OK, my english is not so good but Tested on the following
**ConTeXt minimals** version on an up-to-date debian seems clear to me.
I am sorry. I misread it.
And, you are right: /usr/local is one of the place to install stuff
**not**
I assume from minimals install script that you need to generate the
format with mtxrun --generate --tree=xxx --some --options but failed
at this point…
Maybe Mojca or Arthur (as authors of bin/mtx-update.lua) could complete?
Anyway, the post-install script packaged with that .deb doesn't seem to
Now, I have installed the pointed package for testing and I confirm the
result:
Thank you for testing.
I made a bugreport for Norbert.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609600
--
Jonas Stein n...@jonasstein.de
Renaud AUBIN aubin at nibua-r.org writes:
Hi all,
I assume from minimals install script that you need to generate the
format with mtxrun --generate --tree=xxx --some --options but failed
at this point…
Maybe Mojca or Arthur (as authors of bin/mtx-update.lua) could complete?
Anyway, the
I assume from minimals install script that you need to generate the
format with mtxrun --generate --tree=xxx --some --options but failed
at this point…
Maybe Mojca or Arthur (as authors of bin/mtx-update.lua) could complete?
Anyway, the post-install script packaged with that .deb doesn't
On Mon, 10 Jan 2011, Hilmar Preuße wrote:
Renaud AUBIN aubin at nibua-r.org writes:
Hi all,
I assume from minimals install script that you need to generate the
format with mtxrun --generate --tree=xxx --some --options but failed
at this point…
Maybe Mojca or Arthur (as authors of
Hi Aditya, hi all,
On Mo, 10 Jan 2011, Aditya Mahajan wrote:
Assuming that Norbert packaged ConTeXt package in debian testing, I am
CCing this message to him.
So it seems that current Context has changed something, anyone can help
me here?
Up to now I did:
export
Wolfgang Schuster wrote:
Am 31.12.2010 um 10:36 schrieb Verhaag, G.C.H.M.:
So I understand that both statements:
\loadmarkfile{m-graph}
\usemodule[graph]
are actually the same thing!
Both work but they are not the same thing.
\loadmarkfile loads only the given file with the
Hi,
I'd like to use the boxit MetaPost macros with ConTeXt minimals. Is
there a way to tackle this or do I need the chart module for that.
Am I right in saying that the boxit macros give more flexibility
compared to the chart module? Or is it just a matter of taste?
Regards,
Gerard Verhaag
Am 31.12.2010 um 10:36 schrieb Verhaag, G.C.H.M.:
So I understand that both statements:
\loadmarkfile{m-graph}
\usemodule[graph]
are actually the same thing!
Both work but they are not the same thing.
\loadmarkfile loads only the given file with the extension “mkii” MkII and
“mkiv”
Wolfgang Schuster wrote:
Am 30.12.2010 um 11:07 schrieb Verhaag, G.C.H.M.:
By the way, if I use MetaPost within ConTeXt using:
\loadmarkfile{m-graph}
The module is loaded with \usemodule[graph].
Wolfgang
mkiv, metapost is processed under one
continuous run, so definitions are retained. This is to be kept
in mind, as some metapost code can then yield errors, in particular,
inconsistent equations and the like.
Alan
On Thursday 30 December 2010 15:18:08 Verhaag, G.C.H.M. wrote:
Martin 'golodhrim
to generate a few plots using the graph-module (by John D.
Hobby) of MetaPost, which I used in the past to make high-quality plots.
But when I add the following statement:
input graph ;
to the preamble of my MetaPost file and run the command:
mpost plot.mp
The run aborts with the following
output:
...
MTXrun | current version: 2010.07.30 11:35
Now I want to generate a few plots using the graph-module (by John D.
Hobby) of MetaPost, which I used in the past to make high-quality plots.
But when I add the following statement:
input graph ;
to the preamble of my MetaPost
--version
yields the following output:
...
MTXrun | current version: 2010.07.30 11:35
Now I want to generate a few plots using the graph-module (by John D.
Hobby) of MetaPost, which I used in the past to make high-quality plots.
But when I add the following statement:
input graph
Am 30.12.2010 um 11:07 schrieb Verhaag, G.C.H.M.:
By the way, if I use MetaPost within ConTeXt using:
\loadmarkfile{m-graph}
The module is loaded with \usemodule[graph].
Wolfgang
___
If your question
On 12/05/2010 04:14 AM, Li Yanrui (李延瑞) wrote:
Is this a bug or it always need to use 'save' macro to hold these
local variable in metafun?
It is a side-effect of MkIV running your code through metapost
multiple times. But why it does that, I am not sure.
Best wishes,
Taco
Li Yanrui (李延瑞) wrote:
Hi,
Now it can not be compiled and luatex outputs:
mplib : loading 'metafun.mp' (experimental metapost version two)
mplibmp terminal: ! Redundant equation.
to be read again
;
* u = 1cm;
xmin = -2.6u; xmax
Hello,
You should change all of the = to :=, as in
u := 1cm;
This instructs metapost to assign a value to the variable;
the standard form u = 1cm is a formula for metapost to solve.
It tries then to resolve u = 1cm; xmin = -2.6u; and xmax = 4u;
as a coupled set of equations. Sometimes you can
2010/12/5 Alan BRASLAU alan.bras...@cea.fr:
Hello,
You should change all of the = to :=, as in
u := 1cm;
This instructs metapost to assign a value to the variable;
the standard form u = 1cm is a formula for metapost to solve.
It tries then to resolve u = 1cm; xmin = -2.6u; and xmax = 4u
2010/12/5 Aditya Mahajan adit...@umich.edu:
On Sun, 5 Dec 2010, Li Yanrui (李延瑞) wrote:
When a label (or btex ... etex) is present, ConTeXt processes the MP code
twice: once to typeset the labels and then to place to labels. You get a
redundant equation in the second pass.
The easiest way to
)--(xmax,0);
label.lft(hello,(0, 0));
\stopMPcode
\stoptext
Now it can not be compiled and luatex outputs:
mplib : loading 'metafun.mp' (experimental metapost version two)
mplibmp terminal: ! Redundant equation.
to be read again
;
* u = 1cm;
xmin
On Nov 12, 2010, at 19:38 , Reviczky, Adam wrote:
Hi,
I've made a MetaPost version for creating Gantt charts.
Florian: The label alignments are fixed in this module. Further, it should be
trivial to place the names into the ganttbars, for both versions.
Thanks! Yes you are right
Hi,
I've made a MetaPost version for creating Gantt charts.
Florian: The label alignments are fixed in this module. Further, it should be
trivial to place the names into the ganttbars, for both versions.
For more information see the wiki entry:
http://wiki.contextgarden.net/Gantt_charts
Adam
--
[...]
systems : begin file latex5 at line 1
mplib : initializing instance 'metafun' using format 'metafun'
mplib : loading 'metafun.mp' (experimental metapost version two)
mplibmp terminal: ! Redundant equation.
to be read again
On 10/23/2010 10:00 AM, Herbert Voss wrote:
When I run this example with mpost amd mptopdf, everything is fine.
But running it with context mkiv, using its mplib I get
an error.
Yes, you would. This is the text from
http://wiki.contextgarden.net/MkIV_Differences about metapost in context
\startOT
Wow! experimental metapost version two
(does this mean that we get to play with precision?)
\stopOT
\startQUESTION
The following minimal example yields an error:
\starttext
\startMPcode
input circle ;
\stopMPcode
\stoptext
where circle.mp
801 - 900 of 1698 matches
Mail list logo