Add support for publishing of SignWriting PDF bibles. - #3
Open
dazitzel wants to merge 6 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addition of new options to publish vertical text (left to right lines) in order to be able to publish an American Sign Language bible in pdf.
No support for html, epub, sword, wordml, nor browser as of yet.
This is pdf support only for now.
Html and browser is hoped for with support of the SWIS (see the wikipedia incubator at https://incubator.wikimedia.org/wiki/Wp/ase/AS10002S1f548M519x514S1f548481x490S10002489x487_AS1f550S15a37S20e00S26502M531x512S15a37501x488S1f550507x495S20e00487x499S26502469x498 as an example).
Other formats have not been looked into yet.
The changes:
Change of text direction "tb-rl" to "ttb-rtl".
Addition of "ttb-rtl".
Changes in haiola_options.cs and haiola.Designer.cs and haiola.cs to support script using the official list of scripts. You can still type whatever you want and current options still load, but having an official list seemed best to me.
Additional checks in Usfx2XeTeX.cs to notice the text direction being ttb-ltr and adjusting some generated files accordingly. Though much of this is still SignWriting specific, I figured having the ability to publish a bible in a first vertical language was more important than making it work for all potential vertical languages.
Additional checks in Usfx2XeTeX.cs to notice the script being "Sgnw-SignWriting" and adjusting accordingly.
Addition of "fswtotex" to the project to support turning a formal SignWriting string (which is what translators would share in usfx) into something that XeLaTeX can show (which is what readers would use).
Addition of "haiolasw.tex" which allows for printing of bibles in SignWriting.
I had to update haiola.csproj to not call updateversionsource because that seems to be missing from this solution. I am not opposed to using this tool, I just don't have it available.