I'm trying to install the package chemmacros but I cannot. Please, could you check my steps and correct me?
I inserted the line \usepackage{chemmacros} in my class file.
After downloading the bundle I have been looking for the directory where the style files are, but I wasn't able to find it. I have looked for it in "Program Files/MiKTeX 2.9" and in "Program Data/MiKTeX" but not success, I haven't found any "texmf/tex/latex/". So I cannot place "/languages" and "/pictures" in there.
I need to write IUPAC names and I would like to try to write some chemical schemes, if it's possible with my knowledge. Should I define the options of the package or just by inserting \usepackage{chemmacros} in the class and placing the "/pictures" and "/languages" into the directory where the style files are can I just use the commands directly?
Simply install the package by the MiKTeX Package Manager. There is nothing else to do. The usage of the package is described in the package manual. After installation you have direct access via command line.
The installation of packages in general has been discussed here so many times that a decent Forum Search should yield useful results, too. See also "Similar Topics" on the bottom of this page (only when logged in).
I never had to instal any package like that, that's why I was wondering whether this chemical one was somehow special, and as I am quite new I never heard about MiKTeX Package Manager. Thank you very much for your information.
I have already installed the package by MiKTeX, I have refreshed the files name database (Refresh FNDB) via MiKTeX Options (Programs -> MiKTeX -> Maintenance -> Settings)? I have pressed the Update Formats button after having installed the new package, and I flipped 'Install packages on-the-fly' to 'yes'.
I have also installed all these packages from Miktex 2.9: l3kernel and l3packages bundles, siunitx, mathtools, bm, nicefrac and environ. From the group of tikz I have:
tikz-timing
tikz-3dplot
tikz-qtree
tikz-inet
circuitikz
tikzorbital
Do I need another different or some more?
After installing the chemmacros via MiKTeX, having all the packages cited above I was suppose to have direct access via command line. But when I am trying for example \ch{H2O} an "! Undefined control sequence." error comes out.
Could you help me please? In case you need more information, just ask me. Thank you very much in advance.
Coral wrote:when I am trying for example \ch{H2O} an "! Undefined control sequence." error comes out.
It should also say which control sequence is undefined. Could you post a) a complete minimal working example that produces the error and b) post the complete error message?