0.10.0
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 usinglang_LANG
(e.g.
lang_fr
,lang_en
, and so on). This might impact customepub.css
andhtml.css
templates.
- Conditional inclusion depending on
- API:
- The
escape
module has been moved to a separate crate,
crowbook_text_processing
. Thecleaner
module is no longer
public, but the features it provided are also available in
crowbook_text_processing
.
- The
- Templates:
- New options:
html.css.colours
allows to provide a CSS file that only redefine
the colour scheme. Such a file can be built fromcrowbook --print-template html.css.colours
.input.smart_quotes
: if set totrue
, 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).
- Crowbook is now (imperfectly) localized in french, and can be
- 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.
- The table of contents menu is no longer displayed in the HTML single renderer if
- HTML:
- Bugfixes:
- Fix the escaping of non-breaking spaces in EPUB, as
and
its friends aren't valid entities in XHTML, apparently.
- Fix the escaping of non-breaking spaces in EPUB, as