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

[FR] Handling accents #6

Closed
tlienart opened this issue Jul 16, 2020 · 3 comments
Closed

[FR] Handling accents #6

tlienart opened this issue Jul 16, 2020 · 3 comments

Comments

@tlienart
Copy link

tlienart commented Jul 16, 2020

Hello,

The package doesn't seem to handle accents properly e.g.:

[Maw004] Jean Mawhin. Les fondements de la m \\'e canique en amont et en aval de poincar \\'e . r \\'e actions belges \\`a l’exp \\'e rience du pendule de foucault. Philosophiques, 2004. 

it might be difficult to encode the full list but maybe the common ones could be added like \'e, \^e, \"a etc?

@tlienart
Copy link
Author

actually this python script seems to do the lot: https://github.com/hayk314/LaTex-handler/blob/master/LaTexAccents.py it's MIT licensed so could be ported?

@lucianolorenti
Copy link
Owner

lucianolorenti commented Jul 17, 2020

I ported the LatexAccents.py and invoked the decoding function in the richtextelement part.
There are a few tests that are still failing.
Unfortunately, I have neither the time nor the interest to keep maintaining this package

@tlienart
Copy link
Author

Nice, I just had a look at accents.jl, thanks.

I might fork the package and make it into a plug-in for Franklin, creds will remain attributed to you.

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

2 participants