ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Eckhart Guthöhrlein" <eckhart_guthoehrlein@public.uni-hamburg.de>
Subject: btex etex trouble
Date: Thu, 12 Jul 2001 16:48:33 +0200	[thread overview]
Message-ID: <5.1.0.14.0.20010712155044.00a9b688@public.uni-hamburg.de> (raw)

I have some questions/remarks on inclusion of mp graphics with btex/etex. 
Sorry if I overlooked something in the docs, I'm rather exhausted now...

Is there a way to tell context to write mpgraph.mp files suitable for plain 
tex, not for context? I got the following error message

This is TeX, Version 3.14159 (MiKTeX 2.1)
(D:/localtexmf/mpx52.tmp/mpx314.tex
! Undefined control sequence.
l.2 ...bal \loadfontdefinitionfileoncetrue
                                           %
! You can't use a prefix with `\shipout'.
<to be read again>
                    \shipout
l.3 \shipout
             \hbox{\smash{\hbox{\hbox{% line 84 C:\DOKUME~1\Eckhart\De...
[1] )
(see the transcript file for additional information)
Output written on mpx314.dvi (1 page, 200 bytes).
Transcript written on mpx314.log.

 >> mpgraph.mp
 >> mpgraph.mpx
! Unable to make mpx file.
l.84 draw btex
                Argh etex
Transcript written on mpgraph.log.

by tex when called by mp. I managed to instruct mp to call context instead 
of plain tex, so it works now, but plain tex would be enough for me (simple 
text, cm fonts) and considerably faster. Inspection of mpgraph.mp showed

graphictextformat := "context" ;
graphictextdirective "\global \loadfontdefinitionfileoncetrue " ;

Can this be changed? Or something else? Or is it impossible / undesirable 
to use plain tex for some reasons I don't see?
Furthermore, the result of running mptotex manually looks somewhat strange 
to me:

% line 82 mpgraph.mp
\global \loadfontdefinitionfileoncetrue%
\shipout\hbox{\smash{\hbox{\hbox{% line 85 mpgraph.mp
Interpretation}\vrule width1sp}}}
\shipout\hbox{\smash{\hbox{\hbox{% line 87 mpgraph.mp
Verfeinerung}\vrule width1sp}}}
\end{document}

It can be compiled using context and further processed by dvitomp, no 
problem, but where does \end{document} come from? Looks like latex.

The trouble is already solved, but I would be grateful for some clarifying 
remarks.

Eckhart


             reply	other threads:[~2001-07-12 14:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-12 14:48 Eckhart Guthöhrlein [this message]
2001-07-13 20:42 ` 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=5.1.0.14.0.20010712155044.00a9b688@public.uni-hamburg.de \
    --to=eckhart_guthoehrlein@public.uni-hamburg.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).