ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: texexec+mpost cmr10 vs CMR10 trouble using dvips backend
Date: Tue, 17 Apr 2007 03:03:17 +0100	[thread overview]
Message-ID: <E1Hdd2L-0007M3-00@skye.ra.phy.cam.ac.uk> (raw)
In-Reply-To: Your message of "Sun, 15 Apr 2007 13:56:58 -0300." <22af238a0704150956y2d1c3cb6lef70feb15fdf41ab@mail.gmail.com>

"George N. White III" <gnwiii@gmail.com> wrote:
> Your ConTeXt example is using the default latin modern fonts.  The
> reason the mpost files work with plain TeX is that the cm fonts are
> being used by plain tex, so the fonts are already defined in the .ps
> file when the font commands in the figure file are found.

That's 95% of the story, but I think with a small addendum.  e.g. If
the .tex file uses only cmr10 but fig.1 file uses cmsy7 for a
subscript, dvips will handle it correctly and download cmsy7 into the
.ps file.  So it's not only that the fonts are defined in the .ps
file, but that dvips knows how to handle the inclusion correctly when
the font is listed in a fig.1 embedded by plain TeX.

> For debian, the procedure for changing updmap.cnf has been debianized,
> but it is mentioned in the README for the lmodern package

Thanks, I didn't know about that.  The directions are easy enough to
do, esp. on an Ubuntu system.

Though I prefer to use the vanilla system, so that I can test the
distributions to see what works and breaks, and try to get the
upstream folks to fix it.  Although, I'm not sure who is the relevant
upstream here.  Mojca (off-list) suggested trying an older ConText and
I'll try that.

Meanwhile I'll put the 'dvips -Ppdf' workaround into my Makefiles.

-Sanjoy

`Not all those who wander are lost.' (J.R.R. Tolkien)

  reply	other threads:[~2007-04-17  2:03 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
2007-04-15 15:23   ` Sanjoy Mahajan
2007-04-15 16:56     ` George N. White III
2007-04-17  2:03       ` Sanjoy Mahajan [this message]
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=E1Hdd2L-0007M3-00@skye.ra.phy.cam.ac.uk \
    --to=sanjoy@mrao.cam.ac.uk \
    --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).