1. Change default metapost font
I know infont can change what font to use when drawing text in metapost But what's the name of other fonts besides the default one? I've tried "Times-Roman" just like the metapost manual says, but it doesn't work, the output say: "makemf" --verbose "Times-Roman" "hbf2gf" -q -g "Times-Roman" 300 maketfm: No creation rule for font "Times-Roman". ! Font Times-Roman not usable: TFM file not found. I also tried "times", it doesn't work either :( Anyone could help me? Thanks in advance!
2. MetaPost: default value for the macro ?
3. Why can not display lable in the figure drawn by metapost in texlive2007
Hi,all,
I am learning MEATPOST, and just type the following code in a file named
fig.mp
%%% fig.mp file%%%%%%%%%%%%
beginfig(1);
a=.7in;b=.5in;
z0=(0,0);
z1=-z3=(a,0);
z2=-z4=(0,b);
draw z1..z2..z3..z4..cycle;
draw z1--z0--z2;
label.top("a",.5[z0,z1]);
label.lft("b",.5[z0,z2]);
dotlabel.bot("(0,0)",z0);
endfig;
end
%%%%%%%%%%% end file %%%%%%%%%%
This is an example of "A user's manual for MetaPost"(John D.Hobby) in chaper
7 page 19.
But when I run by emacs23
mpost fig.mp
It seems ok.
Yet there is nothing in the file of fig.1.I mean it is all blank.
I don't know the reason.
Thank you for your help.
4. metapost draw with hyperlink
5. Axis gap [WAS: drawing on frame in metapost graph]
6. drawing on frame in metapost graph
7. [MetaPost] transparent drawing with metaobj
Hello,
as the example below shows, metaobj draws objects opaque using
backgroundcolor (if not fillcolor). Is there any way to draw objects
transparent, i.e. don unfill the picure before drawing it? I couldn
find an option.
Regards,
Stephan Hennig
input metaObj;
prologues:=1;
beginfig(1);
newCircle.A("text text");
newCircle.B("") "circmargin(8bp)";
A.c = origin;
B.c = A.c;
drawObj(A,B);
endfig;
end