idyll icon indicating copy to clipboard operation
idyll copied to clipboard

Page Layouts | Precise typesetting | Use for Publishable Documents

Open sirinath opened this issue 8 years ago • 6 comments
trafficstars

With

  • Header
  • footer

and other publishing related customisations.

sirinath avatar Oct 14 '17 03:10 sirinath

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.

mathisonian avatar Oct 14 '17 16:10 mathisonian

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

sirinath avatar Oct 14 '17 16:10 sirinath

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

mathisonian avatar Oct 14 '17 16:10 mathisonian

OK.

sirinath avatar Oct 14 '17 16:10 sirinath

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!

mathisonian avatar Oct 14 '17 19:10 mathisonian

I am looking for something like Computable Document Format

sirinath avatar Oct 15 '17 07:10 sirinath