idyll-lang / idyll

Create explorable explanations and interactive essays.
http://idyll-lang.org/
MIT License
2.01k stars 87 forks source link

Page Layouts | Precise typesetting | Use for Publishable Documents #203

Open sirinath opened 7 years ago

sirinath commented 7 years ago

With

and other publishing related customisations.

mathisonian commented 7 years ago

You can do this by using the page template option!

To use a custom template, update your idyll build like so:

$ idyll index.idl --template=path/to/template.html

you can start with the template that Idyll uses internally and modify it to fit your needs.

sirinath commented 7 years ago

What I had in mind is MS Word, Publisher or LaTeX like Pages with headers, footers, footnotes, margin notes, endnotes, content, indexes, etc.

mathisonian commented 7 years ago

Ah okay - for tables of contents, footnotes, references, etc, we are working on enabling that functionality via https://github.com/idyll-lang/idyll/issues/70

sirinath commented 7 years ago

OK.

mathisonian commented 7 years ago

If you want to be able to create PDFs or similar it would be possible but you'd have to write a different renderer. For example at some point I hacked together something that transformed idyll markup to latex code.

This isn't something we'll focus on in the short-term, but if you want to help I would be happy to provide guidance!

sirinath commented 7 years ago

I am looking for something like Computable Document Format