diff options
author | Karl Berry <karl@freefriends.org> | 2016-04-02 21:42:47 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-04-02 21:42:47 +0000 |
commit | 0add57ee639971ed36026142db8ace9bb613d7af (patch) | |
tree | 74e65cdc7819210f1e7e2b4b24a5437d73dff0ec /Master/texmf-dist/metapost | |
parent | 2d629dc1657a546dbe79d71fbfe89d81f15a5aec (diff) |
mcf2graph (2apr16)
git-svn-id: svn://tug.org/texlive/trunk@40212 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/metapost')
-rw-r--r-- | Master/texmf-dist/metapost/mcf2graph/mcf2graph.mf | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Master/texmf-dist/metapost/mcf2graph/mcf2graph.mf b/Master/texmf-dist/metapost/mcf2graph/mcf2graph.mf index b2fb9522a7e..956149c65e2 100644 --- a/Master/texmf-dist/metapost/mcf2graph/mcf2graph.mf +++ b/Master/texmf-dist/metapost/mcf2graph/mcf2graph.mf @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% mcf2graph ver 3.85 Copyright (c) 2013-2016 Akira Yamaji +% mcf2graph ver 3.86 Copyright (c) 2013-2016 Akira Yamaji % % Permission is hereby granted, free of charge, to any person obtaining a copy of this software % and associated documentation files (the "Software"), to deal in the Software without restriction, @@ -567,13 +567,12 @@ enddef; %------------------------------------------------------------------------------------------------- vardef fit_zero(expr n)=if n<=9: "00" elseif n<=99: "0" fi enddef; def auxfile_out= - printf info_str&"{" for i=1 upto aux_max: exitif var[i]=""; - &"{"&tag[i]&":"& + if i=1: printf "" else: &" ," fi &tag[i]&":"& if string scantokens(var[i]): scantokens(var[i]) - elseif numeric scantokens(var[i]): decimal(scantokens(var[i])) fi &"}" + elseif numeric scantokens(var[i]): decimal(scantokens(var[i])) fi endfor - for i=1 upto info_num: &"{"&info[i]&"}" endfor &"}%"; + for i=1 upto info_num: &" ,"&info[i] endfor; enddef; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% mc_num:=first_def_number; |