<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Dear Liu,</p>
<p>Shouldn't you be using</p>
<p>\documentclass[a4paper,10pt]{article}</p>
<p> </p>
<p>rather than</p>
<p> </p>
<p>\documentstyle ?</p>
<p>Good luck.</p>
<p>Alfredo</p>
<p> </p>
<p> </p>
<p> </p>
<div> </div>
<p>On Wed, 16 Nov 2011 08:51:36 +0100, Paul Menzel wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<pre>Dear Liu,
Am Dienstag, den 15.11.2011, 10:54 +0800 schrieb source liu:</pre>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">It works almost right, except for the case i want to insert label. I'm sure the problem lies in it, for i comment the label line, it layout the exact figure i want to get( without text of course). 1. TeX when it comes to the first line of ------------------------------------------- label.top(btex *somethinghere* etex, z1) ------------------------------------------- it would be fine, but the situation changes when a second similar label is invoking as above. the error message is always be something like , >> mpx file can't be create.</blockquote>
<pre>with all such problem, please post a minimal example.</pre>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">2. LaTeX it is said that one can changed the defaut TeX system by placing %&latex at the beginning. yet, it is true, except for it works not the same as i found through the internet, which i found %&latex is after vebatimtex, such as ----------------------------------------- vebatimtex %&latex *something else here* etex ----------------------------------------- is not work for me, 'cause it not recognize the \documentstyle command but ---------------------------------------- %&latex verbatimtex *something else here* etex --------------------------------------- works, though with error message "/somedir/.texmf/tex/latex/latex.fmt. is not an latex mem file" still failed to generate label.</blockquote>
<pre>If I were you I would use ConTeXt with MetaFun [1][2] which takes care
of that automatically. The following example is taken from the ConTeXt
Wiki [3] but I had to adapt it.
\starttext
% earth and sun
\startreusableMPgraphic{fig}
z0 = (2in,0);
draw fullcircle scaled 3cm;
label("sun", origin);
draw fullcircle scaled 1.5cm shifted z0;
label("earth", z0);
\stopreusableMPgraphic
\reuseMPgraphic{fig}
\stoptext
And then run the following.
$ context mf.tex</pre>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">Any suggestion on this, or has someone involved the same problem as well as me? My TeX system is TeXLive 2010, got it from the apt source of debian,</blockquote>
<pre>Really? I thought TeXLive 2009 is currently packaged. Anyway you could
use the ConTeXt suite to install ConTeXt [4].</pre>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">without any specific configure for myself.</blockquote>
<pre>[…]</pre>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">BTW, is there any way to change the displayed name of myself in the maillist, i clicked applied before i realized that i left my email address as displayed name.</blockquote>
<pre>What do you mean? »source liu« is displayed as your name and your email
address is included in the From field because you sent an email.
Thanks,
Paul
[1] <a href="http://www.pragma-ade.com/general/manuals/metafun-s.pdf">http://www.pragma-ade.com/general/manuals/metafun-s.pdf</a>
[2] <a href="http://wiki.contextgarden.net/MetaFun">http://wiki.contextgarden.net/MetaFun</a>
[3] <a href="http://wiki.contextgarden.net/Mpgraphic">http://wiki.contextgarden.net/Mpgraphic</a>
[4] <a href="http://wiki.contextgarden.net/ConTeXt_Standalone">http://wiki.contextgarden.net/ConTeXt_Standalone</a>
</pre>
</blockquote>
</body></html>