1
0
mirror of https://github.com/lise-henry/crowbook synced 2024-11-18 00:13:55 +01:00
Commit Graph

35 Commits

Author SHA1 Message Date
Elisabeth Henry
b58b73eb02 Render CSS differently according to lang
This is currently only used to display "–" for list items if lang is
set to "fr", and to default bullets otherwise, but it is now possible
to add more variations.
2016-03-03 17:57:38 +01:00
Elisabeth Henry
38a0656f9f Add new option tex.short
This option makes LaTeX uses the article class instead of book, and
uses the default \maketitle command for it. This option is set to
false by default, but automatically enabled when runned with
--single.

(This commit also fixes a bug for path resolution when crowbook
is runned in single. Thiss should have been a separate commit, ooops.)

Resolves: #3
2016-03-02 03:58:42 +01:00
Elisabeth Henry
e1aab90f11 Fix indentation in templates/template.html 2016-03-02 03:57:57 +01:00
Elisabeth Henry
f0600a1f3f Remove commented javascript lines in template.html 2016-03-01 19:56:13 +01:00
Elisabeth Henry
677ed2b04c Fix typo in epub stylesheet 2016-03-01 19:10:57 +01:00
Elisabeth Henry
94a9f4eb2e worked a bit on css 2016-02-27 14:51:11 +01:00
Elisabeth Henry
e8846117f2 started working on a way to get links to .md files working, but it's gonna be a long road 2016-02-26 22:41:30 +01:00
Elisabeth Henry
c600207d21 force latex not to overflow page 2016-02-25 19:56:18 +01:00
Elisabeth Henry
0db51c5b1c latex: use spverbatim instead of verbatim to allow breaking lines 2016-02-25 19:25:42 +01:00
Elisabeth Henry
3c251d08ce latex: try to make long url break lines 2016-02-25 19:13:37 +01:00
Elisabeth Henry
a79d05a400 modified template.html according to W3C validator suggestion 2016-02-25 16:23:15 +01:00
Elisabeth Henry
bdf03f2c17 added menu.svg icon to the repository, though it is not yet used in code (template.html directly includes a BASE64 representation of it, which is not very clean, admittedly 2016-02-25 15:31:29 +01:00
Elisabeth Henry
770822ac43 Book now supports multiline strings 2016-02-25 15:29:35 +01:00
Elisabeth Henry
93b7f828d4 tuned html css 2016-02-25 05:57:30 +01:00
Elisabeth Henry
5b18e144a9 worked a bit on HTML styling, now includes a navigation menu that can be displayed or hidden 2016-02-25 02:23:34 +01:00
Elisabeth Henry
02f296ff03 Epub: nav.xhtml has full toc (but not yet toc.ncx) 2016-02-24 22:31:24 +01:00
Elisabeth Henry
0a0f21c6b5 added option to display toc in the document for HTML and PDF output 2016-02-24 20:51:39 +01:00
Elisabeth Henry
595d7eda15 modified stylesheet 2016-02-23 05:03:37 +01:00
Elisabeth Henry
50cc073b21 added support for end notes 2016-02-23 02:20:11 +01:00
Elisabeth Henry
3eaf363327 footnotes are now rendered (but as sidenotes) in HTML 2016-02-22 20:04:52 +01:00
Elisabeth Henry
51bd591279 worked on stylesheet for tables 2016-02-22 17:42:12 +01:00
Elisabeth Henry
ef26c10c02 updated templates 2016-02-21 19:39:54 +01:00
Elisabeth Henry
11c84726b8 fixed some escaping, now allow use output.xx instead of output_xxx in book file 2016-02-21 05:29:40 +01:00
Elisabeth Henry
10cdd50322 fixed html escaping of title/author in templates 2016-02-21 04:35:35 +01:00
Elisabeth Henry
40b32226cc experimental support for odt 2016-02-21 01:49:58 +01:00
Elisabeth Henry
b4e0acb3a5 updated readme.md and Cargo.toml 2016-02-20 04:49:20 +01:00
Elisabeth Henry
2ad66d7286 now supports epub3 (in theory) 2016-02-20 03:41:29 +01:00
Elisabeth Henry
4725b0b7a6 fixed typo bug 2016-02-20 00:04:28 +01:00
Elisabeth Henry
90504e2acc added a book_example 2016-02-19 21:35:49 +01:00
Elisabeth Henry
8709cf3aec a bit of cleaning 2016-02-19 08:05:18 +01:00
Elisabeth Henry
bcbe3a097b broke everything but am fixing it lol 2016-02-19 07:02:10 +01:00
Elisabeth Henry
3a1afc011c started working on latex renderer 2016-02-19 03:55:16 +01:00
Elisabeth Henry
86f18eef59 Epub renderergit statusgit status! 2016-02-19 02:56:43 +01:00
Elisabeth Henry
eea9a7d0f6 html exports looks pretty good \o/ 2016-02-18 22:18:08 +01:00
Elisabeth Henry
10f58f9002 html renderer is starting to work \o/ 2016-02-18 22:05:54 +01:00