1
0
mirror of https://github.com/lise-henry/crowbook synced 2024-09-26 08:50:39 +02:00
Commit Graph

547 Commits

Author SHA1 Message Date
Elisabeth Henry
676cfe907a Add html.icon support for html single renderer 2016-12-16 02:37:47 +01:00
Elisabeth Henry
56605f0b6b Add html.icon support for html_dir renderer 2016-12-16 02:33:30 +01:00
Elisabeth Henry
3306bf5360 Remove doctests from cleaner as it is a private module 2016-12-16 02:03:24 +01:00
Elisabeth Henry
ee723e567d Update library documentation 2016-12-16 02:00:10 +01:00
Elisabeth Henry
156a2bfc5e Rename canonicalize as normalize 2016-12-16 01:34:37 +01:00
Elisabeth Henry
dd1325d74a Fix behaviour of canonicalize at cost of unreadability 2016-12-16 01:32:49 +01:00
Elisabeth Henry
9758f93d93 Remove current directory from begginnig of displayed paths 2016-12-16 01:06:49 +01:00
Elisabeth Henry
309e523f3b Use canonicalize to display generated (or other) file names
Should fix #30
2016-12-16 00:38:54 +01:00
Elisabeth Henry
df485a355e Add canonicalize function 2016-12-16 00:22:56 +01:00
Elisabeth Henry
de68445d6e Add options: tex.template.add, html.css.add, epub.css.add
These three options allow to specify inline code that will be added to
the templates.

Fixes #18
2016-12-15 12:53:45 +01:00
Elisabeth Henry
f5339d5997 Fix call to lformat which currently causes problem for translation 2016-12-15 00:58:20 +01:00
Elisabeth Henry
cc8b55df5f Remove '\' in \maketitle in lformat since it cause gettext issue 2016-12-15 00:50:02 +01:00
Elisabeth Henry
2921ba6290 Add tex.paper_size option 2016-12-15 00:42:07 +01:00
Elisabeth Henry
65a0fc98a1 Add tex.title and tex.font_size options 2016-12-15 00:25:09 +01:00
Elisabeth Henry
c553f64101 Add --lang argument to crowbook 2016-11-19 00:48:41 +01:00
Elisabeth Henry
bfe8b4f51f Avoid displaying message when lang can not be set 2016-11-19 00:22:34 +01:00
Elisabeth Henry
c8cf3ab9ec Fix warning resulting from mustache 0.8 update 2016-11-18 16:48:37 +01:00
Elisabeth Henry
a62b2b8d2a Implement From<mustache::error> for Error 2016-11-18 16:44:30 +01:00
Elisabeth Henry
8c8b7029dc Update mustache to 0.8 2016-11-18 16:39:28 +01:00
Elisabeth Henry
e78cd01b20 Use ? in zipper.rs 2016-11-11 14:50:17 +01:00
Elisabeth Henry
ddf0a6c28c Use ? in parser.rs 2016-11-11 14:48:26 +01:00
Elisabeth Henry
404a007c7e Use ? in odt.rs 2016-11-11 14:46:44 +01:00
Elisabeth Henry
33640932e7 Use ? in latex.rs 2016-11-11 14:44:58 +01:00
Elisabeth Henry
7e072176b7 Use ? in html_single.rs 2016-11-11 14:38:17 +01:00
Elisabeth Henry
7d3d323d5b Use ? in html_dir.rs 2016-11-11 14:33:45 +01:00
Elisabeth Henry
47a7094302 Use ? in html.rs 2016-11-11 14:22:21 +01:00
Elisabeth Henry
99b1c90d88 Use ? in grammar_check.rs 2016-11-11 14:12:18 +01:00
Elisabeth Henry
81f2419bc6 Use ? in epub.rs 2016-11-11 14:09:18 +01:00
Elisabeth Henry
8d7d32070a Use ? for bookoptions.rs 2016-11-11 13:53:17 +01:00
Elisabeth Henry
4c5f7b0f4f Use '?' operator in book.rs 2016-11-10 21:30:37 +01:00
Elisabeth Henry
fe2ed70941 Fix bug in odt rendering 2016-11-02 22:01:37 +01:00
Elisabeth Henry
8e9de3e0d6 Fix bug in odt rendering 2016-11-02 21:47:51 +01:00
Elisabeth Henry
46a5685d65 Fix escaping of author and title 2016-10-27 16:24:34 +02:00
Elisabeth Henry
0708894ef1 Move to crowbook-intl 0.1.0(-pre) 2016-10-27 00:50:06 +02:00
Elisabeth Henry
5cbabd4427 Include localize_macros.rs from OUT_DIR 2016-10-26 12:46:37 +02:00
Elisabeth Henry
cb5bc204bc Remove colours for --list-options 2016-10-25 19:19:28 +02:00
Elisabeth Henry
f8ad63b4a7 Add doc for Output 2016-10-24 14:01:49 +02:00
Elisabeth Henry
8b5bc5d09f Make logger silently fail when it can't set colours 2016-10-24 12:07:28 +02:00
Elisabeth Henry
8285d046b9 Try to build on windows 2016-10-24 11:36:27 +02:00
Elisabeth Henry
3f90c2e2e1 Use term library for displaying colours
This *should* fix #27
2016-10-23 23:30:35 +02:00
Elisabeth Henry
53b0eb7852 Make error clearer when zipper can't find a command to execute 2016-10-23 19:45:51 +02:00
Elisabeth Henry
6990350a7d Fix formatting 2016-10-21 22:06:32 +02:00
Elisabeth Henry
f5bf9e204e Don't display toc for chapters other than first if display_one is true
Related to #22
2016-10-21 21:55:53 +02:00
Elisabeth Henry
b44ae86cd2 Implement input.clean.ligature.guillemets and input.clean.ligature.dashes
This should fix #17
2016-10-21 14:52:57 +02:00
Elisabeth Henry
073e8b0f07 Clean cleaning options
* `input.autoclean` has been renamed `input.clean`.
 * `input.smart_quotes` has been renamed `input.clean.smart_quotes`.
 * added `input.clean.ligature.dashes` and `input.clean.ligature.guillemets`.
2016-10-21 14:15:17 +02:00
Elisabeth Henry
c25f56c21f Use crowbook_text_processing 0.2 2016-10-20 03:20:35 +02:00
Elisabeth Henry
2d793c5471 Use lformat! for an untranslated string 2016-10-18 05:51:12 +02:00
Elisabeth Henry
33b1ed1c51 Use lformat! for --create 2016-10-18 05:24:40 +02:00
Elisabeth Henry
de11c56536 Use empty string for default title and author 2016-10-18 05:21:14 +02:00
Elisabeth Henry
2818a699f7 Add input.smart_quotes option 2016-10-18 00:33:42 +02:00