LaTeX forum ⇒ MiKTeX and proTeXtnatbib.sty not found - but it's there!

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
lizrdb
Posts: 3
Joined: Fri Feb 19, 2016 3:29 pm

natbib.sty not found - but it's there!

Postby lizrdb » Fri Feb 19, 2016 4:04 pm

Good morning! I am attempting to add natbib to MikTek 2.9. I have followed the instructions from various articles - created a local package repository, downloaded the natbib.zip file, unzipped it, ran latex natbib.ins... and no matter how many times I tell MikTek to install natbib, it isn't happening. I've tried running mpm.exe - it keeps telling me there is a missing file. I've tried via Package Manager - not finding it in the local repository. I am remembering to update the FNDB after each thing that I try...

Unfortunately, due to security, I cannot pull the package from the internet directly.

I can get the .pdf to generate correctly even with an error of not being able to find natbib.sty - but the error is bothering me (and my user who is actually generating the .pdf).

Has anyone run into this before when using natbib.sty?

Environment
Windows 2012 R2 - set up as a terminal server (I am running Package Manager Admin and Settings Admin)
MikTek 2.9
Natbib.zip downloaded from CTAN

User avatar
Johannes_B
Site Moderator
Posts: 3805
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Fri Feb 19, 2016 7:25 pm

As a shortcut, place natbib.sty into the same directory the user has its main file.

Reading your introductory post, i know you will run into problems maybe ten minutes later, sorry for that.
The current situation seems to be rather silly, if you cannot make updates to your software for security reasons, that is fine. That means, somebody has the right to do updates, and this is the guy who is (should be) in charge of keeping the software a user needs UP TO DATE.

Right now you are the middle man that tries to find out what a user wants or has problems with, trying to get this to the helpers here, trying to apply possible solutions to a user/for a user. You are aware of the obvious shortcut, right?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

lizrdb
Posts: 3
Joined: Fri Feb 19, 2016 3:29 pm

Postby lizrdb » Mon Feb 22, 2016 7:11 pm

I had found that workaround in my research - but was hoping to find something that didn't require the end user to keep .sty files in non-program directories. If that's what it takes, then that's what it takes.

Thank you!

User avatar
Johannes_B
Site Moderator
Posts: 3805
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Mon Feb 22, 2016 7:29 pm

That is the shortcut. You can install the package using the package manager which will also do updates of the package if needed.
Anoter way would be to place the package file into your texmf-home directory. But this is a little bit more advanced. -> Where do I place my own `.sty` files, to make them available to all my `.tex` files?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.


Return to “MiKTeX and proTeXt”

Who is online

Users browsing this forum: No registered users and 1 guest