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

Move as much code as possible to Pipeline and Liblouis #25

Open
10 tasks
bertfrees opened this issue Nov 17, 2020 · 0 comments
Open
10 tasks

Move as much code as possible to Pipeline and Liblouis #25

bertfrees opened this issue Nov 17, 2020 · 0 comments

Comments

@bertfrees
Copy link
Member

Braille translation

  • Handling of text-transform: uncontracted in NotaTranslator can be dropped because it is now handled in standard Pipeline.
  • Emphasis should be handled by Liblouis. I'm not sure why this is not already the case. Related: Restrict conversion of emphasis #8.
  • Language should be handled in CSS. See Replace language handling in XSLT with CSS #7. The required CSS seems already added, but there is also still XSLT code present.
  • If the above items have been solved, block-translate.xsl and NotaTranslator can be removed.

Style sheets

  • Certain bits of code that are not specific to Nota (if generalized) could be moved to Pipeline:
    • Tables: see NLB
      • There could also be an option to create multiple version of a table, with different layouts. Upon checking the result the user can than decide which variant is the best. (This is currently done in duplicate-tables.xsl.)
    • Notes: see NLB
      • Noterefs are currently replaced with the note elements that they reference (mark-noterefs.xsl), so that the ::footnote-call approach can be used to lay out the notes. But there also exists an alternative to lay out notes (with ::alternate and target-content()). If possible we should use this simpler alternative (requires no XSLT).
    • Table of contents: see SBS
    • Images: see NLB
    • Print page break indication: see NLB
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