Sile – Simon's Improved Layout Engine
github.com
github.com
Standout features, according to me:
- lightweight
- built on modern technologies (TrueType fonts, PDFs)
- high-quality output
- lets you separate content & presentation if you want
(XML can contain content, .sil/.lua presentation)
- lets you create page templates that text flow onto.
(like InDesign)
- lets you write packages to do tricky things, and has
validated the programming model by solving
some legitimately hard layout problems.
I'm not in academia and have never found TeX's ecosystem of packages a huge draw, so I don't think I'll miss that much.The main thing I worry about is stability of interfaces. If people start writing documents and packages that target this, will they continue to work in the future? Is the developer committing to that?
Overall I'm really excited to see this!
- amazing library availability
- decent quality purpose-built tooling
- massive online support community
- endlessly extensible
- beautiful out-of-the-box math support
All but the latter two are out of the developers control. But the latter two will beget the rest. What is math support like? And how easy is it to write extensions/plugins/packages, create templates/styles, etc.?Similarly, does it improve on some of the annoyances of using Tex? It would be nice if I could use my system fonts for typesetting.
Another way to improve adoption would be to look into adding a reader/writer for Pandoc, although that sounds like a complicated venture.
As I see it, there are three major issues with TeX:
1. It's very difficult to compose commands (macros? I don't remember the terminology despite having written a small TeX clone) without understanding how they work. I found it very difficult to understand without re-implementation and a lot of reading of the TeX book.
2. Because of 1, it is easy to shoot yourself in the foot by command misordering or not specifying a necessary closing macro.
3. Debugging is very difficult. The error messages are obstruse and make dealing with 2 very difficult.
If a layout system managed to address these issues, even by targeting TeX, as pandoc does, many people could deal with some loss of flexibility.
However, if you do learn the technology, you can do pretty much anything in print with TeX.
I agree with your list, but I think you overlooked another crucial one:
TeX is one of the most remarkably bug-free and stable pieces of software ever written.
For all its quirks, you can take a .tex file written for an academic paper 30 years ago, and you can run it through a modern TeX implementation today, and there's a good chance that your output will be identical for all practical purposes. Just about everything about TeX and its supporting infrastructure is rigorously specified, robustly implemented, and of course incredibly well documented.
In the era of moving fast, breaking things and pretending it doesn't matter, many dev teams could learn a great deal from TeX's priorities. Given the momentum behind the TeX world now, I suspect that anyone who wants to offer a more modern alternative is going to have to clear that bar as well (and I hope this project does, because it seems to have a lot going for it in other respects).
reasonably? Probably.
https://github.com/simoncozens/sile/blob/558d35d45e1fee89860...
No ligatures, apparently no math support whatsoever, no support for floating figures, no cross-references, no bibliographies, no table of content, no tables even...
Apart from printing bibles (which they mention), I'm having a hard time seeing where this is an improvement over TeX for the end user. Also strange that their comparison with (luaLa)TeX doesn't mention ConTeXt.
Jeffrey Kingston's Lout was a more convincing experiment but it's sadly no longer adequate for complex or multilingual work, due to limitations in the 90s implementation.
I'm not sure I understand that assumption. He's been around the OSS community for decades (wrote some O'Reilly books about Perl, and wrote quite a few Perl modules, though that was more than a decade ago, and I dunno what he's been up to since). I do find the github a little sparse, but there is a website for SILE, which is better: http://sile-typesetter.org/what-is/
It looks like a personal project, rather than a "take over the world" attack on TeX. Seems like if it's an area that's interesting for someone, they might want to have a look. It does have some novel ideas over TeX, and is maybe more modern in some of its implementation details, even if it is nowhere near as complete or mature as LaTeX.
"Does it support mathematics?
Not yet. I understand that mathematics is important in scientific typesetting, but SILE is targeting a particular niche in the humanities. That said, it's not impossible, and it should not be difficult for someone to port MathJax from Javascript to Lua and implement mathematical typesetting as an add-on package."
I don't see what is particularly puzzling about implementing the things that matter to you personally, and leaving other things to contributions. I especially don't see a problem with leaving things to add-on packages if it's possible to leave them out of the core. Papers with complex math in them are a pretty small percentage of the overall number of books/articles in the world.
Also I like the aesthetic. YMMV.
> There is no shortcut for boldface, because boldface isn’t good typographic practice and so we don’t want to make it easy for you to make bad books.
Where/what is that from? Like is that common "knowledge"?
What you definitely shouldn’t do is underlining, though: http://practicaltypography.com/underlining.html
I've read a handful of books where there is some type of bold formatting used, and in each case it was electronic rich text (e.g an email or word document).
Well, poorly. Try printing a site out.
Agreed. I shouldn't have included that line.