ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: texexec+mpost cmr10 vs CMR10 trouble using dvips backend
Date: Sun, 15 Apr 2007 08:49:47 +0200	[thread overview]
Message-ID: <4621CB0B.3000605@elvenkind.com> (raw)
In-Reply-To: <E1HcwaD-00063I-HE@approximate.corpus.cam.ac.uk>

Sanjoy Mahajan wrote:
> A font-embedding issue puzzles me.  First I make a metapost figure that
> uses plain tex for the label, so it uses cmr10.  Then I include it in a
> context document to get a .ps file.  The problem is that the label shows
> up in Courier (which ghostscript uses when it cannot find the font, I
> think).
> 
> Here is the test.tex 
> 
>   \starttext
>   \externalfigure[fig.1]
>   \stoptext
> 
> and this fig.mp
> 
>   beginfig(1)
>   label(btex hello etex, origin);
>   endfig;
>   end
> 
> The commands are:
> 
>   mpost fig
>   texexec --ps test
>   gv test.ps

If you set prologues := 1 in the mp file, that should help.

In a new metapost (texlive2007) you can even generate an
image with the font included by using prologues := 3.

Best, Taco

  parent reply	other threads:[~2007-04-15  6:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-15  4:43 Sanjoy Mahajan
2007-04-15  4:55 ` Aditya Mahajan
2007-04-15 16:45   ` Sanjoy Mahajan
2007-04-15  6:49 ` Taco Hoekwater [this message]
2007-04-15 15:23   ` Sanjoy Mahajan
2007-04-15 16:56     ` George N. White III
2007-04-17  2:03       ` Sanjoy Mahajan
2007-04-15 16:58     ` Wolfgang Schuster
2007-04-16  5:02       ` Sanjoy Mahajan
2007-04-16 14:21         ` George N. White III
2007-04-17  2:12           ` Sanjoy Mahajan

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=4621CB0B.3000605@elvenkind.com \
    --to=taco@elvenkind.com \
    --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).