<DIV>When we do </DIV>  <DIV>&nbsp;&nbsp; &lt;&lt;mpost --tex=latex file.mp&gt;&gt;</DIV>  <DIV>is there anyway, just type only</DIV>  <DIV>&nbsp; &lt;&lt;mpost file.mp&gt;&gt;</DIV>  <DIV>instead of whole text? It is very cumbersome to type all these everytime.</DIV>  <DIV>&nbsp;</DIV>  <DIV>Thank you in advance.</DIV>  <DIV><BR><BR><B><I>Stephan Hennig &lt;mailing_list@arcor.de&gt;</I></B> wrote:</DIV>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Stephan Hennig schrieb:<BR><BR>&gt; Instead, I tried to collect some features I'd like to see for a new<BR>&gt; TeX interface. Here's the unsorted list:<BR><BR><BR>I would like to add one additional feature:<BR><BR>* The new TeX interface should provide means to declare different TeX<BR>preambles for TeXing different text pictures inside one MetaPost source<BR>file. In a current application I would like to call LaTeX with<BR>preambles that are basically the same, but differ
 in document class and<BR>package options.<BR><BR>I can think of two alternative ways to support this:<BR><BR>(a) TeX is called with the (La)TeX preamble declared last:<BR><BR>beginfig(1);<BR>texpreamble<BR>\documentclass{article}<BR>\usepackage{mathptmx}<BR>\begin{document}<BR>endpreamble<BR>draw textext("Times");<BR><BR>texpreamble<BR>\documentclass{article}<BR>\usepackage[sc]{mathpazo}<BR>\begin{document}<BR>endpreamble<BR>draw textext("Palatino");<BR>endfig;<BR><BR>(Macro names are chosen arbitrarily.)<BR><BR><BR>(b) Or one can setup different "TeX profiles" (in the MetaPost preamble)<BR>and switch them in the document:<BR><BR>deftexprofile(1);<BR>\documentclass{article}<BR>\usepackage{mathptmx}<BR>\begin{document}<BR>endprofile;<BR><BR>deftexprofile(2);<BR>\documentclass{article}<BR>\usepackage[sc]{mathpazo}<BR>\begin{document}<BR>endprofile;<BR><BR>beginfig(1);<BR>usetexpreamble(1);<BR>draw textext("Times");<BR>usetexpreamble(2);<BR>draw
 textext("Palatino");<BR>usetexpreamble(1);<BR>draw textext("Times again");<BR>endfig;<BR><BR>What do you think?<BR><BR>Best regards,<BR>Stephan Hennig<BR><BR>_______________________________________________<BR>metapost mailing list<BR>http://tug.org/mailman/listinfo/metapost<BR></BLOCKQUOTE><BR><p>&#32;__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com