TODO: (updated 26 Oct 2006) - Use a single domain name which maps dynamically to some running server. Right now the subjectivity of the server address threatens to invalidate existing URLs. PROGRESS: * acquired the domain name httex.org; will use to load-balance between myth servers unless I can determine that my compute-time quota on the dreamhost system won't be threatened (and performance is good enough) * bookmarklet now just a generic loader for a remote javascript file, so no need to update bookmarklet when server changes (though image urls will need an update) - Select the translated item (be it text or equation) after translation, so that the bookmarklet can be immediately pressed again to toggle it back. RESERVATIONS: * For single-character symbols, the image-selection box obscures almost the entire symbol. So selecting the image after conversion may not be appropriate (and selecting the text after converting the other way isn't so useful if the user is going to change the text anyway). - Normalize tex snippets so that equivalent expressions hash to the same output/* subdirectory (despite possible differences in bracketing / whitespace usage). PROGRESS: * This is a pipe dream for the moment. Haven't even looked for tex parsers. But still seems like a fun challenge. - Make the replacements register in the undo stack (in both directions). - Really remove equation when switching back. (temporary hack-fix: auto-save with every transformation... doesn't help undo stack, but at least avoids corruption due to circumventing the writely DOM manipulation wrappers.) DONE! - Upload image as asset using curl from the server so that Writely document can be exported in the various file formats with all images intact. RESERVATIONS: * Potentially impossible without faking a substantial portion of the client- and server-side session information. Might ultimately have to do this client-side, perhaps as a hook into the saving procedure (or, even better, save-and-close). - Do something more intelligent when user's markup fails in the pdflatex step. IDEA: * Can I avoid escaping the alt text, so that it will be intelligible to the user when the image fails to load? I suppose this just means replacing my choice of string delimiters with an escape sequence. - Slicken the index.html design. Remove tounge from cheek.