Releases: crowdagger/crowbook
Releases · crowdagger/crowbook
0.17.0
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
- 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
epub.titlepage.xhtmlcan 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
- Fixed endless progress bar on renderer failure
0.15.1
html.css.colourshas been renamedhtml.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_spacesdefaults totrueand will uses TeX codes to display non-breaking spaces.
v0.15.0
- Moved from
pulldown-cmarktocomrakfor 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_chaptersallow 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
zipcommand. - By default, don't add an empty chapter title for non numbered
"chapters" that don't contain a title. - Now uses
reqwestinstead ofhyperto connect to languagetool/grammalecte. hyphenationdependency is now optional.- Dependencies update.
- Fix type deduction issues for new rustc compliler
0.14.1
--statscan now display more statistics when used with the
--verboseoption (if support for advanced statistics is compiled)- LaTeX outputs now make uses of user-defined
rendering.chapterand
rendering.part - Dependencies update
0.14.0
- New option:
autographis an autograph added after title.
- User interface:
- new argument
--autographprompts for an autograph. --list-optionsand--statsnow use colours if available.- options description with
--list-optionsare now wrapped.
- new argument
- 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
- 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-fancyoption if you don't like the fancy UI (or if it doesn't work
in your terminal) - New
--force-emojioption to force emoji usage.
- Library interface:
- Removed
Book::set_verbositymethod (uses a logger library instead).
- Removed
- Now requires rustc >= 1.20.0
0.13.0
- Breaking changes:
- The
template.textemplate 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.filesoption is now a YAML list of strings, instead of a
comma-seprated string.
- The
- Add support for grammalecte grammar checker.
crowbookcommand takes a new argument,-Sor--statswhich
displays stats on the book (currently, words and characters count).- Interactive fiction:
- Added conditional blocks.
- Options:
output.xxxoptions can now take the "auto" value, which will infer the
output file name based on the book file name.outputis a new option that can specify a series of format to
render, with default output file name.proofread.grammalecteandproofread.grammalecte.portallow
respectively to enable grammar checking with Grammalecte and
(optionnally) to specify the port to connect.tex.margin.left,tex.margin.right,tex.margin.bottomand
tex.margin.topare new options that allow to specify margins
for LaTeX/PDF outputs.tex.paper_sizewas renamedtex.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
.ruleso it is centered despite KOBO CSS injection.
- Fix
- Fix resources/images inclusion when they are symlinks to the
actual file.
- LaTeX: fix rendering of part/chapter (part previously displayed as