Chemfig on MacOS
Brought to you by:
baudinr
Chemfig package in TexMaths on MacOS does not work correctly. The chemfig package works correctly in Latexit on MacOS and in TexMaths on Debian Linux. Attached are the results of identical TexMaths equations from both MacOS and Debian. The preables are the default with the addition of \usepackage{chemfig} and the tex code is:
\chemfig{H-O-H}
The Debian version give the H2O water molecule, but the MacOS version all the atom lables are on top of each other.
Sorry, only one attachemnt was added. Here is the MacOS version.
I tested your chemfig equation in TexMaths 0.51.1 with LibreOffice 7.5.3.2 and it works well. I tested more complicated chemfig equations (found on the web) and they all worked.
So I close this bug.
It still does not work for me. I'm using:
TexMaths 0.51.1
Libreoffice 7.5.3.2
MacTex-2023
MacOS 13.4
I tested again. I used:
TexMaths 0.51.1
Libreoffice 7.5.3.2
MacTex-2023
MacOS 12.6
and it worked. Here is my preamble:
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[usenames]{color}
\usepackage{chemfig}
I used the LaTeX compiler.
The only difference I see is the MacOS X version, but I think that's not the problem.
You could try to use a fresh LibreOffice profile and reinstall TexMaths. Perhaps, you could reinstall MacTex 2023 too.
The LibreOffice profile is at:
/Users/your-username/Library/Application Support/LibreOffice
You can delete or move this folder and LibreOffice will create a fresh profile, where you can reinstall TexMaths.