--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: texlive-metapost: symbols don't appear when using metapost
- From: Rogério Brito <rbrito@ime.usp.br>
- Date: Thu, 28 Jun 2007 13:55:05 -0300
- Message-id: <20070628165502.GA5013@ime.usp.br>
Package: texlive-metapost
Version: 2007-12
Severity: important
Hi.
I am trying to create a diagram for a text of mine using metapost.
Unfortunately, when I typeset the following file (having the environment
variable TEX=latex), I can't see all the symbols: the square does not
appear (its position is blank), while the triangle *does* appear!
For compiling the figure below, I use the following sequence of commands:
mpost metapost-fail
a2ping metapost.1
xpdf metapost.pdf
Oh, BTW, one thing that didn't occur with tetex's a2ping is the emission
of warnings (I just discovered that it is a Perl script).
Thank you very much for any help, Rogério Brito.
##################################
minimal input file
verbatimtex
\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}
\begin{document}
etex
u = 2cm;
beginfig(1);
z0 = (0, 0);
z1 = (0, .5u);
z2 = (0, u);
z3 = (u, .25u);
z4 = (u, .75u);
draw z0 withpen pencircle scaled 4pt;
draw z1 withpen pencircle scaled 4pt;
draw z2 withpen pencircle scaled 4pt;
draw z3 withpen pencircle scaled 4pt;
draw z4 withpen pencircle scaled 4pt;
drawarrow z2..z3;
drawarrow z2..z4;
drawarrow z1..z4;
drawarrow z0..z3;
label.lft("3", z0);
label.lft("2", z1);
label.lft("1", z2);
label.rt(btex $\triangle$ etex, z3);
label.rt(btex $\square$ etex, z4);
endfig;
end;
##################################
other files
######################################
List of ls-R files
-rw-r--r-- 1 root root 985 Jun 28 12:13 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 Jun 19 07:43 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 27 Jun 28 12:00 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
lrwxrwxrwx 1 root root 27 Jun 28 12:00 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
######################################
Config files
lrwxrwxrwx 1 root root 20 Jun 19 07:43 /usr/share/texmf/web2c/texmf.cnf -> /etc/texmf/texmf.cnf
-rw-r--r-- 1 root root 4992 Jun 28 12:13 /var/lib/texmf/web2c/fmtutil.cnf
-rw-r--r-- 1 root root 7093 Jun 28 12:13 /var/lib/texmf/web2c/updmap.cfg
-rw-r--r-- 1 root root 4789 Jun 28 12:13 /var/lib/texmf/tex/generic/config/language.dat
######################################
Files in /etc/texmf/web2c/
total 0
######################################
md5sums of texmf.d
bef756b4d7b325a1d8d1a515d51d9b55 /etc/texmf/texmf.d/04VARTEXFONTS.cnf
25bf3a257a0bedb5c67349c3eaff74af /etc/texmf/texmf.d/05TeXMF.cnf
5f7f6652cc8b8071c9e4ea6ba9e9f0a1 /etc/texmf/texmf.d/15Plain.cnf
8a26468004b5ebc7ae9884740356c1d0 /etc/texmf/texmf.d/45TeXinputs.cnf
ea33127256c6a9f37145ae5b16fdb80c /etc/texmf/texmf.d/55Fonts.cnf
afccf1d3f87057411166a77c58e00bd1 /etc/texmf/texmf.d/65BibTeX.cnf
9da7c1c7b1eaf06f941af91f48a23068 /etc/texmf/texmf.d/75DviPS.cnf
e36faa13563bdb46303b91ab3f6ea638 /etc/texmf/texmf.d/85Misc.cnf
7e8f87acdeba48edac16d851c77b9e75 /etc/texmf/texmf.d/90TeXDoc.cnf
30f4f13357c2761ed01a6a15f28725a5 /etc/texmf/texmf.d/95NonPath.cnf
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (900, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-rc5-1 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=C, LC_CTYPE=pt_BR (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages texlive-metapost depends on:
ii libc6 2.5-9+b1 GNU C Library: Shared libraries
ii libkpathsea4 2007-12 TeX Live: path search library for
ii texlive-base 2007-10 TeX Live: Essential programs and f
ii texlive-common 2007-10 TeX Live: Base component
Versions of packages texlive-metapost recommends:
pn feynmf <none> (no description available)
Versions of packages tex-common depends on:
ii debconf 1.5.13 Debian configuration management sy
ii ucf 3.001 Update Configuration File: preserv
Versions of packages texlive-metapost is related to:
pn tetex-base <none> (no description available)
pn tetex-bin <none> (no description available)
pn tetex-extra <none> (no description available)
ii tex-common 1.8 Common infrastructure for using an
-- debconf information:
tex-common/singleuser: false
tex-common/check_texmf_wrong:
tex-common/check_texmf_missing:
--
Rogério Brito : rbrito@ime.usp.br : http://www.ime.usp.br/~rbrito
Homepage of the algorithms package : http://algorithms.berlios.de
Homepage on freshmeat: http://freshmeat.net/projects/algorithms/
--- End Message ---
--- Begin Message ---
- To: Florent Rougon <f.rougon@free.fr>
- Cc: 430976-done@bugs.debian.org
- Subject: Re: Bug#430976: texlive-metapost: symbols don't appear when using metapost
- From: Rogério Brito <rbrito@ime.usp.br>
- Date: Sat, 21 Jul 2007 07:51:25 -0300
- Message-id: <20070721105125.GB7261@ime.usp.br>
- In-reply-to: <20070629005441.GA17112@ime.usp.br>
- References: <20070628165502.GA5013@ime.usp.br> <873b0cm1bo.fsf@florent.maison> <20070628175703.GA7534@ime.usp.br> <87ejjvlm87.fsf@florent.maison> <20070629005441.GA17112@ime.usp.br>
Just for the context before I close this bug:
On Jun 28 2007, Rogério Brito wrote:
> On Jun 29 2007, Florent Rougon wrote:
> > pdfTeX is able (thanks to Hans Hagen) to include MetaPost output files.
> > You don't need (and shouldn't) convert them to PDF beforehand.
>
> Thank you very much. I didn't know that I shouldn't convert them
> beforehand. I just assumed that they were regular Encapsulated
> Postscript files and that I could such conversions.
>
> > Just give them the extension .mps and graphicx will do the rest.
> (...)
>
> It works wonderfully. Thanks for the hint! Now, my workflow is quite
> simplified.
(...)
The problem of the symbol not appearing was that using plain Type 3
fonts caused the problem when I tried to use \square (which needs the
AMS symbols packages).
When I changed the fonts used to, say, fourier or mathpazo, everything
worked perfectly.
I think that Florent might not have seen the problem as, from what I
understand, he has lmodern fonts installed in his system.
Regards, Rogério Brito.
--
Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org
--- End Message ---