Document Classes ⇒ achemso - Environment tocentry undefined ???
achemso - Environment tocentry undefined ???
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.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: achemso - Environment tocentry undefined ???
Re: achemso - Environment tocentry undefined ???
Here is the log.
- Attachments
-
- achemso-demo.log
- (22.57 KiB) Downloaded 306 times
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: achemso - Environment tocentry undefined ???
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!
Re: achemso - Environment tocentry undefined ???
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 ???
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
Re: achemso - Environment tocentry undefined ???
Great advice - it works perfectly now.
Thanks again!
Amanda