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

--max-systems-per-page option #249

Closed
craigsapp opened this issue Jul 19, 2016 · 4 comments
Closed

--max-systems-per-page option #249

craigsapp opened this issue Jul 19, 2016 · 4 comments

Comments

@craigsapp
Copy link
Contributor

craigsapp commented Jul 19, 2016

It would be useful to have an option called --max-systems-per-page (maxSystemsPerPage). This would allow in particular generating incipits based on the first system of a work, and would otherwise allow extracting separate SVG images for each system (which I can imagine would be useful as well).

Is there currently otherwise a robust way of extracting an incipit? If I make the page height too short, no music will be output. The --spacing-system option is limited to "12", so I cannot force a large distance to the next system, effectively preventing two systems on a page.

@lpugin
Copy link
Contributor

lpugin commented Jul 20, 2016

It makes sense to have this option.

@lpugin lpugin removed the question label Jul 20, 2016
@rettinghaus
Copy link
Contributor

For rendering incipits it would be nice to have an option just taking the encoded incipit from the MEI file, so you don’t have to fiddle with an XSLT.

@craigsapp
Copy link
Contributor Author

That would be good too. Something like

    verovio --incipit

A nice enhancement for --incipit is that if there were not an incipit encoded in the data, the program would set maxSystemPerPage to 1 and page to 1 in order to output the first system of music.

Is there a way of using --appXPathQuery to extract an explicitly encoded incipit? Perhaps too complicated as this would probably require re-arranging the tree structure of the document.

Of course, I am way too lazy to separately encode an incipit in the header, so I would do:

    verovio --max-systems-per-page 1 --page 1

@craigsapp
Copy link
Contributor Author

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

No branches or pull requests

3 participants