Settings Help
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

Direc­tory tex-archive/graphics/mol2chemfig

mol2chemfig
-----------------------------------------------------------------
Purpose: Generation of chemfig code from molecular structures
specified in molfile or smiles format

Licence: LPPL (free)

Author: Michael Palmer (mpalmer@uwaterloo.ca)

Licence: Latex Project Licence (free)

Version: 1.2
-----------------------------------------------------------------
This package contains mol2chemfig.lua, the Lua web client version
of mol2chemfig. It is used from the command line but calls the
mol2chemfig server for every request. It expects to be run by
Lua interpreter that is embedded within the luatex executable.

Requirements:

* LuaTeX (available through TeXLive) or another Lua
  interpreter is required to run the program

* The chemfig LaTeX package is required to compile the
  chemfig code generated by mol2chemfig
-------------------------------------------------------------
Installation:

1. The preferred installation method is through TeXLive. When
the script and its prerequisites are installed in this way,
no additional installation or configuration should be
necesseary; it should be possible to run "mol2chemfig.lua"
from a shell window.

2. If you want to install it manually, you need to ensure that
both mol2chemfig.lua and your Lua interpreter are in your
shell's path. Moreover, your Lua interpreter must be able to
find the auxiliary Lua files (mol2chemfig_client.lua,
mol2chemfig_dkjson.lua, and mol2chemfig_jsonrpc.lua) also
included in this package.

LuaTeX's embedded interpreter will use the kpathsea library
to locate required Lua modules. The directories that it
will search through are configured in the LUAINPUTS variable
inside your system's texmf.cnf configuration file.

If you want the script to be run not by luatex but by your
system's default Lua interpreter, you must change the first
line in mol2chemfig.lua from

#!/usr/bin/env texlua

to

#!/usr/bin/env lua

and also delete or comment out the line

kpse.set_program_name('luatex')

Moreover, you must ensure that the three other .lua files
in this package can be located by lua interpreter.
-------------------------------------------------------------
Stand-alone version of mol2chemfig

A full locally installable version (as well as the source
code) of the mol2chemfig program is available at

http://chimpsky.uwaterloo.ca/mol2chemfig

The full program requires Python and the indigo
cheminformatics library for Python. See the docs
for additional details.

Direc­to­ries

Name Notes
doc
lua
sampledoc
tex

Files

Name Size Date Notes
README 2460 2013-01-11 06:02:26

DOWNLOAD Down­load the com­plete con­tents of this di­rec­tory in one zip archive (601.0k).

mol2chem­fig – Con­vert chem­i­cal struc­tures from MDL molfile for­mat to chem­fig source code

The pack­age con­tains mol2chem­fig.lua, the Lua web client ver­sion of mol2chem­fig. It is used from the com­mand line but calls the mol2chem­fig server for ev­ery re­quest, to con­vert chem­i­cal struc­tures from MDL molfile for­mat or SMILES for­mat to TeX for­mat for pro­cess­ing us­ing chem­fig.
A full lo­cally in­stal­lable ver­sion (as well as the source code) of the mol2chem­fig pro­gram is avail­able from the pack­age home page. The full pro­gram re­quires Python and the in­digo chem­in­for­mat­ics li­brary for Python. See the docs for ad­di­tional de­tails.

Doc­u­men­ta­tion Readme
Pack­age doc­u­men­ta­tion
Home pagehttp://chimp­sky.uwa­ter­loo.ca/mol2chem­fig/
Ver­sion1.2
Li­censeThe LaTeX Project Public Li­cense
Main­tainerMichael Palmer
Topics im­port files in a non-TeX (or dif­fer­ent TeX) for­mat
chem­istry doc­u­ment sup­port
Guest Book Sitemap Contact 2013-04-07 10:37