Looking at trip.log from CTAN we have on line 6488 \csname\endcsname {->{ but when I run triptest on either miktex or texlive I get the output \csname\endcsname{->{ without the space. What is the reason for this discrepancy?
- 15,156
- 249
- 1
- 9
-
1Welcome to TeX.SE! Which version of MikTeX or TeX Live are you using? (This looks a lot like the most recent bug in TeX, the one that was fixed in 2014.) – ShreevatsaR Feb 12 '18 at 23:40
-
That sure looks like it, I'm running miktex 2.9.3759 (3.1415926). I didn't think my installation was that old, time to upgrade I guess. – nadder Feb 13 '18 at 00:25
-
Ah ok great, posted as an answer because comments can disappear. Also curious why you're running the triptest (that was originally intended for alternative implementations of TeX to say they were the “same” program), but I imagine you have your reasons. :-) – ShreevatsaR Feb 13 '18 at 00:37
-
Well, for fun I decided to rewrite tex in C++ to see how long it would take. It took about 30 hours to write it and twice that to fix all the typos and bugs I made. Today it finally passed the triptest except for that missing space. So I tested it on miktex and texlive as well with the same error. Nice to know the reason for it. Thanks alot for your help. – nadder Feb 13 '18 at 01:00
-
That's very exciting! Please post your results online if you can; a lot of people would be very interested. And may I say, 30 or even 90 hours is absolutely amazing… I'd be curious to see the C++ TeX. – ShreevatsaR Feb 13 '18 at 01:09
-
Don't quote me on those figures, it's a rough estimate, but I think it took about two weeks to type all of it in working about two hours each day, maybe three during weekends. I wish it would have taken longer, chasing down a missing minus sign can take a long time. :) – nadder Feb 13 '18 at 01:18
-
That's great… please post it on GitHub, or write a blog post, or submit it to TUGboat, or all three. I'll be waiting eagerly! – ShreevatsaR Feb 13 '18 at 04:00
-
1Ok, you talked me into it, cleaned up a bit and uploaded to https://github.com/nadder/rstex. – nadder Feb 15 '18 at 13:40
-
Excellent, thank you! I started taking a look and it's really cool. Will be really useful, for educational purposes as you say… IMO this is already worth at least a note in TUGboat, so that more people can learn from it, but I've never submitted anything to TUGboat so I don't know what their criteria are (worth a try!). Anyway I'll dig deeper / try it out, and contact you on GitHub or email if (or when) I have more questions / praises :-) – ShreevatsaR Feb 15 '18 at 17:14
1 Answers
You need to upgrade your distribution to one after 2014, i.e. one that has TeX version 3.14159265 (2014), rather than the previous one 3.14159265 (2008).
By running the most recent trip test with an older TeX, you have hit upon the only thing that changed between those versions: in the years 2008–2013, there was only one bug reported in TeX, which was fixed in 2014. For details see:
@egreg's answer to What's new in TeX, version 3.14159265?
Knuth's article The TeX tuneup of 2014, published in TUGboat, Volume 35 (2014), No. 1
Anyway, as you're running an older distribution MiKTeX 2.9.3759 (3.1415926), the failure of the older TeX on the newer trip test merely shows (correctly) that the older TeX (from before 2014) does not satisfy the updated definition of TeX.
- 45,428
- 10
- 117
- 149