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

932 Commits

Author SHA1 Message Date
Lise Henry
3d734c9ff6 Fix a bug in html_single when it one_chapter is set to true 2023-08-11 01:41:14 +02:00
Lise Henry
6df67ded03 Remove warnings 2023-08-11 01:33:26 +02:00
Lise Henry
1596c2b4f4 Fix latex template 2023-08-10 02:25:11 +02:00
Lise Henry
de2d9fd8fa Fix html dir template 2023-08-10 01:49:40 +02:00
Lise Henry
3e40d5f483 Tiny refactoring 2023-08-10 01:33:40 +02:00
Lise Henry
8ecc5f52b1 Fix EPUB and Html single rendering 2023-08-10 00:59:50 +02:00
Lise Henry
ee8f84d13b Fix template for html single 2023-08-09 13:48:37 +02:00
Lise Henry
fe8d98ccd7 Replace mustache with upon (wip)
This compiles but probably wrecks everything since the template syntax
is a bit different
2023-08-09 13:30:07 +02:00
Lise Henry
5d12cd80b1 Remove proofread-related code 2023-08-07 14:25:43 +02:00
Elisabeth Henry
487864ffbb Remove warnings 2023-08-05 02:48:08 +02:00
Elisabeth Henry
6b0f4b7637 Switch dependency from tempdir to tempfile 2023-08-04 05:17:55 +02:00
Elisabeth Henry
6f5d89e70d Remove proofread code 2023-08-04 05:05:57 +02:00
Elisabeth Henry
31a6e6bb1d Remove proofread options from bookptions 2023-08-04 05:04:37 +02:00
Elisabeth Henry
0ff64adee9 Replace rustc-serialize dependency with base64 2023-08-04 04:58:47 +02:00
Elisabeth Henry
079388b663 Remove proofread options 2023-08-04 04:41:32 +02:00
Elisabeth Henry
52dd1615c1 Footnotes shenanigans 2023-08-04 00:19:21 +02:00
Elisabeth Henry
881ff412e3 Remove invalid XML1.0 characters 2023-08-03 02:06:10 +02:00
Elisabeth Henry
3de32a459d Allow HTML in titles's toc where it's legal to do so in EPUB
This should hopefully fix #100 (fingers crossed)
2023-08-03 00:05:27 +02:00
Lizzie Crowdagger
fb9ac68b19 Apply previous fix also to LaTeX output 2023-07-29 02:31:18 +02:00
Lizzie Crowdagger
9a6b63fd8e Fix bug in code blocks displaying multiple lines as one 2023-07-29 02:29:47 +02:00
Lizzie Crowdagger
f97729341f Fix(?) titles containing Titles in EPUB toc 2023-07-28 15:13:21 +02:00
Lizzie Crowdagger
a04936ea8a Fix internal links under Windows 2023-07-27 15:41:15 +02:00
Lizzie Crowdagger
9285b5f3e7 Update comrak 2023-07-27 14:58:32 +02:00
Lizzie Crowdagger
e729eb191d Merge branch 'master' of github.com:lise-henry/crowbook 2023-07-27 13:45:47 +02:00
Lizzie Crowdagger
812cab7113 Update epub-builder dependency to 0.6 2023-07-27 13:45:18 +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
Elisabeth Henry
73045bf124 Update textwrap dependency 2022-07-26 14:02:19 +02:00
Elisabeth Henry
dea04a210c Update indicatif dependency 2022-07-26 13:53:52 +02:00
Elisabeth Henry
1e67cc672f Update clap 2022-07-26 13:40:58 +02:00
Elisabeth Henry
ef0de11f92 Update some dependencies 2022-07-26 13:21:20 +02:00
Lizzie Crowdagger
20b8f8568c Add forgotten file in previous commit 2022-07-22 02:07:24 +02: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
Lizzie Crowdagger
ba93c9a442 Fix code to comrak 0.10 2022-07-22 00:48:44 +02:00
Lizzie Crowdagger
6c7ae2cf10 Update options to new comrak version 2022-07-21 12:50:42 +02:00
ar1ocker
a2980f5730
Add Deutsche and Russian languages 2022-07-19 17:52:20 +00: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
719639d93d use non-exhaustive attribute
https://rust-lang.github.io/rust-clippy/master/index.html#manual_non_exhaustive
2022-03-01 18:31:14 +01:00
stefan0xC
482cdd4046 no need to collect if it's not necessary
https://rust-lang.github.io/rust-clippy/master/index.html#needless_collect
2022-03-01 18:31:14 +01:00
stefan0xC
b36070b3e3 run linter cargo clippy --fix 2022-03-01 18:31:14 +01:00
stefan0xC
86ca64ea0e fix empty warnings
in simplelog v0.8 the default padding that was introduced in v0.6
has been turned off again. see Drakulix/simplelog.rs#48
2022-03-01 18:31:14 +01:00
stefan0xC
2a698eb40a fix typo odt feature 2022-02-27 01:47:59 +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
8d1c931e9d debug output should display stderr not stdout
otherwise most errors from external commands will not be shown
2022-02-23 16:27:26 +01:00
stefan0xC
4d8afae890 run_command does not need to set the path again 2022-02-23 16:08:38 +01:00