cargo crowbook 0.10.0

latest releases: 0.16.1, 0.16.0, 0.15.2...
7 years ago

This release contains some breaking changes (mostly for the API, which has been split in separate libraries). It alse features some internationalization support, and the program should now be tranlated if your LANG environment
variable is set to french.

  • Breaking changes:
    • Templates:
      • Conditional inclusion depending on lang must now be done using lang_LANG (e.g.
        lang_fr, lang_en, and so on). This might impact custom epub.css and html.css
        templates.
    • API:
      • The escape module has been moved to a separate crate,
        crowbook_text_processing. The cleaner module is no longer
        public, but the features it provided are also available in
        crowbook_text_processing.
  • New options:
    • html.css.colours allows to provide a CSS file that only redefine
      the colour scheme. Such a file can be built from crowbook --print-template html.css.colours.
    • input.smart_quotes: if set to true, tries to replace ' and " by curly quotes.
  • Command line interface:
    • Crowbook is now (imperfectly) localized in french, and can be
      translated to other languages.
    • Added the --quiet (or -q) argument, that makes crowbook run without
      displaying any messages (except some error messages at this point).
  • Rendering:
    • HTML:
      • The table of contents menu is no longer displayed in the HTML single renderer if
        it doesn't contain at least two elements.
      • The default colour theme has been modified a little.
  • Bugfixes:
    • Fix the escaping of non-breaking spaces in EPUB, as   and
      its friends aren't valid entities in XHTML, apparently.

Don't miss a new crowbook release

NewReleases is sending notifications on new releases.