summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorLuigi Scarso <luigi.scarso@gmail.com>2020-12-31 21:49:16 +0000
committerLuigi Scarso <luigi.scarso@gmail.com>2020-12-31 21:49:16 +0000
commiteac8fd5d1337a83d1dd68ca7223e8703048d239c (patch)
treefee7d44ef91449ab8f93464eea571f1db98bd20e /Build
parent2624824ea71c767c0910df2ef7e568acaf0d28e8 (diff)
MetaPost: small improvements in manual; some minor fixes.
git-svn-id: svn://tug.org/texlive/trunk@57271 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/mplibdir/ChangeLog9
-rw-r--r--Build/source/texk/web2c/mplibdir/mpost.w1
-rw-r--r--Build/source/texk/web2c/mplibdir/mpxout.w2
3 files changed, 11 insertions, 1 deletions
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 <luigi.scarso@gmail.com>
+ * Temp, fix in mpx_copy_mpto, changed || with && to avoid a wrong final %
+
+
+2020-12-27 Luigi Scarso <luigi.scarso@gmail.com>
+ * 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 <luigi.scarso@gmail.com>
* 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);