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

Hyphen in Macedonian for 8-bit engine #47

Open
tstojan opened this issue May 30, 2020 · 0 comments
Open

Hyphen in Macedonian for 8-bit engine #47

tstojan opened this issue May 30, 2020 · 0 comments

Comments

@tstojan
Copy link
Contributor

tstojan commented May 30, 2020

Hyphenation works nicely for XeTeX or LuaTeX. However, as it can be seen here:

https://github.com/hyphenation/tex-hyphen/blob/master/hyph-utf8/tex/generic/hyph-utf8/loadhyph/loadhyph-mk.tex (line 30)

it is still not available for 8-bit engine.

This can be easily made working by adding (like in Bulgarian or Serbian):
\input conv-utf8-t2a.tex
\input hyph-mk.tex
there but there are some additional things that should be done, because of non existence of Macedonian characters ќ (U+045C - cyrkje) and ѓ (U+0453 - cyrgje) in conv-utf8-t2a.tex. There are two paths to resolve this.

  1. The first one worked for me. There are very few lines in:

https://github.com/hyphenation/tex-hyphen/blob/master/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-mk.tex

that contain these two characters, namely only 6 (/out of more than 730 in total):

line 192:
line 359: 2јќ
line 643:
line 644: ќа1
line 645: 2ќ1н
line 646: 2ќ1т
Simply removing those 6 (we lose some small content for good) and adding the two lines above in loadhyph-mk.tex worked for me so, I can make a PR with these additions.

  1. For the 2nd one, I need your help. How can I add the conversion for ќ (U+045C - cyrkje) and ѓ (U+0453 - cyrgje) in conv-utf8-t2a.tex? I tried but it didn't work. (Maybe I am wrong, but these two characters are not native T2A, but OT or so.)

I look forward your response and suggestions for the way to resolve this. I can make a PR for the first or you can help me with the second.

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