Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am looking for chemical molecular drawing packages.

There is mhchem which basically sets up a structure for including externally generated molecular structures.

Also Chemfig, which is the closest to a user friendly solution and uses pgf.

The vast majority of chemists would use ISISDraw or other program which has the advantage of being able to name the structure based on IUPAC rules. There is also the brookhaven Protein database which has a file format for large proteins.

My question is: Are there any packages that can convert ISISDraw (or similar molecular drawing packages) file formats to pgf or any packages that are closer to ISISDraw than Chemfig

share|improve this question
4  
ISISDraw is not the standard: ChemDraw is! (You can tell ISISDraw diagrams as they look bad.) I'm afraid that such a conversion always looks complex as ChemDraw saves in binary format, but also because you'd not want to edit such output in anything but ChemDraw. This area is very graphical. –  Joseph Wright Nov 29 '11 at 12:57
1  
@joseph You're (w)right pardon the pun, ChemDraw is the standard now known as Accelrys Draw. There is an interesting link <chemapps.stolaf.edu/jmol/>; that shows how to incorporate 3d mol structures into a pdf file. It was when looking at this i realised that the solution would most likely be an external program and then \includegraphics... –  Leeser Nov 29 '11 at 13:04
    
Nope, Accelrys Draw is not ChemDraw. The latter was for many years written by CambridgeSoft: they are recently taken over by Perkin-Elmer. The same considerations apply whatever graphical editor you talk about: for a scheme of any complexity, a TikZ or other code-based approach rapidly becomes very hard to follow. –  Joseph Wright Nov 29 '11 at 14:53
    
Thanks for the clarification...sometimes I get lost in the myriad of software out there... –  Leeser Nov 29 '11 at 16:46
1  
Could you include a picture of the kind of output you'd like to get (for those of us whose chemistry is a little ... dated)? –  Andrew Stacey Dec 29 '11 at 18:37
show 6 more comments

1 Answer

up vote 7 down vote accepted

The short answer is 'no' at the present time. Products such as ISISDraw/Accelrys Draw or ChemDraw produce binary files, which cannot be read directly by TeX. So any conversion would either require a separate tool or reading a text file format, such as ChemDraw's XML format.

By far the most popular file format for journal submission is ChemDraw's .cdx format, which is publicly documented. Thus perhaps the most sensible approach to creating a tool for the conversion would be to read .cdx files.

share|improve this answer
    
I was looking into this again recently and I now use Accelrys Draw which as you said is free for academic use. I was thinking about saving the molecule as a .mol file and somehow manipulating the .mol file structure (somehow!) to set nodes and then draw bonds as paths between the nodes. (I can do it by hand but not automatically yet). The mol file structure does give the x,y,z-cordinates of the atoms, the charge, mass (difference) of the atoms and lists the bonds between the atoms and type of bond. Issues such as no explicit of list hydrogens and stereo depictions.. –  Leeser Apr 17 '12 at 11:15
    
@Leeser As I said, given the fact that .cdx files are the best chose for use for publication, etc., my personal take is that the best real solution here would be a tool to convert those. However, that also looks like serious work. –  Joseph Wright Apr 17 '12 at 11:16
    
I think I was still editing my comment when you posted again so my apologies if there were changes in between... –  Leeser Apr 17 '12 at 11:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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