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

Allow missing hyphenator. #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

kalaspuffar
Copy link

Hi @bertfrees and @PaulRambags

We have noticed that when running some of the defined languages in liblouis the translator crashes because there is no defined hyphenator.

In this pull request, I've added a dummy hyphenator that is added if no hyphenator is defined. In this way, you get a warning that there is no hyphenator, but the book is translated into pef without a crash.

Best regards
Daniel

@bertfrees
Copy link

I don't know this code but it sounds like a valid approach.

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

Successfully merging this pull request may close these issues.

2 participants