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

[4.6:89] The system shall provide the possibility of repeating certain content in several volumes. #69

Closed
3 of 7 tasks
bertfrees opened this issue Jul 28, 2015 · 3 comments
Milestone

Comments

@bertfrees
Copy link
Member

Requirement

[4.6:89] The system shall provide the possibility of repeating certain content, such as title pages, in several volumes.

sprint#5

Tasks

@bertfrees bertfrees added this to the sprint#5 milestone Nov 9, 2015
@dkager
Copy link

dkager commented Nov 17, 2015

Title pages are a bit tricky because they could be automatically generated and thus not easy to specify in CSS.
Besides those, is there any other content that needs to be repeated? Dedicon doesn't repeat the entire frontmatter for example, so I'd like to give #81 higher priority.

@bertfrees
Copy link
Member Author

Whether the content that is to be repeated is automatically generated or not is not really relevant I think.

If the content is generated internally without the help of CSS, let's say with an XSLT, the most appropriate way to have it repeated in several volumes is still via CSS. The alternative is to produce the OBFL directly, but then you loose all CSS configurability. The CSS specification supports repeating content in specific volumes: see http://snaekobbi.github.io/braille-css-spec/#h3_named-flows.

Content could also be generated (partly) with the help of CSS, for example:

  • Metadata could be extracted from the header and inserted in certain places using the string-set property and the string() function.
  • The content property could support a new value content(<uri>) that would insert the external XML document pointed to by the relative URI.
  • Certain types of lists such as tables of contents or end notes could be generated directly in CSS, thereby implicitly inserting it in certain volumes. See also Generated Lists braillespecs/braille-css#10.

Beside title pages, other content that needs to be repeated could be a list of special symbols, tables of contents (see related requirements 4.6:90 and 4.6:91), etc.

@bertfrees
Copy link
Member Author

Including/repeating content present in the source XML, possibly generated in a pre-step, is already implemented for the most part in daisy/pipeline-mod-braille#61 by the way. However has not been tested very thoroughly yet. Let's stick to the plan and finish this first, together with #70 and #71 (tables of contents), before moving on to #81. Tables of contents deserve a high priority I think.

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

2 participants