[LyX/master] tex2lyx: improve module support

Jean-Marc Lasgouttes lasgouttes at lyx.org
Wed Feb 3 14:58:03 UTC 2021


Le 02/02/2021 à 06:47, Scott Kostyshak a écrit :
> 
> Starting with this commit, tex2lyx is a bit slower. For importing the string "\textbf{hello}", it took about 0.15s before (as measured by the "real" row of the "time" command output) and now it takes about 0.56s. I tested by putting the string in a file mwe.tex and running the following command:
> 
> $ time /path/to/tex2lyx -userdir /path/to/user-dir -fixedenc utf8 -f mwe.tex /dev/null
> 
> The fix seems like nice feature, so the small increase in time might be worth it. Also, tex2lyx is not usually a feature that a user uses repeatedly, so in my opinion a delay is fine. Nonetheless, I note the increased time just in case it was unexpected.

Is it only startup time, or is it worse with large documents?

JMarc




More information about the lyx-devel mailing list