nvts8a / libros

The new OpenBook firmware
https://github.com/nvts8a/libros/raw/main/releases/libros-LATEST.uf2
Other
13 stars 0 forks source link

Implement Page Breaks #21

Closed nvts8a closed 1 year ago

nvts8a commented 1 year ago

It would be nice to have page breaks. Kind of similar to the way chapter breaks are implemented now, but they'd just force the end of a page without triggering a new chapter header page. I think we could implement this in the pagination phase, and use the existing ASCII Form Feed character (decimal 12 or hex 0xC) to break the page and then start a new one at the beginning of the next line

nvts8a commented 1 year ago

Fixed with v0.8.0

nvts8a commented 1 year ago

See test/resources/test-books/book-page-break-test.txt for examples! https://github.com/nvts8a/libros/blob/main/test/resources/test-books/book-page-break-test.txt