Document Classes ⇒ achemso - Environment tocentry undefined ???
achemso - Environment tocentry undefined ???
Hi All,
I recently installed achemso to work with MikTeX, and am having trouble getting the demo to compile. I followed the installation instructions, and it all seemed to work fine. I have checked the version, and the sty and cls version match - but still no success.
Basically the \phone, \fax, \keywords and the tocentry environment are all coming up as undefined. The first three are optional fields, but the tocentry is a problem. Are there any suggestions out there of ways I can fix this?
Regards,
Amanda
I recently installed achemso to work with MikTeX, and am having trouble getting the demo to compile. I followed the installation instructions, and it all seemed to work fine. I have checked the version, and the sty and cls version match - but still no success.
Basically the \phone, \fax, \keywords and the tocentry environment are all coming up as undefined. The first three are optional fields, but the tocentry is a problem. Are there any suggestions out there of ways I can fix this?
Regards,
Amanda
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: achemso - Environment tocentry undefined ???
Can you post the log, and include \listfiles in the preamble. This sounds like an incorrect version is being picked up somewhere.
Joseph Wright
Re: achemso - Environment tocentry undefined ???
Hi Joseph,
Here is the log.
Here is the log.
- Attachments
-
- achemso-demo.log
- (22.57 KiB) Downloaded 307 times
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: achemso - Environment tocentry undefined ???
Your log shows two things:
1) You are using TeXLive, not MiKTeX!
2) The version of achemso is 3.1. The latest release is 3.2e, and I only added tocentry in 3.2, so it is not surprising things are not working!
1) You are using TeXLive, not MiKTeX!
2) The version of achemso is 3.1. The latest release is 3.2e, and I only added tocentry in 3.2, so it is not surprising things are not working!
Joseph Wright
Re: achemso - Environment tocentry undefined ???
Hi Joseph,
Oh, ok sorry for the confusion. I did not do the TeX installation on this machine.
I downloaded the achemso from CTAN as one package, and the .sty and .cls files both say it is version 3.2. I was only going off what the files say.
Where can I get the real version 3.2 from?
Best Wishes,
Amanda
Oh, ok sorry for the confusion. I did not do the TeX installation on this machine.
I downloaded the achemso from CTAN as one package, and the .sty and .cls files both say it is version 3.2. I was only going off what the files say.
Where can I get the real version 3.2 from?
Best Wishes,
Amanda
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
achemso - Environment tocentry undefined ???
It's not the version in those files that I'm worrying about, but the one in your log. It says:
As you are using TeX Live, you should be able to create a local TeX tree inside your profile folder. Depending on your Windows version, you want a folder:
or
where <username> is your user name on the PC. Inside that folder, you need to create the correct structure for TeX to find files. If you download the file achemso.tds.zip from CTAN and unzip it inside localtexmf, this will happen automatically. Finally, TeX needs to be able to find the files. This is done by using a command called texhash. At the Command Prompt (Start Menu -> Programs -> Accessories) type texhash <Enter> and let it work. This will find the new files, and the next time you latex your file all should be well.
loaded from:Document Class: achemso 2008/12/18 v3.1 Submissions to ACS journals
What you need to do is make sure TeX finds the updated file you have downloaded and not the older one installed as part of your TeX system.C:\TeXLive\tex\latex\achemso\achemso.cls
As you are using TeX Live, you should be able to create a local TeX tree inside your profile folder. Depending on your Windows version, you want a folder:
Code: Select all
C:\Documents and Settings\<username>\localtexmf
Code: Select all
C:\Users\<username>\localtexmf
Joseph Wright
Re: achemso - Environment tocentry undefined ???
Hi Joseph,
Great advice - it works perfectly now.
Thanks again!
Amanda
Great advice - it works perfectly now.
Thanks again!
Amanda