El 17.05.2017 a las 16:29, José Abílio Matos escribió:

One of my main interests regarding lyx2lyx is that its code is semantically
meaningful. In this case that means that if the same chunk of code is repeated
over and over we refactor it into a function and give it a meaningful name.

Hello José,

many thanks for your work. All I know of Python is what I stole from existing routines. Therefore In only once in the past created an own routine:
revert_Argument_to_TeX_brace
convert_TeX_brace_to_Argument
which are used in lyx_2_1.py and lyx_2_2.py. (maybe it is worth it to move them to lyx2lyx_tools.py?

Your patch looks good. You are also our python expert so of course please put it in - if it will work with python 2 and 3. (I have no time right now to try Python 3 with your patch.)

best regards
Uwe

Reply via email to