ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Johannes Huesing <hannes@ruhrau.de>
Subject: Again: MetaPost calling TeX
Date: Sun, 17 Jun 2001 21:46:28 +0200	[thread overview]
Message-ID: <20010617214628.A17333@ruhrau.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 798 bytes --]

Hi all,

again I have problems with btex .. etex constructs within MetaPost
files. Skimming old list messages I saw that this is often due to
versions of ConTeXt and TeXExec out of sync. This was the case indeed
so I installed the version of TeXExec that came with my ConTeXt (which
I fetched ojn March 28th. After that, the messages "could not make mpx
file" disappeared. Instead, I get messages of the kind that are
attached along with a minimal example that led to the error message.

What am I doing wrong?

Groetjes

Johannes
-- 
Johannes Hüsing | Domain: Adresse im Internet. Besteht aus einem 
hannes@ruhrau.de| technischen Teil (http://www.), einem Namen 
                | (erwin_meier) und einer Endung  (zum Beispiel 
                | .de für Deutschland) [J. Albrecht, "Zeit" 12/2001]

[-- Attachment #2: minimal.tex --]
[-- Type: text/x-tex, Size: 402 bytes --]

\setupoutput[pdftex]
\runMPgraphicstrue

\starttext
\startuseMPgraphic{kante}
u=12pt;

pair p[];

p1 = (2u,0u);
p2 = (1u,2u);

label.top(btex $e_1$ etex, p1);
label.top(btex $e_2$ etex, p2);
label.top(btex $(e_1, e_2)$ etex, subpath 0.5 of p1--p2);
drawarrow p1--p2;
\stopuseMPgraphic

\placefigure[here]{15 Mann auf des toten Mannes Kiste}{\useMPgraphic{kante}}

yo ho ho und ne buddel rum

\stoptext

[-- Attachment #3: minimal.log --]
[-- Type: text/plain, Size: 2962 bytes --]

This is pdfeTeX, Version 3.14159-13h-pretest-20010126-2.1 (Web2C 7.3.3.1) (format=cont-en 2001.3.31)  17 JUN 2001 21:38
**&cont-en minimal.tex
(./minimal.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2001.3.27  fmt: 2001.3.31  int: english  mes: english

language       : language en is active
system         : cont-new loaded
(/usr/local/share/texmf/tex/context/base/cont-new.tex <unprotect 2>
systems        : beware: some patches loaded from cont-new.tex!
<protect 2>)
system         : cont-old loaded
(/usr/local/share/texmf/tex/context/base/cont-old.tex
loading        : Context Old Macros
<unprotect 2> <protect 2>)
system         : cont-fil loaded
(/usr/local/share/texmf/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
bodyfont       : 12pt rm is loaded
language       : patterns 2-en-2 2-uk-2 2-de-2 2-fr-2 loaded
specials       : tex,postscript,rokicki loaded
\openout2 = `minimal.tui'.

system         : minimal.top loaded
(./minimal.top <unprotect 2> <protect 2>) (./minimal.tuo) (./minimal.tuo)
(./minimal.tuo) (./minimal.tuo) (./minimal.tuo) (./minimal.tuo) (./minimal.tuo)
(./minimal.tuo) (./minimal.tuo) (./minimal.tuo)
\openout1 = `mpgraph.mp'.

specials       : tex,postscript,rokicki is reset
specials       : loading definition file tpd
(/usr/local/share/texmf/tex/context/base/spec-tpd.tex <unprotect 2>
specials       : loading definition file fdf
(/usr/local/share/texmf/tex/context/base/spec-fdf.tex <unprotect 3>
<unprotect 4> <protect 4> <protect 3>)
specials       : fdf loaded
<unprotect 3> <protect 3> <protect 2>)
specials       : fdf,tpd loaded
(./minimal.tuo) (./minimal.tuo)
systems        : begin file minimal at line 4
\openout1 = `mpgraph.mp'.

Randomizer initialized to 1520416030.
system(mpost mpgraph)...executed.

 [MP to PDF mpgraph.1] (./mpgraph.1)
! Missing number, treated as zero.
<to be read again> 
                   \relax 
\dopreparestackcaptionaut ...ptionminwidth \relax 
                                                  \captionminwidth \else \wd...

\doifelse ...esstest \ifx \!!stringa \!!stringb #3
                                                  \else #4\fi 
<argument> ...des toten Mannes Kiste}{\v!figuur }}
                                                  \else \dopreparestackcapti...

\doifelse ...\ifx \!!stringa \!!stringb #3\else #4
                                                  \fi 
\doifinsetelse ...doifinsetelse {#1}{#2}#3\else #4
                                                  \fi 
...
l.19 ... toten Mannes Kiste}{\useMPgraphic{kante}}

? x

Here is how much of TeX's memory you used:
 859 strings out of 28193
 11381 string characters out of 342592
 348671 words of memory out of 1100001
 25683 multiletter control sequences out of 10000+25000
 9056 words of font info for 28 fonts, out of 400000 for 1000
 22 hyphenation exceptions out of 1000
 26i,5n,59p,181b,364s stack positions out of 1500i,500n,1500p,50000b,5000s
No pages of output.

             reply	other threads:[~2001-06-17 19:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-17 19:46 Johannes Huesing [this message]
2001-06-19 15:58 ` Hans Hagen
2001-06-20 15:40   ` Johannes Huesing
2001-06-20 17:18   ` Johannes Huesing
2001-06-21  3:48     ` Johannes Huesing
2001-06-20 21:43 ` Patrick Gundlach
2001-06-21  3:42   ` Johannes Huesing
2001-06-21  7:55   ` Hans Hagen
2001-06-21 13:16     ` Johannes Huesing
2001-06-21 13:57       ` Hans Hagen
2001-06-21 19:54         ` Johannes Huesing
2001-06-21 21:06           ` Johannes Huesing
2001-06-22  7:12             ` 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=20010617214628.A17333@ruhrau.de \
    --to=hannes@ruhrau.de \
    --cc=johannes.huesing@ruhrau.de \
    /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).