You are not logged in.

#1 2010-12-10 19:23:18

djg1971
Member
Registered: 2008-09-11
Posts: 185

[solved] pdflatex/latex looks for beamer sty files in wrong place

haven't used the beamer class in a few weeks so I'm not sure when it happened, but pdflatex (etc) can no longer seem to find the .sty files for the beamer slides class.  they are installed, so I can manually enter the location of each file and generate the output, but this is obviously tedious.  Anyone know what happened?  When?  Why?  How to fix?

thanks

Last edited by djg1971 (2010-12-10 21:17:22)

Offline

#2 2010-12-10 19:40:38

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: [solved] pdflatex/latex looks for beamer sty files in wrong place

You have to be more specific regarding your configs. All I can say ATM is that my beamer presentations do compile with latex (I am using eps figures). Here is the preamble:

~> head sc_hub_presentation.tex 
% Preamble
\documentclass[10pt,compress]{beamer}
\usepackage[english]{babel}
\usepackage{graphicx,bm,amsmath,amsfonts,amssymb}
\usetheme{Singapore}
\useinnertheme{circles}
\usefonttheme{serif}
\usefonttheme[onlylarge]{structurebold}
\setbeamertemplate{navigation symbols}{}
\logo{\includegraphics[scale=0.03]{./iu_logo.eps}}

Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

#3 2010-12-10 19:47:52

djg1971
Member
Registered: 2008-09-11
Posts: 185

Re: [solved] pdflatex/latex looks for beamer sty files in wrong place

Sorry, here is the relevant preamble:

\documentclass[9pt,compress]{beamer}
\usetheme{Singapore}
\usecolortheme{dove}

pdflatex can't find any of the .sty files it needs.  I add the following by hand:

/usr/share/texmf-dist/tex/latex/beamer/base/themes/theme/beamerthemedefault.sty
/usr/share/texmf-dist/tex/latex/beamer/base/themes/font/beamerfontthemedefault.sty
/usr/share/texmf-dist/tex/latex/beamer/base/themes/color/beamercolorthemedefault.sty
/usr/share/texmf-dist/tex/latex/beamer/base/themes/inner/beamerinnerthemedefault.sty
/usr/share/texmf-dist/tex/latex/beamer/base/themes/outer/beamerouterthemedefault.sty
/usr/share/texmf-dist/tex/latex/beamer/base/themes/theme/beamerthemeSingapore.sty
/usr/share/texmf-dist/tex/latex/beamer/base/themes/outer/beamerouterthememiniframes.sty
/usr/share/texmf-dist/tex/latex/beamer/base/themes/color/beamercolorthemedove.sty

used to find everything it needed just fine....?

Offline

#4 2010-12-10 20:41:53

frabjous
Member
Registered: 2010-07-13
Posts: 367

Re: [solved] pdflatex/latex looks for beamer sty files in wrong place

What do you mean you installed them by hand? Why would you do that?

What is the output of:

kpsepath tex

from the command line?

Did you run:

sudo texhash

Last edited by frabjous (2010-12-10 20:44:28)

Offline

#5 2010-12-10 21:12:54

djg1971
Member
Registered: 2008-09-11
Posts: 185

Re: [solved] pdflatex/latex looks for beamer sty files in wrong place

What do you mean you installed them by hand? Why would you do that?

==> I never said I installed anything by hand.  I said I entered (by hand) the location of the files the binary was asking for when it couldn't find them.  It gives you the option of doing so before failing outright to produce your document and returning you to the command prompt.

Interestingly, while the output of "kpsepath tex" does not appear to change after running texhash, running texhash again seems to have solved the problem.  So, thanks.  Still confused, but nevermind that I suppose, since it works again.

Offline

Board footer

Powered by FluxBB