Re:Why is TeX still used? What are some good, modern alterna...
by bane on Tuesday March 15, 2011 @07:57AM
(#2327020)
http://code.google.com/p/hyphenator/
And example in action http://www.bramstein.com/projects/typeset/flatland/
Re:Why is TeX still used? What are some good, modern alterna...
by bramstein on Tuesday March 15, 2011 @08:42AM
(#2327164)
Thanks for the reference. I have also recently released my own JavaScript hyphenation engine:
https://github.com/bramstein/Hypher
It is quite small and fast, and mostly aimed at integration with other libraries, unlike Hyphenator.js (which comes with a partial DOM library.) An example integration can be seen in the Treesaver library (https://github.com/bramstein/treesaver/tree/hyphenation) where it is used to hyphenate magazine columns.
- You can reuse it everywhere, publish it on the web, print it
- It's easier to generate
- You can combine it with code much more easily
- Semantic tags in HTML5 (<article>, <section>) remove a big feature gap with LaTeX
- You can reuse your HTML skills for much more other topics.
I use LaTeX quite a bit, still use it for special goals (resumes, articles), but outside the scientific crowd, I don't think it is the best solution any more. I know the typography is better there than on most other software, but on that I rather wished browsers and HTML got better.