Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

This question already has an answer here:

I am sorry for the silly question, but I am new to TexShop and new to Mac as well. However, I have been looking for a solution in the last two days between the documentation .pdf and various forums. This is my last option before going back to PowerPoint.

I have installed TexShop (v. 3.15) from the TUG website three days ago. I want to use a Beamer theme realized by a student from my university. It consists of three files, an outer.sty, a colorUni.sty and a themeUni.sty. As I understood, these files have to put in the proper folder.

I think the right location should be this one for the three files:

/usr/local/texlive/2012/texmf-dist/tex/latex/beamer/themes/color/beamercolorUni.sty
/usr/local/texlive/2012/texmf-dist/tex/latex/beamer/themes/outer/beamerouterUni.sty
/usr/local/texlive/2012/texmf-dist/tex/latex/beamer/themes/theme/beamerthemeUni.sty

(I put the real name of the files here). Differently from MikTex, I should not update the file database, right?(How do I add a .sty file to my MacTeX/TeXShop installation?)

So, I just open my presentation and call the new theme:

\documentclass{beamer}
\mode<presentation>
{
 \usetheme{Uni}
}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage{times}
\usepackage[T1]{fontenc}

%title page blablabla
\begin{document}

However, I get this message:

(/usr/local/texlive/2012/texmf-dist/tex/latex/beamer/themes/font/beamerfontthem
edefault.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/beamer/themes/color/beamercolorth
emedefault.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/beamer/themes/inner/beamerinnerth
emedefault.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/beamer/themes/outer/beamerouterth
emedefault.sty)))


! LaTeX Error: File `beamerthemeUni.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:

If I enter again the path with the .sty files, it repeats the same message; if I hit return it gives the presentation with the standard theme.

What do I do wrong?

share|improve this question
2  
Welcome to TeX.SX! –  Marco Daniel May 17 '13 at 10:03
    
It still gives me the same error message with \usepackage. –  Andrea De A. May 17 '13 at 10:15
    
I tried, but the error message remains. –  Andrea De A. May 17 '13 at 10:56
    
texmf-dist is the wrong location; please read the documentation. –  Martin Schröder May 17 '13 at 17:08
add comment

marked as duplicate by Martin Schröder, cmhughes, Marco Daniel, Werner, lockstep May 17 '13 at 17:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

up vote 1 down vote accepted

I use exactly the same preamble than yours, but I think you must have your files in a directory with you theme name for each .sty

/usr/local/texlive/2012/texmf-dist/tex/latex/beamer/themes/color/Uni/beamercolorUni.sty
/usr/local/texlive/2012/texmf-dist/tex/latex/beamer/themes/outer/Uni/beamerouterUni.sty
/usr/local/texlive/2012/texmf-dist/tex/latex/beamer/themes/theme/Uni/beamerthemeUni.sty

That is what I have on my system.

share|improve this answer
    
Great @penbeuz! It worked after three error messages asking for the new path. Once put it it was fine. –  Andrea De A. May 17 '13 at 11:07
    
texmf-dist is the wrong location; please read the documentation. –  Martin Schröder May 17 '13 at 17:10
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.