tag:blogger.com,1999:blog-7844526396210378482.post5105270927446456182..comments2024-01-31T09:23:26.925+00:00Comments on Noel O'Blog: Cheer up your LaTeX with SMILES supportNoel O'Boylehttp://www.blogger.com/profile/03288289351940689018noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-7844526396210378482.post-34909001545960943902015-04-29T13:33:41.298+01:002015-04-29T13:33:41.298+01:00See Part II (http://baoilleach.blogspot.co.uk/2012...See Part II (http://baoilleach.blogspot.co.uk/2012/04/cheer-up-your-latex-with-smiles-support.html)Noel O'Boylehttps://www.blogger.com/profile/03288289351940689018noreply@blogger.comtag:blogger.com,1999:blog-7844526396210378482.post-26378069128581844972015-04-28T22:37:37.335+01:002015-04-28T22:37:37.335+01:00Is there a way not to use PNG? I do not like rast...Is there a way not to use PNG? I do not like raster graphics when the outcome is PDF which should be kept vector. Is there really not a package where I can use SMILES or InChI to place figures? How do other folks do it?Jonhttps://www.blogger.com/profile/06956650480399527813noreply@blogger.comtag:blogger.com,1999:blog-7844526396210378482.post-31673371819211227822012-04-02T21:08:11.573+01:002012-04-02T21:08:11.573+01:00Great comment, Billy. See my follow-up post.Great comment, Billy. See my <a href="http://baoilleach.blogspot.com/2012/04/cheer-up-your-latex-with-smiles-support.html" rel="nofollow">follow-up post</a>.Noel O'Boylehttps://www.blogger.com/profile/03288289351940689018noreply@blogger.comtag:blogger.com,1999:blog-7844526396210378482.post-40624997209439695912012-04-01T10:53:46.676+01:002012-04-01T10:53:46.676+01:00You can also embed the material as a vector graphi...You can also embed the material as a vector graphic, of course. Inkscape doesn't seem to support pipes, and rsvg-convert gives ugly output, but I'm sure there's other options.<br /><br />\immediate\write18{obabel -:'#1' -osvg -p | rsvg-convert -f pdf -o smilesimg\arabic{smilescounter}.pdf}<br /><br />\immediate\write18{obabel -:'#1' -O smilesimg\arabic{smilescounter}.svg -p ; inkscape -f smilesimg\arabic{smilescounter}.svg -A smilesimg\arabic{smilescounter}.pdf}<br /><br />Also, if you don't want to call these applications when the graphic files aren't out of date, then use the code snippet found at the top of the 3rd page from this article:<br />http://mirrors.ctan.org/info/svg-inkscape/InkscapePDFLaTeX.pdf<br /><br />(I couldn't use a "pre" tag to make the code pretty. Sorry. :\bjmccullochhttps://www.blogger.com/profile/15083922961478625497noreply@blogger.com