Book-like publications, with Table of Contents (Book Mode: On)
Web publications (a collection of HTML documents): specify URL of the first HTML or the manifest file.
Unzipped EPUB: specify URL of OPF file or top directory of the unzipped EPUB files.
Notes:
GitHub and Gist URLs can be directly specified. Vivliostyle loads raw github/gist content when such URL is specified.
⚠️Mixed Content (“http:” URL is specified to “https:” Vivliostyle Viewer) is usually blocked by browser.
⚠️Cross-Origin (request to different domain) is usually blocked by browser unless the server is configured to allow Cross-Origin Resource Sharing (CORS).
URL parameter options:
#src=<document URL>
&bookMode=[true | false] (Book Mode)
true (default): for Book-like publications, with Table of Contents.
When an HTML document URL is specified, a series of HTML documents linked from the publication manifest or Table of Contents (e.g., marked up with <nav role="doc-toc">) are automatically loaded.
false: for single HTML documents
&renderAllPages=[true | false] (Render All Pages)
true (default): for Print (all pages printable, page count works as expected)
false: for Read (quick loading with rough page count)