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
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
0c286231cc
Remove multiple hashes before comments
2021-06-25 21:11:25 +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
80c4826253
Added left/right indentation to Tokenizer class
2021-06-10 00:04:54 +02:00
Veronica Berglyd Olsen
239cff3dee
Fix tests
2021-06-09 23:32:22 +02:00
Veronica Berglyd Olsen
6f9e3168b0
Fix default alignment
2021-06-09 23:05:16 +02:00
Veronica Berglyd Olsen
7d067f807d
Add text alignment tags
2021-06-09 22:08:31 +02:00
Veronica K. B. Olsen
470daf0036
Make NWDoc class non-reusable
2021-04-25 23:01:20 +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
d473615ccf
Rename open and save document to read and write in NWDoc
2021-04-25 17:10:12 +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
5a685474ff
Move the remanining two functions in the tools.py file to other source files
2021-02-17 16:31:37 +01:00
Veronica K. B. Olsen
4033f7a47d
Fix tests
2021-02-16 23:58:25 +01:00
Veronica K. B. Olsen
290ca2178d
Merge branch 'dev' into tokenizer_localisation
2021-02-16 23:13:36 +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
8f1c4af9fa
Fix a bug in Build and Constants, and clean up some more nested translates
2021-02-16 19:42:50 +01:00
Veronica K. B. Olsen
d5bd816676
Last round of changes to localisation
2021-02-16 18:14:04 +01:00
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