Thank you! #2214
Replies: 2 comments 2 replies
-
Description lists are different from itemized/enumerated items, semantically and syntactically. For what is worth, resilient has a package resilient.defn for them (e.g., used for supporting Markdown/Djot description lists). You might give it a try.
Let's even go further: N-column modes, N ≥ 2 Or the ultimate dream, modular grid layout (second point there, and subsequent comment)... |
Beta Was this translation helpful? Give feedback.
-
By the way, since you mentioned your SILE-made PDF version of a book, I think we'll appreciate to have a reference in our Wiki when ready ;) |
Beta Was this translation helpful? Give feedback.
-
I've wanted an excuse to use SILE for a real project since I saw Simon's talk and had breakfast with him the following day at FOSDEM 2015 (wow, ten years ago!). I hadn't written a book since then, so I hadn't had a good opportunity, but we recently got a grant for me to finish the first edition of the CHERIoT Programmers' Handbook and get it published, so finally an excuse!
I wrote my last few books using semantic markup that happened to be valid TeX and had a separate flow for generating ePub. This came with some annoyances: LaTeX syntax is not very consistent and some things needed to be replicated in very different ways. For example, code listings in the ePub were parsed with libclang and got full semantic highlighting, code listings in the LaTeX used the listings package and got simpler syntactic highlighting.
For the new one, I wanted to be able to produce four different outputs:
I wrote a tool that parsed some cleaner markup and ran a set of (Lua) passes over it to produce SIL or XML-like output (HTML is not quite XML, but close enough that a common back end can write both). It turned out that XML was easier to feed to SILE than SIL, so I ended up using the {X,HT}ML back end for everything. This let me write semantic markup and mostly forward it to HTML as div and span classes that I can convert to presentation markup with CSS, and lower progressively to SILE's input, using existing packages where they exist and just generating syntactic markup where not. For example, a keyword in code listing is
<span class="code code-Keyword">
in HTML, but justfont
orcolor
elements in SILE.My experience with SILE has been great. I've used the packages from @Omikhleia's resilient for a bunch of things and the output looks very nice. Beyond that though, there are two things I really appreciate:
First, I've filed a bunch of bugs and they've been fixed very quickly. Most of them were easy to work around.
Second, the structure of SILE makes it a real Free Software system. As an end user, it's been trivial to extend, either by copying things from PRs into my document or by monkey patching bits of the typesetter. Thank you!
There are really only three limitations that I've encountered:
Beta Was this translation helpful? Give feedback.
All reactions