[NTG-context] Strange MP problem

2004-05-14 Thread Tobias Burnus
Hello,

I have a really strange problem.
After changing a label in ghostscript (mpost terminal), I fail to mpost 
the output since the TeX file looks like

\switchtobodyfont[7.5pt]
%
[...]
\shipout\hbox{\smash{\hbox{\hbox{% line 402 gnuplot0001.mp
xtls ($1+2885.878040):($3/1.6637149187); $\Gamma_{\rm L}=1.5$, 
$\Gamma_{\rm G}=0
.2$}\vrule width1sp}}}
\end{document}

Of cause it fails at the \end{document}, but why is it there at all?
In the metapost file are only the normal put_text(btex ... etx) 
statements (plus my verbertim \switchtobodyfont[7.5pt]).

Any ideas?

Tobias

PS: Thanks Patrick for a5 vs. A5 help.
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Strange MP problem

2004-05-14 Thread Nigel King
I put in my ordinary mp files:-
---
input metafun ;
verbatimtex
..any required preliminary ConTeXt statements \setupbodyfont etc.
\starttext
etex
.. normal metapost

verbatimtex
\stoptext
etex
end
---
The assembly script needs a line like
export TEX=texexec
in it
Then the remnants of latex are removed and the btex .. etex bits are 
typeset using ConTeXt.

I hope this helps

--
Nigel
On 14 May 2004, at 13:06, Tobias Burnus wrote:

Hello,

Tobias Burnus wrote:

\shipout\hbox{\smash{\hbox{\hbox{% line 402 gnuplot0001.mp
xtls ($1+2885.878040):($3/1.6637149187); $\Gamma_{\rm L}=1.5$, 
$\Gamma_{\rm G}=0
.2$}\vrule width1sp}}}
\end{document}
If one looks carefully, one sees that a $ is missing. (I didn't looked 
carefully, but added a verbatimtex \bye etex TeX gave the right hint.) 
After inserting the $, it worked without a problem. But I'm still 
puzzled that there was a \end{document}, where did it come from?

Tobias
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context