Index of /archives/text/CTAN/graphics/mcf2graph
Name Last modified Size Description
Parent Directory -
template_soc.mp 2024-02-25 18:24 1.2K
template_lib.mcf 2024-02-25 18:24 3.2K
mcf_to_graph.cmd 2023-05-08 00:58 824
mcf_manual.tex 2024-02-25 19:20 97K
mcf_manual.pdf 2024-02-25 19:21 312K
mcf_example.tex 2024-02-25 18:24 4.7K
mcf_example.pdf 2024-02-25 19:03 697K
mcf_exa_soc.mp 2024-02-25 18:23 1.5K
mcf2graph.mp 2024-02-25 03:02 92K
main_lib.mcf 2024-02-25 18:23 107K
README 2024-02-25 03:11 3.3K
CHANGELOG 2024-02-25 19:06 21K
********************************************************************************
mcf2graph : Convert Molecular Coding Format to graphics with MetaPost
Author : Akira Yamaji
version : 5.12 2024-02-25
E-mail : mcf2graph@gmail.com
Located at : http://www.ctan.org/pkg/mcf2graph
********************************************************************************
1. Introduction
Molecular Coding Format(MCF) is new linear notation represent
chemical structure diagrams.
This Coding is named from programing technique
such as operator, array, scope, macro, adressing, etc.
mcf2graph convert from MCF to SVG, PNG, EPS, MOL file.
It is also able to calculate molecular weight, exact mass, molecular formula.
2. The distribution of software
( 1) README This file
( 2) CHANGELOG Changelog file of mcf2graph
( 3) mcf_to_graph.cmd Batch file for compile MCF lib
>mcf_to_graph template_lib.mcf
drag and drop library files on this batch
create svg in ./template_lib
( 4) mcf2graph.mp Main macro of Metapost
( 5) mcf_exa_soc.mp Metapost source file example
( 6) main_lib.mcf MCF library file
( 7) template_lib.mcf Template library file
( 8) template_soc.mp Template metapost source file
( 9) mcf_manual.tex MCF syntax manual
(10) mcf_manual.pdf PDF of (9) typeset with LuaLaTeX
(11) mcf_example.tex List of Molecule
(12) mcf_example.pdf PDF of (11) typeset with LuaLaTeX
3. How to use mcf2graph with MetaPost
Minimum requirement to use mcf2graph : mpost.exe,mpost.dll,mpost.mp,plain.mp
(1) >mcf_to_graph filename.mcf => output svg(default),png,mol,report
(2) >mpost filename.mp => output svg file
(3) >mpost -s ahangle=1 filename.mp => output png file (600dpi)
(4) >mpost -s ahangle=11 filename.mp => output png file (1200dpi)
(5) >mpost -s ahangle=2 filename.mp => output eps(.mps) file
(6) >mpost -s ahangle=3 filename.mp => output eps(.eps) file
(7) >mpost -s ahlength=5 filename.mp => output mol file(V2000)
(8) >mpost -s ahlength=6 filename.mp => output mol file(V3000)
(9) >mpost -s ahlength=7 filename.mp => output report file
4. License
mcf2graph ver 5.12 Copyright (c) 2013-2024 Akira Yamaji
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.