Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
736 lines (645 sloc) 47.9 KB

Change Log

2019.1.104-pre

Fixed

2019.1.103 - 2019-04-05

Fixed

Changed

2019.1.102 - 2019-03-04

Fixed

2019.1.101 - 2019-02-27

Added

  • TOC (Table of Contents) navigation is now enabled
  • Support Web Publications and similar multi-HTML documents
    • https://github.com/vivliostyle/vivliostyle.js/pull/511
    • Supported document types with #b= Viewer parameter (= Viewer.loadPublication() function):
      • Unzipped EPUB
        • URL of the OPF file can be specified as well as the top directory of the unzipped EPUB files.
      • Web publication (a collection of HTML documents with reading order)
      • (X)HTML document
        • When (X)HTML document URL is specified, the URL is treated as primary entry page's, and a series of HTML files are automatically loaded.
          • When the web publication manifest is specified in the primary entry page (X)HTML document, the readingOrder in the manifest is used.
          • If manifest is not specified or "readingOrder" is not in the manifest, the (X)HTML documents linked from the TOC element that is selected with CSS selector [role=doc-toc], [role=directory], nav li, .toc, #toc are loaded.
  • Support loading documents from GitHub and some specific URLs
  • Publication title and individual HTML document title are now passed to viewer UI
  • env(pub-title) and env(doc-title) environment variables for page headers with publication/document titles
    • https://github.com/vivliostyle/vivliostyle.js/pull/512
    • Spec: CSS Environment Variables Module Level 1 defines 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
    • When title data are not found, i.e. no <title> element in HTML, or env(pub-title) with #x= Viewer parameter (= Viewer.loadDocument() function), the empty string "" is returned.
  • Viewport-percentage length units: vw, vh, vi, vb, vmin, vmax, and page-size-percentage units pvw, pvh, pvi, pvb, pvmin, pvmax
    • https://github.com/vivliostyle/vivliostyle.js/pull/507
    • Spec: CSS Values and Units - Viewport-percentage lengths, but page-size-percentage units are not defined so far.
    • Note: On paged media context, the viewport-percentage units vw, vh, vi, vb, vmin, vmax are relative to the size of the page area, i.e., the content area of a page box and not including margin, border and padding specified on @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.
  • Support CSS calc() function
  • [Viewer UI] New "User Style Preferences" in the Settings panel
    • https://github.com/vivliostyle/vivliostyle-ui/pull/64
    • New settings: Page Margins, Page Breaks (widows/orphans), Images, Text (base font-size, line-height, font-family)
    • User style CSS code is shown and editable in "CSS Details" box
    • User style CSS is saved in the URL parameter userStyle=data:,/*<viewer>*//*</viewer>*/ and not disappear when reloading, and can be bookmarked in browser.
    • "Font size (%)" reflects the ViewerOptions.fontSize that can be increase/decrease with "Text: larger/smaller" buttons, and this setting is saved in the new URL parameter fontSize=.
  • [Viewer UI] Vivliostyle Viewer start page with document URL input and usage description
    • https://github.com/vivliostyle/vivliostyle-ui/pull/65
    • When document URL parameter (#b= or #x=) is not specified, the start page is now displayed.
    • Document URL entered by user is reflected in the URL parameter #b=, and when the Enter key is pressed, the document is loaded.

Changed

Fixed

2018.12.103 - 2019-01-03

Fixed

Changed

  • [Viewer UI] UI adjustment
    • Setting panel "Apply" button now closes the panel
    • Enable "Previous Page", "Next Page", and "Text: Default Size" buttons when window is wide enough

2018.10.100 - 2018-10-31

Added

Changed

Fixed

2018.8.100 - 2018-09-10

Added

Changed

Fixed

2018.2 - 2018-02-02 (Unreleased)

Added

Changed

Fixed

2017.6 - 2017-06-22

Added

Changed

Fixed

2017.2 - 2017-02-22

Added

Changed

Fixed

2016.10 - 2016-10-25

Added

Changed

Fixed

2016.7 - 2016-07-04

Added

Changed

  • counter-reset and counter-increment specified in a page master (@-epubx-page-master) are now effective to page-based counters

Fixed

2016.4 - 2016-04-08

Added

Fixed

2016.1 - 2016-01-20

Added

Changed

Fixed

0.2.0 - 2015-09-16

Beta release.

Added

Changed

Fixed

0.1.1 - 2015-05-06

Minor update with several changes and bug fixes.

Added

Changed

  • [core] Cascade page size specified in @page rules to page masters defined by @-epubx-page-master rules
    • https://github.com/vivliostyle/vivliostyle.js/pull/17
    • When @page rules and @-epubx-page-master rules are both specified, the page size specified by 'size' property in @page rules is applied to the selected page master. This behavior is not defined in the related specs. We added this behavior for a use case in which one wants to print content styled with Adaptive Layout on a paper sheet and wants to specify the sheet size by adding a (user) stylesheet containing @page rules with 'size' property.

Fixed

0.1.0 - 2015-04-28

Initial alpha release. Following features are added while keeping the original Adaptive Layout features.

Added

You can’t perform that action at this time.