cargo crowbook 0.11.2

latest releases: 0.16.1, 0.16.0, 0.15.2...
7 years ago
  • General:
    • When there is an error setting an option from the book configuration
      file (e.g. because it is an invalid key), print an error but do not
      abort, only ignore this specific option.
  • New options:
    • tex.stdpage: if set to true, will use the stdpage package to
      render the book according to standards for submitting manuscripts.
    • rendering.highlight.theme allows to specifies a theme for syntax
      highlighting (only used if rendering.highlight is set to
      "syntect").
    • html.highlight.theme, epub.highlight.theme and
      tex.highlight.theme allow to specify a theme for
      HTML/EPUB/LaTeX renderers (only used with syntect).
  • Deprecated option:
    • proofread.nb_spaces.
  • Rendering:
    • [syntect](https://crates.io/crates/syntect) is now the default
      for rendering.highlight. Concretely, this means that by default
      syntax highlighting is now done when crowbook is run instead of
      using [highlight.js](https://highlightjs.org/).
    • EPUB:
      • Now sets the "cover-image" property and meta so readers should
        display cover correctly.
      • Narrow non-breaking spaces should display more correctly on KOBO
        ereaders (hoping this won't break the way they are displayed
        everywhere else).
  • Proofreading:
    • Repetition detection is now a bit less of an hack, and should
      cause less problems when used in conjunction with grammar
      checking. It now also works on PDF output (so the way it is
      highlighted could be improved).
  • Bugfixes:
    • Fix mimetype of EPUB files (make sure it is always "stored" and
      not "deflated" by the zip command).
    • Avoid initializing syntect (at the cost of performances) if it
      is not used.
    • Avoid creating an empty file if some book renderer fails
      (e.g. EPUB or ODT because zip command is not present).

Don't miss a new crowbook release

NewReleases is sending notifications on new releases.