[texworks] problem getting APA.cls running on locked-down PC

Stefan Löffler st.loeffler at gmail.com
Mon Nov 9 15:28:43 CET 2009


Hi,

Anton duToit schrieb:
> I am trying to get the APA class to work. I have extracted and put the files in \MiKTeX\tex\latex\apa, but the TeXworks editor still can't find apa.cls: 

This is not really a Tw related question, but in any case:
If you manually copy files into MikTeX (or any other TeX distribution),
you need to take care of a few things:
1) You should put the files in the right place in a texmf tree. I don't
know how your texmf tree(s) are configured, but if all the "standard"
files are in the place you mentioned, as well, than it's probably safe
to assume it's the correct spot ;).
2) You must tell your TeX distribution that you installed new files.
Each distribution keeps track of all the files it has in a database. In
MikTeX, this can be updated by launching the "Settings" program from the
miktex start menu folder (IIRC) and click the "Update database" button.

Alternatively, it may work if you put the file in the same directory as
your tex source file (though this usually is not recommended).

> If I move the file somewhere else I get the error message "Not a local package repository", no matter where I put the files.
>   

When, and how, and where?
That is to say: when do you get this message (during copying, during
compilation, at some other time, ...), how do you move the files (by
hand, by a MiKTeX tool, ...), and where to you get them from (latex,
MiKTeX, Tw, ...).

HTH
Stefan


More information about the texworks mailing list