Commit Graph

52 Commits

Author SHA1 Message Date
Veronica K. B. Olsen 33f4626aec Moved the convert classes we want to keep to the core folder. The rest will be deleted. 2020-05-10 13:51:22 +02:00
Veronica K. B. Olsen b0c71fb47d Removed the nw/tools folder and moved or merged the code in elsewhere 2020-05-08 21:28:05 +02:00
Veronica K. B. Olsen 386020bcf8 Renamed 'project' folder to 'core' 2020-05-08 20:58:34 +02:00
Veronica K. B. Olsen 58eb8e78ba Moved the project tree into its own iterable class NWTree 2020-05-07 23:08:15 +02:00
Veronica K. B. Olsen 020a4c548a Fixed formatting of URL in license docstring 2020-05-04 21:20:55 +02:00
Veronica K. B. Olsen ba3c765ba8 Added license text to source files 2020-04-20 21:50:20 +02:00
Veronica K. B. Olsen 5f104f9c48 Fixed hard line breaks in markdown export 2019-11-18 20:15:29 +01:00
Veronica K. B. Olsen 154e91ede8 Remove unused imports 2019-11-09 21:01:43 +01:00
Veronica K. B. Olsen 0e84452533 Reorganise constants, and add ISO language codes in order to drop dependency pycountry 2019-11-05 18:14:40 +01:00
Veronica K. B. Olsen 62988df7d2 Clean up imports 2019-11-03 19:44:58 +01:00
Veronica K. B. Olsen b303eb6539 Further PEP8 compliance changes 2019-11-03 18:02:47 +01:00
Veronica K. B. Olsen 7c95af951a Make comments and docstrings comply with PEP8 2019-11-03 17:23:39 +01:00
Veronica K. B. Olsen 33e3b67ba5 Make sure all code lines are within a 100 characters 2019-11-03 15:36:34 +01:00
Veronica K. B. Olsen e94bdd9340 Allow showing comments in document view pane, with a toggle swithc in document menu 2019-11-02 20:08:02 +01:00
Veronica K. B. Olsen a39387d405 Add entity as another root folder type 2019-11-02 14:26:27 +01:00
Veronica K. B. Olsen bc4fc5a0f0 Fixed bug where the page break was written over the last line of ttile/part page instead of appended 2019-11-01 19:39:27 +01:00
Veronica K. B. Olsen f823367917 Fixed rendering of tabs in the document viewer 2019-11-01 18:24:42 +01:00
Veronica K. B. Olsen 36ce75e937 Properly export tabs to text and html 2019-11-01 17:13:47 +01:00
Veronica K. B. Olsen c20d5fcc39 The preview now generates clickable links 2019-10-31 21:45:00 +01:00
Veronica K. B. Olsen d447453b8a Added a bunch of files needed for setuptools to work correctly£ 2019-10-31 16:45:18 +01:00
Veronica K. B. Olsen 2dd546b395 Improved the export filter to exclude trash and orphan files always 2019-10-31 11:34:36 +01:00
Veronica K. B. Olsen 489eae2e0d Adding non-breaking space support for editor and html, latex export 2019-10-29 14:49:11 +01:00
Veronica K. B. Olsen 62254e1ec0 Added Ctrl+Enter as a shortcut for hard line break 2019-10-28 21:43:05 +01:00
Veronica K. B. Olsen 57bc837056 Added support for hard line breaks, with higlighting and export support 2019-10-28 21:30:46 +01:00
Veronica K. B. Olsen 4b212ed192 Updated comment 2019-10-28 20:40:17 +01:00
Veronica K. B. Olsen f1e8f2e321 Added some more options to the export GUI and the ability to skip scene and section titles 2019-10-28 20:36:38 +01:00
Veronica K. B. Olsen 71c4a8f89d Minor tweak to LaTeX export 2019-10-28 16:37:45 +01:00
Veronica K. B. Olsen f760eeb544 Set encoding for all text reads and writes to utf8, as windows defaults to latin1 2019-10-28 13:44:13 +01:00
Veronica K. B. Olsen 7eb7fafcbd LaTeX export now supports escaping, with a warning if it fails 2019-10-28 11:18:26 +01:00
Veronica K. B. Olsen 73951757bb Added call to escape unicode in LaTeX export. Fails with a flag if unsuccessful 2019-10-28 11:05:47 +01:00
Veronica K. B. Olsen 22d303c98e Fixed LaTeX export for no wrapping setting 2019-10-28 10:15:05 +01:00
Veronica K. B. Olsen 11d2fe7491 Fixed line breaks in LaTeX header 2019-10-28 09:33:37 +01:00
Veronica K. B. Olsen 25c92d8b2e Improved the html export a bit, with a max width and comments formatted as yellow notes 2019-10-27 14:18:01 +01:00
Veronica K. B. Olsen fde7975a0b No need for hardcoding line endings for windows. Python handles this by default 2019-10-26 23:05:12 +02:00
Veronica K. B. Olsen f38e770402 Added novelWriter flavour markdown as an export format, and cleaned up windows/unix line endings code 2019-10-26 22:58:16 +02:00
Veronica K. B. Olsen 753b248b9f Cleaned up the nw/convert folder a bit 2019-10-26 22:24:59 +02:00
Veronica K. B. Olsen b9608dcdbd Add support for LaTeX export 2019-10-25 00:07:54 +02:00
Veronica K. B. Olsen 01dde7c8a4 Update tokenizer and html converter 2019-10-25 00:07:37 +02:00
Veronica K. B. Olsen bfd44ecae9 Missing import in html and md export 2019-10-19 15:19:56 +02:00
Veronica K. B. Olsen 691717ce96 Fixed a few bugs 2019-10-19 15:05:28 +02:00
Veronica K. B. Olsen 16401f4c1f Added export to html and markdown files 2019-10-19 14:59:32 +02:00
Veronica K. B. Olsen 722a00bae3 Finished heading formats and file name in export 2019-10-19 13:01:35 +02:00
Veronica K. B. Olsen d325e671dd Added some error handling for export file, and improved getting and setting of export options 2019-10-19 11:32:11 +02:00
Veronica K. B. Olsen 287d94369f Added header formatting to tokenizer 2019-10-19 01:17:19 +02:00
Veronica K. B. Olsen d4e74848bc Some improvements and added comments to the converter classes 2019-10-18 22:41:54 +02:00
Veronica K. B. Olsen f8878535ba Basic export to plain text now works, but many options not connected yet 2019-10-18 22:09:01 +02:00
Veronica K. B. Olsen c48b1deb8f Added wrapper classes for spell checker so new libraries can be added 2019-06-11 20:27:29 +02:00
Veronica K. B. Olsen dcf4903c64 Implemented the auto-replace code in the doc viewer. 2019-06-08 20:44:10 +02:00
Veronica K. B. Olsen 23f3e4b5bb Ctrl+R now previews the document as HTML 2019-05-10 18:47:57 +02:00
Veronica K. B. Olsen 83169d9075 Updated tokenizer, and added html converter as a subclass 2019-05-07 18:47:55 +02:00