[texworks] Problem installing packages

Economides, Nicholas ne45 at leicester.ac.uk
Mon May 30 17:18:34 CEST 2011


Hi, 

the thing is that everyone say that we have to refresh  the database for the files, but since most of us do not have a degree in programming, you guys should be a bit more specific.

Anyway, I found a way to do this and I hope  Ng Kah Loon will find it helpful as well:

find the file called mo_admin.exe which should be located at the path miktex 2.9/miktex/bin/
Once you run it, you should get the miktex options. 
At the general page, click the "refresh FNDB" button, and then the "update formats" button

This should help Miktex/Latex understand that you have just added something new.

Before you do that, you should make sure that you pasted the package folder that you have downloaded in to the path tex/latex

I believe after you have done that it should work.

Nick
________________________________________
From: texworks-bounces at tug.org [texworks-bounces at tug.org] On Behalf Of Andreas Hirsch [cursus.publicus at sacrumromanumimperium.org]
Sent: Monday, May 30, 2011 2:41 PM
To: Discuss the TeXworks front end.
Subject: Re: [texworks] Problem installing packages

Hi!

quoting Ng Kah Loon, [30.05.2011 09:27 +0100]:
> Hi,
>
> I am new to using TexWorks but I have been looking at online resources on how I
> can add my own packages and .sty files which is required for typesetting my
> documents.
>
>  From I gather, it seems that we should add in folders (containing packages and
> .sty files) in the directory
>
> /usr/local/texlive/texmf-local/tex/latex
>
> Am I right? For example, I need to use a package called tkz-graph, so I created
> a folder called tkz-graph in the directory above and placed the .sty file inside.
>
> However, when I typeset my .tex file, I get an error message that says the
> tkz-graph.sty file cannot be found. Did I do the right thing?
>
> I would really appreciate any assistance provided.

You have to refresh the databse for the files, using

mktexlsr

\HTH

--
Andreas Hirsch
Klarweinstr. 5a
82467 Garmisch-Partenkirchen
++49 8821 947477
GPG PublicKey http://members.gaponline.de/afj/keys/afj_pub.asc
Fingerprint 81D6 6C24 3AA8 E250 E034 CAF5 A1E8 D5E8 806C 3CB8



More information about the texworks mailing list