4 ms·
What my experiments with various content creation and markup systems over the past 30 years have shown me is that it's far less details of presentation which ar
by dredmorbius 11y ago
What my experiments with various content creation and markup systems over the past 30 years have shown me is that it's far less details of presentation which are crucial, but in enforcing document structure itself.
Presentation changes with technology -- I've seen and used systems with toggle-and-light outputs, true ttys (paper), glass ttys, various terminal and console outputs, the "standard" 24x80 terminal, desktop GUIs, and now handheld and mobile GUI devices with sizes from wristwatch to ledger. Other displays may be as large as a city block.
And that's just viewable output. TTS (text to speech) and voice recognition are also increasingly present.
The same presentation systems don't work across these. But well-encoded semantic content is amazingly robust. I remember learning of the '-man -Tps' (I think) nroff/groff argument -- that is, apply manpage macros, and format for postscript output. The same manual page markup that is readable in a console suddenly becomes pretty-printed (and created a brief market in the late 1990s / early 2000s for "Linux Bible" manpage dump books). Groff has more tricks up its sleeve, and as the Debian dwww package shows, manpages can be converted directly to viewable HTML.
But groff is grotty. I knew it (or precursors) once, well enough to turn in several Uni essays prepared via it. But those neural pathways have long since eroded.
I'd replaced it for quite some time with HTML, a reasonably versatile structured markup system, particularly given that most of what I was writing was intended for online Web publication at some point.
In the past few years I finally cracked the Lion book and started using LaTeX. I'd realised what the blocks were to my earlier attempts (ironically, "easy-to-use" tools such as Lyx actually had gotten in the way), and discovered that it was, as an authoring tool, often far lighter than HTML. Double carriage returns as paragraph breaks replaces seven discrete keystrokes per paragraph. Other constructs are a bit less lightweight, but remain clear.
But the real win is in how LaTeX is both a structured and validated document format. Screw up your HTML somehow, or follow some vendor's proprietary extensions, and a browser will say "eh, close enough". Omit a closing brace or backstroke or dollar sign, and your LaTeX compiler will scream at you until it's blue in the face. Unsettling the first few times it happens, but you begin to realise it's right.
The Web is an error condition: http://deirdre.net/programming-sucks-why-i-quit/ http://deirdre.net/programming-sucks-why-i-quit/
But deeper than that, LaTeX offers structure.
Documents have titles, and authors, and publication dates. They quite frequently have references and bibliographic citations.
Text notes -- foot, side, end, whate'er -- aren't some fucking foreign bolted-on concept.
http://codepen.io/dredmorbius/details/OVmBaZ http://codepen.io/dredmorbius/details/OVmBaZ
There are other bits and pieces that are missing from both, and LaTeX, not principally oriented to online publication, is short on stuff as well. But then, HTML doesn't have a native concept of reputation-ranked, hierarchical, collapsable comment streams either. Despite Usenet's prior art staring it gloweringly in the face for 25 years.
And yes, LaTeX as a direct authoring environment has its downsides. I've actually taken to preferring Markdown for my intial pass through writing documents, and it's a langauge which can readily be front-ended by the GUI-friendly tools most writers will want.
And HTML5's semantic structures and the valient attempts by some (see Readability's Developers section and the hNews microformats specs) are actually pretty cool. But until and unless someone steps in to require validated content before they'll pass it (and "someone" tends to be spelled "major search engine", which is spelled "Google" -- who have actually stepped in to police some standards of online behavior and presentation), we're stuck with the fact that crap HTML is still blindly accepted.
But if anything, front-ended by Markdown or other simple markup languages, it's HTML that should be replaced by TeX.
- JadeNB 11y agoI know this is a trivial response to such a thoughtful post, but what is "the lion book"? Do you mean The TeXbook (http://www-cs-faculty.stanford.edu/~uno/abcde.html http://www-cs-faculty.stanford.edu/~uno/abcde.html)?
- dredmorbius 11y agoNo, though that's also worth buying. Leslie Lamport's LaTeX: A Documentation Preparation System http://www.powells.com/book/latex-9780201529838/61-1 http://www.powells.com/book/latex-9780201529838/61-1 It really is quite simple. I set up a couple of templates for articles and books, and frequently re-tag either straight text or HTML into LaTeX when I'm frustrated with existing presentations.
- JadeNB 11y agoThanks! There's no need to convince me of the utility of (La)TeX; I am a mathematician. I just hadn't heard the term "the lion book" before.