Hi, thank you for your feedback!
> On 2015/12/08, at 3:46, Andreas Jung <zopyx...@gmail.com> wrote:
> is there some (planned) support for Javascript in Vivliostyle?
We definitely want to support JavaScript in near future, but we haven’t determined when we will add that.
I think there are several patterns of how we want to use JavaScript with Vivliostyle:
- Pre-process the document before page layout by Vivliostyle, e.g. automatically generating some contents like table of contents, index etc.
- Controlling interaction between the user and the document on screen after page layout by Vivliostyle.js, e.g. handling mouse events etc.
- Injecting some custom procedure into middle of Vivliostyle’s layout process, i.e. a plugin for Vivliostyle
On Dec 15, 2015, at 04:01, Andreas Jung <zopyx...@gmail.com> wrote:
Am Freitag, 11. Dezember 2015 06:44:01 UTC+1 schrieb Kawakubo Toru:Hi, thank you for your feedback!
> On 2015/12/08, at 3:46, Andreas Jung <zopyx...@gmail.com> wrote:
> is there some (planned) support for Javascript in Vivliostyle?
We definitely want to support JavaScript in near future, but we haven’t determined when we will add that.
I think there are several patterns of how we want to use JavaScript with Vivliostyle:
- Pre-process the document before page layout by Vivliostyle, e.g. automatically generating some contents like table of contents, index etc.Standard support jQuery and related add-ons is likely a must.JS templates could be used to generate TOC, listings etc.Support for add-ons providing additional presentation elements like charts would be handy
- Controlling interaction between the user and the document on screen after page layout by Vivliostyle.js, e.g. handling mouse events etc.I don't see much usecases for this.
- Injecting some custom procedure into middle of Vivliostyle’s layout process, i.e. a plugin for VivliostyleHot topics are always handling of page breaks, overlong tables, oversized images. For example support for some adaptive image sizing would be very handy.