Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am a new LaTeX user, and I followed some guides on the internet to set up MiKTeX + Texmakerx on Windows Vista. As I am doing a PhD in Psychology, I wanted to use the new APA6 class. So I opened the MiKTeX Package Manager in admin mode and installed apa6. Next I did a refresh FNDB. However, when I make a new LaTeX document with

\documentclass[man]{apa6} 

in the preamble, I get the following output:

File 'apa6.cls' not found.

Can someone point me in the right direction as to what I am doing wrong?

share|improve this question
    
Welcome to TeX.sx! Usually, we don't put a greeting or a "thank you" in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Upvoting is the preferred way here to say "thank you" to users who helped you. –  egreg Feb 10 '12 at 13:56
    
@Tim open a command window (windows sym + r, type cmd + enter) and type kpsewhich apa6.cls Whats the answer of kpathsea? –  Keks Dose Feb 10 '12 at 14:00
    
when I type kpsewhich apa6.cls it returns nothing. However, typing, for example, kpsewhich apa.cls returns c:/program files/Miktex 2.9/tex/latex/apa/apa.cls. –  Tim Feb 10 '12 at 14:06
    
@Tim Then the class was either not installed or MiKTeX did not update the FNDB it uses for you as user. –  Keks Dose Feb 10 '12 at 14:20
    
If a package in miktex is installed with the package manager it should work. There should be no need to click of some additional buttons. If is doesn't work this normally means that either the user is doing something wrong (e.g. a typo) or the package is defective (that happens). In this case it is the second: apa6 of miktex contains only a pdf and a readme, no apa6.cls. Someone should make a bug report in the miktex bug tracker. –  Ulrike Fischer Feb 10 '12 at 14:34
show 2 more comments

2 Answers 2

Just try to refresh the FNDB also as user.

Edit: After reading Ulrike's comment I tried to get it to work. A very simple workaround would be that you google for apa6.cls and save the file into you present LaTeX project folder where the main latex file is located without touching the MiKTeX configuration. That have the advantage that your project compile on every computer you are working on.

Note: If you use the man or doc documentclass option define the command \shorttitle (i.e. \shorttitle{Title of the publication}) in the preamble of your document. If the command is undefined the compilation stops with the error message:

"Undefined control sequence.
\@shorttitle"

If the MiKTeX bug is fixed you can delete the apa6.cls from your project folder.

share|improve this answer
add comment

I could get it to work by extracting the apa6.cls with typing

pdflatex apa6.dtx

in my command window. It then compiles and creates the apa6.cls. If you then move the files to ...\MiKTEX\tex\latex\apa6\

share|improve this answer
    
Welcome to TeX.sx! –  Kurt Feb 11 '13 at 22:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.