From: Michal Kvasnicka <quasar@econ.muni.cz>
Subject: texexec and TEX
Date: Tue, 20 Apr 2004 16:16:00 +0000 [thread overview]
Message-ID: <40854CC0.3040807@econ.muni.cz> (raw)
Good evening.
Is there some restriction to Metapost macros when compiled by texexec
--mptex? I'd like to compile a file like this:
% test
input TEX;
beginfig(1)
z1=(0,1cm);
z2=(3cm,1cm);
dotlabel.top(btex $z_1$ etex,z1);
dotlabel.top(btex $z_2$ etex,z2);
draw TEX("$\underbrace{\hbox to
"&decimal(xpart(z2)-xpart(z1))&"pt{\hss}}$") shifted z1;
endfig;
end.
But I've got a following error:
This is MetaPost, Version 0.641 (Web2C 7.3.1)
(TEXuse.mp (/usr/share/texmf/metapost/base/TEX.mp) (mptextmp.mp
>> mptextmp.mp
>> mptextmp.mpx
! Unable to make mpx file.
l.1 btex
$\underbrace{\hbox to 85.03935pt{\hss}}$ etex
Transcript written on TEXuse.log.
error in metapost run : TEXuse.mp:1
What's wrong? How can I improve it?
Many thanks for any hint.
M.K.
P.S. I use TeXExec 3.3 with Metapost Version 0.641 (Web2C 7.3.1) under
Linux (teTeX).
next reply other threads:[~2004-04-20 16:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-20 16:16 Michal Kvasnicka [this message]
2004-04-28 17:56 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40854CC0.3040807@econ.muni.cz \
--to=quasar@econ.muni.cz \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).