[Tex/LaTex] MiKTeX Portable can’t open Beamer theme


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:


! 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:



\author[Name]{Name des Vortragenden}
\title[Kurztitel]{Titel des Vortrags}
\institute[Fachgruppe o.\"a.]{Organisationseinheit}




Best Answer

Not really an answer but some comments to long for a comment:

  1. 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.

  2. 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".

  3. 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 least miktex-zzdb1-2.9.tar.lzma and miktex-zzdb2-2.9.tar.lzma and the packages you want to install or update.