From eac8fd5d1337a83d1dd68ca7223e8703048d239c Mon Sep 17 00:00:00 2001 From: Luigi Scarso Date: Thu, 31 Dec 2020 21:49:16 +0000 Subject: MetaPost: small improvements in manual; some minor fixes. git-svn-id: svn://tug.org/texlive/trunk@57271 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/mplibdir/ChangeLog | 9 +++++++++ Build/source/texk/web2c/mplibdir/mpost.w | 1 + Build/source/texk/web2c/mplibdir/mpxout.w | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) (limited to 'Build/source/texk/web2c') diff --git a/Build/source/texk/web2c/mplibdir/ChangeLog b/Build/source/texk/web2c/mplibdir/ChangeLog index fbfbdba5eff..87b2fa9be65 100644 --- a/Build/source/texk/web2c/mplibdir/ChangeLog +++ b/Build/source/texk/web2c/mplibdir/ChangeLog @@ -1,3 +1,12 @@ +2020-12-28 Luigi Scarso + * Temp, fix in mpx_copy_mpto, changed || with && to avoid a wrong final % + + +2020-12-27 Luigi Scarso + * Fixed some typos in manual (thank to 胡亚捷 (Hu Yajie) ) + * Added the undocumented -T option + * Added some autotools files to make reautoconf working again + 2020-11-26 Luigi Scarso * Added mp-tangle dependency to libmplib.am to fix parallel compilation diff --git a/Build/source/texk/web2c/mplibdir/mpost.w b/Build/source/texk/web2c/mplibdir/mpost.w index 5e01a411506..5e447270678 100644 --- a/Build/source/texk/web2c/mplibdir/mpost.w +++ b/Build/source/texk/web2c/mplibdir/mpost.w @@ -1043,6 +1043,7 @@ fprintf(stdout, " -recorder enable filename recorder\n" " -restricted be secure: disable tex, makempx and editor commands\n" " -troff set prologues:=1 and assume TEXPROGRAM is really troff\n" +" -T same as -troff\n" " -s INTERNAL=\"STRING\" set internal INTERNAL to the string value STRING\n" " -s INTERNAL=NUMBER set internal INTERNAL to the integer value NUMBER\n" " -help display this help and exit\n" diff --git a/Build/source/texk/web2c/mplibdir/mpxout.w b/Build/source/texk/web2c/mplibdir/mpxout.w index 22b8f242b35..f08645a28f0 100644 --- a/Build/source/texk/web2c/mplibdir/mpxout.w +++ b/Build/source/texk/web2c/mplibdir/mpxout.w @@ -564,7 +564,7 @@ static void mpx_copy_mpto (MPX mpx, FILE *outfile, int textype) { if (textype == B_TEX) { /* put no |%| at end if it's only 1 line total, starting with |%|; * this covers the special case |%&format| in a single line. */ - if (t != s || *t != '%') + if (t != s && *t != '%') fprintf(outfile,"%%"); } free(res); -- cgit v1.2.3