Latex mfpic supp-pdf.tex

Hello everyone! (opensuse 11.1, xfce)

I have the following problem, producing a figure with latex/mfpic. Running pdflatex for the second time, I get an error message stating that supp-pdf.tex cannot be found.

Reading pages like #465107 - texlive-metapost: missing supp-pdf.tex and supp-mis.tex - Debian Bug report logs](http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=465107), I downloaded supp-pdf.tex and supp-mis.tex from CTAN and put them into the ~/texmf/tex directory. This resulted in the exact same error message.

I have no clue what to do now. Thanks in advance for the help.

Here’s the output of pdflatex:

This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=pdflatex 2009.1.23)  28 MAY 2009 13:32
entering extended mode
**first
(./first.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, basque, bulgarian, coptic, welsh, czech, slovak, german, ngerman, d
anish, esperanto, spanish, catalan, galician, estonian, finnish, french, greek,
 monogreek, ancientgreek, croatian, hungarian, interlingua, ibycus, indonesian,
 icelandic, italian, latin, mongolian, dutch, norsk, polish, portuguese, romani
an, russian, slovenian, uppersorbian, serbian, swedish, turkish, ukenglish, ukr
ainian, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo
File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texmf/tex/latex/mfpic/mfpic.sty
Package: mfpic 2006/05/26 v0.9. Macros for drawing with Metafont/MetaPost.

(/usr/share/texmf/tex/latex/mfpic/mfpic.tex
(/usr/share/texmf/tex/latex/graphics/graphics.sty
Package: graphics 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/usr/lib/texmf/tex/latex/config/graphics.cfg
File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
)
Package graphics Info: Driver file: pdftex.def on input line 90.

(/usr/share/texmf/tex/latex/pdftex-def/pdftex.def
File: pdftex.def 2007/01/08 v0.04d Graphics/color for pdfTeX
\Gread@gobject=\count87
))
\mfp@out=\write3
\mfp@graph=\read1
\mfp@count=\count88
\mfp@linetype=\count89
\mfp@sequence=\count90
\mfp@toks=	oks14
\mfp@verbtex=	oks15
\mfp@commonverbatimtex=	oks16
\mfp@fdc=\count91
\@wholegraph=\box26
\@textbox=\box27
\@alltlabels=\box28
\@backtext=\box29
\@tlabelstop=\fontdimen 23\mfp@dummy 
\@tlabelsbot=\fontdimen 24\mfp@dummy 
\@tlabelsleft=\fontdimen 25\mfp@dummy 
\@graphright=\fontdimen 26\mfp@dummy 
\@graphleft=\fontdimen 27\mfp@dummy 
\@graphtop=\fontdimen 28\mfp@dummy 
\@graphbot=\fontdimen 29\mfp@dummy 
	b@raise=\fontdimen 30\mfp@dummy 
	b@moveright=\fontdimen 31\mfp@dummy 
	b@totalht=\fontdimen 32\mfp@dummy 
	label@hadj=\fontdimen 33\mfp@dummy 
	label@vadj=\fontdimen 34\mfp@dummy 
	label@sep=\fontdimen 35\mfp@dummy 
	lpath@sep=\fontdimen 36\mfp@dummy 
\mfpicunit=\fontdimen 37\mfp@dummy 
\@mfpicunit=\fontdimen 38\mfp@dummy 
\pointsize=\fontdimen 39\mfp@dummy 
\shadespace=\fontdimen 40\mfp@dummy 
\polkadotspace=\fontdimen 41\mfp@dummy 
\hatchspace=\fontdimen 42\mfp@dummy 
\headlen=\fontdimen 43\mfp@dummy 
\axisheadlen=\fontdimen 44\mfp@dummy 
\sideheadlen=\fontdimen 45\mfp@dummy 
\hashlen=\fontdimen 46\mfp@dummy 
\dashlen=\fontdimen 47\mfp@dummy 
\dashspace=\fontdimen 48\mfp@dummy 
\dotsize=\fontdimen 49\mfp@dummy 
\griddotsize=\fontdimen 50\mfp@dummy 
\dotspace=\fontdimen 51\mfp@dummy 
\symbolspace=\fontdimen 52\mfp@dummy 
\mfp@scratch=\dimen103
\mfpframesep=\dimen104
\mfpframethickness=\dimen105
\mfpicheight=\dimen106
\mfpicwidth=\dimen107
\mfpiccaptionskip=\skip43
	l@vpos=\count92
	l@hpos=\count93
\mfp@commentchar=\count94

(/usr/share/texmf/tex/generic/mfpic/mfppatch.tex)))

