Repository navigation
|
Hello, I did two books in the past using LyX/LaTeX/Xindy..the content had mix of Croatian/English with Sanskrit diacritics - that was the reason to use Xindy for index....few parts, many chapters, appendix, glossary, bibliography, figures (with captions). Now I'm considering another book project and wonder whether to use markdown/org-mode as source markup and then convert to either LyX and fiddle with LaTeX for a fine-tuning. Another option would be to use ConTeXt which, conceptually, looks nice, but I've never really dived into it, the docs are not very well organized, not certain about its future etc. SILE looks great, and wonder if I could reproduce the same features as in my old books? What about editor support for its markup? Is it possible to write drafts in some markup and then somehow convert to SILE? |
Replies: 2 comments 7 replies
SILE has several ways of supporting Markdown, notably natively with markdown.sile (but other solutions exist too), via Pandoc, etc. Other than that, it's hard to answer the question, which is very general! Indexes are something where the (current) package might be lacking features. |
|
Editor support for the markup only exists for VIM/NeoVIM as far as I know. It probably wouldn't be hard to work up others, but nobody has done it yet (c.f. #1406 for discussion about vscode support and talk of an LSP). You can use SILE to typeset directly from Markdown if you want, with or without converting it to SILE's markup first. There is a 3rd party Markdown inputter that parses directly or I have a Pandoc fork I use for conversion first. There are pros and cons of both ways. Obviously I'd need to see some sample pages to make any more definite statements, but at a guess your "figures with captions" may be the hardest hurdle right now. Not impossible but we don't have off the shelf packages with robust figure placement like LaTeX/ConTeXt have right now. The rest (parts, chapters, appendix, glossary, bibliography, etc.) should be relatively easy to put together. The mix of languages is not necessarily a problem. There are two approaches though, and I would strongly advise for the somewhat harder approach of tagging your input content. SILE can handle mixed character sets using fallback fonts so you can mix and match UTF-8 input, but there are some language features built into fonts that won't get all the shaping right unless it known the target language at any given point. Hence whether you use SILE native markup like If you feel like sharing a couple of page spreads from previous work I or others can probably comment more informatively on how easy or hard it would be to come up with similar results in SILE. |

Editor support for the markup only exists for VIM/NeoVIM as far as I know. It probably wouldn't be hard to work up others, but nobody has done it yet (c.f. #1406 for discussion about vscode support and talk of an LSP).
You can use SILE to typeset directly from Markdown if you want, with or without converting it to SILE's markup first. There is a 3rd party Markdown inputter that parses directly or I have a Pandoc fork I use for conversion first. There are pros and cons of both ways.
Obviously I'd need to see some sample pages to make any more definite statements, but at a guess your "figures with captions" may be the hardest hurdle right now. Not impossible but we don't have off the shelf …