ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Willi Egger" <w.egger@xs4all.nl>
Cc: "ntg-context" <ntg-context@ntg.nl>
Subject: Re: MetaFun: Typesetting in Metapost (chapter 9 of MetaFun Manual)
Date: Mon, 5 Nov 2001 22:07:47 +0100	[thread overview]
Message-ID: <000f01c1663e$0ba8c560$0100a8c0@xs4all.nl> (raw)
In-Reply-To: <5.1.0.14.1.20011105134058.0311a348@server-1>

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


      reply	other threads:[~2001-11-05 21:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-04 18:39 Willi Egger
2001-11-05 12:41 ` Hans Hagen
2001-11-05 21:07   ` Willi Egger [this message]

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='000f01c1663e$0ba8c560$0100a8c0@xs4all.nl' \
    --to=w.egger@xs4all.nl \
    --cc=ntg-context@ntg.nl \
    /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).