Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly handle content on blank pages #157

Open
th-we opened this issue Jul 21, 2020 · 0 comments
Open

Properly handle content on blank pages #157

th-we opened this issue Jul 21, 2020 · 0 comments

Comments

@th-we
Copy link
Member

th-we commented Jul 21, 2020

There are two problems at the moment:

  • all content from blank pages is stuffed into <front>, even for blank pages that are in the middle or at the end
  • If there are multiple different measures followed by a (single) blank page, then objects on all of those pages have the OnNthBlankPage property set to 1. Sibmei treats everything that has the same OnNthBlankPage as belonging to the same page. We also have to take into account the bar number to differentiate between the different pages.

Content at the end can go into a <back> element, content in the middle can be stored in a <div> within the <section>, like so:

</measure>
<pb/>
<div>
    <!-- Content goes here -->
</div>
<pb/>
<measure xml:id="m-128" n="9">

(Blank pages can occur for multiple reasons and don't imply a section end. Therefore continue within the <section> element.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant