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

Parse multi-text layers #35

Open
NickLaiacona opened this issue Oct 16, 2024 · 0 comments
Open

Parse multi-text layers #35

NickLaiacona opened this issue Oct 16, 2024 · 0 comments

Comments

@NickLaiacona
Copy link
Collaborator

Presently, each layer in a document is represented by a single text element and the xml:id of that element. However, another common use case is to have text layers for each page or section of a text. This is useful for editing manuscripts and working with larger texts.

To support this mode, we add an additional syntax to the xml:ids. If an xml:id has an '_' in it, the text after then last underscore is considered to be the layer ID. This allows multiple text elements to be designated as being part of the same layer, from EditionCrafter's perspective.

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