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

Support (Swiss) German braille code #37

Open
3 of 6 tasks
bertfrees opened this issue Apr 8, 2015 · 2 comments
Open
3 of 6 tasks

Support (Swiss) German braille code #37

bertfrees opened this issue Apr 8, 2015 · 2 comments
Assignees
Labels
Milestone

Comments

@bertfrees
Copy link
Member

To do:

Depends on:

@bertfrees bertfrees added this to the german (1) milestone Apr 8, 2015
@bertfrees
Copy link
Member Author

@egli I suggest that we somehow extract the translation stuff from dtbook2sbsform and make that into a DTBook specific CSSBlockTransform (see CSSBlockTransform.java). Next we convert that into an EPUB3 specific CSSBlockTransform.

With this approach you'll end up with something close to your current solution. Not sure if that's desirable or not though.

An alternative is to convert the DTBook/EPUB3 specific semantics into more generic data attached to the text nodes (e.g. with CSS) and to pipe that into a common translation step.

Independent of the question above about more/less generic code, there is the question of XSLT vs. Java. Your current solution is almost entirely XSLT. The new systems allows for more things to happen in Java.

Something to consider in all this is that it's probably desirable to have similar code for all languages.

@bertfrees
Copy link
Member Author

The liblouis tables live in sbsdev/sbs-braille-tables (branch pipeline2). The libhyphen tables live in sbsdev/sbs-hyphenation-tables. Both are dependencies of snaekobbi/pipeline-mod-sbs.

A stub for a custom CSSBlockTransform has been created: see sbsdev/pipeline-mod-sbs@511bf78. sbsdev/dtbook2sbsform should be ported to this stub.

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

No branches or pull requests

2 participants