Commit Graph

117 Commits

Author SHA1 Message Date
Veronica Berglyd Olsen 47814e35cb Add support for including notes in manuscript 2025-05-18 22:46:54 +02:00
Veronica Berglyd Olsen 312ad2a21b Use a set to track comment styles to include in build 2025-04-17 16:27:06 +02:00
Veronica Berglyd Olsen c107978173 Add processing of story structure comments in the build tool 2025-04-08 20:12:48 +02:00
Veronica Berglyd Olsen 8ed3bd889d Fix linting errors in the main code 2025-04-07 17:18:43 +02:00
Veronica Berglyd Olsen 53a2d0e691 Use Ruff for linting and fix a ton of issues 2025-04-03 01:15:52 +02:00
Veronica Berglyd Olsen 15de0c8dd7 Fix typing errors 2025-03-30 23:17:25 +02:00
Veronica Berglyd Olsen 05feaf7d2d Move comment processing to a separate file 2025-02-18 15:18:46 +01:00
Veronica Berglyd Olsen c1b35b6672 Merge release 2.6 into main 2025-01-26 20:50:58 +01:00
Veronica Berglyd Olsen 5fddfd395e Update HTML output 2025-01-25 21:06:20 +01:00
Veronica Berglyd Olsen 11d0e4220f Use alternative level 1 format for titles and partitions for markdown 2025-01-25 20:51:24 +01:00
Veronica Berglyd Olsen 9f1274f953 Update ODT and DocX to work with new chapter headers 2025-01-25 16:17:19 +01:00
Veronica Berglyd Olsen 9ac1692e2a Drop separate types for chapters, scenes and sections as they seem to not be needed 2025-01-25 16:11:57 +01:00
Veronica Berglyd Olsen 6f88357977 Update QTextDocument to work with new chapter headers 2025-01-25 15:35:02 +01:00
Veronica Berglyd Olsen 5a25d34ba3 Update HTML to work with new chapter headers 2025-01-25 15:05:11 +01:00
Veronica Berglyd Olsen 13e6199af2 Separate ordinary headers and novel headers in the Tokenizer 2025-01-25 14:58:06 +01:00
Veronica Berglyd Olsen a60e0b3c87 Clean up warnings and deprecations in extensions and formats 2025-01-13 00:38:50 +01:00
Veronica Berglyd Olsen 0728b35735 Drop the custom data class decorator for now, since it is not performance relevant 2025-01-12 22:23:20 +01:00
Veronica Berglyd Olsen 1878adf78c Use data classes for theme values 2025-01-12 19:31:30 +01:00
Veronica Berglyd Olsen 40c4e74d48 Switch app code to PyQt6 2025-01-11 20:15:32 +01:00
Veronica Berglyd Olsen eba0b607a4 Fix translation issues 2025-01-10 00:59:53 +01:00
Veronica Berglyd Olsen 97fc64fcae Update copyright (#2154) 2025-01-03 12:02:48 +00:00
Veronica Berglyd Olsen 4a2a14bc05 Make header margins similar in ODT and DocX files (#2120) 2024-11-29 00:40:45 +01:00
Veronica Berglyd Olsen 3b0086e75e Use a frame for page break marker in manuscript preview 2024-11-26 23:56:31 +01:00
Veronica Berglyd Olsen bcac05ca20 Only use 1200 DPI for scalable fonts 2024-11-26 21:42:54 +01:00
Veronica Berglyd Olsen 07c61450c7 Try forcing resolution for PDF printer 2024-11-26 18:57:07 +01:00
Veronica Berglyd Olsen c091e0b9bb Apply the font matcher closer to config read 2024-11-26 17:06:34 +01:00
Veronica Berglyd Olsen 18c70ffe3e Allow setting resolution for ToQTextDocument converter 2024-11-26 02:22:36 +01:00
Veronica Berglyd Olsen ff470028be Add a font matcher for text fonts (#2118) 2024-11-26 02:03:09 +01:00
Veronica Berglyd Olsen 2808c36753 Rename tokenizer setFont to setTextFont 2024-11-26 00:40:09 +01:00
Veronica Berglyd Olsen 05b1fdd7f2 Drop relative font weights in ODT output 2024-11-25 23:43:38 +01:00
Veronica Berglyd Olsen 00017e8065 Reset to default font style after emphasis in QTextDocuments (#2121) 2024-11-25 23:36:35 +01:00
Veronica Berglyd Olsen f3c9a77989 Revert to QPrinter, but update paint device 2024-11-15 19:31:55 +01:00
Veronica Berglyd Olsen 2c031bc093 Skip anchors when generating PDF 2024-11-15 01:34:02 +01:00
Veronica Berglyd Olsen 69147c2480 Correct pixel units 2024-11-15 01:27:49 +01:00
Veronica Berglyd Olsen 22ca0045bc Correct font scaling on PDF output 2024-11-15 00:40:58 +01:00
Veronica Berglyd Olsen 7c0a6f1d02 Use correct em calculation in qdoc class 2024-11-14 23:18:22 +01:00
Veronica Berglyd Olsen 4fc69ef7c6 Replace printer with Qt's PDF writer 2024-11-14 23:17:54 +01:00
Veronica Berglyd Olsen 57641ecd7d Make page number work with Office 365 2024-11-13 20:50:47 +01:00
Veronica Berglyd Olsen ed431aa30f Update tests 2024-11-13 20:40:44 +01:00
Veronica Berglyd Olsen 7a111bb173 Update default margins 2024-11-13 20:24:10 +01:00
Veronica Berglyd Olsen 220be06631 Make HTML margins scale to em units 2024-11-13 20:05:03 +01:00
Veronica Berglyd Olsen d8c14f6712 Make ODT margins scale to em units 2024-11-13 20:04:52 +01:00
Veronica Berglyd Olsen e514b1be4f Fix DocX line height setting 2024-11-13 19:51:36 +01:00
Veronica Berglyd Olsen c2b3eb4ac2 Fix issue of alternative unicode symbols being replaced too early 2024-11-13 00:03:38 +01:00
Veronica Berglyd Olsen 5c988960f5 Revert a mistake in page break cleanup 2024-11-07 19:05:49 +01:00
Veronica Berglyd Olsen 0a7bd68258 Simplify collection of raw text 2024-11-07 18:56:16 +01:00
Veronica Berglyd Olsen 87512eb13b Rename variable 2024-11-07 18:33:53 +01:00
Veronica Berglyd Olsen d04a21b70f Improve page break handling in the tokenizer 2024-11-07 17:53:19 +01:00
Veronica Berglyd Olsen 0c659422b7 Add page break markers to the QTextDocument format class 2024-11-07 17:52:01 +01:00
Veronica Berglyd Olsen 2018023dc7 Remove redundant if-checks 2024-11-07 14:34:35 +01:00