summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-03-24 22:22:56 +0000
committerKarl Berry <karl@freefriends.org>2016-03-24 22:22:56 +0000
commitaf076f3d085915ef71cddaab71c8c22f8294e1ba (patch)
tree7bd14e9eb96eee9b8ee57336e68464f01125401b /Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.tex
parent727cc36d88b70bea622511decb72424804f86152 (diff)
mcf2graph (24mar16)
git-svn-id: svn://tug.org/texlive/trunk@40115 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.tex')
-rw-r--r--Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.tex12
1 files changed, 9 insertions, 3 deletions
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 be65894e6fb..e44fc63a721 100644
--- a/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.tex
+++ b/Master/texmf-dist/doc/metapost/mcf2graph/mcf_mplib_exa.tex
@@ -1,13 +1,19 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Example of MCF typest with LuaLaTeX(luamplib) by A.Yamaji 2016.3.05
+% Example of MCF typest with LuaLaTeX(luamplib) by A.Yamaji 2016.3.24
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{article}
%------------------------------------------------------------------------------
\usepackage{luamplib}%
\mplibcodeinherit{enable}%
\mplibverbatim{enable}%
-\everymplib{if unknown Ph1: input mcf2graph.mf; mp_log_name:="temp-info.aux";
- sw_auxout:=sw_info_lenx:=sw_info_weight:=sw_info_formula:=1; fi}%
+\everymplib{if unknown Ph1:
+ input mcf2graph.mf;
+ mp_log_name:="temp-info.aux";
+ sw_auxout:=1;
+ var3:="len_x"; tag3:="Lx";
+ var4:="calc_weight"; tag4:="MWc";
+ var5:="calc_formula"; tag5:="FMc";
+ fi}%
\everyendmplib{write EOF to mp_log_name;}%
%------------------------------------------------------------------------------
\makeatletter%