Live data from Hacker News

The price of a messy codebase: No LaTeX on the iPad

vallettaventures.tumblr.com

211–220 of 247 posts

Re: The price of a messy codebase: No LaTeX on the iPad

#211
post #126

Earlier quoted context omitted.

You can't do very much within those guidelines, can you?

Totally, that's why there are hardly any apps for iOS, and the paying market is such a fraction of that on Android.

It seems the cult of Apple is touchy today and can't detect a joke. I'm sorry if I have inadvertently hurt your feelings - I will be sure to clearly state my humorous intentions next time.

For the record, I do not own devices based on iOS or Android and I don't care for your little Apple-Google feud with which you seem to be so concerned with. So please, carry on with those market statistics about Android, I am dying to know more.

Re: The price of a messy codebase: No LaTeX on the iPad

#212
post #211

Earlier quoted context omitted.

Totally, that's why there are hardly any apps for iOS, and the paying market is such a fraction of that on Android.

It seems the cult of Apple is touchy today and can't detect a joke. I'm sorry if I have inadvertently hurt your feelings - I will be sure to clearly state my humorous intentions next time. For the record, I do not own devices based on iOS or Android and I don't care for your little Apple-Google feud with which you seem to be so concerned with. So please, carry on with those market statistics about Android, I am dying…

This ad hominem kind of scrawl is inappropriate for HN.

Re: The price of a messy codebase: No LaTeX on the iPad

#213

Earlier quoted context omitted.

Virtual machines are generally prohibited by the guidelines as well. (Exceptions exist for things like script interpreters, which need to be present for some games to run, e.g. Lua.)

I think the difference here is between interpreting scripts that come with the binary, and downloading new scripts from the internet (or other untrusted locations). The latter is prohibited. To get around it, you'd have to make it In App Purchases, because these also come from a the App Store.

So the issue here is not that the TeX codebase is messy, but that it doesn't conform to Apple's App Store guidelines, right?

Re: The price of a messy codebase: No LaTeX on the iPad

#214
post #89

Earlier quoted context omitted.

Yep, it always surprises me how few people change off the default Computer Modern -- which I find really spindly and ugly -- given that a single \usepackage{...} will give you a beautiful Palatino, for example. I sometimes suspect they're just wanting to hit me in the face with the fact that they're LaTeX users...

Palatino for text is fine, but what math fonts go well with it? I think them main reason I use Computer Modern is that the math and text fonts look so good together.

How about mathpazo? That's the \usepackage{} I use to get Palatino in the first place, and it includes Palatino-styled math elements.

Re: The price of a messy codebase: No LaTeX on the iPad

#215
post #130
post #95

Earlier quoted context omitted.

In fact, you could run a remote Emacs and edit LaTeX with it, using the excellent AUCTeX package. Of course, that means you need to have a network connection plus a server you can ssh into.

You'd also need to see the layout graphically? (Also, I assume every LaTeX user has a few computers to use as servers..) Edit: Clarity.

I don't know about running Emacs over ssh on an iPad, but locally using the X front-end (e.g. not in a terminal), Emacs can display PDFs.

Re: The price of a messy codebase: No LaTeX on the iPad

#216
post #130

Earlier quoted context omitted.

You'd also need to see the layout graphically? (Also, I assume every LaTeX user has a few computers to use as servers..) Edit: Clarity.

I don't know about running Emacs over ssh on an iPad, but locally using the X front-end (e.g. not in a terminal), Emacs can display PDFs.

It might get tricky though to issue the latex command on the remote server from the Emacs that runs locally?!

Re: The price of a messy codebase: No LaTeX on the iPad

#217
post #130
post #95

Earlier quoted context omitted.

In fact, you could run a remote Emacs and edit LaTeX with it, using the excellent AUCTeX package. Of course, that means you need to have a network connection plus a server you can ssh into.

You'd also need to see the layout graphically? (Also, I assume every LaTeX user has a few computers to use as servers..) Edit: Clarity.

Yeah, that's right... You could scp the .pdf back to the iPad, but that's a bit cumbersome. Oh, well, unless you give Emacs advice to do that for you after each latex command...

Re: The price of a messy codebase: No LaTeX on the iPad

#218
Wait a sec. "No LaTeX on the iPad" conflates "editing a LaTeX document" and "rendering and compiling LaTex to a final document.". Editing LaTeX on the iPad is already perfectly easy and really quite pleasant, especially with a bluetooth keyboard -- I do it most days (currently, Textastic is my preferred platform, supports syntax higlighting, DropBox and MobileMe).

Rendering to DVI or PDF is something else entirely. While other comments here indicate its doable, I have to ask why? I render my documents on another machine (I actually have a script that monitors dropbox and periodically re-pdflatex's if the timestamp changes -- redirecting error messages to a file is trivial if you need to troubleshoot remotely). If you're attempting to do LaTeX with a WYSIAYG interface or (worse) doing the edit-a-line-rerender-repeat cycle, I'd have to say that you're doing it wrong. The assertion that "doing LaTeX" (or, frankly, any platform that supports simple text editing) requires the native presence of the entire LaTex codebase is just misinformed.

Finally, the author of the post apparently started his project without knowing that the original TeX distribution was written using literate programming, what kpathsea was, or that there were other implementations of LaTeX. Perhaps they weren't quite prepared/qualified for the undertaking? This smells like a classic case of "this isn't how I would do it/use the tool, so it must be broken".

Re: The price of a messy codebase: No LaTeX on the iPad

#219
post #155

One real issue is that most users' LaTeX environments are highly customized and tweaked to our own liking. Even if it weren't absolutely nuts to put every-package-and-extension-known-to-man inside a iOS binary, it still wouldn't be right. Like, what if I want LaTeX2HTML (I've never not had to highly tweak this)? What about my snazzy custom fonts? That bibliography style that only one journal accepts and requires thes…

Sounds to me like a LaTeX App for iPad that offloaded page rendering to a server which also handled configuration would be a nice product. I'm guessing the market might not be large enough.

Main problem is that most people who would want it could write the short script to implement it themselves. :-)

Re: The price of a messy codebase: No LaTeX on the iPad

#220

Wait a sec. "No LaTeX on the iPad" conflates "editing a LaTeX document" and "rendering and compiling LaTex to a final document.". Editing LaTeX on the iPad is already perfectly easy and really quite pleasant, especially with a bluetooth keyboard -- I do it most days (currently, Textastic is my preferred platform, supports syntax higlighting, DropBox and MobileMe). Rendering to DVI or PDF is something else entirely. W…

Ah - forgot to mention. If you (like me) occaisionally need to see AMSLaTeX (math) rendered to make sure you got it right, Mathbot on the iPad is your friend.
Post reply on HN