1
0
Fork 0
mirror of https://github.com/lise-henry/crowbook synced 2024-06-05 22:06:08 +02:00
Commit Graph

628 Commits

Author SHA1 Message Date
Elisabeth Henry fd97c3ed73 Bump version to 0.9.0 2016-09-23 03:01:31 +02:00
Elisabeth Henry 4b1e8fd2a4 Update ChangeLog.md 2016-09-23 02:59:50 +02:00
Elisabeth Henry 5e88e20650 Update config.md 2016-09-23 02:58:30 +02:00
Elisabeth Henry 2f00887d85 Make --list-options very colourful \o/ 2016-09-23 02:55:18 +02:00
Elisabeth Henry 47c6c36ae4 Fix --list-options 2016-09-23 02:42:47 +02:00
Elisabeth Henry bea37d836b Clean up config.book, but try to use a few options 2016-09-23 02:36:53 +02:00
Elisabeth Henry ab6ee4dee5 Add output.base_path and resources.base_path.templates options 2016-09-23 02:36:27 +02:00
Elisabeth Henry 662dc2ac7a Add output.base_path and resources.base_path.templates options 2016-09-23 02:30:24 +02:00
Elisabeth Henry 11ad5918e1 Clean OPTIONS string 2016-09-23 00:37:52 +02:00
Elisabeth Henry 50edf6a809 Update ChangeLog.md 2016-09-23 00:21:44 +02:00
Elisabeth Henry e3b6e61f81 Fix path correction in import_config 2016-09-23 00:15:53 +02:00
Elisabeth Henry e1a4dbe415 Fix epubcheck for 2.0 2016-09-22 23:16:02 +02:00
Elisabeth Henry 40ced2831d HtmlSingleRenderer display all notes at the end of the document unless one_chapter is true 2016-09-22 22:15:34 +02:00
Elisabeth Henry cb95147434 Improve CSS 2016-09-22 21:59:36 +02:00
Elisabeth Henry 32575f0669 Improve footnote rendering in HTML 2016-09-22 21:50:27 +02:00
Elisabeth Henry cacddac1ec Fix typo in templates.md 2016-09-22 21:33:44 +02:00
Elisabeth Henry 860a4d4a33 Improve the way footnotes are displayed 2016-09-22 21:33:00 +02:00
Elisabeth Henry 251e56ff40 Update templates.md 2016-09-22 20:45:32 +02:00
Elisabeth Henry 850e03d02f Avoid rendering markdown TWO times in get_footer/get_header 2016-09-22 18:57:34 +02:00
Elisabeth Henry 74e14e1e30 Add support for ° character in latex template 2016-09-22 18:55:54 +02:00
Elisabeth Henry c5145d2206 Use markdown in html.footer and html.header and render it 2016-09-22 16:23:30 +02:00
Elisabeth Henry 62badb6ba6 Remove debugging println 2016-09-22 15:46:01 +02:00
Elisabeth Henry ee8ec5763f Update ChangeLog 2016-09-22 15:36:37 +02:00
Elisabeth Henry a72022929c Remove docs/ directory as I don't want to publish it to crates.io 2016-09-22 15:35:38 +02:00
Elisabeth Henry 6dd3264e7f Remove menu from lang/xx.yamls as it is identical to toc 2016-09-22 15:33:13 +02:00
Elisabeth Henry b84f470ea2 Make rendering.inline_toc.name a template that can use {{{loc_toc}}} 2016-09-22 15:27:26 +02:00
Elisabeth Henry 6c5c716755 Renamed book.get_header to book_get_chapter_header 2016-09-22 15:03:55 +02:00
Elisabeth Henry 4cea4fdb21 Change table width to 80% 2016-09-22 14:05:47 +02:00
Elisabeth Henry 733f9a1b2f Change config.book so generated files are in docs/ 2016-09-22 14:04:32 +02:00
Elisabeth Henry e2c06c40c3 Fix formatting of table 2016-09-22 07:04:00 +02:00
Elisabeth Henry 6a7cc41341 Add templates.md as a new book chapter 2016-09-22 06:59:22 +02:00
Elisabeth Henry e384b0593d Add a file to document templates 2016-09-22 06:29:17 +02:00
Elisabeth Henry c74de6fd72 Write a call to book.get_metadata more concisely 2016-09-22 06:28:57 +02:00
Elisabeth Henry f604be25f6 Disactivate doctests 2016-09-22 06:14:24 +02:00
Elisabeth Henry ea76148e1a Export header instead of top in html_dir.index.html and html_dir.chapter.html 2016-09-22 06:14:02 +02:00
Elisabeth Henry 0cf02d782d Export header instead of top for html_single.html 2016-09-22 05:59:46 +02:00
Elisabeth Henry bf6d3d189f Make the templates.rs and templates/ structure match templates names
Also:
* html_dir.css has been suppressed, it can point to html.css
* html_single.js can contain html.js even if it is not the default template
2016-09-22 05:42:02 +02:00
Elisabeth Henry 7371fbeb5a Rename html.print_css to html.css.print 2016-09-22 05:08:29 +02:00
Elisabeth Henry 690710c9e0 Export one_chapter instead of display_chapter in template.html 2016-09-22 04:56:30 +02:00
Elisabeth Henry 308c2215dc Renamed html.script to html_single.js 2016-09-22 04:53:20 +02:00
Elisabeth Henry 6fe8cb9ce6 Change display_chapter to one_chapter in fields accessible from html.script 2016-09-22 04:48:55 +02:00
Elisabeth Henry f413b91ad5 Remove html.crowbook_link option 2016-09-22 04:37:56 +02:00
Elisabeth Henry a94cc4e317 Add date and version in custom \maketitle 2016-09-22 04:19:47 +02:00
Elisabeth Henry 876ab88a70 Template.tex now uses date field instead of \today 2016-09-22 04:06:40 +02:00
Elisabeth Henry 7d9baa70ce Fix Maketitle when not using book class 2016-09-22 04:03:19 +02:00
Elisabeth Henry 0a1ac68cf6 Remove tex.short from valid options 2016-09-22 03:52:05 +02:00
Elisabeth Henry a5d2a786d3 Update ChangeLog 2016-09-22 03:42:11 +02:00
Elisabeth Henry c5f7090f17 Replace tex.short option by a tex.class
Default is book.

Additionally, if class isn't book, set `open_any` flag in template so margins
can be symmetrical except for `book` class.
2016-09-22 03:39:27 +02:00
Elisabeth Henry 02d7f2dcb8 Update ChangeLog 2016-09-22 03:26:08 +02:00
Elisabeth Henry 5fe5a3c932 Rename crowbook options
temp_dir -> crowbook.temp_dir
zip.command -> crowbook.zip.command
verbose -> crowbook.verbose
2016-09-22 03:18:08 +02:00