How to generate .png images of chemical structures using LaTeX, dvipng & chemfig ?
What packages need to be included ?
Is there any reference article for same ?
How to generate .png images of chemical structures using LaTeX, dvipng & chemfig ?
What packages need to be included ?
Is there any reference article for same ?
Include \RequirePackage[log]{snapshot} before \documentclass{article} to see dependencies of chemfig in .log file. See snapshot documentation for more options.
Have a look at code example by cgnieder's answer using chemfig that uses chemfig and standalonepackage.
Use options [convert,border=2] to standalone class and run pdflatex --shell-escape chem-file-example.tex to get .png.Refer Martin Scharrer's answer to Better resolution of uploaded pictures Q at meta.tex.sx for full steps.
\RequirePackage[log]{snapshot}before\documentclass{article}to see dependencies ofchemfigin.logfile. Seesnapshotdocumentation. Have a look at for eg: cgnieder's answer using chemfig. Use options[convert,border=2]to standalone class and runpdflatex --shell-escape chem-file-example.texto get.png. See Martin Scharrer's answer to Better resolution of uploaded pictures Q at meta.tex.sx – texenthusiast May 14 '13 at 06:37