[PATCH] Added some options to configure.py allowing for faster partial-reconfigures.

Pavel Sanda sanda at lyx.org
Tue Oct 10 12:27:12 UTC 2023


On Tue, Oct 10, 2023 at 10:31:12AM +0100, José Matos wrote:
> OTHO IMHO (I am missing other acronyms to add) this does not need to be
> accessible through the GUI. Most of the time you want the default
> procedure, it is slow but it does what you want.

We might take this thread as an oportunity to actually look deeper into 
the problem. In my memory we do lot of latex queries just to poke into
MikTeX and cause it's load-on-demand function to download necessary
stuff so LyX has all it wants. (Correct me if I am wrong.)

With MikTeX gone as our primary Windows backend wouldn't getting
rid of some of these calls get us some speed up?

As I see we do:
1) program checks (we need those for enabling proper convertors etc.)
2) Indexing cls/sty/bst/bib/bbx/cbx (do we need those for something?)
3) Modules/citeengines/templates (we need those for setting UI)
4) *lot* of latex packages  
5) latex document classes (we need those for settings UI)
6) checking fonts (do we actually use those for settings?)

>From this the main questions seems: do we actually use the information
gathered in 4 somewhere (except of insetinfo in LaTeXConfig.lyx, IMHO
we could easily miss that feature)?

Pavel


More information about the lyx-devel mailing list