ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: mptopdf (broken again)
Date: Wed, 12 Jan 2011 18:26:47 +0100	[thread overview]
Message-ID: <AANLkTim0PQ58fh_OH=XoWv-kKtZ3DU9D=WBJvULK5FW2@mail.gmail.com> (raw)
In-Reply-To: <AANLkTin3uEfTxb2sFrE7s_tS0hmNtZfxW=c9gkLCMR9j@mail.gmail.com>

On Wed, Jan 12, 2011 at 18:12, Mojca Miklavec
<mojca.miklavec.lists@gmail.com> wrote:
> 2011/1/12 Michal Kvasnička <prgosek@gmail.com>:
>> Hallo.
>>
>> I tried mtxrun --script mptopdf chart08.1 but I've got the following error.
>>
>> This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
>>  \write18 enabled.
>> entering extended mode
>> [MP to PDF]
>> (./charts08.1{/home/qasar/programy/context_stable/tex/texmf/fonts/m
>> ap/pdftex/plain/pdftex.map}) [1]
>> !pdfTeX error: pdftex (file lmmi9): Font lmmi9 at 600 not found
>>  ==> Fatal error occurred, no output PDF file produced!
>
> I have tried to compile the following example:
>
> beginfig(1);
> draw btex $x+1=2$ etex;
> endfig;
> end.
>
> It works fine with TeX Live 2010/TLContrib, but fails in minimals
> (nearly-latest version of ConTeXt).
>
> To me this seems as if mptopdf was trying to run plain pdfTeX instead
> of ConTeXt [or I have no idea what]. It then only reads pdftex.map
> which certainly lacks the information about lmmi font. But I wonder
> why it only reads from pdftex.map ... I could fix pdftex.map, but I
> would like to figure out what exactly is going on ...

Just some more information ... Looking into the filename.1 makes me
very suspicious:

%!PS
%%BoundingBox: 0 0 0 0
%%HiResBoundingBox: 0 0 0 0
%%Creator: MetaPost 1.503
%%CreationDate: 2011.01.12:1822
%%Pages: 1
%*Font: ec-lmr12 11.95517 11.95517 1c:800c04010000000006d42298
%*Font: lmmi12 11.95517 11.95517 78:8
%%BeginProlog
%%EndProlog
%%Page: 1 1
 0 0 0 setrgbcolor
208.537 -9.2369 moveto
(1) ec-lmr12 11.95517 fshow
-1.133 -67.5053 moveto
(b) ec-lmr12 11.95517 fshow
5.6958 -67.5053 moveto
(egin\034g\(1\);) ec-lmr12 11.95517 fshow
60.9747 -67.5053 moveto
(dra) ec-lmr12 11.95517 fshow
77.5584 -67.5053 moveto
(w) ec-lmr12 11.95517 fshow
89.9146 -67.5053 moveto
(btex) ec-lmr12 11.95517 fshow
116.2533 -67.5053 moveto
(x) lmmi12 11.95517 fshow
showpage
%%EOF

What exactly does "begindraw" do in EPS file? Adding ec-lmr12 and
lmmi12 into pdftex.map got rid of the error, but didn't generate any
valid output (it created an empty pdf). What mptopdf run on filename.1
does is basically
    pdftex -fmt=mptopdf -progname=context \\relax mathmp.1
(maybe I'm wrong; but it behaved exactly like that), but I didn't
manage to get any sensible output out of that.

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2011-01-12 17:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-09 23:37 Mojca Miklavec
2011-01-10  7:55 ` Taco Hoekwater
2011-01-10 10:11   ` Mojca Miklavec
2011-01-12  9:07 ` Hans Hagen
2011-01-12  9:31   ` Mojca Miklavec
2011-01-12 11:17     ` Hans Hagen
2011-01-12 11:38       ` Mojca Miklavec
2011-01-12 16:41   ` Michal Kvasnička
2011-01-12 17:06     ` luigi scarso
2011-01-12 17:12     ` Mojca Miklavec
2011-01-12 17:26       ` Mojca Miklavec [this message]
2011-01-13 10:59       ` luigi scarso
2011-01-12 17:30     ` Mojca Miklavec

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='AANLkTim0PQ58fh_OH=XoWv-kKtZ3DU9D=WBJvULK5FW2@mail.gmail.com' \
    --to=mojca.miklavec.lists@gmail.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).