From b5403930021ed0f7f3968516d34f2d29606c3d97 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 20 Jul 2015 22:07:53 +0000
Subject: mcf2graph (20jul15)

git-svn-id: svn://tug.org/texlive/trunk@37906 c570f23f-e606-0410-a88d-b1316a301751
---
 .../doc/metapost/mcf2graph/mcf_manual.tex          | 33 +++++++++++++---------
 1 file changed, 19 insertions(+), 14 deletions(-)

(limited to 'Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex')

diff --git a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex
index 2b0c4e507c6..04aa16a1dc5 100644
--- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex
+++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_manual.tex
@@ -1,8 +1,9 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%  Molecular Coding Format manual   by Akira Yamaji 2015.7
+%  Molecular Coding Format manual       by  Akira Yamaji 2015.7
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \documentclass[a4paper]{article}
-\usepackage{graphicx}
+\usepackage[dvipdfmx]{graphicx}
+%%%%%\usepackage[pdftex]{graphicx}
 \pagestyle{empty}
 \topmargin=-17mm
 \textheight=27.5cm
@@ -26,18 +27,18 @@
  \advance\fontnum\@ne\relax\advance\tempnum\@ne\relax%
 }%
 %----------------------------------------------------------------------------
-\def\MCFstructureEPS{%
- \makebox(75,0)[t]%
-   {\frame{\makebox(70,35){%
-    \ifnum\fontnum<10\includegraphics{mcf_man_soc-00\the\fontnum}%
-    \else\ifnum\fontnum<100\includegraphics{mcf_man_soc-0\the\fontnum}\fi\fi}}}%
- \advance\fontnum\@ne\relax\advance\tempnum\@ne\relax%
-}%
+%%%\def\MCFstructure{%
+%%% \makebox(75,0)[t]%
+%%%   {\frame{\makebox(70,35){%
+%%%    \ifnum\fontnum<10\includegraphics{mcf_man_soc-00\the\fontnum}%
+%%%    \else\ifnum\fontnum<100\includegraphics{mcf_man_soc-0\the\fontnum}\fi\fi}}}%
+%%% \advance\fontnum\@ne\relax\advance\tempnum\@ne\relax%
+%%%}%
 %----------------------------------------------------------------------------
 \begin{document}
 \noindent%
 \begin{picture}(180,0)
- \put(50,12){{\LARGE Molecular coding format manual}\hspace{20mm}
+ \put(45,12){{\LARGE Molecular Coding Format manual}\hspace{10mm}
  by Akira Yamaji 2015.7}
 \end{picture}\vspace{-6mm}\\
 %----------------------------------------------------------------------------
@@ -358,7 +359,7 @@ Add substituent
 ~,^,`,> : change type,angle,length,enviroment
           of substituent
 
-  ^^30,{,``1,!7,},
+  ^^30,!7`1,
   @(2,3)/*Me`2^30,5:*/Pr>lr,7:*/Pr>rl
 
 \end{verbatim}
@@ -428,12 +429,16 @@ NH,SOO : inset hetero atom and substituent
 @(5)green : change color of A5 green
 $(3)red :   change color of B3 red
 
-  ^^30,?6,@(2,5)N,
-          2:red,5:green,3=red
+  ^^30,Ph,@(2,5)N,
+          2:red,5:blue,3=green
 
 \end{verbatim}
 \end{minipage}
-\MCFstructureEPS
+%%%%\MCFstructure   % for Metafont
+\makebox(75,0)[t]{\frame{\makebox(70,35)%
+{\includegraphics{mcf_man_soc-030.eps}}}}%  for dvipdfmx
+%%%%{\includegraphics[width=30mm]{mcf_man_soc-030.png}}}}%   for pdfLaTeX
+\advance\fontnum\@ne\relax\advance\tempnum\@ne\relax%
 \vspace{6mm}\\
 %-----------------------------------------------------------------------------
 \begin{minipage}[t][38mm]{100mm}
-- 
cgit v1.2.3

