I have a Beamer theme called beamerthemeMittweida.sty
that's not available in a package.
At home I just copied the .sty
to Miktex\tex\latex\beamer
, then updated all packages and I was able to use the theme.
At work I copied the file in the same directory but when I run pdfLaTeX it can't find it.
I already used the "Refresh FNDB" function in the MiKTeX settings but still doesn't work.
Due to some proxy/firewall stuff I can't use the update function at work.
The log:
... (D:\Miktex\tex\latex\beamer\base\beamerbasethemes.sty)) (D:\Miktex\tex\latex\beamer\base\themes\theme\beamerthemedefault.sty (D:\Miktex\tex\latex\beamer\base\themes\font\beamerfontthemedefault.sty) (D:\Miktex\tex\latex\beamer\base\themes\color\beamercolorthemedefault.sty) (D:\Miktex\tex\latex\beamer\base\themes\inner\beamerinnerthemedefault.sty) (D:\Miktex\tex\latex\beamer\base\themes\outer\beamerouterthemedefault.sty))) ! LaTeX Error: File `beamerthemeMittweida.sty' not found. Type X to quit or to proceed, or enter new name. (Default extension: sty) Enter file name:
EDIT: the .tex file I'am using:
\documentclass[smaller]{beamer}
\usetheme{Mittweida}
\author[Name]{Name des Vortragenden}
\title[Kurztitel]{Titel des Vortrags}
\subtitle{Untertitel}
\institute[Fachgruppe o.\"a.]{Organisationseinheit}
%\date{}
\begin{document}
\maketitle
\begin{frame}{Inhalt}
\transdissolve<1>
Folieninhalt
\end{frame}
\end{document}
Best Answer
Not really an answer but some comments to long for a comment:
You shouldn't put local files in the main texmf tree of miktex. Use the one called "UserConfig" in the tab "roots" of the miktex settings dialog (click on "show miktex maintained roots"). Or better: create your own small texmf-tree and add its root folder as a new root.
You perhaps don't need the portable version of miktex: It is quite possible to install miktex in a account with restricted user rights "only for you".
If you can't install/update due to a proxy/firewall: You can download the packages at home e.g. with the setup wizard or the package manager (mpm) or some other tools like wget from
<CTAN>/systems/win32/miktex/tm/packages/
in a folder on your usb stick and then use this folder as "local repository". In this local repository you must have at leastmiktex-zzdb1-2.9.tar.lzma
andmiktex-zzdb2-2.9.tar.lzma
and the packages you want to install or update.