Merge Novel Layouts (#837)

* Merge novel layouts and simplify the Tokenizer class
* Fix core tests
* Delete auto-layout code
* Remove no longer needed item layouts
* Remove references to deleted item layouts in test
* Make some minor changes to Tokenizer class and update tests
* Update test reference files
* Update sample project
* Fix a few issues with the Tokenizer
* Centre some text in the sample documents
* Make some minor changes to how new projects are generated
* Add support for New Page and VSpace commands to the Tokenizer
* Remove Title and Page layouts and add codes for page break and vertical space
* Add document layout and fix some issues in index class with new title formats
* Update tests and reference files
* Bump the project file version and fix a minor issue in items class
* Update tests and test coverage
* Clean up some warnings and issues in tests
This commit is contained in:
Veronica Berglyd Olsen
2021-08-02 23:44:35 +02:00
committed by GitHub
parent c6973043e6
commit bb1a778277
92 changed files with 1574 additions and 1121 deletions
@@ -5,7 +5,7 @@
"authors": [
"lipsum.com"
],
"buildTime": 1612954696
"buildTime": 1627336583
},
"text": {
"css": [
@@ -25,7 +25,7 @@
],
"html": [
[
"<h1 class='title' style='text-align: center; page-break-before: auto;'>Lorem Ipsum</h1>"
"<h1 class='title' style='text-align: center;'>Lorem Ipsum</h1>"
],
[
""
@@ -35,7 +35,7 @@
"<p class='synopsis'><strong>Synopsis:</strong> Explanation from the lipsum.com website.</p>"
],
[
"<h1 style='text-align: center; page-break-before: always;'>Act One</h1>"
"<h1 class='title' style='text-align: center; page-break-before: always;'>Act One</h1>"
],
[
"<h1 style='page-break-before: always;'>Chapter One: Chapter One</h1>",
@@ -90,4 +90,4 @@
]
]
}
}
}