MiKTeX and proTeXtnew sty file

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
juliette
Posts: 75
Joined: Thu Nov 20, 2008 10:15 pm

new sty file

Post by juliette »

I hate having to ask such a basic question, but I've (embarassingly) spent 3 hours trying to fix this and looked at dozens of sites that didn't help.

I have a new .sty file:

cyrillicNew.sty, which I put in the folder: .../MiKTeX 2.8/tex/latex/cyrillicNew/

I go to MiKTeX Settings and get the "MiKTeX Options" window.

I clicked "refresh FNDB"

And I hoped to now be able to see "cyrillicNew" in MiKTeX package manager.

But it doesn't show up.

How do I get it to show up in the package manager so that I can finally install it and use it in my teX documents ?

Alternatively, I've seen some people use the command:

\usepackage{/home/cromwell/.latex/cyrillic}

Which was done over here .. http://www.cromwell-intl.com/russian/latex.html

but I haven't been able to figure out what path name to put in the argument for usepackage.

If anyone can help I'd really appreciate it.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

new sty file

Post by localghost »

juliette wrote:[…] And I hoped to now be able to see "cyrillicNew" in MiKTeX package manager.

But it doesn't show up.

How do I get it to show up in the package manager so that I can finally install it and use it in my teX documents ? […]
You will never see this package in the MPM because it is not part of the MiKTeX distribution thus has no database entry. Check on the command prompt whether the package is found.

Code: Select all

kpsewhich cyrillicNew.sty

Best regards
Thorsten
juliette
Posts: 75
Joined: Thu Nov 20, 2008 10:15 pm

Re: new sty file

Post by juliette »

Thank you,
Where do I do that from?
I tried that exact command from C:\Program Files <x86>\MiKTeX 2.8>

but after applying that command, nothing happened.

So if I can't find it on the package manager, then how do I install it ?
When I use the command \usepackage{cyrillicNew} in TeXnicCenter, it says cyrillicNew.sty not found!
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

new sty file

Post by localghost »

Oh, I assumed that you know how to handle your operating system. Just open a command prompt from somewhere in the »Start« menu. I can't tell you more because my last Windows version was XP and I rarely use it. General handling of the MiKTeX system is described on its documentation page [1]. Once you managed that, simply type in the line from my last reply and confirm with enter. You should get the complete path if everything went right with the process you described in your initial post. If not you should run the MiKTeX Options again with administrator rights and refresh the FNDB again. You will find the according entries also in the »Start« menu.

[1] MiKTeX 2.8 Manual
juliette
Posts: 75
Joined: Thu Nov 20, 2008 10:15 pm

Re: new sty file

Post by juliette »

Thank you,
All I had to do was refresh the FNDB from the MiKTeX options while running as administrator.
My problem before was that I was just trying to refresh the FNDB without running as administrator.
Now everything works.

Thank you very much.
Post Reply