Commit Graph

62 Commits

Author SHA1 Message Date
Veronica Berglyd Olsen 1d16cc2a03 Move the coding of angle brackets in HTML to the innermost function in the chain (#821) 2021-07-04 18:05:26 +02:00
Veronica Berglyd Olsen 6d7ca2bb86 Cleanup (#820)
* Update instructions and readmes
* Cleanup in base files
* Cleanup in core files
* Cleanup in gui files
* Cleanup in dialog files
* Cleanup in tools files
* Cleanup in test files
2021-07-04 17:57:54 +02:00
Veronica Berglyd Olsen 0575f89ae9 Remove alignments in arguments for format statements 2021-06-25 23:20:15 +02:00
Veronica Berglyd Olsen e1dcfaa1e3 Drop dictionary alignment by colon 2021-06-25 23:14:13 +02:00
Veronica Berglyd Olsen 26912f226f Add double space before in-line comments 2021-06-25 21:36:52 +02:00
Veronica Berglyd Olsen edfd7c9770 Remove encoding line and add spaces between classes and functions 2021-06-25 20:53:33 +02:00
Veronica Berglyd Olsen e5477f314e Add support for indented paragraphs in exports 2021-06-10 21:38:58 +02:00
Veronica Berglyd Olsen 96b2d139c9 Allow line breaks in paragraphs 2021-05-23 13:08:10 +02:00
Veronica K. B. Olsen 48695651e1 Core classes should only init with project class and if needed access main gui via project 2021-04-25 17:39:52 +02:00
Veronica K. B. Olsen f92ef05ee2 Move enum and constants to the root source folder 2021-03-28 17:15:17 +02:00
Veronica K. B. Olsen 5f3822ac1a The word "Synopsis" should be translated to GUI language when it appears in document viewer 2021-02-18 20:46:27 +01:00
Veronica K. B. Olsen 4699d9404b Add the project localisation to the converter classes 2021-02-16 22:18:14 +01:00
Veronica K. B. Olsen f67a50c064 Change the way Unicode is handled in HTML, and clean up the class a bit 2021-02-10 16:56:52 +01:00
Veronica K. B. Olsen a0fba34ff6 Apply line height and margins to HTML output 2021-02-10 16:55:46 +01:00
Veronica K. B. Olsen 7ea45ac3d2 Cleanup Build dialog and add line height to HTML 2021-02-10 10:39:25 +01:00
Veronica K. B. Olsen c677db70b4 Fix a few issues with markdown export 2021-02-06 16:38:06 +01:00
Veronica K. B. Olsen 7254f766d5 Remove div tags from HTML output and bring Tokenizer and ToHtml tests back to 100% 2021-01-28 20:42:39 +01:00
Veronica K. B. Olsen c3a1f25894 Reshuffle build and preview in Build Novel Project tool 2021-01-28 17:04:14 +01:00
Veronica K. B. Olsen 8715ab9322 Add logic to apply formatting to text 2021-01-27 19:36:34 +01:00
Veronica K. B. Olsen cbbe1b4f47 Add ODT meta namespace, add font format to HTML, and merge page break settings 2021-01-27 13:36:09 +01:00
Veronica K. B. Olsen 94c755a0e6 Fix tests and clean up a couple of minor things in HTML generator 2021-01-26 13:12:38 +01:00
Veronica K. B. Olsen 31928d5ebb Merge branch 'main' into dev 2021-01-24 14:52:35 +01:00
Veronica K. B. Olsen 034b4feff4 HTML divs should end in a line break, and use hex values for binary flags 2021-01-24 13:41:26 +01:00
Veronica K. B. Olsen c35255b82b Merge branch 'file_headers' into source_code_maintenance 2021-01-16 17:51:32 +01:00
Veronica K. B. Olsen cdf3c62d17 Reformat and update the source file header docstrings 2021-01-16 17:41:40 +01:00
Veronica K. B. Olsen f6b7a35c81 Add some more unicode constants and rename thin non-breaking space variable 2021-01-13 23:52:09 +01:00
Veronica K. B. Olsen b2d3b2cf72 Bump copyright year to 2021 2021-01-01 15:14:37 +01:00
Veronica K. B. Olsen 91ece2b7f2 New test for ToHtml class 2020-12-04 20:58:44 +01:00
Veronica K. B. Olsen 7deee064d0 More improvements, mostly string formatting 2020-10-15 22:44:47 +02:00
Veronica K. B. Olsen bb66541c81 Fix the formatting of white spaces on html export 2020-10-04 17:20:54 +02:00
Veronica K. B. Olsen 67f8a36272 Change copyright year to year-range 2020-09-22 23:13:46 +02:00
Veronica K. B. Olsen de72d93b9c Minor cleanup, and made status class properties private 2020-09-18 18:50:13 +02:00
Veronica K. B. Olsen 6ebc4ca268 Cleaned up the way navigation is done in the document viewer 2020-09-08 18:19:22 +02:00
Veronica K. B. Olsen 5f033a98bf Remove the alternative double apostrophe again 2020-08-23 20:55:30 +02:00
Veronica K. B. Olsen 995685241a The html converter should strip these out again 2020-08-22 13:20:19 +02:00
Veronica K. B. Olsen a9ac3a2aa1 Removed commented out code 2020-08-18 00:29:18 +02:00
Veronica K. B. Olsen 2f177c50fc Improved the tab handling and added the same fix to the build tool 2020-08-18 00:21:25 +02:00
Veronica K. B. Olsen 1d9cd3ee49 Add a workaround for getting tabs through the html parsing and setHtml function in QTextBrowser 2020-08-17 22:39:38 +02:00
Veronica K. B. Olsen 00f0a6887c Fixed flake8 W and F errors 2020-08-12 21:41:37 +02:00
Veronica K. B. Olsen ceadfe1e5c Improved regex, highlighting and HTML conversion of bold and italic text. Reverting to old syntax for italic. 2020-06-29 12:15:49 +02:00
Veronica K. B. Olsen 0fc0851def Added insert options and key bindings for seven different symbol and space inserts 2020-06-19 17:35:14 +02:00
Veronica K. B. Olsen 094da13c49 Merge branch 'master' into dev 2020-06-14 16:10:51 +02:00
Veronica K. B. Olsen a85222fdb8 Updated rendering of preview text to include synopsis 2020-06-13 22:59:31 +02:00
Veronica K. B. Olsen d2b1b8b57e Added back in strikethrough support 2020-06-13 10:27:02 +02:00
Veronica K. B. Olsen 8adda0c4a9 Fix regexes to be exclusive for 1, 2 and 3 stars 2020-06-13 00:14:34 +02:00
Veronica K. B. Olsen 05014cb4c9 Fixed out of bounds crash in HTML converter 2020-06-08 09:12:45 +02:00
Veronica K. B. Olsen 3e5263338b Added link style colour to the build output 2020-06-06 12:13:23 +02:00
Veronica K. B. Olsen 322a114ce5 Added a cssStyles flag that is needed to add styles at all to generated HTML 2020-06-01 22:37:10 +02:00
Veronica K. B. Olsen b3e4af1394 Added header anchor tags option to the html generator, and line numbers to the tokens list 2020-05-25 23:30:55 +02:00
Veronica K. B. Olsen a5e4f89d50 Fixed a typo 2020-05-23 21:24:12 +02:00