1
0
mirror of https://github.com/lise-henry/crowbook synced 2024-09-28 15:21:33 +02:00
Commit Graph

61 Commits

Author SHA1 Message Date
Elisabeth Henry
1f6bb86829 Change french cleaner dialog's space 2016-04-11 16:44:27 +02:00
Elisabeth Henry
a25a37abb3 Update Changelog 2016-04-11 13:02:20 +02:00
Elisabeth Henry
7a30c46d57 Bump version to unreleased 2016-04-02 18:48:08 +02:00
Elisabeth Henry
bdfe8d0dde Bump version 2016-04-02 16:58:23 +02:00
Elisabeth Henry
07e0d2f3b4 Update ChangeLog and config.md 2016-04-02 16:53:13 +02:00
Elisabeth Henry
d6b75050dc Update ChangeLog 2016-04-02 14:28:08 +02:00
Elisabeth Henry
145a74bbee Update ChangeLog 2016-03-22 17:49:38 +01:00
Elisabeth Henry
aa16e1f623 Update ChangeLog 2016-03-09 01:54:23 +01:00
Elisabeth Henry
6def2e40f4 Update ChangeLog 2016-03-06 02:48:53 +01:00
Elisabeth Henry
ee44d57de1 Update Changelog 2016-03-05 23:15:59 +01:00
Elisabeth Henry
4f33cbf381 Update ChangeLog 2016-03-05 18:36:08 +01:00
Elisabeth Henry
5676b5ad43 Update ChangeLog 2016-03-05 18:05:33 +01:00
Elisabeth Henry
8ec49959b1 State in Changelog.md that it depends on rustc>=1.7.0 2016-03-05 00:36:37 +01:00
Elisabeth Henry
14f659e4bb Add support for embedding additional files in EPUB document
This is done with the `resources.files` options. These files will be
placed in the `resources.path` directory in the EPUB.

Solves #6
2016-03-04 18:30:34 +01:00
Elisabeth Henry
39cebebd5c Use mime_guess library to guess mime types from extension
EPUB renderer needs to specify a mime type for each file in the
manifest. For images, it previously used a simple function which only
worked currently on png, jpg and gif extensions. Using this library
should be more reliable.

It is also a first step in adressing #6.
2016-03-04 17:41:24 +01:00
Elisabeth Henry
54ca041d5a Clean Book constructors API
- Book::new takes an additional `options` parameter.
- Book::new_from_file_with_options becomes `new_from_file`, which got
  deleted.

This way, each constructor takes an `options` parameter (which can
be set to `&[]` for default options), allowing derived constructors to
not replicate the setting options code.
2016-03-03 20:56:28 +01:00
Elisabeth Henry
cc7747f20f Fix typos in ChangeLog.md 2016-03-03 18:23:28 +01:00
Elisabeth Henry
b58b73eb02 Render CSS differently according to lang
This is currently only used to display "–" for list items if lang is
set to "fr", and to default bullets otherwise, but it is now possible
to add more variations.
2016-03-03 17:57:38 +01:00
Elisabeth Henry
7b93cb4479 Bump preventively version to 0.5.0-unreleased for semantic versioning 2016-03-03 17:40:38 +01:00
Elisabeth Henry
4b22f9a339 Add enable_yaml_mode option
This option activates or disables the parsing of YAML block. If
disabled, YAML blocks will be ignored and won't be used to try to set
Crowbook's options.

enable_yaml_mode is false by defaut, but set to true when crowbook is
called with `--single`.
2016-03-02 20:38:35 +01:00
Elisabeth Henry
7af8e1b633 Update ChangeLog.md 2016-03-02 04:10:59 +01:00
Elisabeth Henry
3a5f16a94a Bump version to 0.4.0 2016-03-01 21:51:14 +01:00
Elisabeth Henry
aa6cc9f3a7 Update documentation 2016-03-01 21:41:23 +01:00
Elisabeth Henry
81180d39cf Update ChangeLog.md 2016-03-01 18:08:06 +01:00
Elisabeth Henry
ae2f43193c Make BookOptions::set returns the previous option, if already set
This way, it is possible to display a debug message or a warning when
an option is overriden with a new setting.
2016-03-01 15:33:24 +01:00
Elisabeth Henry
60564c2793 Update ChangeLog.md 2016-03-01 15:12:03 +01:00
Elisabeth Henry
fa5393641b Crowbook now ignores YAML blocks (i.e., delimited by two lines containing ---, must contain valid YAML) in Markdown files 2016-03-01 01:28:36 +01:00
Elisabeth Henry
f60693416f updated Bugs and Changelog 2016-02-29 14:12:47 +01:00
Elisabeth Henry
2a2def3473 updated changelog 2016-02-29 01:41:56 +01:00
Elisabeth Henry
d32bccd7a9 updated changelog 2016-02-29 00:47:05 +01:00
Elisabeth Henry
9d8cf18664 updated documentation and bumped version 2016-02-27 17:02:35 +01:00
Elisabeth Henry
280dd1a079 updated changelog 2016-02-27 04:50:04 +01:00
Elisabeth Henry
528f1ac000 updated changelog 2016-02-27 00:07:22 +01:00
Elisabeth Henry
33edcdb905 updated Chaneglog 2016-02-26 23:37:40 +01:00
Elisabeth Henry
d68c24d754 updated changelog 2016-02-26 17:46:57 +01:00
Elisabeth Henry
59f4aab0fe updated changelog 2016-02-26 02:08:59 +01:00
Elisabeth Henry
38433292d5 improved documentation of parser.rs 2016-02-26 00:51:35 +01:00
Elisabeth Henry
bd25114bd4 moved token, cleaner and parser public again 2016-02-26 00:19:19 +01:00
Elisabeth Henry
2991099ecd modules token and parser are now private 2016-02-25 23:59:33 +01:00
Elisabeth Henry
792fe1e7eb preventively bumped version to 0.3.0-unreleased 2016-02-25 23:35:29 +01:00
Elisabeth Henry
a47c4c434f bumped version to 0.2.2 2016-02-25 22:15:06 +01:00
Elisabeth Henry
570b5aeb99 bumped version preventively to 0.2.2-unreleased 2016-02-25 21:49:43 +01:00
Elisabeth Henry
27e0b239ca bumped version 2016-02-25 20:13:12 +01:00
Elisabeth Henry
665f5a49a2 updated changelog 2016-02-25 19:58:19 +01:00
Elisabeth Henry
5db20f70eb updated Changelog 2016-02-25 19:26:29 +01:00
Elisabeth Henry
3fba98fc3b html: bug fix in numbering of unnumbered chapters 2016-02-25 19:12:45 +01:00
Elisabeth Henry
c363521344 bumped version to 0.2.0 2016-02-25 16:37:23 +01:00
Elisabeth Henry
de34b7478a fixed typo in ChangeLog.md 2016-02-25 16:06:12 +01:00
Elisabeth Henry
cd869cd12d clarified ChangeLog.md 2016-02-25 16:02:08 +01:00
Elisabeth Henry
770822ac43 Book now supports multiline strings 2016-02-25 15:29:35 +01:00