![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
vivliostyle
Advanced tools
Library for web sites with rich paged viewing and EPUB support, shared with Vivliostyle Formatter & Browser
JavaScript library for web sites with rich paged viewing and EPUB support.
Please send them to
Download an all-in-one package (Vivliostyle Viewer) from https://vivliostyle.org/download/ and follow the instruction in it.
See Vivliostyle Viewer User’s Guide
See https://github.com/vivliostyle/vivliostyle-ui for source code of the UI.
Vivliostyle.js can be installed from npm:
npm install vivliostyle
See API Reference.
See vivliostyle-print for integrating printing with Vivliostyle.
See Vivliostyle.js Development.
Licensed under AGPL Version 3.
Vivliostyle.js is implemented based on Peter Sorotokin's EPUB Adaptive Layout implementation, which is licensed under Apache License, Version 2.0.
Vivliostyle.js contains following components:
2019.1.101 - 2019-02-27
#b=
Viewer parameter (= Viewer.loadPublication() function) is used, and the publication has TOC data. In HTML documents, TOC is marked up with e.g. <nav role="doc-toc">
. Vivliostyle recognizes element that is selected with CSS selector [role=doc-toc], [role=directory], nav li, .toc, #toc
as a TOC element.#b=
Viewer parameter (= Viewer.loadPublication() function):
[role=doc-toc], [role=directory], nav li, .toc, #toc
are loaded.env(pub-title)
and env(doc-title)
environment variables for page headers with publication/document titles
env()
function, but env(pub-title)
and env(doc-title)
are not yet defined so far.env(pub-title)
: publication title = EPUB, Web publication, or primary entry page HTML title. Enabled when #b=
Viewer parameter (= Viewer.loadPublication() function) is used.env(doc-title)
: document title = HTML title, which may be chapter or section title in a publication composed of multiple HTML documents<title>
element in HTML, or env(pub-title) with #x=
Viewer parameter (= Viewer.loadDocument() function), the empty string "" is returned.@page
rule. This makes a lot of sense, but page size relative units may also be necessary. The pvw, pvh, pvi, pvb, pvmin, pvmax units are similar to the vw, vh, vi, vb, vmin, vmax but the reference size is the page size including page margins.calc()
function
calc()
function, min()
and max()
functions can be used inside calc()
function.calc()
is not calculated correctly
calc()
implementation is made simply reusing Adaptive Layout -epubx-expr()
function, so there are some limitations for now.userStyle=data:,/*<viewer>*/
…/*</viewer>*/
and not disappear when reloading, and can be bookmarked in browser.fontSize=
.#b=
or #x=
) is not specified, the start page is now displayed.#b=
, and when the Enter key is pressed, the document is loaded.renderAllPages=[true|false]
.renderAllPages=false
for #b=
(Book view) and renderAllPages=true
for #x=
(individual (X)HTML document).h1,h2,h3,h4,h5,h6 { break-after: avoid; }
to the default style sheet to avoid page/column breaks after headings by default.
text-justify: inter-ideograph
problem
#b=
Viewer parameter, loadEPUB()
to loadPublication()
, that is now not only for EPUB.
<style>
element.
FAQs
Library for HTML+CSS typesetting and rich paged viewing with EPUB/Web publications support
The npm package vivliostyle receives a total of 0 weekly downloads. As such, vivliostyle popularity was classified as not popular.
We found that vivliostyle demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.