GeneralSaving packages

LaTeX specific issues not fitting into one of the other forums of this category.
La82
Posts: 18
Joined: Sun Feb 01, 2009 11:48 pm

Saving packages

Post by La82 »

Hi,

I'm trying to download and save the listofsymbols.sty but MiKTeX doesn't seem to register it.

I have tried saving it into a selfmade folder called listofsymbols and as a zipfile (unzipped the same place), in the directory MiKTeX2.7/tex/latex.

Then I use the settings program and refresh but nothing seems to happen. When I open the folder again it doesn't show the listofsymbols.sty file until I press "compatability files". But all the original .sty files are shown.

I hope this makes sence and that somebody out there has a solution.

Lonnie

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

-Robin-
Posts: 31
Joined: Tue May 20, 2008 3:07 pm

Re: Saving packages

Post by -Robin- »

Why don't you install the package by using the MikTeX package manager ?
La82
Posts: 18
Joined: Sun Feb 01, 2009 11:48 pm

Re: Saving packages

Post by La82 »

Because It doesn't look for it. I figured I needed to save it to my directory and then include it in MiKTeX.
-Robin-
Posts: 31
Joined: Tue May 20, 2008 3:07 pm

Re: Saving packages

Post by -Robin- »

The package manager saves all the packages at a location where LaTeX will look for packages. So I don't really see the problem ...
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Saving packages

Post by localghost »

-Robin- wrote:The package manager saves all the packages at a location where LaTeX will look for packages. So I don't really see the problem ...
The listofsymbols package is not part of the MiKTeX distribution hence doesn't appear in the package manager. It has to be installed manually.
La82 wrote:Because It doesn't look for it. I figured I needed to save it to my directory and then include it in MiKTeX.
The bundle consists of a manual (DVI) and the package (STY) itself. Create the following folders (assuming that MiKTeX is installed in the standard program folder).

Code: Select all

C:\Program Files\MikTeX 2.7\doc\latex\listofsymbols
C:\Program Files\MikTeX 2.7\tex\latex\listofsymbols
The first one is for the manual (DVI) and the second one for the package (STY). Copy the files to the according folder. Open a command prompt and refresh the file name database.

Code: Select all

texhash
The refreshment can also be done via MiKTeX settings (Start menu).


Best regards
Thorsten¹
La82
Posts: 18
Joined: Sun Feb 01, 2009 11:48 pm

Re: Saving packages

Post by La82 »

Hi Thorsten,

Thanx for the advice I tried making the folders and saving the .dvi and the .sty and then refreshing both using commandopromt and MiKTeX settings but I still get the same error: File 'listofsymbols.sty' not found

Do you have any more ideas I can try? :)
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Saving packages

Post by localghost »

After this process the package should be found in the TDS tree. You can check that on the command prompt.

Code: Select all

kpsewhich listofsymbols.sty
This should give the complete path including file name as output.
La82
Posts: 18
Joined: Sun Feb 01, 2009 11:48 pm

Re: Saving packages

Post by La82 »

Hi again,

When I write the above command in the commandprompt nothing happens!!!

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

Saving packages

Post by localghost »

Try to find another package (or class) in this way that is safely found on your system.

Code: Select all

kpsewhich article.cls
Report the according output in your next post.
La82
Posts: 18
Joined: Sun Feb 01, 2009 11:48 pm

Re: Saving packages

Post by La82 »

The above command gives me the entire string:
C:/Program Files/MiKTeX 2.7/tex/latex/base/article.cls

Lonnie
Post Reply