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