[metapost] An error message when use mptopdf: Undefined control sequence. \documentclass {article}.

Mojca Miklavec mojca.miklavec.lists at gmail.com
Sun Feb 25 16:50:29 CET 2007

On 2/25/07, Hongyi Zhao <hongyi.zhao at gmail.com> wrote:
> On Sun, Feb 25, 2007 at 02:52:44PM +0100, Mojca Miklavec wrote:
> [...]
> > The functionality has been greatly reorganized and optimized in May
> > last year. But since the developer doesn't use LaTeX and LaTeX users
> > don't upgrade their TeX distributions (there is noone to blame since
> > it is indeed a bit tricky to do so, and LaTeX users usually have no
> > need to), this part remained untested until now.
> >
> > If you want a temporary solution, use
> >
> > verbatimtex
> > \def\fett{\ss\bf}
> > \def\mathcal#1{{\cal#1}}
> > etex
> >
> > instead of what you have now and running
> >    mptopdf zScaled.mp
> > should suffice (no need to run mpost separately).
> Thanks, this way works smoothly for me,
> but how can I find a general way to solve
> the other problems like this, such as:
> If I want to input chinese characters in my fig by using, say,
> Werner's CJK package, how should I write the corresponding
> verbatimtex...etex block?

Sorry, I don't know about Chinese. If this doesn't help you, ask on
the ConTeXt mailing list:

But you can also use XeTeX for typesetting labels. See the attached
example. The part with
    Tx="&decimal(xpart  T)
could also be improved much, but I don't know how to prevent expansion problems.

See the attached example.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: zScaled.tex.bz2
Type: application/x-bzip2
Size: 1449 bytes
Desc: not available
Url : http://tug.org/pipermail/metapost/attachments/20070225/d5471fda/attachment.bz2 

More information about the metapost mailing list