diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-11 22:58:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-11 22:58:36 +0000 |
commit | ac3c55a3216b5988f0e48ba9414ddb059f19a699 (patch) | |
tree | a752ab12de05a9ac4511903abc09675172018fd6 /Master/texmf-dist/metapost/base/TEX.mp | |
parent | d087712418726a64822e40ce1c0627a514d17975 (diff) |
trunk/Master/texmf-dist/metapost
git-svn-id: svn://tug.org/texlive/trunk@104 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/metapost/base/TEX.mp')
-rw-r--r-- | Master/texmf-dist/metapost/base/TEX.mp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Master/texmf-dist/metapost/base/TEX.mp b/Master/texmf-dist/metapost/base/TEX.mp new file mode 100644 index 00000000000..06a0b451f4f --- /dev/null +++ b/Master/texmf-dist/metapost/base/TEX.mp @@ -0,0 +1,9 @@ +% This file defines TEX <string_primary> to return the picture +% resulting from running the string through tex. It is slow, +% but more general than the standard btex..etex construction + +vardef TEX primary s = + write "btex "&s&" etex" to "mptextmp.mp"; + write EOF to "mptextmp.mp"; + scantokens "input mptextmp" +enddef; |