- General:
- When there is an error setting an option from the book configuration
file (e.g. because it is an invalid key), print an error but do not
abort, only ignore this specific option.
- When there is an error setting an option from the book configuration
- New options:
tex.stdpage
: if set totrue
, will use thestdpage
package to
render the book according to standards for submitting manuscripts.rendering.highlight.theme
allows to specifies a theme for syntax
highlighting (only used ifrendering.highlight
is set to
"syntect").html.highlight.theme
,epub.highlight.theme
and
tex.highlight.theme
allow to specify a theme for
HTML/EPUB/LaTeX renderers (only used with syntect).
- Deprecated option:
proofread.nb_spaces
.
- Rendering:
[syntect](https://crates.io/crates/syntect)
is now the default
forrendering.highlight
. Concretely, this means that by default
syntax highlighting is now done whencrowbook
is run instead of
using[highlight.js](https://highlightjs.org/)
.- EPUB:
- Now sets the "cover-image" property and meta so readers should
display cover correctly. - Narrow non-breaking spaces should display more correctly on KOBO
ereaders (hoping this won't break the way they are displayed
everywhere else).
- Now sets the "cover-image" property and meta so readers should
- Proofreading:
- Repetition detection is now a bit less of an hack, and should
cause less problems when used in conjunction with grammar
checking. It now also works on PDF output (so the way it is
highlighted could be improved).
- Repetition detection is now a bit less of an hack, and should
- Bugfixes:
- Fix
mimetype
of EPUB files (make sure it is always "stored" and
not "deflated" by thezip
command). - Avoid initializing
syntect
(at the cost of performances) if it
is not used. - Avoid creating an empty file if some book renderer fails
(e.g. EPUB or ODT becausezip
command is not present).
- Fix