Veronica Berglyd Olsen
5befd244e6
Move outline generation to Tokenizer class instead
2024-03-21 16:42:58 +01:00
Veronica Berglyd Olsen
144ba66d9d
Remove redundant variables in tokenizer
2024-03-20 23:44:25 +01:00
Veronica Berglyd Olsen
d42074f8ea
Extend HTML anchor to include handle
2024-03-20 20:43:11 +01:00
Veronica Berglyd Olsen
bcadc40998
Make preview mode in HTML build also usable by Manuscript tool
2024-03-20 19:37:55 +01:00
Veronica Berglyd Olsen
05174cd84c
Add meta data classes in HTML build format ( #1134 )
2024-03-18 23:05:32 +01:00
Veronica Berglyd Olsen
c0f48b91e6
Drop separate token type for unnumbered headings and use heading 2 instead
2024-03-13 15:54:14 +01:00
Veronica Berglyd Olsen
a87a94ffeb
Move highlighting CSS into the ToHtml class
2024-02-27 17:00:38 +01:00
Veronica Berglyd Olsen
ac549f75b0
Set mark colour in viewer, not in html generator
2024-02-25 17:33:04 +01:00
Veronica Berglyd Olsen
23bd5dfc41
Add a syntax theme colour entry for text highlighting
2024-02-25 16:55:17 +01:00
Veronica Berglyd Olsen
0566fc38af
Update document build formats to support text highlighting
2024-02-25 16:34:24 +01:00
Veronica Berglyd Olsen
ca188fee08
Implement alternative tag display name format
2024-01-30 21:34:36 +01:00
Veronica Berglyd Olsen
838a2a8062
Drop the Novel Title data from the project and code
2024-01-26 22:45:12 +01:00
Veronica Berglyd Olsen
df690ceb36
Happy New Year 2024
2024-01-05 00:25:07 +01:00
Veronica Berglyd Olsen
186737a170
Update file history info
2023-12-13 22:07:53 +01:00
Veronica Berglyd Olsen
b9b4969b85
Rename once again, and use short instead for short descriptions of notes
2023-11-26 13:58:00 +01:00
Veronica Berglyd Olsen
53aa970427
Rename "brief" to "summary"
2023-11-25 23:42:05 +01:00
Veronica Berglyd Olsen
6a6b05c338
Update tokenizer and converters
2023-11-25 18:12:45 +01:00
Veronica Berglyd Olsen
76d67dd0aa
Clean up build settings and update tests
2023-11-09 19:04:36 +01:00
Veronica Berglyd Olsen
c7bfb1b21e
Change to always use project language for generating documents
2023-11-09 18:44:08 +01:00
Veronica Berglyd Olsen
3f0024a6a3
Use GUI language when translating meta data for the viewer
2023-11-09 18:02:33 +01:00
Veronica Berglyd Olsen
2ed3666b9f
Add keyword translations to the project language files for manuscript builds
2023-11-09 17:17:46 +01:00
Veronica Berglyd Olsen
5e41dd9a92
Merge branch 'dev' into sub_super
2023-11-05 21:28:32 +01:00
Veronica Berglyd Olsen
a2a1e2e6d0
Merge branch 'main' into dev
2023-11-05 18:54:52 +01:00
Veronica Berglyd Olsen
4582ef8b83
Fix anchor tags in html output ( #1566 )
2023-11-03 10:13:35 +01:00
Veronica Berglyd Olsen
c02e7a52a1
Fix keyword section in writing classes
2023-10-21 15:40:33 +02:00
Veronica Berglyd Olsen
b9df625914
Add ODT support for new formats
2023-10-20 21:42:00 +02:00
Veronica Berglyd Olsen
1558a11646
Add shortcodes functionality
2023-10-20 17:50:18 +02:00
Veronica Berglyd Olsen
ae1ed10f25
Add converter support for the new formats
2023-10-20 00:05:17 +02:00
Veronica Berglyd Olsen
0700dd59bb
Clean up variables and typing in doc converters
2023-09-26 18:39:50 +02:00
Veronica Berglyd Olsen
eeadfc95e3
Annotate core modules
2023-08-08 22:37:48 +02:00
Veronica Berglyd Olsen
effe7abdec
Fix formatting of line breaks in headers
2023-08-06 21:49:55 +02:00
Veronica Berglyd Olsen
f502411079
Complete test coverage of doc build module
2023-06-24 19:14:22 +02:00
Veronica Berglyd Olsen
5f4b6009ce
Complete the manuscript build dialog, and the doc builder class
2023-06-09 21:07:46 +02:00
Veronica Berglyd Olsen
b09068ab99
Add annotations to odt class
2023-06-06 22:12:56 +02:00
Veronica Berglyd Olsen
6b6c517b1f
Add annotations to tokenizer, html and markdown classes
2023-06-06 00:35:57 +02:00
Veronica Berglyd Olsen
850ee73ed4
Simplify core variables in tokenizer
2023-06-06 00:03:46 +02:00
Veronica Berglyd Olsen
324b204eaa
Drop all mappings of config object into classes now that tests don't need that
2023-05-16 23:00:30 +02:00
Veronica Berglyd Olsen
38f31d6a64
Remove the tokenizer post processing stage and instead run it where needed (Issue #1412 )
2023-04-15 18:30:37 +02:00
Veronica Berglyd Olsen
41a0788b4c
Update copyright year to 2023
2023-01-08 18:47:04 +01:00
Veronica Berglyd Olsen
32d75567e3
Use direct imports everywhere
2022-11-28 18:23:36 +01:00
Veronica Berglyd Olsen
e887ec6991
Move project name to project data class
2022-10-30 23:18:18 +01:00
Veronica Berglyd Olsen
5d6778be57
Clean up class initialisation
2022-10-11 23:17:58 +02:00
Veronica Berglyd Olsen
8bdd09400a
Move the project index into the project class
2022-05-28 14:11:58 +02:00
Veronica Berglyd Olsen
9be2519406
Resolve HTML render bug ( #951 )
...
* Fix bug breaking HTML rendering with angle brackets in other blocks than normal text
* Restore cursor if document viewer fails to load
* Improve test coverage
2022-01-04 20:52:36 +01:00
Veronica Berglyd Olsen
af3d0d2eb0
Happy new year! ( #941 )
2021-12-31 15:56:43 +01:00
Veronica Berglyd Olsen
5e2ab4f612
Refactor core and base classes ( #931 )
...
* Improve the NWIndex class
* Improve the NWItem and NWDoc classes
* Make some optimisations in projects and update tests
* Minor changes to string formatting in main source file
* Add some more protection to core classes
* Make all converter class attributes private
2021-12-18 16:03:45 +01:00
Veronica Berglyd Olsen
67d2e266fd
Fix greater/lesser symbol bug in HTML conversion ( #928 )
...
* Fix issue with greater or lesser symbol in paragraph with formatting
* Add test coverage and make another fix to special case of mixing formats
2021-11-10 00:26:07 +01:00
Veronica Berglyd Olsen
299cde9cdf
Improve handling of page breaks ( #916 )
...
* Remove page break from title and always allow for partition and chapter
* Move strip of format string into the Tokenizer class
* Fix page breaks in HTML for skip and sep
* Update documentation
* Update tests
* Allow page breaks before scene and section headers
* Never hide the scene header and instead default to skip line
2021-10-24 22:09:41 +02:00
Veronica Berglyd Olsen
1c45331b0a
Fix and optimise code ( #904 )
...
* Fix bug in early error reporting in main init
* Update docstrings and optimise code in GuiMain
* Update docstrings and optimise code in Config
* Update docstrings and optimise code in common module
* Update docstrings and optimise code in main project classes
* Update the OptionState class
* Update the spell checker class
* Update the file converter classes and extend tests
* Update the about, merge, split and item editor classes and extend tests
* Update item editor test
* Update about dialog tests
* Some minor test cleanup
* Fix typo and add clarification in contributing guide
2021-10-14 21:35:42 +02:00
Veronica Berglyd Olsen
3403d98c72
Rename package from 'nw' to 'novelwriter' ( #868 )
...
* Rename nw folder to novelwriter
* Rename nw to novelwriter in auxiliary files
* Rename nw to novelwriter in main app source
* Rename nw to novelwriter in tests
* Make setup script for pdf docs less spammy
2021-08-26 17:33:54 +02:00