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

110 Commits

Author SHA1 Message Date
Elisabeth Henry
bd2971ab61 no longer change current directory, as it generated problems in multithreaded envs 2016-02-26 17:33:33 +01:00
Elisabeth Henry
f855d74db6 continued documentation 2016-02-26 04:21:20 +01:00
Elisabeth Henry
158142c32e book.rs: added documentation 2016-02-26 02:45:21 +01:00
Elisabeth Henry
d2da852bc0 html, odt: either made methods private or (for html) hide them for the docs 2016-02-26 02:08:06 +01:00
Elisabeth Henry
0b0da0092e code cleaning and improving documentation 2016-02-26 01:49:38 +01:00
Elisabeth Henry
38433292d5 improved documentation of parser.rs 2016-02-26 00:51:35 +01:00
Elisabeth Henry
bd25114bd4 moved token, cleaner and parser public again 2016-02-26 00:19:19 +01:00
Elisabeth Henry
3381c5d078 added unit test for book 2016-02-26 00:17:03 +01:00
Elisabeth Henry
d21dbc529e module cleaner is now private 2016-02-26 00:02:09 +01:00
Elisabeth Henry
2991099ecd modules token and parser are now private 2016-02-25 23:59:33 +01:00
Elisabeth Henry
7aba577347 made escape a private mod and added some tests 2016-02-25 23:50:10 +01:00
Elisabeth Henry
d513a03703 moved tests/toc.rs inside src/lib so module toc can be private 2016-02-25 23:33:54 +01:00
Elisabeth Henry
a2afa21dbf fixed french cleaner, now uses em space after — 2016-02-25 21:47:42 +01:00
Elisabeth Henry
c600207d21 force latex not to overflow page 2016-02-25 19:56:18 +01:00
Elisabeth Henry
d50579b579 ecape dashes in latex so -- is not transformed to – 2016-02-25 19:55:49 +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
8c11db543b removed debugging println 2016-02-25 19:22:45 +01:00
Elisabeth Henry
f2adcac6b8 latex: if url and url content is the same thing, display directly \url{} instead of using \href{}{} 2016-02-25 19:13:16 +01:00
Elisabeth Henry
3fba98fc3b html: bug fix in numbering of unnumbered chapters 2016-02-25 19:12:45 +01:00
Elisabeth Henry
fd15da13df --print-template is now usable with --set epub.version 3 2016-02-25 15:52:46 +01:00
Elisabeth Henry
30262ebc07 binary: added a --print-template option 2016-02-25 15:41:30 +01:00
Elisabeth Henry
b2e9793f18 toc.rs: minor comment modification 2016-02-25 15:30:20 +01:00
Elisabeth Henry
770822ac43 Book now supports multiline strings 2016-02-25 15:29:35 +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
8d763992ff fixed bug in toc.rs 2016-02-24 19:48:55 +01:00
Elisabeth Henry
0a19bb7929 added a toc module 2016-02-24 19:13:59 +01:00
Elisabeth Henry
7653d2e767 book option numbering is now an i32 instead of a false, 2016-02-23 23:40:41 +01:00
Elisabeth Henry
38db23b8ae set numbering to true by default 2016-02-23 23:29:39 +01:00
Elisabeth Henry
758a8c047f --create no longers needs BOOK, it can print to stdout 2016-02-23 23:12:36 +01:00
Elisabeth Henry
33da1f45a5 latex rendering now handles headers up to level 6 2016-02-23 22:41:47 +01:00
Elisabeth Henry
a728f466e6 fixed a bug in latex escaping 2016-02-23 22:40:23 +01:00
Elisabeth Henry
e5440be5ab print USAGE when no args are provided 2016-02-23 22:13:42 +01:00
Elisabeth Henry
fea54be112 tries to oreride clap tendency to exit with 1 2016-02-23 15:16:07 +01:00
Elisabeth Henry
2806efb39e html: correctly turs off numbering 2016-02-23 13:52:41 +01:00
Elisabeth Henry
c7bcc9feec now supports numbering beside level 1 headers 2016-02-23 06:01:33 +01:00
Elisabeth Henry
47cb2d1c8a Book now can describe its options 2016-02-23 05:04:50 +01:00
Elisabeth Henry
f4d9a612bd html: fixed escaping bug introduced while I was trying to fix previous escaping bug... 2016-02-23 05:02:41 +01:00
Elisabeth Henry
2ad88efe65 fixed escaping/cleaning bugs (god those tests actually served) 2016-02-23 04:25:00 +01:00
Elisabeth Henry
50cc073b21 added support for end notes 2016-02-23 02:20:11 +01:00
Elisabeth Henry
6218ca91cf refactored Book to use a map instead of 42 fields 2016-02-22 23:21:51 +01:00
Elisabeth Henry
ce3c47e447 Added BookOption enum 2016-02-22 21:18:24 +01:00
Elisabeth Henry
6b14cb5f05 EpubRender reuses some field of HtmlRenderer 2016-02-22 21:01:56 +01:00
Elisabeth Henry
3eaf363327 footnotes are now rendered (but as sidenotes) in HTML 2016-02-22 20:04:52 +01:00
Elisabeth Henry
f5bf5cfd02 updated changelog 2016-02-22 18:54:49 +01:00
Elisabeth Henry
4a0c27b418 better parser errors 2016-02-22 18:52:06 +01:00
Elisabeth Henry
e6e3c04186 Footnotes now implemented in the AST and LaTeX output 2016-02-22 18:46:12 +01:00
Elisabeth Henry
51bd591279 worked on stylesheet for tables 2016-02-22 17:42:12 +01:00
Elisabeth Henry
411a7066de table support for HTML/Latex 2016-02-22 17:22:36 +01:00