74 Commits

Author SHA1 Message Date
Veronica Berglyd Olsen 5bdbd7c195 Update linting for tests 2025-08-27 21:04:32 +02:00
Veronica Berglyd Olsen 23ff933d38 Merge 2.7.2 into main 2025-06-24 17:12:43 +02:00
Veronica Berglyd Olsen 979a55d24a Add alignment precedence test to HTML tests 2025-06-24 00:07:55 +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 32091ffd94 Add test for story comment tokenizer 2025-06-19 21:49:33 +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 148fc68590 Add markdown highlight format 2025-06-16 18:46:37 +02:00
Veronica Berglyd Olsen 307e80bac9 Update tests 2025-06-14 15:29:11 +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 9b93736985 Fix linting errors in the tests 2025-04-07 17:20:31 +02:00
Veronica Berglyd Olsen c1b35b6672 Merge release 2.6 into main 2025-01-26 20:50:58 +01:00
Veronica Berglyd Olsen 8432dfdd1f Extend ODT and DocX tests 2025-01-25 21:18:30 +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 da036efdcf Switch test code to PyQt6 2025-01-11 20:36:42 +01:00
Veronica Berglyd Olsen 97fc64fcae Update copyright (#2154) 2025-01-03 12:02:48 +00:00
Veronica Berglyd Olsen 243124a4ba Update tests 2024-11-29 00:41:15 +01:00
Veronica Berglyd Olsen 2808c36753 Rename tokenizer setFont to setTextFont 2024-11-26 00:40:09 +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 26b4da9eb4 Fix most tests with minor issues 2024-11-20 19:58:34 +01:00
Veronica Berglyd Olsen ed431aa30f Update tests 2024-11-13 20:40:44 +01:00
Veronica Berglyd Olsen 0a7bd68258 Simplify collection of raw text 2024-11-07 18:56:16 +01:00
Veronica Berglyd Olsen 04645cab71 Merge bugfix for #2080 from 2.5 release branch 2024-11-05 18:46:12 +01:00
Veronica Berglyd Olsen d9582436d4 Update tests 2024-11-01 19:55:56 +01:00
Veronica Berglyd Olsen 3d935e29eb Update test coverage 2024-10-30 00:08:31 +01:00
Veronica Berglyd Olsen 9bc1561e01 Change to use document locale for integers 2024-10-29 17:50:51 +01:00
Veronica Berglyd Olsen f92521c93a Process field values in QTextDocuments 2024-10-29 17:50:49 +01:00
Veronica Berglyd Olsen 041183f914 Add processing of fields in the Tokenizer 2024-10-29 17:50:49 +01:00
Veronica Berglyd Olsen bf478a6706 Update tests 2024-10-27 02:22:39 +02:00
Veronica Berglyd Olsen ba260ac608 Add test coverage of new features, and some other places 2024-10-27 00:13:18 +02:00
Veronica Berglyd Olsen f2fc19b168 Add test coverage of new features 2024-10-26 23:28:34 +02:00
Veronica Berglyd Olsen ceabc666c3 Add font table, fix core.xml bug, clean up code, update tests, for DocX 2024-10-26 17:09:50 +02:00
Veronica Berglyd Olsen fe56c88309 Separate spell checking and link scanning, and add ODT support for links 2024-10-25 23:19:23 +02:00
Veronica Berglyd Olsen d71435df53 Distinguish between anchor ref and href in tokenizer 2024-10-25 23:19:22 +02:00
Veronica Berglyd Olsen 6b01bd7ffe Fix title page break issue and add test coverage 2024-10-24 17:47:14 +02:00
Veronica Berglyd Olsen 76a9f8e3df Fix a minor issue, and add test 2024-10-24 14:32:54 +02:00
Veronica Berglyd Olsen e15941520f Add working forced line break implementation 2024-10-24 01:25:32 +02:00
Veronica Berglyd Olsen bfa82f6bb3 Add test coverage of title line breaks, and don't break markdown titles 2024-10-24 00:02:39 +02:00
Veronica Berglyd Olsen b01c91c0a3 Remove more redundant code 2024-10-23 17:20:07 +02:00
Veronica Berglyd Olsen 3712b2e93f Combine the different ways of storing generated text data in formats 2024-10-23 17:12:13 +02:00
Veronica Berglyd Olsen 0ddc1131dc Replace heading field with a general meta data field in the text block tuple 2024-10-23 16:20:50 +02:00