5 ms·
I prefer HTML & CSS, maybe with something like restructuredText on top.
by jvehent 12y ago
I prefer HTML & CSS, maybe with something like restructuredText on top.
- Argorak 12y agoFor print-quality stuff?
- mkozlows 12y agoYes. CSS (in Chrome and Firefox and modern IE; not Safari, despite Apple's typographical reputation) supports OpenType features like ligatures, stylistic alternates, kerning, true small caps (not using the CSS font-variant property, using the font-feature-settings property), lining/oldstyle (and proportional/tabular) numbers, etc. HTML/CSS typography can be very sophisticated.
- illicium 12y agoAnd at the same time, HTML/CSS typography is in the stone age compared to LaTeX. No microtype without manually tweaked <span> soup, awful justified layout, CSS regions and columns are a work in progress, and all of this is unusable for print because there is no concept of pagination.
- mkozlows 12y agoGood justification/hyphenation requires Javascript, yes. That's still an existing weakness. But there is absolutely pagination control. HTML + CSS isn't perfect, of course, but the difference between HTML and professional typesetting is much, much smaller than the difference between Word and professional typesetting.
- qznc 12y ago> there is absolutely pagination control Put something at the bottom of the current page, like a footnote.
- qznc 12y agoI agree that the browser engines are too limited at the moment. It somewhat works, if you use the proprietary PrinceXML. http://www.princexml.com/ http://www.princexml.com/
- andrey-p 12y agoIt's a bit finicky but it's possible. Text is vector so as long as you use print-quality images and shrink them down to screen size using the width and height properties, you can have something that looks pretty good on both print and screen. (I've self-published a book that way and was surprised at how well it worked.)
- sdenton4 12y agoWell, the point is that just shrinking stuff that looks pretty good isn't professional typesetting. Attention to stroke size in small-caps fonts are exactly the difference between a professional system (or just a professional typesetter) and using MS Word. It's not out of the question to build a JS-based system to do this kind of thing, but it would be a great deal of work, with probably little payout. After all, Knuth and crew have been doing the work and the upkeep on TeX and LaTeX for what, twenty or thirty years now?
- andrey-p 12y agoI actually did end up building a similar tool[1] for my self-published book, creating a printable PDF booklet out of markdown. It's probably not good for serious publishing but I found it hell of a lot easier to work with than LaTeX and/or Word. [1]: https://github.com/andrey-p/apocalism-js https://github.com/andrey-p/apocalism-js
- qznc 12y agoI just checked your Naphthalene pdf. Looking at the first page of text (page 1): * The first real kerning issue is the third word "wondering", which looks like "wo n d erin g" to me. The kerning is terrible, but that is probably more of a font issue. * There should be no line break between the words: >>overpowering circumstance?”<< Probably should hyphenate circum-stance.
- andrey-p 12y agoYeah, I'm aware of these. The kerning issue is due to an existing bug with PhantomJS on Linux [1]. Hyphenation is a feature I've been wanting to do for a while but haven't managed yet due to the lack of a decent hyphenation engine for JS [2]. To quote from the readme, the program is "a very early version with a number of problems". But my point of "it's finicky but possible" still stands. [1]: https://github.com/ariya/phantomjs/issues/12016 https://github.com/ariya/phantomjs/issues/12016 [2]: https://github.com/andrey-p/apocalism-js/issues/18 https://github.com/andrey-p/apocalism-js/issues/18
- mFixman 12y agoI prefer having coffee for breakfast than LaTeX.
- dnautics 12y agoI know this is being downvoted, but there is something to this statement. There's a lot in LaTeX that is getting obsolete and needs to be fixed... I personally think that a JS-based "cleanslate" alternative to LaTeX would be awesome.
- Argorak 12y agoThe statement is being downvoted for glossing over 2 huge technologies in a sentence. What, for example, is the "obsolete" things you are speaking about? (not that I want to argue that there are none, but give us something to talk about)
- dnautics 12y agoPackage management is the big one, and the poor integration of BiBTeX/references. A more straightforward way of figuring out clashing packages would be nice. I also generally disliked how some features were environments (document, abstract figure) whereas others are commands (sections, subsections, paragraphs, etc). Inconsistencies in what things are passed to various commands as options vs. arguments were irritating, and it's always a bear, for example, if you need to pass say math-ey stuff an argument. E.g. \caption{$a+b$} Nope. Can't do it.
- inclemnet 12y ago> E.g. \caption{$a+b$} Nope. Can't do it. I don't disagree in general about some of the flaws of LaTeX, but am I missing something about this one? Using maths in a caption works fine.
- bsmith 12y agoI used HTML & CSS for my resume: http://thisisbrians.com/resume.html http://thisisbrians.com/resume.html
- fantispug 12y agoThat's great if people are viewing your resume online, but the print version looks very ordinary; there's a page break within a block, the format is dull (you even set a print stylesheet), and, for instance, the kerning is mediocre compared to TeX (e.g. in Europe). Your resume even compete on any of the points that (La)TeX is good at.
- mkozlows 12y agoHis resume could look much better; he's using Georgia (a system font) and not using the OpenType features enabled by modern CSS. LaTeX's hyphenation and math have no (non-JS) match in HTML/CSS, but just about everything else is very matchable. You can enable kerning based on OpenType GPOS, you can control page breaks (with page-break-inside or widows, for instance), and just about anything else that you can think of. Modern HTML + CSS is amazingly capable, and this isn't fully appreciated yet.
- grayclhn 12y agoDude, take "Skateboard club at Georgia Tech" off your resume. Especially since it looks like you either quit or were kicked out of your role as founder and president after your first year!