Re: beamer problem
On Fri, Apr 29, 2011 at 09:58:06PM -0400, Emden R. Gansner wrote: At present, I have texmf, texmf-texlive, texmf-texlive-dist and texmf-local under /opt/local/share. Are all of these necessary? Is there some way to expunge tex files in these directories that are no longer used? It's normal to have all of these: - texmf-texlive and texmf-texlive-dist contain the files installed by the texlive ports. (TeX Live separaes some of its file into -dist for reasons that are not particularly useful to us). - texmf is where non-texlive ports installed by MacPorts put their files. pgf is one such port; we use a separate port for it rather than the one in texlive to satisfy some dependency problems. - texmf-local is a place to manually install tex files (i.e. not via MacPorts). Some older ports may install files here, though they should not. If you have files in them that shouldn't be there, you could try doing something like find /opt/local/share/texmf* | xargs port provides | grep is not provided by a MacPorts port to find files that weren't put there by a port. Dan -- Dan R. K. Ports MIT CSAILhttp://drkp.net/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: beamer problem
On Fri, Apr 29, 2011 at 06:29:04PM -0400, Emden R. Gansner wrote: When running pdflatex using beamer, I get the error LaTeX Error: File `pgfcore.sty' not found. I see that this was an error last summer and I assume it has been fixed, so is there something else I need to do? The beamer.cls is coming from /opt/local/share/texmf-texlive-dist/tex/latex/beamer/beamer.cls but the only pgfcore.sty I can find is /opt/local/share/texmf/tex/latex/pgf/basiclayer/pgfcore.sty This should work fine. Since you have that pgfcore.sty, I'm assuming you have the pgf port installed (as it should be). Does `kpsewhich pgfcore.sty` find the file? If not, what does `kpsepath tex` say? Dan -- Dan R. K. Ports MIT CSAILhttp://drkp.net/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: beamer problem
On 4/29/11 6:58 PM, Dan Ports wrote: This should work fine. Since you have that pgfcore.sty, I'm assuming you have the pgf port installed (as it should be). Does `kpsewhich pgfcore.sty` find the file? If not, what does `kpsepath tex` say? s) kpsewhich pgfcore.sty s) kpsepath tex .:/Users/erg/.texlive2010/texmf-config/tex/kpsewhich//:/Users/erg/.texlive2010/texmf-var/tex/kpsewhich//:/Users/erg/texmf/tex/kpsewhich//:!!/opt/local/etc/texmf/tex/kpsewhich//:!!/opt/local/var/db/texmf/tex/kpsewhich//:!!/opt/local/share/texmf-texlive/tex/kpsewhich//:!!/opt/local/share/texmf-local/tex/kpsewhich//:!!/opt/local/share/texmf/tex/kpsewhich//:!!/opt/local/share/texmf-texlive-dist/tex/kpsewhich//:/Users/erg/.texlive2010/texmf-config/tex/generic//:/Users/erg/.texlive2010/texmf-var/tex/generic//:/Users/erg/texmf/tex/generic//:!!/opt/local/etc/texmf/tex/generic//:!!/opt/local/var/db/texmf/tex/generic//:!!/opt/local/share/texmf-texlive/tex/generic//:!!/opt/local/share/texmf-local/tex/generic//:!!/opt/local/share/texmf/tex/generic//:!!/opt/local/share/texmf-texlive-dist/tex/generic//:/Users/erg/.texlive2010/texmf-config/tex///:/Users/erg/.texlive2010/texmf-var/tex///:/Users/erg/texmf/tex///:!!/opt/local/etc/texmf/tex///:!!/opt/local/var/db/texmf/tex///:!!/opt/local/share /texmf-texlive/tex///:!!/opt/local/share/texmf-local/tex///:!!/opt/local/share/texmf/tex///:!!/opt/local/share/texmf-texlive-dist/tex/// s) where s) is my prompt. Emden ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: beamer problem
Hmm. That path is correct, and the file is in the right place, but kpsewhich can't find it. Maybe the database is not up to date -- try running `sudo mktexlsr` and retrying? Dan -- Dan R. K. Ports MIT CSAILhttp://drkp.net/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: beamer problem
On 4/29/11 8:04 PM, Dan Ports wrote: Hmm. That path is correct, and the file is in the right place, but kpsewhich can't find it. Maybe the database is not up to date -- try running `sudo mktexlsr` and retrying? Thank you. That was basically it. Doing mktexlsr got me closer, but I was still picking up some old beamer and pgf files under /opt/local/share/texmf. Once I shifted these out of the way, everything was fine. At present, I have texmf, texmf-texlive, texmf-texlive-dist and texmf-local under /opt/local/share. Are all of these necessary? Is there some way to expunge tex files in these directories that are no longer used? Thanks again. Emden ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users