In article
,
Andre Caldas wrote:
> Hello, list!
>
> I am writing down a macro package for commutative diagrams using metafun.
> This is my first try:
> https://bitbucket.org/andrecaldas/math-video-classes/src/9a050eab20348c9a9c9e5
> 0740618173648979f45/src/environments/diagr
> But I would like to use some "object oriented" like approach.
I have done some OOP like coding...
https://bitbucket.org/andrecaldas/math-video-classes/src/77036fe1001ede35e301305700943ac952089d32/src/environments/diagrams.tex?at=default
This is my first METAFUN experience. Comm
Hello, list!
I am writing down a macro package for commutative diagrams using metafun.
This is my first try:
https://bitbucket.org/andrecaldas/math-video-classes/src/9a050eab20348c9a9c9e50740618173648979f45/src/environments/diagrams.tex?at=default
Used here:
https://bitbucket.org/andrecaldas
Dear Hans,
The structure of your code is very interesting.
MP code) inside ConTeXt) inside Lua) inside ConTeXt) again!
It is really useful.
Thank you.
Best regards,
Dalyoung
>
> play with code like this
>
> \starttext
>
> \startluacode
>context.startMPcode()
>for i=1,10 d
On 25-10-2012 13:59, Jeong Dal wrote:
> Dear Gesang and Hans,
>
> Your solution is working nicely.
> I may use lua to simplify my other work.
>
> I'd like to ask you one more thing.
>
> I tried to write a matrix using MetaFun to add some graphics as following:
Dear Gesang and Hans,
Your solution is working nicely.
I may use lua to simplify my other work.
I'd like to ask you one more thing.
I tried to write a matrix using MetaFun to add some graphics as following:
label(btex $a_{11}$ etex, ( , ));
label(btex $a_{12}$ etex, ( , ));
label(btex $
On 06/18/2012 04:19 PM, Hans Hagen wrote:
and then use pstopdf to turn the pdf into an eps
You must mean pdftops, since pstopdf cannot convert pdf files into eps
but pdftops can.
I tried pdftops, the result quality is high, but since my desire is to
provide eps figures to others that have to
On 14-6-2012 19:07, Hongwen Qiu wrote:
Hi,
Is it possible to typeset the label with context and generate eps output
files using the metafun format? If yes, then how?
\startMPpage
...
\stopMPpage
or
\startTEXpage
...
\stopTEXpage
and then use pstopdf to turn the pdf into an eps
Hans
Hi,
Is it possible to typeset the label with context and generate eps output
files using the metafun format? If yes, then how?
TIA.
___
If your question is of interest to others as well, please add an entry to the
On Sun, May 6, 2012 at 4:52 PM, Hans Hagen wrote:
> You have seen this one, haven't you? Posted by Don Knuth:
>
> http://www.youtube.com/watch?v=YVuggGxeBVk
>
> So that's your next challenge.
Yes, I've seen it, had to watch the whole thing, it is so fascinating.
If I ever decide to invest in suc
On Sun, May 6, 2012 at 3:47 PM, Hans Hagen wrote:
>> http://www.lucet.fi/textiles/
>
>
> Best change that in:
>
> ConTeXt, developed by the Dutch company Pragma Advanced Document
> Engineering, is open source software and avaliable as stand alone
> distribution (www.contextgarden.net) and is also
On 6-5-2012 14:53, Martin Schröder wrote:
2012/5/6 Hans Hagen:
(btw, I always wonder if the gpl restrictions also apply to the makers too
... i.e. if I extend context for a project should I then also make those
extensions public ... quite a hassle if that would be true.)
The copyright holders
2012/5/6 Hans Hagen :
> (btw, I always wonder if the gpl restrictions also apply to the makers too
> ... i.e. if I extend context for a project should I then also make those
> extensions public ... quite a hassle if that would be true.)
The copyright holders are free to use any license. So we have
On 6-5-2012 10:53, Mari Voipio wrote:
On Mon, Apr 23, 2012 at 9:04 PM, Hans Hagen wrote:
beware, metapost is addictive once you get better in it,
It is. :-)
This one is to both you and Peter, because your snippets together
helped me adjust from WYSIWYG vector graphics to MetaPost - not that
On 6-5-2012 13:33, Pontus Lurcock wrote:
On Sun 06 May 2012, Wolfgang Schuster wrote:
Am 06.05.2012 um 11:16 schrieb luigi scarso:
On Sun, May 6, 2012 at 10:53 AM, Mari Voipio wrote:
http://www.lucet.fi/textiles/
"""
ConTeXt, developed by the Dutch company Pragma Advanced Document
Enginee
On Sun 06 May 2012, Wolfgang Schuster wrote:
>
> Am 06.05.2012 um 11:16 schrieb luigi scarso:
>
> > On Sun, May 6, 2012 at 10:53 AM, Mari Voipio wrote:
> >> http://www.lucet.fi/textiles/
> > """
> > ConTeXt, developed by the Dutch company Pragma Advanced Document
> > Engineering, is not open so
On Sun, May 6, 2012 at 11:56 AM, Wolfgang Schuster
wrote:
>
> Am 06.05.2012 um 11:16 schrieb luigi scarso:
>
>> On Sun, May 6, 2012 at 10:53 AM, Mari Voipio wrote:
>>> http://www.lucet.fi/textiles/
>> """
>> ConTeXt, developed by the Dutch company Pragma Advanced Document
>> Engineering, is not o
Am 06.05.2012 um 11:16 schrieb luigi scarso:
> On Sun, May 6, 2012 at 10:53 AM, Mari Voipio wrote:
>> http://www.lucet.fi/textiles/
> """
> ConTeXt, developed by the Dutch company Pragma Advanced Document
> Engineering, is not open source software,
> """
> Hm, I'm not sure that it's correct.
Co
On Sun, May 6, 2012 at 10:53 AM, Mari Voipio wrote:
> http://www.lucet.fi/textiles/
"""
ConTeXt, developed by the Dutch company Pragma Advanced Document
Engineering, is not open source software,
"""
Hm, I'm not sure that it's correct.
--
luigi
_
PS. I got this link from a friend who'd struggled with an event
registration system, but it SO applies to my MetaPost project:
http://www.howtogeek.com/102420/geeks-versus-non-geeks-when-doing-repetitive-tasks-funny-chart/
(Scary, I seem to count as "geek"now...)
On Mon, Apr 23, 2012 at 9:04 PM, Hans Hagen wrote:
> beware, metapost is addictive once you get better in it,
It is. :-)
This one is to both you and Peter, because your snippets together
helped me adjust from WYSIWYG vector graphics to MetaPost - not that
I'm that far yet, but I understand a lot
>
> \stopMPpage
>
>
>> Keeping in mind that I
>> will have to be able to draw a path/arrow on top, so I need to know
>> where they are.
>
> My little brain got an overflow from all this abstract thinking, but
> then it dawned on me that I could use the millim
ld use the millimeter grid recipe in
the MetaFun manual (p. 214) to draw a grid behind my pattern drawing.
Now placing the arrows should be a walk in the park...
> b) The circles p and q can be filled with the same colour or two
> different colours, and each of the blocks in a pattern can have
&
shapes
and sometimes complicated but well-regulated paths/arrows to go
between them; I'm just being a clueless newbie, too much in the
WYSIWYG vector graphics mode to really know what to do.
Mostly with the examples in the Metafun manual I've managed to get as
far as to my basic building block, t
ated paths/arrows to go
between them; I'm just being a clueless newbie, too much in the
WYSIWYG vector graphics mode to really know what to do.
Mostly with the examples in the Metafun manual I've managed to get as
far as to my basic building block, two circles joined by a curve:
\star
Am 25.03.2012 um 04:41 schrieb S Barmeier:
> On 03/23/2012 03:11 AM, Hans Hagen wrote:
>> On 22-3-2012 15:09, S Barmeier wrote:
>>> I have leaved through the ConTeXt and MetaFun manuals on the search for
>>> examples of graphics resembling the attached file
On 03/23/2012 03:11 AM, Hans Hagen wrote:
> On 22-3-2012 15:09, S Barmeier wrote:
>> I have leaved through the ConTeXt and MetaFun manuals on the search for
>> examples of graphics resembling the attached file which I created in
>> TikZ.
>>
>> I was wanting to s
On 22-3-2012 15:09, S Barmeier wrote:
I have leaved through the ConTeXt and MetaFun manuals on the search for
examples of graphics resembling the attached file which I created in TikZ.
I was wanting to switch to something more native to ConTeXt, but haven't
quite found a way of realising
Am 22.03.2012 um 15:09 schrieb S Barmeier:
> I have leaved through the ConTeXt and MetaFun manuals on the search for
> examples of graphics resembling the attached file which I created in TikZ.
>
> I was wanting to switch to something more native to ConTeXt, but haven't
>
I have leaved through the ConTeXt and MetaFun manuals on the search for
examples of graphics resembling the attached file which I created in TikZ.
I was wanting to switch to something more native to ConTeXt, but haven't
quite found a way of realising it in ConTeXt or MetaFun.
Maybe someone
On 03/15/2012 07:06 PM, Hans Hagen wrote:
Ah, but keep in mind that the random number is stored in the tuc file!
So, as long as that file is not wiped, you get the same random number
initialization. Imagine what would happen if we would not do that. So,
just erase the tuc if you want another se
w days of testing: the
"randomness" is a bit disappointing. All my presentations start more or
less with the same set of background pictures, and since most have < 22
slides, some slides never come up in the rotation. Is there a way to
provide metafun with a random seed, say the decimal
quot; is a bit disappointing. All my presentations start more or
less with the same set of background pictures, and since most have < 22
slides, some slides never come up in the rotation. Is there a way to
provide metafun with a random seed, say the decimal digit of pi
corresponding to the round
m a directory "backgroundpics." The pictures are
>>> numbered consecutively as 1.jpg through 22.jpg. For some complex
>>> reasons, it would be easier for me to include these pictures via metafun
>>> (I want to add other graphical elements on top). So my question i
me complex
reasons, it would be easier for me to include these pictures via metafun
(I want to add other graphical elements on top). So my question is, how
can I pick a random picture? Given the code
StartPage ;
draw externalfigure "backgoundpics/1" xscaled PaperWidth yscaled
PaperHeig
On 03/13/2012 05:56 PM, Thomas A. Schmitz wrote:
thank you both for your quick replies! Peter's works wonderfully;
Aditya's untested code throws an error "! Not implemented:
(string)&(known numeric)." I guess this is too arcane for the wiki?
To clarify: I wasn't talking about the error, which i
On 03/13/2012 05:33 PM, Peter Rolf wrote:
string mypath, rndfile;
mypath:= "backgroundpics/";
nofpics:= 22;
n:= round(uniformdeviate(nofpics-1)+1);
rndfile:= mypath& decimal n;
HTH, Peter
Aditya, Peter,
thank you both for your quick replies! Peter's works wonderfully;
Aditya's untested
reasons, it would be easier for me to include these pictures via metafun
> (I want to add other graphical elements on top). So my question is, how
> can I pick a random picture? Given the code
>
> StartPage ;
> draw externalfigure "backgoundpics/1" xscaled PaperWidth yscal
Hi all,
scenario: for a presentation, I want the background to be a random picture,
taken from a directory "backgroundpics." The pictures are numbered
consecutively as 1.jpg through 22.jpg. For some complex reasons, it would be
easier for me to include these pictures via metafun
Hi all,
scenario: for a presentation, I want the background to be a random
picture, taken from a directory "backgroundpics." The pictures are
numbered consecutively as 1.jpg through 22.jpg. For some complex
reasons, it would be easier for me to include these pictures via metafun
On 19-12-2011 14:07, Martin Bruchanov wrote:
On Sat, Dec 17, 2011 at 11:02:30PM +0100, Martin Bruchanov wrote:
Hi guys,
it is possible to use linear_shade with transparency in MetaFun?
Thanks for info and piece of example code :)
Hans direct me to
http://minimals.contextgarden.net/current
On Sat, Dec 17, 2011 at 11:02:30PM +0100, Martin Bruchanov wrote:
> Hi guys,
>
> it is possible to use linear_shade with transparency in MetaFun?
>
> Thanks for info and piece of example code :)
>
Hans direct me to
http://minimals.contextgarden.net/current/context/test/doc/
On 17-12-2011 23:02, Martin Bruchanov wrote:
Hi guys,
it is possible to use linear_shade with transparency in MetaFun?
Thanks for info and piece of example code :)
metapost/plugins-004.tex
in the test suite
Hans
Hi guys,
it is possible to use linear_shade with transparency in MetaFun?
Thanks for info and piece of example code :)
--
Martin Bruchanov
Skype : bruxytronics
WWW : http://bruxy.regnet.cz/
GPG-Key : http://bruxy.regnet.cz/bruxy-gpg.key (0x8107ED53)
AX.25 : OK2MNM @ OK0PBX
On 2011-12-11 Paul Menzel wrote:
> […]
>
> I then copied it into `\{start,stop}useMPgraphic`,
> removed the `end ;` and `{begin,end}fig` and replaced
> `{e,b}tex` by `textext()` but still get the following
> error.
I didn't check you code (try to make a minimal example
next time)
Dear ConTeXt folks,
looking for graphics example and therefore searching the list I found
the answer from David Arnold in the ntg-context list thread »OT: looking
for metapost/fun examples« [1].
It is for plain MetaPost and works fine with `mpost` after making sure
to remove the line breaks inse
On 8-12-2011 16:45, Paul Menzel wrote:
Am Donnerstag, den 08.12.2011, 16:40 +0100 schrieb Hans Hagen:
On 8-12-2011 14:54, Paul Menzel wrote:
To create grid like the log-log grid in [2] I guess I need to compose
the bigger grid from these “basic” grids then?
at some point it runs off your pag
Am Donnerstag, den 08.12.2011, 16:40 +0100 schrieb Hans Hagen:
> On 8-12-2011 14:54, Paul Menzel wrote:
>
> > To create grid like the log-log grid in [2] I guess I need to compose
> > the bigger grid from these “basic” grids then?
>
> at some point it runs off your page i guess
But the width par
On 8-12-2011 14:54, Paul Menzel wrote:
To create grid like the log-log grid in [2] I guess I need to compose
the bigger grid from these “basic” grids then?
at some point it runs off your page i guess
\starttext
\startMPcode
draw vloggrid(0, 10, 10, 10cm, 6cm) withcolor red ;
draw vlo
Dear ConTeXt folks,
the `vloggrid` command is described in section 9 of the MetaFun manual
[1].
vloggrid (Min, Max, Step, Length, Height)
Can somebody confirm that `Max` can be at most 10?
\starttext
\type{draw vloggrid(0, 11, 10, 15cm, 5cm
Hi,
On 14.11.2011, Andreas Harder wrote:
> On 13.11.2011, at 23:24, Romain Diss wrote:
> > I'm trying to make some section titles which look like the ones of the
> > metafun manual: title and number underlined [...]
>
> you can try something like this:
> [...]
On 13.11.2011, at 23:24, Romain Diss wrote:
> Hello,
>
> I'm trying to make some section titles which look like the ones of the
> metafun
> manual: title and number underlined, with number in margin. I thougth it
> would
> not be too hard but I can't do it.
&
Hello,
I'm trying to make some section titles which look like the ones of the metafun
manual: title and number underlined, with number in margin. I thougth it would
not be too hard but I can't do it.
Actually, I'm using a frame with an overlay with a \startuniqueMPgraphic to
Dear MetaFun folks,
Am Freitag, den 21.10.2011, 01:14 +0200 schrieb Paul Menzel:
> looking at the example for grid and functions in the MetaFun manual [1]
> section 9.3
>
> drawoptions(withpen pencircle scaled .25pt withcolor .5white) ;
> draw hlingrid(0, 20,
On 21-10-2011 22:53, Aditya Mahajan wrote:
Could someone please explain to me how `xyscaled` works in this case
please. I though `xyscaled (αcm, ζcm)` would set the object/path to a
width of α cm and a height of ζ cm.
IIRC, xysized does that. (I am usually confused between ..sized and
..scaled,
Could someone please explain to me how `xyscaled` works in this case
please. I though `xyscaled (αcm, ζcm)` would set the object/path to a
width of α cm and a height of ζ cm.
IIRC, xysized does that. (I am usually confused between ..sized and
..scaled, but one of them scales to the given dimens
I must admit that this wasn't clear to me before you came up with your
question. So thanks for that. :-)
Best wishes, Peter
Am 21.10.2011 13:38, schrieb Paul Menzel:
> Am Freitag, den 21.10.2011, 01:14 +0200 schrieb Paul Menzel:
>> Dear ConTeXt/MetaFun folks,
>>
>>
&g
Am Freitag, den 21.10.2011, 01:14 +0200 schrieb Paul Menzel:
> Dear ConTeXt/MetaFun folks,
>
>
> looking at the example for grid and functions in the MetaFun manual [1]
> section 9.3
>
> drawoptions(withpen pencircle scaled .25pt withcolor .5white) ;
>
Dear ConTeXt/MetaFun folks,
looking at the example for grid and functions in the MetaFun manual [1]
section 9.3
drawoptions(withpen pencircle scaled .25pt withcolor .5white) ;
draw hlingrid(0, 20, .2, 20cm, 10cm) ;
draw vloggrid(0, 10, .5, 10cm, 20cm
On 15-10-2011 21:41, Paul Menzel wrote:
Dear Hans,
Am Freitag, den 14.10.2011, 15:16 +0200 schrieb Hans Hagen:
On 14-10-2011 08:02, Paul Menzel wrote:
trying to draw a grid and label it, I get an error when using the (alsa
attached) example from the MetaFun manual [1].
Fixed in next beta
Dear Hans,
Am Freitag, den 14.10.2011, 15:16 +0200 schrieb Hans Hagen:
> On 14-10-2011 08:02, Paul Menzel wrote:
> > trying to draw a grid and label it, I get an error when using the (alsa
> > attached) example from the MetaFun manual [1].
>
> Fixed in next beta
as alway
On 14-10-2011 08:02, Paul Menzel wrote:
Dear ConTeXt folks,
trying to draw a grid and label it, I get an error when using the (alsa
attached) example from the MetaFun manual [1].
Fixed in next beta (however, instead of mp formatting lua formatting is
used, a prelude to the graph rewrite
Dear ConTeXt folks,
trying to draw a grid and label it, I get an error when using the (alsa
attached) example from the MetaFun manual [1].
\starttext
\startMPcode
drawoptions(withpen pencircle scaled .25pt withcolor .5white) ;
draw hlingrid(0, 20, .2, 20cm, 10cm
Dear ConTeXt folks,
I am sorry to bother you with these kind of messages.
On page 382 of the Metafun manual [1] (Fr 08 Okt 2010 13:44:26 CEST) it
should be
In this case the pairs (log(x), x) and …
so (log(x), x) instead of (x, x).
Thanks,
Paul
[1] http://www.pragma-ade.com/general
Dnia 2011-09-19, o godz. 17:43:29
Aditya Mahajan napisał(a):
> On Mon, 19 Sep 2011, Marcin Borkowski wrote:
>
> > Dnia 2011-09-19, pon o godzinie 11:19 -0400, Aditya Mahajan pisze:
> >> On Mon, 19 Sep 2011, Marcin Borkowski wrote:
> >>
> >>> I'd like to have some MP code shared between unique gr
On Mon, 19 Sep 2011, Marcin Borkowski wrote:
Dnia 2011-09-19, pon o godzinie 11:19 -0400, Aditya Mahajan pisze:
On Mon, 19 Sep 2011, Marcin Borkowski wrote:
I'd like to have some MP code shared between unique graphics (in MkIV).
One example: I'd like to have drawoptions for all graphics.
Dnia 2011-09-19, pon o godzinie 11:19 -0400, Aditya Mahajan pisze:
> On Mon, 19 Sep 2011, Marcin Borkowski wrote:
>
> > I'd like to have some MP code shared between unique graphics (in MkIV).
> >
> > One example: I'd like to have drawoptions for all graphics.
>
> \startMPinclusions
>drawopti
Am 19.09.2011 17:01, schrieb Marcin Borkowski:
> Hi all,
>
> I'd like to have some MP code shared between unique graphics (in MkIV).
>
> One example: I'd like to have drawoptions for all graphics.
>
> Another one: I'd like to have two similar (but different) unique
> graphics, and I'd like them
I am using code between \startMPinclusions .. \stopMPinclusions while later
additions can be accumulated with \startMPinclusions[+] .. \stopMPinclusions
Hans van der Meer
On 19 sep. 2011, at 17:01, Marcin Borkowski wrote:
> Hi all,
>
> I'd like to have some MP code shared between unique graphi
On Mon, 19 Sep 2011, Marcin Borkowski wrote:
I'd like to have some MP code shared between unique graphics (in MkIV).
One example: I'd like to have drawoptions for all graphics.
\startMPinclusions
drawoptions(...) ;
\stopMPinclusions
Another one: I'd like to have two similar (but differen
Hi all,
I'd like to have some MP code shared between unique graphics (in MkIV).
One example: I'd like to have drawoptions for all graphics.
Another one: I'd like to have two similar (but different) unique
graphics, and I'd like them to share some code.
How to do these two things?
Best
--
Ma
In article
,
Mojca Miklavec wrote:
> do you have any idea what
> exactly would have to be fixed in ConTeXt core code?
Edit mp-spec.mp and change the line
draw p withcolor ...
with
image(draw p withcolor ...)
The line is in the body of the doexternalfigure macro. Then, 'draw
externalfi
On 17-9-2011 11:32, Mojca Miklavec wrote:
Hans?
is in "too busy mode" currently .. more later (but the metafun mkiv way
is conceptually more ok so we might need to change metafun mk
On Sat, Sep 17, 2011 at 11:11, Nicola wrote:
>
> Does the following workaround work for you?
If Hans is willing to fix metafun, I would prefer to avoid workarounds.
(I don't care which syntax is used, but I would be grateful if the
same syntax worked in both mkii and mkiv.)
Since you
In article ,
Nicola wrote:
> Does the following workaround work for you?
>
> def mydraw text t =
>def f = begingroup t endgroup enddef;
>if picture f : draw f ; fi
> enddef;
> mydraw externalfigure "abc.png" xyscaled (5cm,8cm);
This may be better:
def mydraw text t = _mydraw begingr
In article
,
Mojca Miklavec wrote:
> Dear Hans,
>
> I have problems with externalfigure inside metapost.
>
> In MKII, only
> externalfigure "something.png";
> works, while in MKIV only
> draw externalfigure "something.png";
> is accepted.
>
> Is there any chance to accept one of the
On 16.09.2011 16:00, Mojca Miklavec wrote:
Dear Hans,
I have problems with externalfigure inside metapost.
In MKII, only
externalfigure "something.png";
works, while in MKIV only
draw externalfigure "something.png";
is accepted.
Is there any chance to accept one of the syntaxes in bo
Dear Hans,
I have problems with externalfigure inside metapost.
In MKII, only
externalfigure "something.png";
works, while in MKIV only
draw externalfigure "something.png";
is accepted.
Is there any chance to accept one of the syntaxes in both flavours?
Thank you,
Mojca
Minimal exam
On 24-6-2011 8:32, dalyoung wrote:
Dear Hans,
Thank you for the suggestion to use "setbounds".
And sorry to send you a untested sample file which is not working.
However, I couldn't succeed because of my lack of knowledge on "setbounds,
boundingbox".
Instead, I try to use "addto" and get a w
Dear Hans,
Thank you for the suggestion to use "setbounds".
And sorry to send you a untested sample file which is not working.
However, I couldn't succeed because of my lack of knowledge on "setbounds,
boundingbox".
Instead, I try to use "addto" and get a wanted result.
There is a better way t
On 23-6-2011 6:32, Jeong Dalyoung wrote:
Hi all,
I got the reason why the pictures locate in different position.
"rotation" causes the problem.
I defined domino as follows.
It is not the exact code but just show the form of the codes.
def domino (a, b, c, d )
save pic;
pi
Hi all,
I got the reason why the pictures locate in different position.
"rotation" causes the problem.
I defined domino as follows.
It is not the exact code but just show the form of the codes.
...
def domino (a, b, c, d )
save pic;
picture pic;
draw something 1;
Hi,
Changing the code as following, it moves to the correct location.
There may be a problem using
pic := currentpicture;
Instead of using
draw pic scaled DieSize shifted (dx,dy);
apply the shift directly to "draw pips".
I just guess that some number are not cleared when I use p
Hi,
I am trying to draw dominos using metapost and ConTeXt.
I borrow part of the code in Threeddice.mp by Dan Lueking for drawing dots.
To display blank dominos where I want and drawing one domino work well but
drawing several dominos where I want is not working well.
(compare domino0 and domin
On Thu, Jun 9, 2011 at 23:20, Philipp Gesang wrote:
> Hi all,
>
> I’m struggling with the font used in metapost. The only way to
> actually change it appears to be enclosing the mp graphic in two
> statements of \setupbodyfont[…] -- which I need to avoid. In the
> following example, the background
On 2011-06-09 <23:31:49>, Wolfgang Schuster wrote:
>
> Am 09.06.2011 um 23:20 schrieb Philipp Gesang:
> > ·
> >
> > \startMPenvironment %[global]
> > \switchtobodyfont[sans]
> > %\setupbodyfont[sans]
> > \stopMPenvironment
> >
Am 09.06.2011 um 23:20 schrieb Philipp Gesang:
> Hi all,
>
> I’m struggling with the font used in metapost. The only way to
> actually change it appears to be enclosing the mp graphic in two
> statements of \setupbodyfont[…] -- which I need to avoid. In the
> following example, the background te
Hi all,
I’m struggling with the font used in metapost. The only way to
actually change it appears to be enclosing the mp graphic in two
statements of \setupbodyfont[…] -- which I need to avoid. In the
following example, the background text should be typeset (drawn)
as lm sans, whereas the main fon
The »graphictext« makro does not work in mkiv, is it a bug
or intended? This example works in mkii:
\starttext
\startMPcode
draw image(graphictext "FooBar" scaled 8);
\stopMPcode
\stoptext
Marco
___
If your question
On 22-5-2011 5:09, Otso Helenius wrote:
With this feature one could define for example a 2-page spread for a magazine
(with free shape graphics and columns)
in between two ordinarily defined pages and would not have to manually disrupt
the body text flow through the
document.
It can probably
t pictures with pictures (only with masks), nor have I found a
way in any of the manuals
(mmakempy.pdf, metafun-p.pdf, metapostmanual.pdf) to output text outline as
paths which could be used for
cutting a hole in the mask picture. Is this possible?
2) MP gives an easy way to format free flowing p
Hi,
Inspired by the examples given in the MetaFun manual (Oct. 2010) I tried
a few, but I can't get them working!
I'm specially interested in the 'Anchors and layers' (p.257, screen
version!) feature. I typed in the MetaPost code as given on page 260,
defined the anchors
On Mon, 18 Apr 2011, Paul Menzel wrote:
The only downside of Asymptote I found so far is, that there is no
mailing list.
Asymptote has fairly active forums on sourceforge
http://sourceforge.net/projects/asymptote/forums/forum/409349
and at art of problem solving
http://www.artofproblemsolvin
Dear Zhichu and Aditya,
Thank you for the solution.
label (textext("$z_{" & decimal (i) & "}$" ), z[i]) ;
is working well.
Best regards,
Dalyoung
___
If your question is of interest to others as well, please add an
On Wed, 20 Apr 2011, Jeong Dalyoung wrote:
Dear all,
I'd like to write a label with a subscript in MetaFun where the subscript is a
variable.
I tried in several way but not succeed. The best which I made is
for i= 0 upto 8:
label( "z" & decimal i, z[i]);
endfor;
Untes
try
label (textext("$z_{" & decimal (i) & "}$" ), z[i]) ;
On Wed, Apr 20, 2011 at 10:03 AM, Jeong Dalyoung wrote:
> Dear all,
>
> I'd like to write a label with a subscript in MetaFun where the subscript
> is a variable.
>
> I tried in se
Dear all,
I'd like to write a label with a subscript in MetaFun where the subscript is a
variable.
I tried in several way but not succeed. The best which I made is
for i= 0 upto 8:
label( "z" & decimal i, z[i]);
endfor;
So the output is z1, z2, z3, ...
And, the followi
mplish that goal with easily. I
> guess it can be done with any of those as seen by the demos [2][3].
>
> I only have little experience using Gnuplot and I have never used
> Asymptote or MetaFun. These three seem to be well integrated with
> ConTeXt and I guess in the end I could just
On Mon 18 Apr 2011, Paul Menzel wrote:
> I only have little experience using Gnuplot and I have never used
> Asymptote or MetaFun. These three seem to be well integrated with
> ConTeXt and I guess in the end I could just create the image files
> and include these in to my ConTeXt sou
demos [2][3].
I only have little experience using Gnuplot and I have never used
Asymptote or MetaFun. These three seem to be well integrated with
ConTeXt and I guess in the end I could just create the image files and
include these in to my ConTeXt source.
The only downside of Asymptote I found so
601 - 700 of 1100 matches
Mail list logo