1
0
mirror of https://github.com/lise-henry/crowbook synced 2024-09-25 12:00:45 +02:00
Commit Graph

874 Commits

Author SHA1 Message Date
Elisabeth Henry
29bc267990 Update html test to new output 2017-03-27 03:34:21 +02:00
Elisabeth Henry
e01844130f Change default html chapter template and the data it can access 2017-03-27 03:29:46 +02:00
Elisabeth Henry
c7907904ac Add bookoptions to commit (should have done this to previous but ooopsie 2017-03-27 03:06:43 +02:00
Elisabeth Henry
f81fd674a7 Update html test to new API 2017-03-27 03:02:14 +02:00
Elisabeth Henry
bf9aa69802 Remove debug println 2017-03-27 03:00:42 +02:00
Elisabeth Henry
b093968232 Add html.chapter.template and html.part.template options 2017-03-27 02:58:35 +02:00
Elisabeth Henry
26c6c9dd35 Big refactoring in the way chapters and part are handled for HTML
Add the following options:
* rendering.part
* rendering.chapter

Which can choose what is displayed instead of "chapter/part".
2017-03-27 02:15:16 +02:00
Elisabeth Henry
634f810f04 Factorized a bit of code in get_chapter/part_header 2017-03-26 23:48:26 +02:00
Elisabeth Henry
6aafe4a0cd Detect sub/superscript even in inline elements 2017-03-26 21:35:03 +02:00
Elisabeth Henry
08ad8ffe28 Add superscript and subscript tests 2017-03-26 20:49:57 +02:00
Elisabeth Henry
b5b918edd9 Fix bug in collapse function 2017-03-26 20:49:37 +02:00
Elisabeth Henry
b67a55b908 Detect subscript and superscript in odt missing features 2017-03-26 20:29:37 +02:00
Elisabeth Henry
389c0be0e7 Add support for subscript.
This is far from perfect but unless it is added in pulldown-cmark or I
write my own markdown parser this is the best we'll get.

Closes #26
2017-03-26 20:28:13 +02:00
Elisabeth Henry
1d7e50af79 Add support for superscript 2017-03-26 20:03:42 +02:00
Elisabeth Henry
ccb8e21d9b Add bases for futur support of subscript/superscript 2017-03-26 18:04:57 +02:00
Elisabeth Henry
cd25fb8d3d Fix EPUB to add numbered but untitled chapter to the toc 2017-03-24 01:57:03 +01:00
Elisabeth Henry
5c5e0bd0a3 Fix double rendering of markdown in HTML titles 2017-03-21 01:12:08 +01:00
Elisabeth Henry
2ac1b6c816 Export raw metadata as text, not markdown 2017-03-20 22:28:06 +01:00
Elisabeth Henry
2faed5d0a6 Export chapter_title_raw in html dir 2017-03-20 22:26:06 +01:00
Elisabeth Henry
a474b79cee Use chapter_title_raw in epub templates 2017-03-20 22:10:19 +01:00
Elisabeth Henry
2ad123866a Export raw (markdown) metadata to templates 2017-03-20 21:41:01 +01:00
Elisabeth Henry
bb4a9585c4 Fix bug in epub because it used HTML where it required text in content.opf 2017-03-20 21:32:00 +01:00
Elisabeth Henry
4a8d5c0601 Escape title and author before feeding them to epub-builder 2017-03-20 21:03:37 +01:00
Elisabeth Henry
e0b850fa2d Add guilty fixme comment for code smell 2017-03-20 03:17:11 +01:00
Elisabeth Henry
bed329466d Consider an image as standalone even if it is inside a link 2017-03-20 03:16:05 +01:00
Elisabeth Henry
ddf1b8894c Only include latex packages if the feature is used 2017-03-19 08:50:37 +01:00
Elisabeth Henry
eddf200944 Add url to list of features detected while parsing 2017-03-19 08:50:16 +01:00
Elisabeth Henry
c18c6f554e Fix condition for avoiding syntect init in LaTeX 2017-03-19 08:12:19 +01:00
Elisabeth Henry
2f84869cd8 Don't init syntect if there are no code blocks in the document 2017-03-19 07:51:05 +01:00
Elisabeth Henry
c5adfc8a49 Only display a global warning for all features that are not implemented in ODT 2017-03-19 07:42:55 +01:00
Elisabeth Henry
f1fa666dc4 Detect which features are used at parse time 2017-03-19 07:42:27 +01:00
Elisabeth Henry
d53ce32c60 Downgrade some error/warning levels 2017-03-19 07:07:41 +01:00
Elisabeth Henry
b44f86be3c Revert table tests to before API changes 2017-03-19 06:56:59 +01:00
Elisabeth Henry
1d7ce5d1e3 Deprecate crowbook.verbose 2017-03-19 06:54:53 +01:00
Elisabeth Henry
cb13570a80 Change default infolevel
Warnings are now displayed by default. As a consequence, the
--verbose option is now equivalent to the old --debug option, which
is suppressed.
2017-03-19 06:50:12 +01:00
Elisabeth Henry
3b29a69b68 Revert some changes done to support pulldown-cmark 0.0.9
Downside: this revert will have to be reverted to actually support
tables alignment.

Upside: not sure this feature is really that useful for Crowbook's
needs, and it doesn't require a breaking API change.
2017-03-19 06:30:52 +01:00
Elisabeth Henry
c8de4c2524 Fix typo in error message for link not found and move it to warning 2017-03-19 06:24:51 +01:00
Elisabeth Henry
32d7d75df8 Fix table test 2017-03-16 15:33:04 +01:00
Elisabeth Henry
7f0579a3dd Make default alignment to None instead of Center (not used anyway though) 2017-03-16 15:09:01 +01:00
Elisabeth Henry
b729d3eab7 Upgrade to pulldown-cmark 0.0.9
This is still a bit unsatisfactory as the alignment is not currently used
for tables.
2017-03-14 19:37:31 +01:00
Elisabeth Henry
619e481148 Use html.highlight.theme for HTML dir rendering (instead of epub.highlight.theme) 2017-03-05 14:46:09 +01:00
Elisabeth Henry
f4217f30cb Avoid creating an empty file if a renderer fails
This fixes #36.
2017-03-04 15:16:16 +01:00
Elisabeth Henry
37e67a53dd Make error message a bit clearer when running command in tmpdir fails.
Related to #35
2017-01-23 04:38:13 +01:00
Elisabeth Henry
bd3dcc00ac Fix html test 2017-01-16 00:22:59 +01:00
Elisabeth Henry
3730f275a7 Add html.highlight.theme, tex.highlight.theme and epub.highlight.theme options 2017-01-15 23:28:10 +01:00
Elisabeth Henry
9301963616 Deprecate proofread.nb_spaces option 2017-01-15 04:16:01 +01:00
Elisabeth Henry
cb9f4d590b Use the nnbsp escaping function of crowbook_text_processing instead of np_spaces 2017-01-15 04:10:05 +01:00
Elisabeth Henry
16aeb51b9f Continue when setting an option fails instead of aborting 2017-01-14 01:43:28 +01:00
Elisabeth Henry
16b0ebd79b Fix html test 2017-01-14 01:39:52 +01:00
Elisabeth Henry
8afab1509e Fix build error when syntect feature is disactivated 2017-01-14 01:07:29 +01:00
Elisabeth Henry
474e468354 Make syntect default option for syntax highlighting 2017-01-14 00:26:50 +01:00
Elisabeth Henry
bda3f3517f Add rendering.highlight.theme option 2017-01-14 00:20:44 +01:00
Elisabeth Henry
c5bd30cf10 Use EpubBuilder::add_cover_image 2017-01-13 19:42:58 +01:00
Elisabeth Henry
fe98e6f326 Use write! macro instead of push_str(&format!(...)) 2017-01-12 02:46:04 +01:00
Elisabeth Henry
02d6cf4f48 Remove crossbeam dependency 2017-01-11 20:36:42 +01:00
Elisabeth Henry
0879b7be04 Use rayon instead of crossbeam in Book::render_all 2017-01-11 20:34:55 +01:00
Elisabeth Henry
e0820c7c72 Use rayon instead of crossbeam for grammar checking 2017-01-11 20:02:23 +01:00
Elisabeth Henry
36d18f9c31 Add the tex.stdpage option
Related to #34
2017-01-10 21:23:33 +01:00
Elisabeth Henry
3d83274fa1 Refactor compile_str function 2017-01-10 21:07:49 +01:00
Elisabeth Henry
a30addf218 Apply more clippy lints 2017-01-09 17:45:59 +01:00
Elisabeth Henry
6752f1566a Run clippy on src 2017-01-09 17:08:07 +01:00
Elisabeth Henry
99baa20353 Avoid outputting latex code for repetition in code blocks 2017-01-06 20:38:38 +01:00
Elisabeth Henry
b8828cb350 Don't output the HTML code for repetition in code blocks 2017-01-06 20:35:35 +01:00
Elisabeth Henry
e54d250a44 Make proofread highligting less invasive 2017-01-06 20:19:50 +01:00
Elisabeth Henry
762099e382 Clean caribon's usage 2017-01-06 19:46:16 +01:00
Elisabeth Henry
dcf8a63fe1 Add license information to grammar_check.rs 2017-01-06 16:52:33 +01:00
Elisabeth Henry
3dc92da718 Avoid initializing syntect if it is not used 2017-01-06 03:29:11 +01:00
Elisabeth Henry
6e6055debb Use tabularx to break lines in tabulars 2017-01-05 16:24:03 +01:00
Elisabeth Henry
72cf5ecdfe Make quotes in italics 2017-01-05 06:53:38 +01:00
Elisabeth Henry
5590e794a9 Insert \allowbreak in code and code blocks 2017-01-05 05:31:33 +01:00
Elisabeth Henry
7837310f22 Add frame around code blocks in latex 2017-01-05 05:08:53 +01:00
Elisabeth Henry
ba32705827 Add colour suport for syntax highlighting in LaTeX 2017-01-05 04:11:16 +01:00
Elisabeth Henry
d98d31ff38 Add support for syntect in latex rendering 2017-01-05 03:56:27 +01:00
Elisabeth Henry
811b53f1b5 Fix bookoptions.rs 2017-01-05 02:30:18 +01:00
Elisabeth Henry
725bb3291a Avoid exporting highlight.js and its CSS if syntect highlighting is activated 2017-01-05 02:16:51 +01:00
Elisabeth Henry
d92d36fe41 Add support for syntect 2017-01-05 02:06:15 +01:00
Elisabeth Henry
473cc06b4e Mark beginning of text in Epub 2017-01-03 05:59:20 +01:00
Elisabeth Henry
fbbbccc855 Fix order of inline toc (AFTER cover and title, not before) 2017-01-03 04:16:31 +01:00
Elisabeth Henry
9343c0633c Move to name changes in EpubBuilder 2017-01-02 21:39:27 +01:00
Elisabeth Henry
bd1e263232 Remove dead code 2017-01-02 16:36:00 +01:00
Elisabeth Henry
b1d0715e0c Use 'external' epub building library 2017-01-02 16:26:17 +01:00
Elisabeth Henry
0155a90042 Switch order of cover and title in EPUB toc to match how they appear in book 2017-01-01 06:07:36 +01:00
Elisabeth Henry
c2b8703cca Make escaping nnsp default for EPUB too 2017-01-01 06:06:26 +01:00
Elisabeth Henry
6f2a501fda Fix bug in finding parent in add_chapter_from_named_source 2016-12-31 00:11:07 +01:00
Elisabeth Henry
e1c671e35f Make --output file relative to current directory as it makes more sense 2016-12-30 23:21:36 +01:00
Elisabeth Henry
5c80e5d3e4 Remove mutability of a variable that don't need to be 2016-12-30 22:58:04 +01:00
Elisabeth Henry
9fc54f3450 Generate epub content in OEBPS 2016-12-30 22:56:55 +01:00
Elisabeth Henry
29acddfaf2 Add [] to footnote numbers in epub 2016-12-30 22:38:13 +01:00
Elisabeth Henry
32f257a720 Refactorize code of add_chapter* 2016-12-30 20:42:28 +01:00
Elisabeth Henry
d1d30b9a8f Remove span.initial for non-epub HTML 2016-12-30 17:53:35 +01:00
Elisabeth Henry
2e71354893 Add epub.escape_nb_spaces option 2016-12-30 17:48:58 +01:00
Elisabeth Henry
b89fd180a9 Add an empty chapter title to chapters that have none 2016-12-30 15:31:22 +01:00
Elisabeth Henry
ba77498a38 Rename html_dir/chapter.html to html_dir/template.html 2016-12-30 02:21:44 +01:00
Elisabeth Henry
21b8b8d708 Change CSS of header/footer 2016-12-30 02:12:21 +01:00
Elisabeth Henry
3d280b6cc1 Merge html.dir.index.html and html.dir.chapter.html to html.dir.template
Also properly renders multifile HTML documents (which wasn't done because
it still checked output.html_dir instead of output.html.dir).
2016-12-30 01:11:23 +01:00
Elisabeth Henry
6e753423a6 Rename html.dir.html to html.dir.template 2016-12-30 00:51:10 +01:00
Elisabeth Henry
bdd37776e3 Split lang/ into separate subdirectories 2016-12-25 20:44:17 +01:00
Elisabeth Henry
7749a9e101 Rename tex.font_size to tex.font.size 2016-12-25 20:12:11 +01:00
Elisabeth Henry
30b9106e97 Renamed *html_dir* options to *html.dir* 2016-12-25 20:06:41 +01:00
Elisabeth Henry
ac3788f393 Renamed html_single.* options to html.standalone.* 2016-12-25 19:55:15 +01:00
Elisabeth Henry
80bce54be8 Rename import_config to import 2016-12-25 19:46:38 +01:00
Elisabeth Henry
8d209bb7c1 Split localization files between lib and bin 2016-12-23 13:35:29 +01:00
Elisabeth Henry
c88d121b37 No longer exports lformat from library 2016-12-23 13:05:49 +01:00
Elisabeth Henry
1807cc550a Add rendering.part.reset_counter option 2016-12-23 12:09:23 +01:00
Elisabeth Henry
0103793faf Normalize generated file in render_format_to_file 2016-12-23 01:20:16 +01:00
Elisabeth Henry
f5b3b23092 Remove unnecessary code 2016-12-22 19:49:57 +01:00
Elisabeth Henry
4f1fc781cc Fix the way html_dir handles checking whether a file is outside its dir
Fixes #23
2016-12-22 19:44:19 +01:00
Elisabeth Henry
46e2ad820e Treat all paths the same way as templates when merging two books file (import)
This seems to fix #33
2016-12-22 19:31:14 +01:00
Elisabeth Henry
9fd939d0bc Rename some options
* rendering.chapter_template -> rendering.chapter.template
* rendering.part_template -> rendering.part.template
* rendering.roman_numerals.chapters -> rendering.chapter.roman_numerals
* rendering.roman_numerals.parts -> rendering.part.roman_numerals
2016-12-22 17:43:09 +01:00
Elisabeth Henry
2a80f97cef Update tests to new api 2016-12-22 00:47:13 +01:00
Elisabeth Henry
8b21c05f2d Remove unused variables and imports 2016-12-21 22:42:18 +01:00
Elisabeth Henry
12530e836d Refactor toc implementation 2016-12-21 22:39:35 +01:00
Elisabeth Henry
44db6f68f3 Add the part number to toc in html renderers 2016-12-21 20:10:01 +01:00
Elisabeth Henry
8d661591cc Avoid panicing when odtrenderer encounters parts 2016-12-21 19:54:51 +01:00
Elisabeth Henry
60427565a7 Divide rendering.roman_numerals in chapters and parts version 2016-12-21 19:42:27 +01:00
Elisabeth Henry
8af7382d17 Update algorithm that detect end of preambule in Book::read_config 2016-12-21 19:33:42 +01:00
Elisabeth Henry
85107f49b0 Remove unnecessary import 2016-12-21 19:29:58 +01:00
Elisabeth Henry
91dc9eb1a2 Change part template 2016-12-21 19:27:13 +01:00
Elisabeth Henry
55e1f1a87b Use roman numerals for part 2016-12-21 19:24:41 +01:00
Elisabeth Henry
b1fbb2e2b0 Add basic support for parts for HTML outputs 2016-12-21 19:19:15 +01:00
Elisabeth Henry
e1a5b2f2c5 Prepare html renderer to support parts 2016-12-21 15:39:48 +01:00
Elisabeth Henry
5a9dbfc544 Add inline part declaration 2016-12-21 15:29:07 +01:00
Elisabeth Henry
9f7e794619 Implement part rendering for LaTeX 2016-12-21 15:28:57 +01:00
Elisabeth Henry
f6ed3ec7bd Add support for part in Book::read_config 2016-12-21 15:12:16 +01:00
Elisabeth Henry
2f59701313 Use roman numerals in HtmlRenderer::get_numbers 2016-12-21 13:13:39 +01:00
Elisabeth Henry
cd160dd386 Add rendering.roman_numerals option 2016-12-21 13:03:13 +01:00
Elisabeth Henry
340732ae47 Use Chapter in Book struct 2016-12-21 12:36:03 +01:00
Elisabeth Henry
8947bc6e46 Add chapter struct 2016-12-21 12:14:59 +01:00
Elisabeth Henry
5a24016d75 Improve Logger's documentation 2016-12-21 00:04:45 +01:00
Elisabeth Henry
d1dc75df93 Improve docs of error and source 2016-12-20 23:57:49 +01:00
Elisabeth Henry
31beba2f8b Add doctests to bookoptions 2016-12-20 23:52:02 +01:00
Elisabeth Henry
5376d70f4d Remove unnecessary imports 2016-12-20 23:28:05 +01:00
Elisabeth Henry
57c68f2edb Update doctests to api changes 2016-12-20 23:26:51 +01:00
Elisabeth Henry
c63f4699e3 Update tests/book.rs to API changes 2016-12-20 23:22:25 +01:00
Elisabeth Henry
5e44e1d25a Rename load_markdown_config to read_markdown_config 2016-12-20 23:20:45 +01:00
Elisabeth Henry
f60a371800 Rename load_config to read_config 2016-12-20 23:19:26 +01:00
Elisabeth Henry
b286b5de32 Rename add_chapter_from_str to add_chapter_from_source 2016-12-20 23:14:33 +01:00
Elisabeth Henry
32b3f0ea39 Add more doctests to book.rs 2016-12-20 22:58:05 +01:00
Elisabeth Henry
20c7e4ee58 Add more doctests 2016-12-20 22:48:28 +01:00
Elisabeth Henry
4edaf17fcf Fix yaml parsing (which wasn't done) in Book::add_chapter_from_str 2016-12-20 22:42:38 +01:00
Elisabeth Henry
637a79f702 Add doctests to book.rs (one of those failing :s) 2016-12-20 22:34:17 +01:00
Elisabeth Henry
b6efb5ab72 Add doctest for Book::add_format 2016-12-20 22:14:40 +01:00
Elisabeth Henry
8e367888f2 Update doctests to 0.11 api 2016-12-20 22:01:46 +01:00
Elisabeth Henry
1921114d5a Use std::io::copy instead of reading then writing 2016-12-20 21:31:51 +01:00
Elisabeth Henry
cbd987e17e Stop exporting set_lang 2016-12-20 19:22:28 +01:00
Elisabeth Henry
6ce87fdccb Read from stdin if book is set to '-' 2016-12-20 19:16:51 +01:00
Elisabeth Henry
8cf00ded54 Fix typo in doc 2016-12-20 19:03:50 +01:00
Elisabeth Henry
f376ede94c Use stdout if --output is set to '-' 2016-12-20 18:56:28 +01:00
Elisabeth Henry
2a075d21ac Add description to book's formats 2016-12-20 18:47:06 +01:00
Elisabeth Henry
ab8e5b3e1b Add Book::add_format method 2016-12-20 16:15:47 +01:00
Elisabeth Henry
4182343f9b Fix doc comment of Book::set_options 2016-12-20 16:08:52 +01:00
Elisabeth Henry
e63a15f64d Add doc example to Book::set_options 2016-12-20 16:07:15 +01:00
Elisabeth Henry
69efeacd22 Make Source's setting methods return &mut Self 2016-12-20 16:03:57 +01:00
Elisabeth Henry
3512b6a281 Make resource_handler::set_image_mapping return &mut Self 2016-12-20 16:02:32 +01:00
Elisabeth Henry
fe60bf440c Change Logger API 2016-12-20 16:01:04 +01:00
Elisabeth Henry
65da338d26 Remove dead code 2016-12-20 15:56:20 +01:00
Elisabeth Henry
86d5b3886f Modify book::render_format method 2016-12-20 15:50:10 +01:00
Elisabeth Henry
a8d5f52d41 Make html_dir implement the BookRenderer trait 2016-12-20 15:42:55 +01:00
Elisabeth Henry
a857eeb170 Make all but html_dir use BookRenderer trait 2016-12-20 15:31:08 +01:00
Elisabeth Henry
abe65ab8f3 Implement BookRenderer for LatexRenderer 2016-12-20 13:29:13 +01:00
Elisabeth Henry
b61bdf1c94 Implement BookRenderer for HTMLSingleRenderer 2016-12-20 13:16:24 +01:00
Elisabeth Henry
f41331010a Add BookRenderer trait 2016-12-20 12:36:07 +01:00
Elisabeth Henry
290c9b0b2e Make renderers private 2016-12-20 11:44:27 +01:00
Elisabeth Henry
0e9bdb9f52 Make Parser private 2016-12-20 11:40:59 +01:00
Elisabeth Henry
2473bf5a70 Refactor Book api 2016-12-20 11:38:39 +01:00
Elisabeth Henry
1467f8ba89 Refactor API 2016-12-20 11:26:34 +01:00
Elisabeth Henry
7f3f74e537 Make chapters, filenames and options from Book public 2016-12-20 10:40:45 +01:00
Elisabeth Henry
117c51bb6e Add epub.toc.extras options 2016-12-19 02:06:12 +01:00
Elisabeth Henry
50b7e820a0 Refactor the way extra elements are displayed in toc.ncx 2016-12-19 02:01:19 +01:00
Elisabeth Henry
aac513e5b3 Display the inline toc in EPUB if rendering.inline_toc is true
Fixes #22
2016-12-19 01:46:32 +01:00
Elisabeth Henry
45e91c1ebc Add tests for toc.render_epub 2016-12-19 00:56:41 +01:00
Elisabeth Henry
23f1562035 Refactor toc.ncx rendering 2016-12-19 00:37:02 +01:00
Elisabeth Henry
4f431f8a40 Add correct toc support below chapter for toc.ncx
This should fix #7
2016-12-19 00:28:21 +01:00
Elisabeth Henry
8c7d457b73 Make lang detection more flexible 2016-12-18 23:09:25 +01:00
Elisabeth Henry
cf4f473be8 Add es translation for generated strings 2016-12-18 23:05:03 +01:00
Elisabeth Henry
0fea67a404 Display cover in toc.ncx 2016-12-18 22:57:37 +01:00
Elisabeth Henry
a232370e9d Put the backslash back in \maketitle 2016-12-16 13:37:40 +01:00
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