From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5996 Path: main.gmane.org!not-for-mail From: "Willi Egger" Newsgroups: gmane.comp.tex.context Subject: Re: MetaFun: Typesetting in Metapost (chapter 9 of MetaFun Manual) Date: Mon, 5 Nov 2001 22:07:47 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <000f01c1663e$0ba8c560$0100a8c0@xs4all.nl> References: <5.1.0.14.1.20011105134058.0311a348@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035396549 6365 80.91.224.250 (23 Oct 2002 18:09:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:09:09 +0000 (UTC) Cc: "ntg-context" Original-To: "Hans Hagen" Xref: main.gmane.org gmane.comp.tex.context:5996 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5996 Hi Hans, > >It looks like that there is a problem in the \handletokens macro. When > >compiling the code I get an error: > > what is you exact input ? maybe it was solved already What happend yesterday I do not completely understand today. :-) - Trying the code as given on page 158 and 159 of the preliminar version of the Metafun manual, worked after changing \startMPenvironment \setupbodyfont[ppl,rm,ber,12pt] \stopMPenvironment With this environment I get nicely text typeset in Palatino (URW). with the change to \startMPenvironment \setupbodyfont[phv,ss,ber,12pt] \stopMPenvironment I do not get any Helvetica but the texts is typset in CMSSBX. All seems to be linked to the font-mechanism. I detected, that only the statement as given above works. The statement of \definefont[RotFont][RegularBold] leeds to the error in the \handletokens macro. In the example code given on pages 163 and 164, apparently the line in the Metafun code with the statement \setbox\MPbox=\hbox{\RotFont\the\MPtoks}% is not accepted. Changing this line into \setbox\MPbox=\hbox{\bfd\the\MPtoks}% Does not result in boldface. Though there is URWPaladioL-Roma in the pdf file there is also CMR12. So the behaviour is puzzling me! Further it is necessary to run texexec three times: texexec 'filename' texexec -mptex 'filename'-mpgraph texexec 'filename' Do I miss something? Best regards Willi