On 2/20/19 12:43 PM, Jean-Marc Lasgouttes wrote: > Le 20/02/2019 à 16:23, Pavel Sanda a écrit : >> On Wed, Feb 20, 2019 at 09:04:59AM +0000, Joice Joseph wrote: >>> Hi, last day. I had send a patch file which introduced language support >>> for Malayalam - an Indic language like Tamil and Telugu. I didn't >>> placed >>> the definition in the correct (alphabetic order) place. So I had >>> changed >>> the patch placing it correctly. babel have support for Malayalam now. >>> So, I have included that as well. >>> >>> Please merge with the main code base and make it available for everyone >>> please. >>> >>> Please find the attached patch with this email. >> >> Hello and welcome here! >> >> I am afraid this patch is not enough, see e.g. this commit which >> introduces different >> langauge support: >> https://www.lyx.org/trac/changeset/d9c52c7a3f06ec892cd2e36d0d20998bc99b2fd8/lyxgit >> >> >> Uwe is not much around these days, but maybe someone else could give >> you a helping hand >> if the hint above is too difficult... > > I am not a specialist either but the changes boil down to three parts: > > 1/ Introduce a new LyX document version (because older versions of LyX > will not be able to read a document in malayalam. We increase version > number at each change. > > Note that this means that the new language will only be available with > LyX 2.4.0. This is annoying, but we do not add new language sto stable > releases. > > Concerns: src/version.h > > 2/ update the mechanism that converts old documents to new format > (trivial, nothing to do) and to revert documents using malayalam to > older format. This is the ugly part in the commit shown by Pavel, and > unfortunately I do not know how to do it > > Concerns: stuff in lib/lyx2lyx
I can probably find time to do these parts on Thursday. > 3/ implement LaTeX importation. In proactice, one just has to add the > language names to some array. This shouid probably use the > lib/language file, but it is not done currently. I can also figure that part out, but for now it could be left as TODO. Riki