Bug#465107: texlive-metapost: missing supp-pdf.tex and supp-mis.tex
Package: texlive-metapost
Version: 2005.dfsg.2-12
Severity: normal
I ran "pdflatex first; mpost myfigs; pdflatex first", and the
second pdflatex invocation died with a "! Undefined control sequence
\convertMPtoPDF" error.
The problem is due to the fact that
/usr/share/texmf-texlive/tex/latex/graphics/pdftex.def
(in texlive-latex-base) contains the statement
" \InputIfFileExists{supp-pdf}{}{}%", which (I guess) looks for
supp-pdf.tex and silently ignores it (and its dependency supp-mis.tex)
if it does not exist in the path.
texlive-metapost does not ship the above files. However,
gzipped copies of the missing files are present in
/usr/share/doc/texlive-base-bin/pdftex/manual/samplepdf (doc tree of
texlive-base-bin), and copying them in ~/texmf/tex solves the problem.
What about moving the files to their proper place?
By the way, texlive-context has both files, although I believe
texlive-metapost should not depend on (nor recommend) texlive-context.
best regards
-- giuseppe
##################################
minimal input file
% first.tex, taken from the mfpguide.
\documentclass{article}
\usepackage[metapost]{mfpic}
\opengraphsfile{myfigs}
\begin{document}
My first figure:
\begin{mfpic}[72]{-1}{1}{-1}{1}
\ellipse{(0,0),1,.5}
\end{mfpic}
\closegraphsfile
\end{document}
##################################
other files
######################################
List of ls-R files
-rw-r--r-- 1 root root 796 Feb 10 11:00 /var/lib/texmf/ls-R
-rw-rw-r-- 1 root staff 79 Feb 10 10:45 /usr/local/share/texmf/ls-R
lrwxrwxrwx 1 root root 29 Feb 10 10:42 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 27 Feb 10 10:42 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
lrwxrwxrwx 1 root root 27 Feb 10 10:42 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
######################################
Config files
lrwxrwxrwx 1 root root 20 Feb 10 10:42 /usr/share/texmf/web2c/texmf.cnf -> /etc/texmf/texmf.cnf
-rw-r--r-- 1 root root 4606 Feb 10 11:00 /var/lib/texmf/web2c/fmtutil.cnf
-rw-r--r-- 1 root root 4787 Feb 10 10:56 /var/lib/texmf/web2c/updmap.cfg
-rw-r--r-- 1 root root 4613 Feb 10 10:56 /var/lib/texmf/tex/generic/config/language.dat
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages texlive-metapost depends on:
ii libc6 2.3.6.ds1-13etch4 GNU C Library: Shared libraries
ii texlive-base 2005.dfsg.3-1 TeX Live: Essential programs and f
ii texlive-common 2005.dfsg.3-1 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 [debconf-2.0] 1.5.11etch1 Debian configuration management sy
ii ucf 2.0020 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)
-- debconf information:
tex-common/check_texmf_wrong:
tex-common/check_texmf_missing:
Reply to: