ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* texexec+mpost cmr10 vs CMR10 trouble using dvips backend
@ 2007-04-15  4:43 Sanjoy Mahajan
  2007-04-15  4:55 ` Aditya Mahajan
  2007-04-15  6:49 ` Taco Hoekwater
  0 siblings, 2 replies; 11+ messages in thread
From: Sanjoy Mahajan @ 2007-04-15  4:43 UTC (permalink / raw)
  To: ntg-context

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

The resulting fig.1 has these lines:

  %*Font: cmr10 9.96265 9.96265 65:912
  ...
  (hello) cmr10 9.96265 fshow

and test.ps has

  %%DocumentFonts: LMRoman12-Regular CMR10

But there's no cmr10 (lowercase) embedded in test.ps.  If I generate
test.pdf directly (with texexec test), then all is well.

Is there a magic option or map file line that I need?

[ConTeXt  ver: 2007.03.19 11:20 MKII  fmt: 2007.4.12]

Thanks for any suggestions!  The reason I'm using dvi and ps is that
arxiv.org cannot handle ConTeXt submissions directly.  A workaround
recommended by the arxiv.org maintainers is to submit document.ps with
all the source files in a separate directory (but it won't let you
submit document.pdf with all the source files, a behavior that the
admins say is a bug or 'oddity' but not one that they'll fix soon).

-Sanjoy

`Intellectual property is intellectual theft.'

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-04-17  2:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-15  4:43 texexec+mpost cmr10 vs CMR10 trouble using dvips backend 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
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

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).