Hi all,
This is probably a simple question.
I have used latex for about 4 years, but mainly on Linux. I now had to shift to windows, and installed miktex. I wanted to add a package manually, since it is not included in the miktex package manager. I simply cannot find out how to do it?
Googling gives me the advice to place the package in the directory "localtexmf\tex\latex" and then refresh the package list in the miktex options menu. But I cannot find any similar directories. I have tried with all directories, I would expect to be right. But it does not work.
Thanks in advance!
General ⇒ adding packages manually to miktex 2.8
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: adding packages manually to miktex 2.8
"Out of the box", MiKTeX doesn't include a localtexmf-like directory. First, create one somewhere (I go for C:\Documents and Settings\<username>\texmf on winXP, or C:\Users\<username>\texmf on Windows 7). Then, using the MiKTeX Settings dialog, you need to add this as a new root on the Roots tab. Once you do this, MiKTeX will include this root when it scans for packages.
Joseph Wright
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
adding packages manually to miktex 2.8
Maybe I'm wrong, but I would say that MiKTeX creates very well a local tree.josephwright wrote:"Out of the box", MiKTeX doesn't include a localtexmf-like directory. [...]
Code: Select all
C:\Documents and Settings\<username>\Application Data\MiKTeX\2.8
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Re: adding packages manually to miktex 2.8
Thanks!
So far so good, I created a directory and added it as a root. Pressed refresh. But it wont work? Any clue why not?
The folder of my new package "nuthesis" is now:
"C:\Documents and Settings\user\localtexmf\tex\latex\nuthesis"
I have added "C:\Documents and Settings\user\localtexmf"
as a root... and pressed refresh....but the package is still not found?
TA
Btw. It is correct that miktex automatically adds some local roots. But it also says that I should not add packages manually to these folders, since they might be removed when updating miktex.
So far so good, I created a directory and added it as a root. Pressed refresh. But it wont work? Any clue why not?
The folder of my new package "nuthesis" is now:
"C:\Documents and Settings\user\localtexmf\tex\latex\nuthesis"
I have added "C:\Documents and Settings\user\localtexmf"
as a root... and pressed refresh....but the package is still not found?
TA
Btw. It is correct that miktex automatically adds some local roots. But it also says that I should not add packages manually to these folders, since they might be removed when updating miktex.
Re: adding packages manually to miktex 2.8
works now, don't know what I changed.
Thanks for your help!
Thanks for your help!