ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl, roegel@lorraine.loria.fr
Subject: Re: \definefont
Date: Thu, 02 Nov 2000 11:15:20 +0100	[thread overview]
Message-ID: <3.0.6.32.20001102111520.008f27c0@pop.wxs.nl> (raw)
In-Reply-To: <200011020102.CAA03300@bar.loria.fr>

At 02:02 AM 11/2/00 +0100, Denis B. Roegel wrote:
>
>Another example of font problem is given below.
>First, as in the previous examples, if I put `pos',
>`ppl', or `pcr' in \setupbodyfont, the second run of pdfetex 
>gets stuck. Second, how do I access \RotFont below?
>\definefont[RotFont][RegularBold] doesn't make
>it accessible since I run into an error.
>Finally, this example (from the metafun manual
>page 141, September 25 version) uses \vbox\bgroup...\egroup.
>Why not \vbox{...} which seems to work too?
>
>Thanks,
>
>Denis
>
>\setupcolors[state=start]
>\starttext
>
>\startMPenvironment
>%\setupbodyfont[loc,mt,ppl,pcr,10pt]
>%\setupbodyfont[loc,mt,10pt]
>\definefont[RotFont][RegularBold]
>\stopMPenvironment
>
>% doesn't work if \bfd is replaced by \RotFont

That's because the MPenvironment is invisible for the rest of tex, so you
need to define that font also in your document pramble. 

\useMPlibrary[txt]

will load some of the code presented in the metafun manual, you may want to
take a look in that file.

Concerning \bgroup and \egroup: \bgroup={ and \egroup=} so these are
equivalents. You may even say: \vbox{bla\egroup. What alternative is use
depends on (1) is I open/close a box in different macros [impossible with
{}] or (2) on how I think the macro def looks best [which is quite
personal].  

Hans 
-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


      reply	other threads:[~2000-11-02 10:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-02  1:02 \definefont Denis B. Roegel
2000-11-02 10:15 ` Hans Hagen [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=3.0.6.32.20001102111520.008f27c0@pop.wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    --cc=roegel@lorraine.loria.fr \
    /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).