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've tried to upgrade to REVTeX 4.1 but am getting compile error even with the simplest document:

\documentclass{revtex4-1}
\filelist
\begin{document}
test
\end{document}

produces:

...snip...
! LaTeX Error: Command \url already defined.
               Or name \end... illegal, see p.192 of the manual.
...snip...

Did I install improperly, or is this a bug?

EDIT (Requested file list):

 *File List*
revtex4-1.cls    2010/07/25/20:33:00 4.1r (http://publish.aps.org/revtex4/ for documentation)
  aps4-1.rtx
aps10pt4-1.rtx
textcase.sty    2004/10/07 v0.07 Text only upper/lower case changing (DPC)
     url.sty    1999/03/02  ver 1.4  Verb mode for urls, email addresses, and file names
  natbib.sty    2007/02/05 8.0 (PWD)
revsymb4-1.sty    2010/07/25/20:33:00 4.1r (http://publish.aps.org/revtex4/ for documentation)
 ***********
share|improve this question
    
Did you delete any stray .aux files? Could you \listfiles for us: I have no issues. –  Joseph Wright Jul 24 '12 at 20:01
    
I don't get any error. Can you show the part of the log file that you get from *File List* to the end when adding \listfiles at the very beginning of the document? –  egreg Jul 24 '12 at 20:06
    
@JosephWright and egerg: Done. –  Yossi Farjoun Jul 24 '12 at 20:32
    
Do you have any .bbl file from a previous version of your document? If so, try deleting the .bbl file. –  Gonzalo Medina Jul 24 '12 at 20:39
    
I think that I had the class installed incorrectly or had some lingering .aux file. anyhow, I recompiled on a different machine and it worked fine...sorry for the trouble. –  Yossi Farjoun Aug 7 '12 at 5:02
add comment

1 Answer

(More of a comment, but too long)

This is 'works for me' with TeX Live 2012, and I get file list

 *File List*
revtex4-1.cls    2010/07/25/20:33:00 4.1r (http://publish.aps.org/revtex4/ for 
documentation)
  aps4-1.rtx
aps10pt4-1.rtx
textcase.sty    2004/10/07 v0.07 Text only upper/lower case changing (DPC)
     url.sty    2006/04/12  ver 3.3  Verb mode for urls, etc.
  natbib.sty    2010/09/13 8.31b (PWD, AO)
revsymb4-1.sty    2010/07/25/20:33:00 4.1r (http://publish.aps.org/revtex4/ for
 documentation)

My immediate suspicion would be the version of natbib you are using.

share|improve this answer
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.