diff options
author | Karl Berry <karl@freefriends.org> | 2015-09-18 22:12:30 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-09-18 22:12:30 +0000 |
commit | b168e0be320a5860a6623ede7a4bef3347304543 (patch) | |
tree | 598e7bdd7123ac2505ad89a3417504abfc3b9b4d /Master/texmf-dist/doc/metapost | |
parent | c0ae3fe934cc749e817139aac978743bc439e52f (diff) |
mcf2graph (18sep15)
git-svn-id: svn://tug.org/texlive/trunk@38400 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/metapost')
-rw-r--r-- | Master/texmf-dist/doc/metapost/mcf2graph/README | 3 | ||||
-rw-r--r-- | Master/texmf-dist/doc/metapost/mcf2graph/mcf_exa_soc.mf | 44 | ||||
-rw-r--r-- | Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.pdf | bin | 259937 -> 259852 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.tex | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/metapost/mcf2graph/mcf_man_soc.mf | 16 | ||||
-rw-r--r-- | Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.pdf | bin | 318944 -> 320618 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex | 21 | ||||
-rw-r--r-- | Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.pdf | bin | 120786 -> 120725 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.tex | 4 |
9 files changed, 45 insertions, 47 deletions
diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/README b/Master/texmf-dist/doc/metapost/mcf2graph/README index 04bd1bfe190..d568907530c 100644 --- a/Master/texmf-dist/doc/metapost/mcf2graph/README +++ b/Master/texmf-dist/doc/metapost/mcf2graph/README @@ -1,7 +1,7 @@ ******************************************************************************** mcf2graph : Convert Molecular Coding Format to graphics with Metafont/Metapost Author : Akira Yamaji - version : 3.70 2015-09-16 + version : 3.71 2015-09-18 E-mail : akira.yamaji5@gmail.com Located at : http://mirror.ctan.org/pkg/graphics/mcf2graph Home page : http://molecoding.cocolog-nifty.com/blog/ @@ -119,3 +119,4 @@ ver. 3.63 / 2015-09-14 add command option of numbering address, update MCF syntax manual ver. 3.70 / 2015-09-16 add new command | ,change syntax of !,!!,?,?? + ver. 3.71 / 2015-09-18 delete command !!,?? diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_exa_soc.mf b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_exa_soc.mf index 835f45493fa..db19da23bfd 100644 --- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_exa_soc.mf +++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_exa_soc.mf @@ -32,7 +32,7 @@ endfont %*********************************************************************** beginfont("EN:Ethofenprox") MCf(^^30, - Ph,5\,!,Ph,3\,O,!3,/Me^35,/Me^-35,!,Ph,4:/OEt + Ph,5\,!,|,Ph,3\,O,!3,/Me^35,/Me^-35,!,|,Ph,4:/OEt ) endfont %*********************************************************************** @@ -44,7 +44,7 @@ endfont %*********************************************************************** beginfont("EN:Tebufenozide") MCf(^^30, - Ph,6:/Et,3\,//O,!,NH,!,N,/tBu,!,//O,!,Ph,@(3,5)/Me + Ph,6:/Et,3\,//O,!,NH,!,N,/tBu,!,//O,!,|,Ph,@(3,5)/Me ) endfont %*********************************************************************** @@ -56,14 +56,14 @@ endfont %*********************************************************************** beginfont("EN:Fenitrothion") MCf(^^30, - !,O,!,P,//S,/OMe^160,!,O,!,Ph,3:/Me,4:/NO2 + !,O,!,P,//S,/OMe^160,!,O,!,|,Ph,3:/Me,4:/NO2 ) endfont %*********************************************************************** beginfont("EN:Permethrin") MCf(^^-30, ?3,2^-35:*/Me,2^35:/*Me,1\,!~dl,/Cl,!,Cl, - 3\,//O,!,O,!2,Ph,3\,O,-60,Ph + 3\,//O,!,O,!2,|,Ph,3\,O,-60,Ph ) endfont %*********************************************************************** @@ -75,7 +75,7 @@ endfont %*********************************************************************** beginfont("EN:Azoxystorbin") MCf(^^30, - Ph,2:/OH,3\,O,!,Ph,@(4,6)N,3\,O,!,Ph,2\,/OMe,!,//O,!,O,! + Ph,2:/OH,3\,O,!,|,Ph,@(4,6)N,3\,O,!,|,Ph,2\,/OMe,!,//O,!,O,! ) endfont %*********************************************************************** @@ -87,7 +87,7 @@ endfont %*********************************************************************** beginfont("EN:Iprodion") MCf(^^18, - ?5,@(3,5)N,2://O,5\,!,NHiPr,3\,Ph,@(3,5)/Cl + ?5,@(3,5)N,2://O,5\,!,NHiPr,3\,|,Ph,@(3,5)/Cl ) endfont %*********************************************************************** @@ -99,7 +99,7 @@ endfont %*********************************************************************** beginfont("EN:Oxine-Copper") MCf( - Ph,4:N,5=Ph,-4\,O,-60,^^90,Cu,-90,O,60,Ph,5=Ph,4:N, + Ph,4:N,5=Ph,-4\,O,-60,^^90,Cu,-90,O,60,|,Ph,5=Ph,4:N, #4*,&(#12)~vf,#23*,&(#12)~vf ) endfont @@ -118,7 +118,7 @@ endfont %*********************************************************************** beginfont("EN:Tetraconazole") MCf(^^-6, - ?5,$(2,5)d,@(1,2,4)N,4\,!3,O,!,/F^35,/F^-35,!,CF2,#7\,Ph,@(4,6)/Cl + ?5,$(2,5)d,@(1,2,4)N,4\,!3,O,!,/F^35,/F^-35,!,CF2,#7\,|,Ph,@(4,6)/Cl ) endfont %*********************************************************************** @@ -131,13 +131,13 @@ endfont; %*********************************************************************** beginfont("EN:Flutolanil") MCf(^^30, - Ph,2:/CF3,3\,//O,!,NH,!,Ph,6:/OiPr + Ph,2:/CF3,3\,//O,!,NH,!,|,Ph,6:/OiPr ) endfont %*********************************************************************** beginfont("EN:Propiconazole") MCf(^^-6, - ?5,$(2,5)d,@(1,3,4)N,4\,!2,Ph,@(4,6)/Cl,#7\,|,?5,@(2,5)O,3:/Bu^24 + ?5,$(2,5)d,@(1,3,4)N,4\,!2,|,Ph,@(4,6)/Cl,#7\,|,?5,@(2,5)O,3:/Bu^24 ) endfont %*********************************************************************** @@ -161,7 +161,7 @@ endfont %*********************************************************************** beginfont("EN:Oxaziclomefone") MCf(^^30, - ?6,4:N,2:O,1:/Me,5://O,6:/Ph,4\,/Me^35,/Me^-35,!,Ph,@(3,5)/Cl + ?6,4:N,2:O,1:/Me,5://O,6:/Ph,4\,/Me^35,/Me^-35,!,|,Ph,@(3,5)/Cl ) endfont %*********************************************************************** @@ -173,19 +173,19 @@ endfont %*********************************************************************** beginfont("EN:Cyclosulfamuron") MCf(^^30, - Ph,5\,//O,!,?3,4\,NH,!,SOO,!,NH,!,//O,!,NH,!,Ph,@(2,6)N,@(3,5)/OMe + Ph,5\,//O,!,?3,4\,NH,!,SOO,!,NH,!,//O,!,NH,!,|,Ph,@(2,6)N,@(3,5)/OMe ) endfont %*********************************************************************** beginfont("EN:Napropamide") MCf(^^-30, - Ph,3=ph,10\,O,!,/Me^35,/Me^-35,!,//O,!,N,/Et,! + Ph,3=Ph,10\,O,!,/Me^35,/Me^-35,!,//O,!,N,/Et,! ) endfont %*********************************************************************** beginfont("EN:Pyributicarb") MCf(^^30, - Ph,5:/tBu,3\,//O,!,S,!,N,/Me,!,Ph,@(5,6)/Me,3:/OMe + Ph,5:/tBu,3\,//O,!,S,!,N,/Me,!,|,Ph,@(5,6)/Me,3:/OMe ) endfont %*********************************************************************** @@ -311,8 +311,8 @@ endfont %*********************************************************************** beginfont("EN:Chlorophyll a") MCf(^^54, - {,``1,??5,$(2,5)dl,4:N,3\,54~dl,??5,$(2,4)dl,5:N, - -2\,54~dl,??5,2=d,5:N,-2\~dl,54,??5,5=d,5:N,-2\~dl,&(#5), + {,``1,?5,$(2,5)dl,4:N,3\,54~dl,|,?5,$(2,4)dl,5:N, + -2\,54~dl,|,?5,2=d,5:N,-2\~dl,54,|,?5,5=d,5:N,-2\~dl,&(#5), -1*,24,/*COOMe^15,72,//O,&(#1),}, @(2,9,15,20~zf)/Me,8:/Et,14\,!~dr, #4\`1.45,Mg,&17,-1*,&11~vb,-1*,&23~vb, @@ -369,7 +369,7 @@ endfont %********************************************************************** beginfont("EN:Qercetin") MCf(^^30, - Ph,3=?6,9\,ph,9=dl,10:O,7://O,@(2,6,8,13,14)/OH + Ph,3=?6,9\,Ph,9=dl,10:O,7://O,@(2,6,8,13,14)/OH ) endfont %*********************************************************************** @@ -384,8 +384,8 @@ endfont %********************************************************************** beginfont("EN:Cromolyn") MCf(^^30, - Ph,|,-1=?6,3:d,-4:O,-1://O,-3:/COOH, - #2\,O,!2,/OH,!2,O,60,Ph,|,-5=?6,3=d,-1:O,-4://O,-2:/COOH + Ph,|,-1=?6,3=dl,1:O,4://O,2:/COOH, + #2\,O,!2,/OH,!2,O,60,Ph,|,-5=?6,3=dl,4:O,1://O,3:/COOH ) endfont %********************************************************************** @@ -444,7 +444,7 @@ endfont %*********************************************************************** beginfont("EN:Podophyllotoxin"); MCf(^^0, - ?5,@(2,5)O,-3=ph2,-3=?6,-3=?5,-2:O,-1=wb,-3://O, + ?5,@(2,5)O,-3=Ph2,-3=?6,-3=?5,-2:O,-1=wb,-3://O, 10\*,Ph,@(-2,-3,-4)/OMe,#13:/*OH,@(#11~wf^-60,#12~zf^60)/H ) endfont; @@ -477,7 +477,7 @@ beginfont("EN:Reserpine"); MCf(^^30, Ph,-4=?5,-2=?6,-4=?6,-3=?6,9=dl,11:N,7:NH,10:*/H^-60, @(15^-60,16^60)/*H, - #20*\,O,!,//O,!,Ph,@(-2,-3,-4)/OMe,@(#1,#19~zf>rl)/OMe, + #20*\,O,!,//O,!,|,Ph,@(-2,-3,-4)/OMe,@(#1,#19~zf>rl)/OMe, #18*\,//O,!,O,! ) endfont; @@ -551,7 +551,7 @@ endfont %*********************************************************************** beginfont("EN:Quinine") MCf(^^30, - Ph,3=ph,7:N,6:/OMe, + Ph,3=Ph,7:N,6:/OMe, 10\,*/OH,/H~zf^-60,!, |,?6,2:N,1:*/H^60,4*\,!~dr,2*,165~zf,60,&5~zb ) diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.pdf b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.pdf Binary files differindex 8489ba4ea05..1c133333f09 100644 --- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.pdf +++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.pdf diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.tex b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.tex index 762d408eba0..47fcaef4e81 100644 --- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.tex +++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_example.tex @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Example of MCF typeset by LaTeX mcf_examples.tex by A.Yamaji 2015.9.16 +% Example of MCF typeset by LaTeX mcf_examples.tex by A.Yamaji 2015.9.18 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass[a4paper]{article} \usepackage{graphicx} @@ -57,7 +57,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{document} {\hspace{20mm} \LARGE\bf Molecular Coding Format examples \hspace{10mm} }% -{\footnotesize\bf by Akira Yamaji 2015.9.16} \vspace{5mm}\\ +{\footnotesize\bf by Akira Yamaji 2015.9.18} \vspace{5mm}\\ \fontnum=1% \noindent% %------------------------------------------------------------------------ diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_man_soc.mf b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_man_soc.mf index 1b2c7250b0b..24c657db875 100644 --- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_man_soc.mf +++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_man_soc.mf @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Molecular Coding Format file for mcf_manual.tex by Akira.Yamaji 2015.9.16 +% Molecular Coding Format file for mcf_manual.tex by Akira.Yamaji 2015.9.18 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% input mcf2graph.mf; %----------------------------------------------------------------------- @@ -64,7 +64,7 @@ endfont %*********************************************************************** beginfont("EN:change bond length3") sw_start_vector:=1; - MCf(^^30,?6,3\,??6`1.2,4=?6) + MCf(^^30,?6,3\,|,?6`1.2,4=?6) endfont %*********************************************************************** beginfont("EN:change atom 1") @@ -85,10 +85,10 @@ beginfont("EN:change atom 3") endfont %*********************************************************************** beginfont("EN:change atom 4") - MCd(.5,.5)(.5,.9)(?6,4\,??6,2:N) + MCd(.5,.5)(.5,.9)(?6,4\,|,?6,2:N) sw_numberA:=2; numberA_start:=7; - MCd(.5,.5)(.5,.1)(?6,4\,??6) + MCd(.5,.5)(.5,.1)(?6,4\,?6) endfont %*********************************************************************** beginfont("EN:change atom 5") @@ -98,9 +98,9 @@ beginfont("EN:change atom 5") endfont %*********************************************************************** beginfont("EN:change atom 6") - MCd(.5,.5)(.5,.9)(?6,4\,??6,-2:N) + MCd(.5,.5)(.5,.9)(?6,4\,?6,-2:N) sw_numberA:=3; - MCd(.5,.5)(.5,.1)(?6,4\,??6) + MCd(.5,.5)(.5,.1)(?6,4\,?6) endfont %*********************************************************************** beginfont("EN:fused ring 1") @@ -113,7 +113,7 @@ endfont beginfont("EN:fused ring 1") sw_start_vector:=1; sw_numberB:=1; - MCf(^^30,?6,$(3,9)?6) + MCf(^^30,?6,$(-3,-4,-4,-2,-2,-4,-4)?6) endfont %*********************************************************************** beginfont("EN:fused ring 2") @@ -255,7 +255,7 @@ endfont beginfont("EN:alfa-Tocopherol") MCf(^^30, Ph,3=?6,7:O,@(1,2,5)/Me,8:/*Me^60,6:/OH, - 8\,!12,@(4,8)/*Me,12:/Me + 8\,|,!12,@(4,8)/*Me,12:/Me ) endfont %*********************************************************************** diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.pdf b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.pdf Binary files differindex 059d99addac..90c80a5b7a7 100644 --- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.pdf +++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.pdf diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex index 14b31722ee9..ba72be66e32 100644 --- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex +++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Molecular Coding Format manual by Akira Yamaji 2015.9.16 +% Molecular Coding Format manual by Akira Yamaji 2015.9.18 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass[a4paper]{article} \usepackage[dvipdfmx]{graphicx} @@ -34,7 +34,7 @@ \noindent% \begin{picture}(180,0) \put(20,9){{\LARGE\bf Molecular Coding Format manual}\hspace{10mm} - by Akira Yamaji 2015.9.16} + by Akira Yamaji 2015.9.18} \end{picture}\vspace{-4.2mm}\\ %---------------------------------------------------------------------------- \begin{minipage}[t][38mm]{100mm} @@ -55,10 +55,9 @@ bold arrow is default angle and position !,: take 60 or -60 depend on current angle and enviroment - !6 (!!6) + !6 ** !6: !,!,!,!,!,! - !!6: {,!6,} \end{verbatim} \end{minipage} \MCFstructure @@ -69,10 +68,10 @@ bold arrow is default angle and position \begin{verbatim} six membered ring - ?6 (??6) + ?6 - ** ?6 :^^-120,60,60,60,60,60,&(-5) - ??6 : {,?6,} + ** ?6 : ^^-120,60,60,60,60,60,&1 + &1 : make bond connect to A1 \end{verbatim} \end{minipage} @@ -146,7 +145,7 @@ Bn`length : change bond length at Bn \begin{verbatim} ?n`length : change ring length - ^^30,?6,3\,|,?6`1.2,4=??6 + ^^30,?6,3\,|,?6`1.2,4=?6 \end{verbatim} \end{minipage} \MCFstructure @@ -240,10 +239,8 @@ Bn(n:numeric): bond number \MCFtitle{Fuse multi ring (attached 1 bond)} \begin{verbatim} -?6,$(3,3)?6 => NG ?6,$(3,3)??6 => OK -?6,$(3,9)?6 => OK ?6,$(3,9)??6 => NG -?6,$(-4,-3)?6 => OK ?6,$(-4,-3)??6 => OK -?6,$(#3,#9)?6 => OK ?6,$(#3,#9)??6 => OK +?6,$(-3,-4,-4,-2,-2,-4,-4)?6 +?6,$(4,8,13,20,25,28,33)?6 \end{verbatim} \end{minipage} diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.pdf b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.pdf Binary files differindex a143856b249..c40c0a252ed 100644 --- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.pdf +++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.pdf diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.tex b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.tex index 6e00c56a63e..32164f47499 100644 --- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.tex +++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.tex @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Example of MCF typest with LuaLaTeX(luamplib) by A.Yamaji 2015.9.16 +% Example of MCF typest with LuaLaTeX(luamplib) by A.Yamaji 2015.9.18 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass{article} %------------------------------------------------------------------------------- @@ -61,7 +61,7 @@ %------------------------------------------------------------------------------------ \begin{document} {\Large\bf MCF example for luamplib(LuaLaTeX) }% - \hspace{10mm} by Akira Yamaji 2015.9.16\vspace{6mm}\\ + \hspace{10mm} by Akira Yamaji 2015.9.18\vspace{6mm}\\ %------------------------------------------------------------------------------------ {{\small {\tt FM(C) :} molecular formula calculated by mcf2graph}\\ {{\small {\tt MW(C) :} molecular weight calculated by mcf2graph}\\ |