From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2714 Path: main.gmane.org!not-for-mail From: Marc van Dongen Newsgroups: gmane.comp.tex.context Subject: Re: Metaerror? Date: Thu, 14 Sep 2000 13:40:59 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <20000914134058.H6603@cs.ucc.ie> References: <3.0.6.32.20000914104817.0165d7f0@pop.wxs.nl> <3.0.6.32.20000914133700.01bb89f0@pop.wxs.nl> <39C0BF10.E9456027@pobox.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035393484 11145 80.91.224.250 (23 Oct 2002 17:18:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:18:04 +0000 (UTC) Cc: Hans Hagen , ntg-context@ntg.nl Original-To: Berend de Boer In-Reply-To: <39C0BF10.E9456027@pobox.com>; from berend@pobox.com on Thu, Sep 14, 2000 at 02:05:36PM +0200 Xref: main.gmane.org gmane.comp.tex.context:2714 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2714 Berend de Boer (berend@pobox.com) wrote: [problem] Hi Berend, Have you checked the contents of the temporary log and error file mpost generates? Maybe this will bring you closer to a discovery of the error. Also I noticed you use btex etex which doesn't work properly with me. In stead I am using the code appended below which I shamelessly stole and adapted from http://www.mathp7.jussieu.fr/~zoonek/LaTeX/Metapost/metapost.html You can use this macro and play sexy games like: ..... counter := 3; boxit.ctr( LATEX( "The value of counter is " & decimal( counter ) & ". Cool no?" ) ); Perhaps context's btex and etex work fine---I don't use context. If you decide to use the macro you may wish to change its prelude a bit so that it complies with your Context settings. Just a thought. Regards, Marc van Dongen %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% vardef LATEX primary s = write "verbatimtex" to "mptextmp.mp"; write "\documentclass[12pt]{article}" to "mptextmp.mp"; write "\usepackage[T1]{fontenc}" to "mptextmp.mp"; write "\usepackage{amsmath,amssymb}" to "mptextmp.mp"; write "\begin{document}" to "mptextmp.mp"; write "etex" to "mptextmp.mp"; write "btex "&s&" etex" to "mptextmp.mp"; write EOF to "mptextmp.mp"; scantokens "input mptextmp" enddef;