Commit Graph

53 Commits

Author SHA1 Message Date
Veronica K. B. Olsen 8db140fe89 Make the number to word function ready for multiple langauges, and make some minor changes to tooltips in build and status bar 2021-02-15 23:43:56 +01:00
Veronica K. B. Olsen df19ced50c Rewrap self.tr and fix a few bugs 2021-02-15 16:47:57 +01:00
Bruno Kühnen Meneguello 98e3343808 novelWriter i18n and portuguese translation 2021-02-14 17:16:43 -03: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 b59b3a3a74 Use the old converter for nwd file, not the markdown class 2021-02-06 17:19:30 +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 4df294f0a2 Add customised margin sizes 2021-01-27 16:22:59 +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 8ccd6a8ed3 Fix setting font setting for ODT export 2021-01-27 12:38:31 +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 cdf3c62d17 Reformat and update the source file header docstrings 2021-01-16 17:41:40 +01:00
Veronica K. B. Olsen b2d3b2cf72 Bump copyright year to 2021 2021-01-01 15:14:37 +01:00
Veronica K. B. Olsen b687ffe696 New test for Tokenizer class 2020-12-04 00:46:29 +01:00
Veronica K. B. Olsen e2ab9ed6cf All constants should be upper case 2020-10-27 20:36:04 +01:00
Veronica K. B. Olsen c0ad631039 Updated source file descriptions 2020-10-23 21:05:41 +02:00
Veronica K. B. Olsen 1a0f37fa45 Rename the regex constants 2020-10-14 18:13:42 +02:00
Veronica K. B. Olsen 23d5e33864 Added large size handling to build tool 2020-10-06 14:29:33 +02:00
Veronica K. B. Olsen 008117fece Remove unused code and reuse a few lines in split/merge tools 2020-09-24 23:30:59 +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 19b97bf8a6 Added an override for unnumbered chapters based on a leading asterisk 2020-08-15 19:40:17 +02:00
Veronica K. B. Olsen 832b5747df Fiexd more formatting errors 2020-08-13 21:01:52 +02:00
Veronica K. B. Olsen 95ee2bf874 Fixed pycodestyle E231 errors 2020-08-12 20:51:22 +02:00
Veronica K. B. Olsen 56b2cbee10 Code cleanup and added comments 2020-08-08 21:54:32 +02:00
Veronica K. B. Olsen 595218835e Kill invalid escape sequence warning in Tokenizer class 2020-07-26 19:55:31 +02:00
Veronica K. B. Olsen 7816bf5b87 Connected the Roman numbers function to the build tool 2020-07-05 16:56:06 +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 bd8a6afd91 Minor tweaks in text parsing and highlighting 2020-06-13 21:14:04 +02:00
Veronica K. B. Olsen d2b1b8b57e Added back in strikethrough support 2020-06-13 10:27:02 +02:00
Veronica K. B. Olsen 31ca1718a0 Also in the tokenizer 2020-06-13 10:08:35 +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 c7533c165f Fixed a bug in the tokenizer for root folder headings 2020-05-30 11:43:08 +02:00
Veronica K. B. Olsen 2bbde2c445 Improved the tokenizer class a bit 2020-05-28 20:19:55 +02:00
Veronica K. B. Olsen 3704956112 Merge branch 'dev' into view_details 2020-05-28 19:34:22 +02:00
Veronica K. B. Olsen f9e2d57fa7 This is even better 2020-05-28 00:29:45 +02:00
Veronica K. B. Olsen bfaddabf8d Changed the formatting codes for titles 2020-05-28 00:25:20 +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 0dbcaacaeb Added comment 2020-05-24 18:37:32 +02:00
Veronica K. B. Olsen fb6e3f692e Fixed the formatting of novel page layout 2020-05-24 18:33:58 +02:00
Veronica K. B. Olsen fd27f8d1e8 Added note root headings, changed some formatting, and improved export 2020-05-23 21:15:08 +02:00
Veronica K. B. Olsen cf58823f37 Now the page breaks render properly on print 2020-05-23 19:30:01 +02:00
Veronica K. B. Olsen a5729cf0a9 Cleaned up html export 2020-05-23 17:59:07 +02:00
Veronica K. B. Olsen dd9ec4772b Lines with hard line breaks should not have a justify property 2020-05-23 14:35:41 +02:00
Veronica K. B. Olsen aa342a7f19 Dropped Qt html export, and added nw markdown export 2020-05-12 19:44:30 +02:00
Veronica K. B. Olsen aa4778d4cd Preserve markdown during build, and use lists instead of strings 2020-05-12 18:41:08 +02:00
Veronica K. B. Olsen 8dca20e3aa Added printing and save to PDF, and made some changes to the tohtml class 2020-05-12 00:10:03 +02:00
Veronica K. B. Olsen 7c1f3144bd Reworked the title formatting functionality. All keywords can be used in all headings, and also added scene numbers. 2020-05-11 19:00:01 +02:00
Veronica K. B. Olsen 4dead91af2 Extended the style formatting of tokenizer and tohtml to allow multiple styles for a block 2020-05-11 18:18:19 +02:00
Veronica K. B. Olsen eecf1e000d Finished cleaning up formatting on export and connected all dialog options 2020-05-10 22:51:50 +02:00