1

I have been trying to install the chemformula package on my mac but it keeps giving me this error:enter image description here

I have put my chemformula zip file in a texmf file:‎⁨ iCloud Drive⁩ ▸ ⁨Secretária⁩ ▸ ⁨texmf⁩ ▸ ⁨tex⁩ ▸ ⁨latex⁩, but it still gives me this error. I have also tried using the terminal to put that package but doesn't work as well. Please help!

11
  • The chemformula package must be unzipped and in the same folder of the document. (The alternative is to have the .sty files already in the system wide TeX collection. ) If unzipping the chem package doesn't work then a quick search (Google) finds the .sty file on CTan which then can be copied and stored.
    – Leucippus
    Apr 2, 2020 at 16:21
  • @Leucippus Should i put the document in the same folder as the .sty file, for example also put it in the texmf file?
    – Luka
    Apr 2, 2020 at 16:24
  • Yes, the document goes into the same file where the .sty file is. If it was my system I'd create, in the Latex folder, a folder named Chem. In Chem folder I'd have the unzipped ChemFormula package (including the .sty file) and any documents being worked on.
    – Leucippus
    Apr 2, 2020 at 16:31
  • It still doesn't work...
    – Luka
    Apr 2, 2020 at 16:36
  • It keeps giving me the same error...
    – Luka
    Apr 2, 2020 at 16:36

1 Answer 1

1

You have the BasicTeX package (https://tug.org/mactex) installed as can be seen in your screenshot.

It should be fairly simple to install additional packages via the "TeX Live Utility.app". Look for "chemformula" in the Packages tab, then right-click and select install.

TeX Live Utility

1
  • This worked thanks!!
    – Luka
    Apr 2, 2020 at 18:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.