1
0
mirror of https://github.com/lise-henry/crowbook synced 2024-09-22 13:21:37 +02:00
Commit Graph

263 Commits

Author SHA1 Message Date
Lise Henry
5d12cd80b1 Remove proofread-related code 2023-08-07 14:25:43 +02:00
Geobert Quach
2e3b2e8c32 fix: End message was wrong
I found that `-t pdf -s story.md` was printing
`pdf: generated .\auto`
instead of
`pdf: generated .\story.pdf`

Bug introduced with the `indicatif` upgrade
2023-01-03 20:57:17 +00:00
Geobert Quach
6079c98658 feat: allow override of epub.titlepage.xhtml 2023-01-03 19:35:32 +00:00
Geobert Quach
40ca4e9771 chore: fixes clippy 2023-01-02 12:54:36 +00:00
Geobert Quach
cd1739382b chore: update dependencies
Mainly `indicatif` and `clap` needed work
2023-01-01 16:05:44 +00:00
Lizzie Crowdagger
fc166db979 Use Comrak’s frontmatter feature for YAML blocks
Instead of a dirty hack that didn’t work that well.

This should fix #99
(though it might bring others bugs -_-)
2022-07-22 01:59:04 +02:00
stefan0xC
92e229b9cd some smaller changes 2022-03-01 18:37:58 +01:00
stefan0xC
dd3bddb88c add some Default() implementations
https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
2022-03-01 18:37:58 +01:00
stefan0xC
e27403458c use matches! macro to simplify some matches
https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro
2022-03-01 18:31:14 +01:00
stefan0xC
b36070b3e3 run linter cargo clippy --fix 2022-03-01 18:31:14 +01:00
Élisabeth Henry
4a7a433da6
Merge pull request #93 from stefan0xC/odt_feature
add odt feature flag
2022-02-24 12:07:22 +01:00
stefan0xC
e6883109f3 add odt feature flag
closes #61 by making odt output optional
2022-02-24 10:01:35 +01:00
stefan0xC
ec288b1727 run cargo fmt on existing code base 2022-02-23 14:32:36 +01:00
Florian Bottke
44d914a2db Remove errors due migration to edition 2021. 2022-01-15 21:17:30 +01:00
Florian Bottke
b8d35ddc32 Update dependencies and formatting. 2022-01-15 19:21:03 +01:00
Dmitry Valter
d3a06d201b Fix endless progress bar on renderer failure
Properly terminate bar with an error message when render fails
2020-03-30 18:02:19 +03:00
Elisabeth Henry
43223b9a33 Use latest version of crowbook-text-processing
* LaTeX outputs of french documents now use enspaces and narrow non-breaking spaces
* New option:
     * `tex:escape_nb_spaces` defaults to `true` and will uses TeX codes to display non-breaking spaces.
2020-02-11 00:49:42 +01:00
Johannes Rappen
0134ee3922 Fix: Remove trailing whitespace 2020-01-08 18:37:03 +01:00
Elisabeth Henry
2e92185272 Improve docs for maintainability, update highlightjs and replace colours with colors
Merge patch from jrappen, see https://github.com/lise-henry/crowbook/pull/64
+ mark "html.css.colours" as deprecated (but still a working alias)
2019-12-15 23:42:00 +01:00
lise
5653cb868f Add dyn indication to remove warning 2019-11-15 13:16:10 +01:00
lise
5491ebc5d0 Add empty heading only on numbered chapters by default
Related to #59
2019-03-12 14:35:30 +01:00
lise
21bec060ae Only add title if it is missing in chapter in some circumstances 2019-03-12 13:46:51 +01:00
lise
ce319642c8 Move to Rust edition 2018 2019-02-28 17:33:18 +01:00
lise
fc0cd88cc4 Update Syntect and Mustache dependencies 2018-05-27 14:10:52 +02:00
Elisabeth Henry
0c6f462a69 Fix bug in part introduced to first fix to bug in part earlier tonight.
Why am I programming? Do I hate myself?
2018-02-20 05:33:47 +01:00
Elisabeth Henry
ad6142d7c9 Really fix bug when including unnumbered part 2018-02-20 03:45:37 +01:00
Elisabeth Henry
4ba99af969 Fix bug when including unnumbered part 2018-02-20 03:38:00 +01:00
Elisabeth Henry
93748dd73f Add colors to --stats and --list-options output 2017-10-09 16:11:36 +02:00
Elisabeth Henry
d5c7acff79 Make indicatif dependency optional 2017-10-08 20:50:13 +02:00
Elisabeth Henry
167650d774 Refactor in progress (bar) 2017-10-08 13:02:34 +02:00
Elisabeth Henry
3aaffcbf72 Refactor progress bars 2017-10-06 13:37:45 +02:00
Elisabeth Henry
7e600e0c92 Remove warnings 2017-10-06 00:28:10 +02:00
Elisabeth Henry
7292620ba2 Add progress bar to single format rendering too 2017-10-06 00:09:24 +02:00
Elisabeth Henry
be391c753b More progress bars yay 2017-10-05 14:57:42 +02:00
Elisabeth Henry
2835636630 More work on progress bars 2017-10-05 13:56:05 +02:00
Elisabeth Henry
3ad6bc213c Fix handling of progress bars 2017-10-05 04:07:02 +02:00
Elisabeth Henry
cf1f11b660 Add nice progressbar 2017-10-05 03:28:51 +02:00
Elisabeth Henry
f2df59ab6b Remove dead code 2017-10-04 14:26:15 +02:00
Elisabeth Henry
63fe7b2a6f Use log crate to display log messages 2017-10-04 03:12:02 +02:00
Elisabeth Henry
c76903d7b5 Output.XXX now supports the auto option to infer file name from book file name 2017-07-14 15:21:18 +02:00
Elisabeth Henry
db1a1d9a02 Fix compilation error 2017-07-11 02:41:07 +02:00
Elisabeth Henry
a4e2ba7acc Add false to has_metadata when metadata is empty stringt 2017-07-11 02:36:36 +02:00
Elisabeth Henry
ad0a205311 Add false to has_metadata when metadata is not present 2017-07-11 02:35:48 +02:00
Elisabeth Henry
c3ded497a9 Add support for grammalecte 2017-07-07 22:05:06 +02:00
Elisabeth Henry
e656187b45 Make html.if.new_game specify a file instead of being inline 2017-06-05 03:49:29 +02:00
Elisabeth Henry
c1aeb9c596 Add basic support for embedded JS in interactive fiction 2017-06-04 04:31:39 +02:00
Elisabeth Henry
40505c3c4e Add interactive fiction html renderer cause why not 2017-06-03 15:16:01 +02:00
Elisabeth Henry
4072e607bd Fix typo 2017-03-27 16:26:18 +02:00
Elisabeth Henry
dc9133ad71 Add crowbook.html_as_text option 2017-03-27 08:01:31 +02:00
Elisabeth Henry
11b42019f5 Add support for subchapters 2017-03-27 06:45:28 +02:00