Skip to content

v0.3.1

Choose a tag to compare

@Mnwa Mnwa released this 22 Nov 20:29
· 23 commits to main since this release
f89fed5

Added

  • The reader opens a picture, a diagram or a formula that stands alone in
    its paragraph over the whole window when it is clicked or tapped. The
    viewer fits it to the window and zooms it with buttons, +, - and 0,
    a pinch, or the wheel with Command or Control held; an enlarged picture
    is moved by dragging or scrolling. A picture is decoded again at its own
    size for the viewer.
  • mbook_converter::figure, with the export feature, draws a Mermaid
    diagram or a KaTeX formula as SVG with its size and baseline, in the
    colours of a page. mbook-ui draws the figures of its pages with it; the
    renderer moved there from the application.

Changed

  • The documentation is one site with two kinds of document. RFC 0001 and
    its decision records specify the format and nothing else. RFC 0002,
    RFC 0003 and RFC 0004 are retired: what they said about mbook,
    mbook-converter and mbook-ui is now a section of pages per crate,
    with an overview, a guide, reference pages and the design. The pages of a
    crate describe the code and are not normative.
  • The book moved from rfcs/ to docs/, with the format under
    docs/src/rfcs/, and is built with mdbook build docs. The addresses the
    site had before lead to the new pages.
  • The README of each crate holds more examples and a summary of its pages:
    the two types, limits and features of mbook; the formats, the losses a
    conversion reports and the defaults of mbook-converter; the screens,
    keys and storage of mbook-ui.
  • The site shows the icon of the application, links every page to its
    source for editing, and gives tables the width of the column.

Fixed

  • Export writes the diagrams and formulas of a book as PNG pictures in
    EPUB, DOCX, FictionBook, PDF, comic archives, HTML and Markdown instead
    of their alternative text. A formula alone in its paragraph is a display
    formula, one inside a line sits on the baseline of the line in EPUB, HTML
    and Markdown, and a figure that cannot be drawn is still written as its
    alternative text.
  • The reading example of the README compiles: it kept the iterator of
    chapters borrowed while it read a chapter.
  • The pages of mbook-ui no longer list conversion from mbook among the
    non-goals, nor export among the future possibilities: the application
    exports since v0.3.0.