On 8/26/2015 7:12 PM, Fabrice Couvreur wrote:
Hi,
I try to understand how this macro by testing a simple example. Why pdf
file is empty?
This question follows my question Cover page (Metafun)
http://www.ntg.nl/pipermail/ntg-context/2015/083078.html
Thank you.
\setuppagenumbering[location
pra...@wxs.nl:
On 8/26/2015 7:12 PM, Fabrice Couvreur wrote:
Hi,
I try to understand how this macro by testing a simple example. Why pdf
file is empty?
This question follows my question Cover page (Metafun)
http://www.ntg.nl/pipermail/ntg-context/2015/083078.html
Thank you
Hi,
I try to understand how this macro by testing a simple example. Why pdf file
is empty ?
This question follows my question Cover page (Metafun)
http://www.ntg.nl/pipermail/ntg-context/2015/083078.html
Thank you.
\setuppagenumbering[location=]
\setupcolors
[state=start]
\setMPtext{text
Hi Hans,
To progress in the use of Metafun, I try to do the same cover page as
your document
'Metafun . Without looking at the code (but using the definitions of your
colors), I managed to get the mosaic.
I would write the word MATHÉMATIQUES as you did with the word CONTEXTEN.
Thank you,
Fabrice
Hi Wolfgang,
I will follow your advice but I will try to understand, when I have the time
, the difference between
\unexpanded\def\ChapterCommand#1#2% et \def\ChapterCommand#1#2%.
Fabrice
2015-08-10 22:38 GMT+02:00 Wolfgang Schuster schuster.wolfg...@gmail.com:
Fabrice Couvreur
Fabrice Couvreur mailto:fabrice1.couvr...@gmail.com
10. August 2015 09:13
Dear Hans,
I tested without understanding what \unexpanded, and of course it works!
You can use ConTeXt’s \define command where you don’t have to think
about \unexpanded etc., e.g.
\define[2]\ChapterCommand
Dear Hans,
I tested without understanding what \unexpanded, and of course it works !
Thank you,
Fabrice
2015-08-09 15:40 GMT+02:00 Hans Hagen pra...@wxs.nl:
On 8/9/2015 1:27 PM, Fabrice Couvreur wrote:
Hi Hans,
In the document Metafun, you use commands that I like, and I try to
understand
Hi Hans,
In the document Metafun, you use commands that I like, and I try to
understand the definition and operation, which is not always easy with TeX
commands.
Also, in the following code, this does not give the expected result.
Thank you.
Fabrice
\showframe
\setupcolors
[state=start
On 8/9/2015 1:27 PM, Fabrice Couvreur wrote:
Hi Hans,
In the document Metafun, you use commands that I like, and I try to
understand the definition and operation, which is not always easy with
TeX commands.
Also, in the following code, this does not give the expected result.
Thank you.
Fabrice
Hi Hans,
Thank you for responding to my request, it's really nice. By cons I do not
understand what you mean
some day textext might handle it okay
Fabrice
2015-08-07 14:26 GMT+02:00 Hans Hagen pra...@wxs.nl:
On 8/6/2015 11:38 PM, Fabrice Couvreur wrote:
Hi,
The following code (Metafun
On 8/6/2015 11:38 PM, Fabrice Couvreur wrote:
Hi,
The following code (Metafun documentation, thanks again Hans !) is fully
understood and works very well. Sorry if I insist, but can we create a
counter to avoid writing \FrameTitle{Définition 1},
\FrameTitle{Définition 2}... ?
Thus, the only
Hi,
The following code (Metafun documentation, thanks again Hans !) is fully
understood and works very well. Sorry if I insist, but can we create a
counter to avoid writing \FrameTitle{Définition 1},
\FrameTitle{Définition 2}... ?
Thus, the only invocation \startMyText ... \stopMyText
Hi,
How to have Definition 1, Definition 2, Definition 3 ... ?
Is it possible to translate the image p until the left edge of the text area
?
Thank you,
Fabrice
\showframe
\setupcolors[state=start,cmyk=yes]
\definecolor[MyColor][c=0.00, m=0.10, y=0.20, k=0.00]
\definecolor[myColor][c=0.00,
On 8/4/2015 5:04 PM, Fabrice Couvreur wrote:
Hi,
How to have Definition 1, Definition 2, Definition 3 ...?
Is it possible to translate the image p until the left edge of the text
area ?
\startuseMPgraphic{MyFrame}
picture p ;
p := textext.rt(\MPstring{MyFrame}) ;
p := p shifted
Hi Hans,
Thank you for your suggestion, but it's not what I want, but I probably
misstated my request. For me, the image p contains the text Définition 1, and
this is what I want orange rectangle translate to the left edge of the text
area.
Am I more clearly ?
Fabrice
2015-08-04 20:08 GMT+02:00
On Tue, 4 Aug 2015, Fabrice Couvreur wrote:
How to have Definition 1, Definition 2, Definition 3 ... ?
\defineenumeration[definition][text=Definition]
Aditya
___
If your question is of interest to others as well,
Hi there!
I have some text (a single word) which I want to decorate using MP.
In this special case, I want to put a little crown above the g in the
word Shogun. Also the crown and text should get scaled accordingly to the
surrounding text.
```tex
\define\Shogun{\startMPcode draw textext(Shogun)
Hi,
To solve my problem, I finally used a loop to draw a grid.
Fabrice
\starttext
\start
\switchtobodyfont[small]
\startMPcode
path p ;
u := 2cm ; v:= 1cm ;
p := (-u,-5v)--(3u,-5v)--(3u,4v)--(-u,4v)--cycle ;
drawoptions(withpen pencircle scaled 0.5pt withcolor
Hi,
I encounter some problems in the use of vlingrid() and hlingrid() macros. In
the code below, we see that the grid is not correct.
Does the code can be improved ?
thank you,
Fabrice
\starttext
\startMPcode
path p ;
u := 2cm ; v:= 1cm ;
p :=
To add labels to a grid, Hans wrote a macro hlintext (Min, Max, Step, Lenght
, Format). I do not know what to put in Format.
Best regards,
Fabrice
\definecolor[mycolor][c=.4,m=0,y=0,k=0]
\starttext
\start
\switchtobodyfont[small]
\startMPcode
input tex;
numeric xmin, xmax, ymin, ymax;
thank you very much Alain, I think I understood for the format @d but
for other formats, I will need documentation.
Fabrice
\definecolor[mycolor][c=.4,m=0,y=0,k=0]
\starttext
\start
\switchtobodyfont[small]
\startMPcode
xmin := 0; xmax := 22; ymax :=460 ;ymin:=0; u := 0.5cm; v:= 0.025cm;
cause problems being interpreted as a comment
character, it is usually replaced in Metafun by @, as in @g.
Alan
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg
Hi John,
That's what I thought, some macros work indifferently in Metafun or
Metapost, others not.
Thank you for the interest in my question.
Fabrice
___
If your question is of interest to others as well, please add
On Feb 16, 2015, at 3:21 PM, Fabrice Couvreur wrote:
This does not work with :
labeloffset := 2mm;
On Feb 09, 2015, Hans Hagen wrote:
\startMPpage[offset=2pt]
path p, q, r ; pair z ;
p := unitsquare scaled 4cm ;
z := point 3.6 of p ;
q := z--urcorner p ;
r := q
Hi,
This code generates an error while it was working fine a month ago.
Best regards,
Fabrice
\definecolor[mycolor][c=.4,m=0,y=0,k=0]
\starttext
\start
\switchtobodyfont[small]
\startMPcode
input hvdm;
input tex;
l:=3mm; r:=0.6; alfa:=45; beta:=0; gamma:=0;
Hi,
This does not work with :
labeloffset := 2mm;
Fabrice
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
On 02/16/2015 06:00 PM, Fabrice Couvreur wrote:
Hi,
This code generates an error while it was working fine a month ago.
Hi Fabrice,
MP is too much fun for me ;-)). I mean, this is all Greek to me.
I can only report that I get an empty page with both the latest beta
from 2015.02.03 23:55 and
On 2/16/2015 6:00 PM, Fabrice Couvreur wrote:
Hi,
This code generates an error while it was working fine a month ago.
tightfunction was redundant, use curvedfunction instead
(I have been cleaning up all that code as a prelude to an updat efor the
metafun manual)
Hans
On 2/16/2015 6:00 PM, Fabrice Couvreur wrote:
Hi,
This code generates an error while it was working fine a month ago.
Best regards,
Fabrice
\definecolor[mycolor][c=.4,m=0,y=0,k=0]
\starttext
\start
\switchtobodyfont[small]
\startMPcode
input hvdm;
input tex;
l:=3mm; r:=0.6;
On Feb 15, 2015, at 6:00 AM, Fabrice couvreur.fabr...@wanadoo.fr
mailto:couvreur.fabr...@wanadoo.fr wrote:
Thank you for this new example.
Try the mpost variable lableoffset := ? to adjust.
This does not seem to workwith lableoffset := 2mm.
Fabrice
I spelled it wrong, sorry! It is
;
draw p ;
\stopMPpage
(I have not yet found why the striped path q goes out of position. Looking at
mp-tool may help.)
I just noticed that the position of labels is not quite the same when
using macros and macro Metafun Metapost:
I think the labels are too near to the corners
Hi John,
Thank you for that other solution with Metapost. I am in front of
learning Metapost and Metafun, I'm still far from mastering!
Fabrice
___
If your question is of interest to others as well, please add
Metafun Metapost:
I think the labels are too near to the corners of the square with the
macro Metafun.
thank you,
Fabrice
___
If your question is of interest to others as well, please add an entry to the
Wiki
On 2/9/2015 7:22 PM, Fabrice wrote:
Hi Hans,
Great, but I did not know the macro numberstriped. Is it a Metapostor
Metafun macro?
yes
-
Hans Hagen | PRAGMA ADE
Ridderstraat
On 2/9/2015 3:30 PM, Fabrice Couvreur wrote:
Hi,
How hatched trapezoid MBCD?
Best regards,
Fabrice
\starttext
\startMPcode
path p ;
p=unitsquare scaled 4cm ;
draw p ;
pair z ;
z=point 3.6 of p ;
draw z--urcorner p ;
label.llft(btex B etex,llcorner p) ;
label.lrt(btex C etex,lrcorner p) ;
Hi Hans,
Great, but I did not know the macro numberstriped. Is it a Metapostor
Metafun macro?
Fabrice
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context
Hi,
How hatched trapezoid MBCD ?
Best regards,
Fabrice
\starttext
\startMPcode
path p ;
p=unitsquare scaled 4cm ;
draw p ;
pair z ;
z=point 3.6 of p ;
draw z--urcorner p ;
label.llft(btex B etex,llcorner p) ;
label.lrt(btex C etex,lrcorner p) ;
label.ulft(btex A etex,ulcorner p) ;
label.urt(btex
On Feb 9, 2015, at 1:46 PM, Fabrice couvreur.fabr...@wanadoo.fr
mailto:couvreur.fabr...@wanadoo.fr wrote:
Great, but I did not know the macro numberstriped. Is it a Metapost or
Metafun macro?
It is a MetaFun macro in mp-tool, afaik.
The idea of filling a path is sometimes clipping
Hi Hans,
Thank you for your answer, text placement is correct as long as the
policy is not too great.
For cons, I'll remove the red line separation because its placement is
random.
Best regards,
Fabrice
___
If your
Thank you to Akira and Hans for these solutions.
How do now to the numbering and the title text are equidistant from the
red line separation ?
Fabrice
___
If your question is of interest to others as well, please
Another worry: when the title is too long, there is a line break, which
is normal, but what follows is under the dial.
Thanks,
Fabrice
% macros=mkvi
\setuppapersize[A4][A4]
\setuphead
[section]
[sectionstopper={},
conversion=Characters,
sectionsegments=section:section]
On 12/28/2014 1:00 PM, Fabrice wrote:
align={right},
align={flushright,lohi}
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
Dear Fabrice,
A try and error method which you may not want:
% macros=mkvi
\setuppapersize[A4][A4]
\setupcolors[state=start,cmyk=yes,mpcmyk=yes]
\definecolor[mycolor][c=0.45,m=0.00,y=0.1,k=0.00]
\definecolor[colortext][c=1,m=0.00,y=0.3,k=0.3]
\starttext
\startuniqueMPgraphic{funny}
path p ;
Hi,
I wish red separation is exactly in the middle of the dial and the title of the
section. Then, the line is too long, it should not exceed the boundary of
the ellipse.
Best regards,
Fabrice
% macros=mkvi
\setuppapersize[A4][A4]
\setupcolors[state=start,cmyk=yes,mpcmyk=yes]
On 10/31/2014 1:33 PM, Tobias Columbus wrote:
On Fri, Oct 31, 2014 at 12:22:37PM +0100, Hans Hagen wrote:
On 10/31/2014 10:15 AM, Tobias Columbus wrote:
def a_impl text t =
begingroup
save c ; picture c ; c := mycircle ;
clip c to bbox c scaled 0.5 ;
try this to see what
On Sun, Nov 02, 2014 at 11:29:24AM +0100, Hans Hagen wrote:
On 10/31/2014 1:33 PM, Tobias Columbus wrote:
On Fri, Oct 31, 2014 at 12:22:37PM +0100, Hans Hagen wrote:
On 10/31/2014 10:15 AM, Tobias Columbus wrote:
def a_impl text t =
begingroup
save c ; picture c ; c := mycircle ;
have no idea of.
Tobias
On Thu, Oct 30, 2014 at 08:56:34PM +0100, Tobias Columbus wrote:
Dear all,
I stumbled upon some very weird behaviour of clipping in metafun/context.
When I
add some clipped pictures to currentpicture and draw something dashed, some
subsequent lines will also
, mfun_first_run ;
to texmf/metapost/base/mpost.mp resolved the issue for me. However, that may
introduce other complications that I have no idea of.
Tobias
On Thu, Oct 30, 2014 at 08:56:34PM +0100, Tobias Columbus wrote:
Dear all,
I stumbled upon some very weird behaviour of clipping in metafun/context
is currently not usable
out of
the box:
\startMPcode{metapost}
draw (0,0) -- (1cm,0) ;
\stopMPcode
produces the error message
\startMPcode
draw (0,0) -- (1cm,0) ;
\stopMPcode
why the {metapost}
I wanted to know if the impact of clipping is caused by the metafun format
is caused by the metafun format.
According to the wiki page
http://wiki.contextgarden.net/Command/defineMPinstance the instances metapost
and metafun are predefined and can be used by
\startMPcode{instance}
...
\stopMPcode
where metafun is the default instance, i.e. used when there is no instance
On 10/31/2014 10:15 AM, Tobias Columbus wrote:
def a_impl text t =
begingroup
save c ; picture c ; c := mycircle ;
clip c to bbox c scaled 0.5 ;
try this to see what happens:
% clip c to bbox c scaled 0.5 ;
draw bbox c scaled 0.5 ;
and then this to solve it:
clip c to bbox (c
On Fri, Oct 31, 2014 at 12:22:37PM +0100, Hans Hagen wrote:
On 10/31/2014 10:15 AM, Tobias Columbus wrote:
def a_impl text t =
begingroup
save c ; picture c ; c := mycircle ;
clip c to bbox c scaled 0.5 ;
try this to see what happens:
% clip c to bbox c scaled 0.5 ;
draw
Hi all,
In the course of a project I wanted to create a decorative border around a
framed text. The border should be built from chosen glyphs which are placed
along the border as pictures. For this purpose the textext macro is a good
candidate. However I run into troubles. With help from Hans,
Hello!
I have an mp file that I use with success in my document with mprun.
But if I try to generate the figure alone with this command:
mpost --mem=metafun myfigure.mp
I obtain this error:
! Font cmr10 not usable: TFM file not found.
thelabel-...ture(EXPR3):infont.defaultfont.scaled
On 9/27/2014 10:21 AM, Pol Stra wrote:
Hello!
I have an mp file that I use with success in my document with mprun.
But if I try to generate the figure alone with this command:
mpost --mem=metafun myfigure.mp
that will never work with metafun in mkiv as we have extensions
just run
context
Le samedi 27 septembre 2014, 12:23:47 Hans Hagen a écrit :
On 9/27/2014 10:21 AM, Pol Stra wrote:
Hello!
I have an mp file that I use with success in my document with mprun.
But if I try to generate the figure alone with this command:
mpost --mem=metafun myfigure.mp
On 9/27/2014 2:28 PM, Pol Stra wrote:
Unfortunately, this only solve half of my problem: this outputs one pdf with
all figures, while I try to output all figures in separated svg files.
that would not give you the benefits of the context run (fonts and so) ...
just use mudraw to convert the
Hi Otared,
thank you for this! - I do not understand correctly what has happened here. Now
after rebooting it works again….. ;-(
Thanks!
Willi
On 26 sep. 2014, at 23:09, Otared Kavian ota...@gmail.com wrote:
Hi Willi,
I just updated to
ConTeXt ver: 2014.09.26 11:42 MKIV beta fmt:
Hello!
Today I wanted to use an older tex file…. I get the same error as in the
following test.
\startuniqueMPgraphic{test}
path p;
p := fullcircle scaled 5cm;
draw p;
label.bot(textext(Centre), center p);
\stopuniqueMPgraphic
\starttext
\startTEXpage
Hi Willi,
I tested your example file: it works fine here with
ConTeXt ver: 2014.09.25 18:58 MKIV beta fmt: 2014.9.25 int:
english/english
Which version are using?
Best regards: OK
On 26 Sep 2014, at 15:17, Willi Egger cont...@boede.nl wrote:
Hello!
Today I wanted to use an
Hi Otared,
As mentioned in my first post I tested on
ConTeXt ver: 2014.08.29 20:57
ConTeXt ver: 2014.09.26 11:42.
strange!
Willi
On 26 sep. 2014, at 15:23, Otared Kavian ota...@gmail.com wrote:
Hi Willi,
I tested your example file: it works fine here with
ConTeXt
Hi Willi,
I just updated to
ConTeXt ver: 2014.09.26 11:42 MKIV beta fmt: 2014.9.26 int:
english/english
and tested again your example: everything works as expected here…
So probably there is something strange happening on your side.
Best regards: OK
On 26 Sep 2014, at 16:22, Willi
;
draw pts_f withpen pencircle scaled 1;
clip currentpicture to screen;
\stopMPcode
\stoptext
Are there any routines with Metafun to improve this code?
thank you,
Fabrice
___
If your question is of interest to others as well
-- (0,ymax)*u;
drawarrow axe_x;
drawarrow axe_y;
draw pts_f withpen pencircle scaled 1;
clip currentpicture to screen;
\stopMPcode
\stoptext
Are there any routines with Metafun to improve this code?
define 'improve' .. anyway:
\starttext
\startMPpage
numeric xmin, xmax, ymin, ymax;
xmin
Hi Hans,
Thank you for the code that is cleaner and certainly less long!
Fabrice
PS : What do you mean by:
define 'improve' .. anyway:
A step of 0.001 is not needed here and gives a*pretty large path*.
___
If
:
Preloading the plain mem file, version 1.004 for metafun ii cyan
(0,1,1) ! Equation cannot be performed (numeric=color).
Unfortunately I cannot reproduce this error message in a minimal example, but
can anyone tell me whether something has changed in MetaPost?
fixed
, version 1.004 for metafun ii cyan
(0,1,1) ! Equation cannot be performed (numeric=color).
Unfortunately I cannot reproduce this error message in a minimal example, but
can anyone tell me whether something has changed in MetaPost?
Best regards: OK
there a
metafun(draw p;)
missing then?
Setting the bounding box has the same effect, as drawing something.
Both methods avoid that the emtpy graphic is ignored by ConTeXt.
Anyhow, the MP path is not available in metapost.variables after the
function call. If there is no other way I have
at runtime?
I don't understand the issue but isn't there a
metafun(draw p;)
missing then?
Setting the bounding box has the same effect, as drawing something.
Both methods avoid that the emtpy graphic is ignored by ConTeXt.
Anyhow, the MP path is not available in metapost.variables after
lua function
sadly fails (no path visible after call). The code seems to be executed
later (the output from 'show pid;' appears somewhere later in the log).
How can I ensure that the code is executed at runtime?
I don't understand the issue but isn't there a
metafun(draw p;)
missing
ensure that the code is executed at runtime?
Peter
thirddata= thirddataor { }
thirddata.drops = thirddata.drops or { }
local drops = thirddata.drops
local metafun = context.metafun
local format,todimen = string.format, string.todimen
local floor = math.floor
;' appears somewhere later in the log).
How can I ensure that the code is executed at runtime?
I don't understand the issue but isn't there a
metafun(draw p;)
missing then?
-
Hans Hagen
to be executed
later (the output from 'show pid;' appears somewhere later in the log).
How can I ensure that the code is executed at runtime?
I don't understand the issue but isn't there a
metafun(draw p;)
missing then?
Setting the bounding box has the same effect, as drawing something.
Both
after call). The code seems to be executed
later (the output from 'show pid;' appears somewhere later in the log).
How can I ensure that the code is executed at runtime?
I don't understand the issue but isn't there a
metafun(draw p;)
missing then?
Setting the bounding box has the same
[tabloid,landscape][tabloid,landscape]
\starttext
\setupMPinstance
[metafun]
[extensions=yes,
initializations=yes,
textstyle=bold]
\startMPpage
u:=1cm;
pickup pencircle scaled 1pt;
draw (5u,0u) {dir 90}..(0u,5u) {dir 180};
draw (0u,5u) .. (-1.5u,10.5u) {dir 90} .. (0u
it?
What I am hoping is to get a best practises workflow from the list so
that I can simply adopt it.
advTHANKSance.
Sample:
A MWE is found below:
\setuppapersize[tabloid,landscape][tabloid,landscape]
\starttext
\setupMPinstance
[metafun]
[extensions=yes,
initializations=yes
Hi
everyone.
I would
like to pose the following question: I would like to know how I can customize
the page number using an embedded graphic made with METAFUN. I mean, I
wish someone would send me a simple example to do that, for example, a page
number or headers (chapter,
section, etc..) may
Am 02.05.2013 um 23:31 schrieb MANUEL GONZALEZ SUAREZ
gonzalezsman...@uniovi.es:
Hi everyone.
I would like to pose the following question: I would like to know how I can
customize the page number using an embedded graphic made with METAFUN. I
mean, I wish someone would send me
Wolfgang Thanks for your help.Your definition to customize the number of page works, but the command definition \ ChapterCommand gives me a compilation error. (with LuaTeX and MKIV).Thank you again. Now I see that is a bit more complicated than I imagined.Greetings.-- Manuel González Suárez
Am 03.05.2013 um 00:27 schrieb MANUEL GONZALEZ SUAREZ
gonzalezsman...@uniovi.es:
Wolfgang Thanks for your help.
Your definition to customize the number of page works, but the command
definition \ ChapterCommand gives me a compilation error. (with LuaTeX and
MKIV).
I guess you’re using a
bertext ...uctureheadtitle }
}\fi \endheadplacement {\g...
\dohandlestructurehead ...structureheadnumbertext
\else \placestructureheadt...
l.19 \chapter{This is a chapter}
?
metapost initializin
Am 03.05.2013 um 00:45 schrieb MANUEL GONZALEZ SUAREZ
gonzalezsman...@uniovi.es:
I use TeXLive 2011 and I get the following error (the file name is custo.tex):
Use this definition
\define[2]\ChapterCommand
{\framed
[frame=off,bottomframe=on,framecolor=orange,width=fit]
Metafun textext() has been changed in an attempt to be more efficient. However,
this has a side effet that it now handles colors differently, among other
things. The following example, intended to cause difficulties for the color
blind, no longer works. Is this a bug or a feature?
\starttext
On Thu, 10 Jan 2013, Alan BRASLAU wrote:
Metafun textext() has been changed in an attempt to be more efficient.
However, this has a side effet that it now handles colors differently,
among other things. The following example, intended to cause
difficulties for the color blind, no longer works
On Thu, 10 Jan 2013 06:51:50 -0500
Aditya Mahajan adit...@umich.edu wrote:
Since the beginning of MkIV, colors in metapost labels need to be set at
the ConTeXt end (Untested):
T := thelabel(textext(\color[blue]{I'm seeing double}), origin);
Aditya
I don't believe that this is true, but
On Thu, Jan 10, 2013 at 2:01 PM, Alan BRASLAU wrote:
On Thu, 10 Jan 2013 06:51:50 -0500
Aditya Mahajan wrote:
Since the beginning of MkIV, colors in metapost labels need to be set at
the ConTeXt end (Untested):
T := thelabel(textext(\color[blue]{I'm seeing double}), origin);
Aditya
I
On Thu, 10 Jan 2013, Alan BRASLAU wrote:
On Thu, 10 Jan 2013 06:51:50 -0500
Aditya Mahajan adit...@umich.edu wrote:
Since the beginning of MkIV, colors in metapost labels need to be set at
the ConTeXt end (Untested):
T := thelabel(textext(\color[blue]{I'm seeing double}), origin);
Aditya
On 1/10/2013 2:18 PM, Aditya Mahajan wrote:
On Thu, 10 Jan 2013, Alan BRASLAU wrote:
On Thu, 10 Jan 2013 06:51:50 -0500
Aditya Mahajan adit...@umich.edu wrote:
Since the beginning of MkIV, colors in metapost labels need to be set at
the ConTeXt end (Untested):
T :=
In article
CADVh14XYT3Mi6aPUOv4Py==_gjy=MAFEH-hQbmRVE=r_d-t...@mail.gmail.com,
Andre Caldas andre.em.cal...@gmail.com wrote:
But I would like to use some object oriented like approach.
[...]
How do I do that in METAFUN/METAPOST?
You may want to take a look at my attempt:
http
In article
cadvh14ul9igw6wyvymg80hymiaxxhzfoc0no_4+dr70knok...@mail.gmail.com,
Andre Caldas andre.em.cal...@gmail.com 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
But I would like to use some object oriented like approach.
[...]
How do I do that in METAFUN/METAPOST?
You may want to take a look at my attempt:
http://users.dimi.uniud.it/~nicola.vitacolonna/home/content/metappeal
Looks nice! I didn't find any license explaining the licensing terms
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
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. Comments are very
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 $a_{13
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:
label(btex $a_{11}$ etex
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 do
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
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
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
On Sun, May 6, 2012 at 4:52 PM, Hans Hagen pra...@wxs.nl 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
501 - 600 of 1060 matches
Mail list logo