Skip to content

Releases: crowdagger/crowbook

0.16.1

04 Aug 02:28
Compare
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
Compare
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
Compare
Choose a tag to compare
  • Fixed endless progress bar on renderer failure

0.15.1

06 Jul 23:53
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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.

0.12.0

05 Jun 16:03
Compare
Choose a tag to compare

This release includes a few new features, such as the possiblity to
include Markdown files as section/subsections and not only as chapter,
experimental support for superscript and subscript, and yet more
experimental support for writing interactive fiction.

  • Book configuration file:
    • It is now possible to include subchapters using the -- command
      (with one dash per sublevel: --- foo.md will include foo.md as
      a subsection).
  • Markdown:
    • Added support for superscript and subscript features, using
      respectively foo^up^ or bar~down~ syntax.
  • New options:
    • rendering.chapter: change what is displayed in place of
      "chapter".
    • rendering.part: change what is displayed in place of "part".
    • html.chapter.template and html.part.template allow to tune a
      little how the chapters and parts are displayed in HTML.
    • tex.hyperref, if set to false, will disable hyperrefs for
      local links. Can be useful for some files.
    • crowbook.html_as_text, if set to false, will not treat HTML as
      text but ignore it.
    • subtitle, as its name suggest, set the subtitle of a book.
    • crowbook.markdown.superscript can enable or disable superscript/subscript "extension".
  • Rendering:
    • Change the way chapters are displayed by default.
    • PDF output now has a better-looking (hopefully) title page.
    • Internal links are a bit more flexible, e.g. if you link to
      Readme.html it will now try to link to the chapter corresponding
      to Readme.md.
  • Bugfixes:
    • LaTeX:
      • Fix bug in syntax highlighting.
      • Fix label placements (and thus navigation inside PDF document).
    • EPUB:
      • Add unnamed but numbered chapters to the TOC.
      • Fix HTML escaping issue for chapter titles.
      • Fix the way parts were handled in the TOC.
    • Book configuration file:
      • Fix issue when setting custom number for parts.
  • Crowbook now requires rustc >= 1.17.0