summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex')
-rw-r--r--Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex24
1 files changed, 11 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex
index a8426aac7c2..8ae0ac72530 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 2016.03.24
+% Molecular Coding Format manual by Akira Yamaji 2016.04.2
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[a4paper]{article}
\usepackage[dvipdfmx]{graphicx}
@@ -52,7 +52,7 @@
\end{picture}%
}
%----------------------------------------------------------------------------
-\def\INFO#1{\@tfor\@temp:=#1\do{\mol@sel\@temp}\put@char}%
+\def\INFO#1{\@for\@temp:=#1\do{\mol@sel\@temp}\put@char}%
%----------------------------------------------------------------------------
\begin{document}
\begin{center}
@@ -115,8 +115,8 @@ bye
\noindent%
{\bf (Molecular information output)}
\begin{verbatim}
-\INFO{{F:mcf_man_soc}{C:0}{MWc:893.48962}{FMc:C55H72MgN4O5}
- {NO:1}{EN:Chlorophyll a}{MW:893.49}}%
+F:mcf_man_soc ,C:0 ,MWc:893.48962 ,FMc:C55H72MgN4O5
+ ,NO:1 ,EN:Chlorophyll a ,MW:893.49
\end{verbatim}
'filename'-info.aux : for use in \TeX, it takes over filename,
char number, molecular information,etc.\\
@@ -158,19 +158,19 @@ MW:molecular weight from literature data\vspace{5mm}\\
\end{picture}%
}
%--------------------------------------------------------------------
-\def\INFO#1{\@tfor\@temp:=#1\do{\mol@sel\@temp}\put@char}%
+\def\INFO#1{\@for\@temp:=#1\do{\mol@sel\@temp}\put@char}%
\makeatother
%--------------------------------------------------------------------
\begin{document}
\unitlength=1mm%
-\INFO{{F:mcf_man_soc}{C:0}{MWc:893.48962}{FMc:C55H72MgN4O5}%
-{NO:1}{EN:Chlorophyll a}{MW:893.49}}%
+\INFO{F:mcf_man_soc ,C:0 ,MWc:893.48962 ,FMc:C55H72MgN4O5%
+ ,NO:1 ,EN:Chlorophyll a ,MW:893.49}%
\end{document}
%--------------------------------------------------------------------
\end{verbatim}%
%############################################################################
-\INFO{{F:mcf_man_soc}{C:0}{MWc:893.48962}{FMc:C55H72MgN4O5}%
-{NO:1}{EN:Chlorophyll a}{MW:893.49}}%
+\INFO{F:mcf_man_soc ,C:0 ,MWc:893.48962 ,FMc:C55H72MgN4O5%
+ ,NO:1 ,EN:Chlorophyll a ,MW:893.49}%
\newpage
%----------------------------------------------------------------------------
\noindent
@@ -1150,8 +1150,7 @@ beginfont() MCd(1,.4)( 1,.5)(Ph) endfont
var3:="calc_weight"; tag3:="MWc";
var4:="calc_formula"; tag4:="FMc";
%% Output to mcf_man_soc-info.aux %%
-\INFO{{F:mcf_man_soc}{C:82}
- {MWc:194.19174}{FMc:C8H10N4O2}}%
+F:mcf_man_soc,C:82,MWc:194.19174,FMc:C8H10N4O2
MWc:calculated molecular weight
FMc:calculated molecular formula
\end{verbatim}
@@ -1165,8 +1164,7 @@ FMc:calculated molecular formula
beginfont("EN:Caffeine","CAS:58-08-2")
MCf(...) endfont
%% Output to mcf_man_soc-info.aux %%
-\INFO{{F:mcf_man_soc}{C:83}{EN:Caffeine}
- {CAS:58-08-2}}%
+F:mcf_man_soc ,C:83 ,EN:Caffeine ,CAS:58-08-2
*F:filename *C:char number EN:molecular name
CAS:CAS number *:default output
\end{verbatim}