Mfpic: Initializing myfigs.mp.
\openout3 = `myfigs.mp'.

Mfpic: Don't forget to process myfigs.mp!
Mfpic: Apply metapost to myfigs.mp.
Mfpic: Then reprocess this file "first".

(./first.aux)
\openout1 = `first.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 4.
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 4.
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 4.
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 4.
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 4.
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 4.
LaTeX Font Info:    ... okay on input line 4.
 (/usr/share/texmf/tex/supp-pdf.tex
loading : Context Support Macros / Miscellaneous (2004.10.26)
\protectiondepth=\count95
\scratchcounter=\count96
\scratchtoks=	oks17
\scratchtoks=	oks18
\scratchtoks=	oks19
\scratchtoks=	oks20
\scratchtoks=	oks21
\scratchdimen=\dimen108
\scratchskip=\skip44
\scratchmuskip=\muskip10
\scratchmuskip=\muskip11
\scratchmuskip=\muskip12
\scratchmuskip=\muskip13
\scratchmuskip=\muskip14
\scratchmuskip=\muskip15
\scratchmuskip=\muskip16
\scratchmuskip=\muskip17
\scratchmuskip=\muskip18
\scratchmuskip=\muskip19
\scratchmuskip=\muskip20
\scratchmuskip=\muskip21
\scratchbox=\box30
\scratchread=\read2
\scratchwrite=\write4
\zeropoint=\dimen109
\onepoint=\dimen110
\onebasepoint=\dimen111
\minusone=\count97
	housandpoint=\dimen112
\onerealpoint=\dimen113
\emptytoks=	oks22

extbox=\box31

extdepth=\dimen114
\everyline=	oks23
\!!counta=\count98
\!!countb=\count99
\recursecounter=\count100
)
File: myfigs.1 Graphic file (type mps)


! Package graphics Error: Cannot convert myfigs.1 from MPS to PDF.
(graphics)                The support file `supp-pdf.tex' is missing.

See the graphics package documentation for explanation.
Type  H &lt;return&gt;  for immediate help.
 ...                                              
                                                  
l.8 \end{mfpic}
               
? 
! Emergency stop.
 ...                                              
                                                  
l.8 \end{mfpic}
               
The graphics driver for pdfTeX needs `supp-pdf.tex' (and `supp-mis.tex')
to convert MP to PDF.
These files are part of ConTeXt and can also be found here:
  CTAN:macros/pdftex/graphics/supp-pdf.tex
  CTAN:macros/pdftex/graphics/supp-mis.tex
You'll get more errors if you'll continue now.

 
Here is how much of TeX's memory you used:
 1426 strings out of 94086
 15897 string characters out of 1167700
 68900 words of memory out of 3500000
 4764 multiletter control sequences out of 10000+50000
 3744 words of font info for 15 fonts, out of 1200000 for 2000
 645 hyphenation exceptions out of 8191
 28i,6n,32p,235b,380s stack positions out of 5000i,500n,6000p,200000b,5000s
!  ==&gt; Fatal error occurred, no output PDF file produced!

I don’t know if this is the case but, if LaTeX keeps a directory of available files, it may need updating to tell it that it is available.

I have to do this in LyX but assumed this was only a LyX requirement.

Thank you for your reply!

This is a good idea. Unfortunately I think latex does that automatically. I have already put in .sty files and it worked without refreshing the database.

Anyway, I tried it but it is still not working.