ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: \startMPenvironment : personal font weirdness
Date: Fri, 04 Aug 2006 01:13:17 +0200	[thread overview]
Message-ID: <44D2830D.904@wxs.nl> (raw)
In-Reply-To: <44D281BD.90406@trichotomic.net>

David Wooten wrote:
> Hans Hagen wrote:
>
>  >> \startMPenvironment [global]
>  >>     \usetypescriptfile[minionpro-diss]
>  >>     \usetypescript[Minion]
>  >>     \switchtobodyfont[Minion,12pt]   
>  >> \stopMPenvironment
>  >>   
>  > dangerous to use such a upper/lowercase mix (typos)
>
> I see what you mean.
>  
>  > hm, looks like a bronwser problem
>  >
>  > what happens if you only include the graphic,
>  >
>  > \startMPpage
>  > z40 = (2cm,0cm)    ;     z41 = (3cm,0cm) ;
>  > z42 = (3cm,1cm)    ;     z43 = (2cm,1cm) ;
>  > z46 = (2.5cm,.5cm) ;
>  >
>  > path F ; F := (z40--z41--z42--z43--cycle) ;
>  >
>  > linejoin := mitered ;
>  >
>  > drawpath F ;
>  > label("very", z46) ;
>  > \stopMPpage
>  >
>  > so, no other text
>
> Same results, and I also checked with a different viewer. Points to my 
> typescript file as a problem, does it? (Which works fine in non-MP 
> ConTeXt).
>   

what is the label font then? probably defaultfont so you need to set 
that as well

also, label does not use tex, use

label(\textext("very"),z46)

and friends

Hans

-- 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

  reply	other threads:[~2006-08-03 23:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-03 20:09 David Wooten
2006-08-03 22:56 ` Hans Hagen
2006-08-03 23:07   ` David Wooten
2006-08-03 23:13     ` Hans Hagen [this message]
2006-08-03 23:30       ` David Wooten
2006-08-04  8:46         ` Mojca Miklavec
2006-08-04 11:24           ` Hans van der Meer
2006-08-04 12:13           ` Hans Hagen

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=44D2830D.904@wxs.nl \
    --to=pragma@wxs.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).