- 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.
- The
- 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
andproofread.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 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
.rule
so 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