diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2019-01-06 20:53:35 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2019-01-06 20:53:35 +0000 |
commit | bee0d2fefd913952b342b909a4a278ce72712e51 (patch) | |
tree | 04b2258cb937501da958a42b3e37e159bd748d94 /Build/source/texk/web2c/pmpostdir/pmpost.ch | |
parent | 522dfa21dfa73176aedd7412314b510564144cfc (diff) |
add missing changes to have correct engine name
git-svn-id: svn://tug.org/texlive/trunk@49616 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pmpostdir/pmpost.ch')
-rw-r--r-- | Build/source/texk/web2c/pmpostdir/pmpost.ch | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/pmpostdir/pmpost.ch b/Build/source/texk/web2c/pmpostdir/pmpost.ch index c679be58908..a58918998b9 100644 --- a/Build/source/texk/web2c/pmpostdir/pmpost.ch +++ b/Build/source/texk/web2c/pmpostdir/pmpost.ch @@ -244,12 +244,18 @@ else @z @x - if (FILESTRCASEEQ(base, "rmpost")||FILESTRCASEEQ(base, "r-mpost")){ + if (FILESTRCASEEQ(base, "rmpost")){ @y if (FILESTRCASEEQ(base, "r"@= @>P_UP@= @>"mpost")){ @z @x + } else if (FILESTRCASEEQ(base, "r-mpost")){ +@y + } else if (FILESTRCASEEQ(base, "r-"@= @>P_UP@= @>"mpost")){ +@z + +@x if (FILESTRCASEEQ(base, "dvitomp")) @y if (FILESTRCASEEQ(base, P_UP@= @>"dvitomp")) @@ -279,12 +285,18 @@ else @z @x - if (FILESTRCASEEQ(kpse_program_name, "rmpost")||FILESTRCASEEQ(kpse_program_name, "r-mpost")) + if (FILESTRCASEEQ(kpse_program_name, "rmpost")) @y if (FILESTRCASEEQ(kpse_program_name, "r"@= @>P_UP@= @>"mpost")) @z @x + else if (FILESTRCASEEQ(kpse_program_name, "r-mpost")) +@y + else if (FILESTRCASEEQ(kpse_program_name, "r-"@= @>P_UP@= @>"mpost")) +@z + +@x if(putenv(xstrdup("engine=metapost"))) @y if(putenv(xstrdup("engine="@= @>P_UP@= @>"mpost"))) |