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

HTML attribute `lang' #25

Closed
cspiel opened this issue Jun 22, 2020 · 2 comments
Closed

HTML attribute `lang' #25

cspiel opened this issue Jun 22, 2020 · 2 comments

Comments

@cspiel
Copy link
Contributor

cspiel commented Jun 22, 2020

We would benefit from some flexible support for the lang attribute
to get automatic hyphenation into Hevea-translated documents.

For a start, having <html lang="LANG"> with LANG cleverly filled in
should be enough for monolingual documents. Multilingual documents
require a finer-grained application, which can already be achieved
through the built-in macro \@open@par[ATTRIBUTES].

@maranget
Copy link
Owner

For a start, having <html lang="LANG"> with LANG cleverly filled in
I guess that package babel could be responsible for setting this parameter. It is doable quite easily I guess, by using \AtBeginDocument.

should be enough for monolingual documents. Multilingual documents
require a finer-grained application, which can already be achieved
through the built-in macro \@open@par[ATTRIBUTES].
Hum.

@maranget
Copy link
Owner

maranget commented Jul 7, 2020

Solved by #26

@maranget maranget closed this as completed Jul 7, 2020
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