[metapost] Problem using LaTeX in MetaPost

Carlos Mallen varphi625-x at yahoo.com.mx
Tue Feb 7 22:09:21 CET 2012


Using this option, the file compiles OK, but YAP fails to display the picture after using TeX mproof. The error message is this:

MiKTeX Problem Report
Message: Some PostScript specials could not be rendered.
Data: Error: /undefined in cmmi10
Operand stack:
   --nostringval--   PermitFileReading   --nostringval--   PermitFileWriting   --nostringval--   (A)
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1914   1   3   %oparray_pop   1913   1   3   %oparray_pop   1897   1   3   %oparray_pop   1787   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1166/1684(ro)(G)--   --dict:0/20(G)--   --dict:78/200(L)--   --dict:95/300(L)--   --dict:42/200(L)--
Current allocation mode is local
MiKTeX GPL Ghostscript  9.00: Unrecoverable error, exit code 1

Source: Libraries\MiKTeX\Dvi\Ghostscript.cpp
Line: 372
MiKTeX: 2.9
OS: Microsoft Windows XP Professional Service Pack 3 (build 2600)
Invokers: explorer/cmd
SystemAdmin: yes
PowerUser: no
Root0: C:\Documents and Settings\OSY98\Application Data\MiKTeX\2.9
Root1: C:\Documents and Settings\OSY98\Local Settings\Application Data\MiKTeX\2.9
Root2: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.9
Root3: C:\Program Files\MiKTeX 2.9
UserInstall: C:\Documents and Settings\OSY98\Application Data\MiKTeX\2.9
UserConfig: C:\Documents and Settings\OSY98\Application Data\MiKTeX\2.9
UserData: C:\Documents and Settings\OSY98\Local Settings\Application Data\MiKTeX\2.9
CommonInstall: C:\Program Files\MiKTeX 2.9
CommonConfig: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.9
CommonData: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.9

Thanks a lot for your time. 

Carlos Mallén


________________________________
 From: Reinhard Kotucha <reinhard.kotucha at web.de>
To: Carlos Mallen <varphi625-x at yahoo.com.mx> 
Cc: "reinhard.kotucha at web.de" <reinhard.kotucha at web.de>; Karel <akk64 at quick.cz>; "metapost at tug.org" <metapost at tug.org> 
Sent: Tuesday, February 7, 2012 2:19 PM
Subject: Re: [metapost] Problem using LaTeX in MetaPost
 
On 2012-02-07 at 11:53:10 -0800, Carlos Mallen wrote:

> Hi,
> 
> If I understand correctly, this means that I won't be able to use
> LaTeX in MetaPost, right? At least not with MiKTeX 2.9.

You can probably use it with the command line option --tex=latex.

This tells mpost which engine to use _before_ it reads its input file.

If this works, it might be worthwhile to file a bug report to the
MiKTeX maintaner(s).

Regards,
  Reinhard  

-- 
----------------------------------------------------------------------------
Reinhard Kotucha                                      Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                              mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/metapost/attachments/20120207/8f3753fe/attachment.html>


More information about the metapost mailing list