ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Strange MP problem
@ 2004-05-14 11:55 Tobias Burnus
  2004-05-14 12:06 ` Tobias Burnus
  0 siblings, 1 reply; 3+ messages in thread
From: Tobias Burnus @ 2004-05-14 11:55 UTC (permalink / raw)


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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Strange MP problem
  2004-05-14 11:55 Strange MP problem Tobias Burnus
@ 2004-05-14 12:06 ` Tobias Burnus
  2004-05-14 13:19   ` Nigel King
  0 siblings, 1 reply; 3+ messages in thread
From: Tobias Burnus @ 2004-05-14 12:06 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Strange MP problem
  2004-05-14 12:06 ` Tobias Burnus
@ 2004-05-14 13:19   ` Nigel King
  0 siblings, 0 replies; 3+ messages in thread
From: Nigel King @ 2004-05-14 13:19 UTC (permalink / raw)


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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-05-14 13:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-14 11:55 Strange MP problem Tobias Burnus
2004-05-14 12:06 ` Tobias Burnus
2004-05-14 13:19   ` Nigel King

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).