133 Commits

Author SHA1 Message Date
Veronica Berglyd Olsen c174f8f931 Update linting for main code 2025-08-27 21:00:09 +02:00
Veronica Berglyd Olsen 8067acdc1c Merge branch 'main' into unicode_fix 2025-07-05 14:17:16 +02:00
Veronica Berglyd Olsen 9af498d69a Drop redundant re.UNICODE flag 2025-07-04 20:20:48 +02:00
Veronica Berglyd Olsen 23ff933d38 Merge 2.7.2 into main 2025-06-24 17:12:43 +02:00
Veronica Berglyd Olsen 3c474987b2 Check indent and justify after lines are combined in tokenizer, not before (#2426) 2025-06-23 23:24:20 +02:00
Veronica Berglyd Olsen c4cd151f2c Compact repeated blocks in both meta and note types 2025-06-19 21:05:44 +02:00
Veronica Berglyd Olsen ba4fdd1f92 Split up block types of comments in build formats 2025-06-19 20:47:34 +02:00
Veronica Berglyd Olsen 45a41b6109 Merge 2.7.2 bugfixes into main 2025-06-18 20:26:56 +02:00
Veronica Berglyd Olsen 92ef020342 Display headings with a line break on a single line 2025-06-18 19:26:41 +02:00
Veronica Berglyd Olsen 2176dd2020 Only add page break before first line of a heading in PDF and preview (#2415) 2025-06-18 19:25:39 +02:00
Veronica Berglyd Olsen e82c161b11 Merge branch 'main' into markdown_highlight 2025-06-16 21:41:41 +02:00
Veronica Berglyd Olsen 307cd0966b Merge branch 'release' 2025-06-16 21:40:45 +02:00
Veronica Berglyd Olsen 01733bdbaa Use dict comprehension in auto replace processing 2025-06-16 18:58:07 +02:00
Veronica Berglyd Olsen 5bc39d29eb Process escapes in docx and qdoc classes (#2410) 2025-06-16 18:50:21 +02:00
Veronica Berglyd Olsen 148fc68590 Add markdown highlight format 2025-06-16 18:46:37 +02:00
Veronica Berglyd Olsen af6b35cc43 Improve handling of CSS styles, and add viewport meta tag (#2358) 2025-06-14 15:28:51 +02:00
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