summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/metapost/mcf2graph/README
blob: bbd31a8f59038f20dc32bd86909eb4dfa9375774 (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
60
61
62
63
********************************************************************************
 mcf2graph  : Convert Molecular Coding Format to graphics with MetaPost
 Author     : Akira Yamaji
 version    : 4.92 2023-01-29
 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) mcf2graph.mp        Main macro of Metapost
 (4) mcf_library.mcf     Molecular data library
 (5) mcf_exa_soc.mp      Molecular difinition file example
 (6) mcf_manual.tex      MCF syntax manual
 (7) mcf_manual.pdf      PDF of (6) typeset with LuaLaTeX,makeindex
 (8) mcf_example.tex     MCF example
 (9) mcf_example.pdf     PDF of (8) typeset with LuaLaTeX

3. How to use mcf2graph with MetaPost
 Minimum requirement to use mcf2graph : mpost.exe,mpost.dll,mpost.mp,plain.mp
 (1)  >mpost               filename => output svg file
 (2)  >mpost -s ahangle=1  filename => output png file (600dpi)
 (3)  >mpost -s ahangle=11 filename => output png file (1200dpi)
 (4)  >mpost -s ahangle=2  filename => output eps(.mps) file
 (5)  >mpost -s ahangle=3  filename => output eps(.eps) file
 (6)  >mpost -s ahlength=1 filename => output information-aux file(for tex)
 (7)  >mpost -s ahlength=2 filename => output information-aux file
                                              (for spread sheet)
 (8)  >mpost -s ahlength=3 filename => output library-aux file
 (9)  >mpost -s ahlength=5 filename => output mol file(V2000)
 (10) >mpost -s ahlength=6 filename => output mol file(V3000)
 (11) >mpost -s ahlength=7 filename => output report file

4. License
 mcf2graph ver 4.92   Copyright (c) 2013-2023   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.