diff options
author | Karl Berry <karl@freefriends.org> | 2022-03-13 20:46:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-03-13 20:46:36 +0000 |
commit | de05bebec0f64c9977e3a2ebb305b75bd37de07f (patch) | |
tree | 6faad2f4295683d26b15de46ee0c156956ee7461 /Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex | |
parent | fc9457d95b5f96a9eb90abaa452216ce40ed0b9d (diff) |
mcf2graph (13mar22)
git-svn-id: svn://tug.org/texlive/trunk@62678 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex')
-rw-r--r-- | Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex index 0dd00f333a1..01d25e170ce 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 2022.02.27 +% Molecular Coding Format manual by Akira Yamaji 2022.03.13 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass[a4paper]{article} \usepackage[pdftex]{graphicx} @@ -1384,8 +1384,8 @@ endfigm \subsection{Luciferin} \index{check()}% \begin{verbatim} -(use data base file 'mcf_data_base') -beginfigm("f:mcf_data_base", +(use library file 'mcf_library') +beginfigm("f:mcf_library", "t:EN","v:Luciferin") fsize:=(50mm,15mm); if check(mc)=0: MC(scantokens(mc)) fi @@ -1519,7 +1519,7 @@ beginfigm("EN:Cholesterol","MW:386.65", >information if check(mc)=0: MC(scantokens(mc)) fi > mc=mc1 - mc4 endfigm > %------------------------------------------------------------------------------ -beginfigm("f:mcf_data_base.mcf","t:EN","v:Adenine") > from mcf_data_base.mcf +beginfigm("f:mcf_library.mcf","t:EN","v:Adenine") > from mcf_library.mcf if check(mc)=0: MC(scantokens(mc)) fi > select EN="Adenine" endfigm > %------------------------------------------------------------------------------ @@ -1536,8 +1536,8 @@ beginfigm("t:n","v+:4") > v+:4 = select No.4 endfigm > %------------------------------------------------------------------------------ forever: -%%%%%%%%%% beginfigm("f:mcf_data_base","v+:*") > select all - beginfigm("f:mcf_data_base","t:EXA","v+:1") > 'v+:1'= select EXA=1 +%%%%%%%%%% beginfigm("f:mcf_library","v+:*") > select all + beginfigm("f:mcf_library","t:EXA","v+:1") > 'v+:1'= select EXA=1 if f_EOF=0: if check(mc)=0: MC(scantokens(mc)) fi fi > keep file open endfigm > exitif f_EOF=1; > exit if file end @@ -1548,10 +1548,10 @@ bye %------------------------------------------------------------------------ \noindent% \newpage -\subsection{Molecular data base file} +\subsection{Molecular library file} \begin{verbatim} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% molecular data base file mcf_data_base.mcf by Akira Yamaji 2021.11.14 +% molecular library file mcf_library.mcf by Akira Yamaji 2022.03.13 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % tag1:var1;tag2:var2;tag3:var3 ..... % first character of line "%" comment out @@ -1616,7 +1616,7 @@ Cat:biological;EN:Stearic acid;MW:284.48 %-------------------------------------------------------------- % query() % -% "f:filename" : input file name (default "mcf_data_base.mcf") +% "f:filename" : input file name (default "mcf_library.mcf") % "o:filename" : output file name (default "temp.mcf") % "s:sort-key" : sort by sort-key % @@ -1627,7 +1627,7 @@ Cat:biological;EN:Stearic acid;MW:284.48 % filter 3 : MW<=295 %-------------------------------------------------------------- query("s:EN", -%%%%% "f:mcf_data_base.mcf","o:temp.mcf","s:EN", +%%%%% "f:mcf_library.mcf","o:temp.mcf","s:EN", "Cat=biological","MW>=285","MW<=295"); %-------------------------------------------------------------- forever: @@ -1767,9 +1767,9 @@ sw_output=Mcode %% file name = 'temp-mc.aux' <30,?6,3=?5,{1,3,5,9}=dl,{2,6,9}:N,5:/NH2,7:NH \end{verbatim} -\paragraph{(Output data-base file)} +\paragraph{(Output library file)} \begin{verbatim} -sw_output=Info+Mcode %% file name = 'jobname-data.aux' +sw_output=Info+Mcode %% file name = 'jobname-lib.aux' (result) Cat:biological;EN:Adenine;MW:135.13;EXA:1 |