[metapost] (fwd) Bug#446617: texlive-metapost: Omits font encoding from output

Norbert Preining preining at logic.at
Tue Oct 23 10:22:37 CEST 2007


forwarded 446617 metapost at tug.org
thanks

Dear Taco! Dear all!

(Please leave 446617 at bugs.debian.org on Cc)

We got a bug report on Debian which still uses mpost as present in TeX
Live 2007 (ie) 0.993. See below for the bug description and a test file.

Is this fixed by MetaPost 1.00, or is this something new?

Thanks a lot and all the best

Norbert

----- Forwarded message from Gábor Braun <braung at renyi.hu> -----

> From: Gábor Braun <braung at renyi.hu>
> Subject: Bug#446617: texlive-metapost: Omits font encoding from output
> To: Debian Bug Tracking System <submit at bugs.debian.org>
> Content-Type: text/plain; charset="UTF-8"
> X-Mailer: reportbug 3.31
> Date: Sun, 14 Oct 2007 15:09:17 +0200
> 
> Package: texlive-metapost
> Version: 2007-14
> Severity: normal
> 
> 
> Hi,
> 
> When I run metapost  with the command
> 
> mpost test2.mp
> 
> where test2.mp is the minimal input file.
> It produces two output files: test2.1 and test2.2.
> 
> I can view the first one in gv but not the second one.
> The second one reports the error:
> 
> Error: /undefined in enclmmathsy
> Operand stack:
>    Encoding
> Execution stack:
>    %interp_exit   .runexec2   --nostringval--   --nostringval--   
> --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
> --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   
> %oparray_pop   --nostringval--   1   3   %oparray_pop   1   3   %oparray_pop   
> ..runexec2   --nostringval--   --nostringval--   --nostringval--   2   
> %stopped_push   --nostringval--
> Dictionary stack:
>    --dict:1124/1686(ro)(G)--   --dict:0/20(G)--   --dict:83/200(L)--   
> --dict:15/16(L)--
> Current allocation mode is local
> Current file position is 3098
> GPL Ghostscript 8.54: Unrecoverable error, exit code 1
> 
> The sole difference between the two output files is that the encoding vector 
> enclmmathsy is missing from the second one, i.e. the lines
> 
> %%BeginResource: encoding enclmmathsy
> ....
> %%EndResource
> 
> (here ... denotes omitted lines).
> 
> This contradicts the documentation mpman.pdf pages 23-24,
> which says that when prologues:=2 then the font encoding vectors should be 
> embedded.
> 
> 	Braun Gábor
> 
> ##################################
> minimal input file named test2.mp
> 
> prologues := 2;
> 
> input TEX;
> 
> TEXPRE("%&latex" & char(10) & "\documentclass{article}" & char(10)
>   & "\usepackage[T1]{fontenc}" & char(10)
>   & "\usepackage{lmodern}\begin{document}");
> TEXPOST("\end{document}");
> 
> beginfig(1);
>   label(TEX("$-1$"),origin);
> endfig;
> 
> beginfig(2);
>   label(TEX("$-1$"),origin);
> endfig;
> 
> end;
> 
> ##################################
----- End forwarded message -----

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining at logic.at>        Vienna University of Technology
Debian Developer <preining at debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
HENSTRIDGE (n.)
The dried yellow substance found between the prongs of forks in
restaurants.
			--- Douglas Adams, The Meaning of Liff


More information about the metapost mailing list