Skip to content

Releases: crowdagger/crowbook

0.17.0

07 Jun 11:07

Choose a tag to compare

I hadn't made a proper release in a long time, so I thought it was better not to postpone anymore. Besides updating a few dependencies, 0.17.0 removes a few feature that were not really maintained anymore, such as a libreoffice writer export.

* Try to get rid of technical debt, including removing features that were half baked and not really useful.
  * Remove proofread options.
  * Remove ODT renderer.
  * Replace mustache for templates by [upon](https://crates.io/crates/upon)
  * Use rust-i18n for internationalization instead of hackish (and unmaintained) crowbook-intl
* HTML:
  * When hovering a mouse hover a footnote, display its content to the side of the page.
* LaTeX:
   * Add `tex.cover` option to embed the cover image in the PDF file

0.16.1

04 Aug 02:28

Choose a tag to compare

  • Allow HTML in titles's toc where it's legal to do so in EPUB.
  • Remove some invalid characters in EPUB's XML 1.0

0.16.0

27 Jul 13:48

Choose a tag to compare

  • epub.titlepage.xhtml can now be overriden (geobert)
  • Fix an issue where horizontal rules could be interpreted as additional front matter
  • Generated PDF now include some metadata
  • Fix internal links under Windows

0.15.2

06 Jul 23:53

Choose a tag to compare

  • Fixed endless progress bar on renderer failure

0.15.1

06 Jul 23:53

Choose a tag to compare

  • html.css.colours has been renamed html.css.colors
  • Fixed issue with table of contents page numbers in PDF output
  • Fixed issue with invalid XHTML in EPUB when using description terms
  • Fixed left/right margins in LaTeX (which were reversed)
  • LaTeX outputs of french documents now use enspaces and narrow non-breaking spaces
  • New option:
    • tex:escape_nb_spaces defaults to true and will uses TeX codes to display non-breaking spaces.

v0.15.0

18 Jul 22:25

Choose a tag to compare

  • Moved from pulldown-cmark to comrak for parsing Markdown. This may have some
    performances drawbacks but allows for a few more features:
    • Description lists
    • Strikethrough
    • Task items
  • New option:
    • crowbook.files_mean_chapters allow to enforce that each files
      means a chapter break or to make sure that it doesn't (by default,
      only true for numbered chapters).
  • Fallback on Rust zip library when there is no zip command.
  • By default, don't add an empty chapter title for non numbered
    "chapters" that don't contain a title.
  • Now uses reqwest instead of hyper to connect to languagetool/grammalecte.
  • hyphenation dependency is now optional.
  • Dependencies update.
  • Fix type deduction issues for new rustc compliler

0.14.1

01 Jun 17:03

Choose a tag to compare

  • --stats can now display more statistics when used with the
    --verbose option (if support for advanced statistics is compiled)
  • LaTeX outputs now make uses of user-defined rendering.chapter and
    rendering.part
  • Dependencies update

0.14.0

26 Nov 20:35

Choose a tag to compare

  • New option:
    • autograph is an autograph added after title.
  • User interface:
    • new argument --autograph prompts for an autograph.
    • --list-options and --stats now use colours if available.
    • options description with --list-options are now wrapped.
  • Bugfixes:
    • Preserve errors/warnings order with fancy UI.
    • Clean secondary bar when there is an error instead of hanging the UI.
    • LaTeX: fancy headers only applies to fancy pages (not chapter pages).

0.14.0 beta

08 Oct 20:56

Choose a tag to compare

0.14.0 beta Pre-release
Pre-release
  • Bugfixes:
    • EPUB: escape quotes in content.opf.
    • LaTeX/PDF: allow hyphenations in typewriter font.
  • User interface:
    • User interface is quite fancier, with progress bars and all
    • Debug/warning/info levels should be displayed in a more coherent manner
    • New --no-fancy option if you don't like the fancy UI (or if it doesn't work
      in your terminal)
    • New --force-emoji option to force emoji usage.
  • Library interface:
    • Removed Book::set_verbosity method (uses a logger library instead).
  • Now requires rustc >= 1.20.0

0.13.0

14 Jul 17:45

Choose a tag to compare

  • Breaking changes:
    • The template.tex template was quite modified. Crowbook now
      uses custom command for most markdown elements, defined in the
      template. This allow an user to redefine the way the book is
      rendered without having to modify Crowbook itself. Unfortunately,
      as tex templates for previous Crowbook versions won't work anymore.
    • the resources.files option is now a YAML list of strings, instead of a
      comma-seprated string.
  • Add support for grammalecte grammar checker.
  • crowbook command takes a new argument, -S or --stats which
    displays stats on the book (currently, words and characters count).
  • Interactive fiction:
    • Added conditional blocks.
  • Options:
    • output.xxx options can now take the "auto" value, which will infer the
      output file name based on the book file name.
    • output is a new option that can specify a series of format to
      render, with default output file name.
    • proofread.grammalecte and proofread.grammalecte.port allow
      respectively to enable grammar checking with Grammalecte and
      (optionnally) to specify the port to connect.
    • tex.margin.left, tex.margin.right, tex.margin.bottom and
      tex.margin.top are new options that allow to specify margins
      for LaTeX/PDF outputs.
    • tex.paper_size was renamed tex.paper_size.
  • HTML:
    • Add JSON-LD structured data to the book's HTML files.
  • Bugfixes:
    • LaTeX: fix rendering of part/chapter (part previously displayed as
      chapter and its first chapter as part)
    • EPUB:
      • Fix .rule so it is centered despite KOBO CSS injection.
    • Fix resources/images inclusion when they are symlinks to the
      actual file.