| 1 | chemobabel |
| 2 | ========== |
| 3 | |
| 4 | LaTeX package for generating chemical structural formula from |
| 5 | ChemDraw files or SMILES notations using Open Babel. |
| 6 | |
| 7 | This package offers a new choice for chemists who need |
| 8 | chemical structures in LaTeX documents. |
| 9 | With this package you can insert chemical structural formulas |
| 10 | into your documents easily with the help of Open Babel. |
| 11 | |
| 12 | Various chemical formats are allowed for input, |
| 13 | for example, `.cdx`, `.mol` and `.smi`. |
| 14 | |
| 15 | ## Package Contents |
| 16 | |
| 17 | - chemobabel.sty: Package itself; provides `\chemobabel` and `\smilesobabel` |
| 18 | - chemobabel-{en,ja}.pdf: Basic usage (source: chemobabel.dtx) |
| 19 | - example-en.{tex,pdf}: Examples in English |
| 20 | - example-ja.{tex,pdf}: Examples in Japanese |
| 21 | |
| 22 | Sample ChemDraw files and MDL Molfiles are also included. |
| 23 | |
| 24 | ## Requirements |
| 25 | |
| 26 | To use this LaTeX package, it is necessary to enable execution |
| 27 | of the following external commands via `latex -shell-escape`. |
| 28 | |
| 29 | - `obabel` (Open Babel) |
| 30 | - `inkscape` or `rsvg-convert` (for SVG -> PDF/EPS conversion) |
| 31 | - `pdfcrop` or `ps2eps` (optional; for cropping large margins of PDF/EPS) |
| 32 | |
| 33 | ## License |
| 34 | |
| 35 | This package is distributed under the BSD 2-Clause License. |
| 36 | See [LICENSE](./LICENSE). |
| 37 | |
| 38 | ## Repository |
| 39 | |
| 40 | The bundle is maintained on GitHub: |
| 41 | https://github.com/aminophen/chemobabel |
| 42 | |
| 43 | ## References |
| 44 | |
| 45 | See http://acetaminophen.hatenablog.com/entry/2014/12/08/053519 |
| 46 | for detail. (Sorry in Japanese) |
| 47 | |
| 48 | This work is based on a lot of resources published online: |
| 49 | - Noel O'Boyle http://baoilleach.blogspot.jp/ |
| 50 | - Jakob Lykke Andersen http://imada.sdu.dk/~jlandersen/ |
| 51 | - TeX Forum http://oku.edu.mie-u.ac.jp/tex/ |
| 52 | |
| 53 | ## Release Date |
| 54 | |
| 55 | 2022-10-22 |
| 56 | |
| 57 | -------------------- |
| 58 | Hironobu YAMASHITA (aka. "Acetaminophen" or "@aminophen") |
| 59 | http://acetaminophen.hatenablog.com/ |