100 points · by steeleduncan · 14y ago · 36 comments
TeX, while maybe not pretty, has stood the test of time remarkably well. I find it somewhat low of the article to bash the technology it uses (WEB, DVI) just because they are not the newest and hippest.
As far as I know, Apple won't allow GPL software on iPad/iOS, they ban it on the App Store. So it isn't this company trying to get around the GPL, it's Apple.
The VLC example mentioned below in fact supports this: Apple was absolutely fine with it being in the store until Rémi Denis-Courmont filed a copyright violation with Apple asking them to take down the version that had been posted there. Apple didn't take initiative to remove it themselves.
This comment from the previous post indicates that it might not be such a big deal to fix this:
http://news.ycombinator.com/item?id=3264887
The whole thread on their earlier post is here:
http://news.ycombinator.com/item?id=3264341
Alas, it is not particularly enlightening.
A big problem of current projects to port TeX is that most of them rely in the original translation from pascal to C, which is just a hack turned into a maintenance nightmare. I believe a better approach would be to write a better translator that would be easier to integrate with different environments such as iOS.
[TeX] This program is copyright (C) 1982 by D. E. Knuth; all rights are reserved. Copying of this file is authorized only if (1) you are D. E. Knuth, or if (2) you make absolutely no changes to your copy. (The WEB system provides for alterations via an auxiliary file; the master file should stay intact.) See Appendix H of the WEB manual for hints on how to install this program. And see Appendix A of the TRIP manual for details about how to validate it. TeX is a trademark of the American Mathematical Society.
I know they are altering the translation not the WEB source but that is still the Tex program.
http://yieldthought.com/post/31857050698/ipad-linode-1-year-...
The major problem in writing TeX on a tablet seems to be the keyboard: It takes away screen space (which is already hard to come by, since ideally you would have the source and the compiled output displayed side-by-side), is much less convenient to use than a physical keyboard, and (usually) makes it more difficult to get to special characters which are really important for TeX: \, {, }, [, ], and so on.
I can see how it could be usable for copy-editing, but for longer writing a notebook beats a tablet any day.
Also the distribution is a bit bulky, it consists of over 30000 files. You can remove many of them but then you also loose a big part of the compatibility. While speaking of compatibility, some formulas look kinda weird, but those are very few
That post is no longer true. I wrote the full story here:
I'm not quite sure why this irks me so much. I'm not likely to mess with tex source, but it'd be nice to share what was shared with you.
It has to do with a very widespread and powerful legacy system (with extreme requirements for backwards-compatability and portability) that happened to be written decades ago in, basically, Pascal.
Furthermore, the people doing this port don't seem to have total command of the tex infrastructure. This has held them back.
For instance, they didn't know what kpathsea was until well after they started their port ("As best we could tell kpathsea is a library to find fonts and scripts in the sprawling TeX distribution...", from http://texpadapp.com/2011/12/10/price-of-amessy-latex-not-fo...).
kpathsea is a basic library that anyone who has tweaked TeX configurations would know about. It has a certain syntax for subdirectory searching that you have to learn, as well as a utility command (kpsewhich) that you run quite a lot to debug "file-not-found" problems.
Since their C code is based on the tangled code, their transformation discards the ENTIRE comments of the original source (and simply not stripping the comments would not help, because in the rearranged order they wouldn't make much sense anymore). Essentially, they are rendering TeX illiterate.
I can't conceive how this could possibly lead to a more maintainable product. TeX has a perfectly workable way of making arbitrary local changes through "Changefiles". The Pascal/C code was never meant to be edited directly.