darioteixeira / lambdoc

Lambdoc is a library providing support for semantically complex documents in Ocsigen web applications
GNU General Public License v2.0
17 stars 1 forks source link

language tags support #23

Open edwintorok opened 9 years ago

edwintorok commented 9 years ago

lambcmd already supports specifying the languages via -l, however it doesn't set the document's lang attribute. For automatic hyphenation to be turned on (via CSS) and work correctly the following should happen:

Proposed syntax:

\lang{en} -- for setting whole document's language

\p<lang=fr>{Some french text}