sbsdev / pipeline-mod-sbs

SBS specific modules for the DAISY Pipeline 2
0 stars 0 forks source link

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

Open bertfrees opened 3 years ago

bertfrees commented 3 years ago

Hyphenation

Braille translation

The SBS tables are already part of upstream Liblouis for a large part, and @egli is working on migrating them further.

After the above is done, there still might be some XSLT code left to handle certain corner cases. We'll have to see then if it makes sense to port that XSLT code to Pipeline.

Braille output format

Style sheets and custom script options that map to Sass variables

Everything below is about porting CSS code, which is not required to be able to make use of the generic Pipeline because CSS can be supplied as input to a conversion and therefore does not need to be included in pipeline-mod-sbs. Custom options that are solely used to set Sass variables can now be handled with the "Style sheet parameters" option. In other words consider these points optimizations rather than required steps.

bertfrees commented 3 years ago

@egli I'd like to move forward with handling emphasis in Liblouis instead of in XSLT. Can you help me with this? I need you especially for the test cases.

bertfrees commented 2 years ago

My contribution to solving this issue is now more or less done. Most things that could be done on the Pipeline side are done. Except for maybe improving ConfigurableFileFormat or porting SBSFileFormat, but we first need confirmation that this item is really required and find out which approach is most suited.

I can also still provide assistance with improving support for German in Liblouis. For instance with fixing emphasis handling.

I might also port some more CSS code in the future but that has lower priority.