--- texmfmp.c.orig Tue Dec 21 20:33:56 2004 +++ texmfmp.c Mon Apr 04 23:17:20 2005 @@ -1599,6 +1599,7 @@ getjobname() { strnumber ret = curname; + if (ret == 0) ret = maketexstring("texput"); if (job_name != NULL) ret = maketexstring(job_name); return ret;
--- texmfmp.c.orig Tue Dec 21 20:33:56 2004 +++ texmfmp.c Tue Apr 05 00:09:40 2005 @@ -1595,10 +1595,19 @@ return maketexstring(fullnameoffile); }
+#if defined (MF) +#define DEFAULTJOBNAME "mfput" +#elif defined (MP) +#define DEFAULTJOBNAME "mpout" +#else +#define DEFAULTJOBNAME "texput" +#endif + strnumber getjobname() { strnumber ret = curname; + if (ret == 0) ret = maketexstring(DEFAULTJOBNAME); if (job_name != NULL) ret = maketexstring(job_name); return ret;
mpost seems to require somewhat different texmfmp.c: --- texmfmp.c.orig Tue Dec 21 20:33:56 2004 +++ texmfmp.c Tue Apr 12 21:02:22 2005 @@ -1595,10 +1595,22 @@ return maketexstring(fullnameoffile); } +#if defined (MF) +#define DEFAULTJOBNAME "mfput" +#elif defined (MP) +#define DEFAULTJOBNAME "mpout" +#else +#define DEFAULTJOBNAME "texput" +#endif + strnumber getjobname() { strnumber ret = curname; + if (ret == 0) ret = maketexstring(DEFAULTJOBNAME); +#if defined (MP) + if (jobname == 0) ret = maketexstring(DEFAULTJOBNAME); +#endif if (job_name != NULL) ret = maketexstring(job_name); return ret; Best regards, Akira