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

Babel Esperanto has issues with character accents #752

Open
enkorvaks opened this issue Nov 2, 2024 · 1 comment
Open

Babel Esperanto has issues with character accents #752

enkorvaks opened this issue Nov 2, 2024 · 1 comment
Labels

Comments

@enkorvaks
Copy link

When using 'pdflatex' to compile a file containing Esperanto accented letters, the accents are separated from the letters in the HTML generated (using ngPDF). This occurs for both the 'hat' accent (^) and the other accent (usually obtained in latex via '\u{u}'). The accents behave differently between lower-case letters, and upper-case letters. It doesn't matter if the accent is applied using '^{c}', the babel-esperanto active character ^c, or unicode letters.

For ngPDF-generated HTML when using 'lualatex', the accents remain in place for almost all cases - the babel-esperanto active ^h does not work. All other active ^ characters retain their accent. Unicode works, and accents remain. When using ^{h} type, the accent remains.

@u-fischer
Copy link
Member

well yes, tough. pdflatex can not really produce correct ToUnicode for such accents. There is some code in the pdfx package imho that tries to place accents behind the base char, but I don't know how well it works.

Using an unicode engine is recommended here.

The problem with the ^h should be reported to the esperanto maintainer. He should use (at least with the unicode engines) something like \declare@shorthand{esperanto}{^h}{ĥ} instead of an \llap.

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

3 participants