GeneralChange Name of .cls File

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
thelma
Posts: 5
Joined: Wed Jan 27, 2010 4:34 pm

Change Name of .cls File

Post by thelma »

I've just installed the basic version of TeX Live on my Mac[OS X 10.5].

I've also, with help from this Board, got it to work with revtex.
I can now successfully latex a file that runs on another system:
latex complains that 'revtex4.cls' is missing--I tell it to use
'revtex4-1.cls', which is the version provided with my TeX Live, and
it then runs fine. But I'd like to be able to tell it once and for all
that we're using 'revtex4-1.cls', not 'revtex4.cls', and I haven't
figured out how to do this. The .tex file I am working with has no
direct reference to revtex4.cls. What do I need to update?

thank you, thelma

Recommended reading 2024:

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

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

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

Change Name of .cls File

Post by localghost »

Just install the revtex4-1 class on the machine where it is missing.


Best regards
Thorsten
thelma
Posts: 5
Joined: Wed Jan 27, 2010 4:34 pm

Re: Change Name of .cls File

Post by thelma »

I have no control over the software on the other machine.
I was given several .tex files to add content to, which I'll do on my Mac, with its revtex4-1.cls.
Is there a way that I can tell latex that revtex4-1.cls is now the default for this class?

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

Re: Change Name of .cls File

Post by localghost »

You can put the class file into the working directory of the project so that it can be found by the compiler.
Post Reply