## Again personal package register/install

Help
John Doe
2010-04-12
2012-10-17

• John Doe
2010-04-12

Hi community,

after an update from MikTex 2.4 to the actual 2.8.5335 I'm still having
problems with the registration of a personal sty-file.
A local texmf-directory (in my case C:\MyTex\tex\latex\mypackage ...) I've
already created an filled with my sty-file.
Also I've added this structure as root and updated the FNDB-Base. Till this
point everything looked okay.
But when I try to compile a tex-file (which compiled fine under 2.4 and 2.7),
especially with the sty-file in the same directory as the tex-file, I get the
Could anybody help me on this issue ?

Regards,
JD.

• John Doe
2010-04-13

Hi community,

doesn't anybody have a clue for my problem ?
Again: I 've added a local "texmf" ( of course TDS-compliant ;-) ) besides my
MiKTeX-2.8-Installation. And I've added it as a root. And I've updated the
FNDB. And it doesn't work, that means my local sty-file isn't found. And I've
googled several hours and placed the TDS-structure also in the local user-
directory, i.e. 'C:\Documents ...\user\Application data' and 'C:\Documents
...\user\Local ...\Application data'
Do I have to downgrad to 2.7 ?

Regards,

JD.

• U_Fischer
2010-04-14

Your description is too vage. E.g. when you are writing "Also I've added this
structure as root" which folder did you actually add as root?
Also what does "especially with the sty-file in the same directory as the tex-
file" mean? Did you copy the sty to your document folder? If this really
didn't work I would say: Check carefully the file name. Perhaps it got an
additional extension or something like this.

Ulrike Fischer

• John Doe
2010-04-14

I created a folder named "E:\Mylocaltexmf\tex\latex\mypackage" (with
'mypackage' as a specific package name), copied a sty-file here, added the
structure named above as root and updated the FNDB. As I wrote, till here
everything looked okay. As this didn't work, I tried the variant (which worked
with 2.7) with the sty-file in the same folder as my tex-file. This also
didn't work.
The names of my package folder an of my sty-file are exactly identical.

JD.

• John Doe
2010-04-15

Hi community,

I've managed to work around the above described issue with using my personal
package with the complete package path like this:

\usepackage{C:/mylocaltexmf/tex/latex/mypackagename/mypackagename}

Don't know if that 's the way adding a personal package was meant to be ...
But it works.

Cheers,
JD.

• U_Fischer
2010-04-15

Well again you don't sound as if you are giving the exact details: In one
sentence your local root is one drive "E", and then suddenly in "C", and I
also think that you aren't actually have a folder "mypackage" or
"mypackagename".

In any case: Don't add "E:\Mylocaltexmf\tex\latex\mypackage" as root but only
the root "E:\Mylocaltexmf".
And if you put the sty in the folder of your document, make sure that this
folder is the current folder when you start latex.

Ulrike Fischer

• John Doe
2010-04-15

Hi Ulrike,

my description above with partition "E" only was only an example of waht I
did. Actually I did what I described in my second last posting.
Precisely, I any case I only added "C:\Mylocaltexmf" (or in another try
"E:\Mylocaltexmf") as the root as you suggested.
And I can assure you that the folder name as the package name are exactly the
same, that means identical.
And the variant with the style-file in the same folder as my tex-file (and
that folder as the current folder) worked fine under 2.7.
I only updated from 2.7 to 2.8 tried to run the same projects that worked fine
under 2.7. And the didn't under 2.8.

Cheers,

JD

• nmiller_co
2010-06-11

I too cannot figure out where to put my files so that miktex will find them.
The only way I can get it to work is by putting the .sty file in the same
directory as my .tex file. I'm trying to add the file ieee.sty.

This didn't work:
'C:\localtexmf\tex\latex\ieee\ieee.sty', added 'C:\localtexmf'' to the root
directory in miktex settings.

I also tried:
'C:\localtexmf\ieee\ieee.sty'
'C:\Program Files\MiKTeX 2.8\tex\latex\mylocaltex\ieee\ieee.sty'

After each change, I refreshed the FNDB, but Miktex doesn't see my file. I
will gladly throw the files anywhere that will work if someone can just tell
me where to put them.

thanks!

• nmiller_co
2010-06-11

Ah ha!! got it!

I don't know how I missed it, but I just tried the folder in the FAQ
here:
'C:\Local TeX Files\tex\latex\misc\ieee.sty'
added root directory 'C:\Local TeX Files' and refreshed FNDB, but it still
doesn't work.

But it have a link to the
manual,
It worked when I went to 'My computer', 'properties', 'advanced',
'environmental variables'
I added a local user variable TEXINPUTS with value
C:\Local TeX Files

• Hi

I had the same problem with MIKTEX 2.8 under windows 7. Updating via Winedt
refresh FNDB did not work. Then I was successful by updating via start\miktex
refresh FNDB and all worked.

Hartmut

• John Doe
2010-07-07

It worked when I went to 'My computer', 'properties', 'advanced',
'environmental variables'
I added a local user variable TEXINPUTS with value C:\Local TeX Files

Perfect. That also did it for me. Thanx !
Cheers,

JD.