[RFC][PATCH] Improved synctex support

Pavel Sanda sanda at lyx.org
Sat Aug 13 15:34:27 UTC 2022


On Sat, Aug 13, 2022 at 02:41:30AM +0200, Enrico Forestieri wrote:
> > 2)
> > The LFUN_FORWARD_SEARCH implementation relies on the correct check in
> > getStatus. The patch adds the explicit check for presence of current
> > buffer and active output_sync state. Regarding the latter I???m not sure
> > if someone is unhappy with it. In case of preamble code to activate
> > synctex the LFUN_FORWARD_SEARCH would work but LyX doesn???t know that
> > and it???s disabled. What is your opinion here?
> 
> You can always initiate a forward search by simply defining the pdflatex
> converter as "pdflatex --synctex=1 $$i", without any modification to the
> sources. Now I have lost this possibility.

Apart from reverting that maybe adding optional "force" argument ot the lfun
would solve it for you?
Pavel


More information about the lyx-devel mailing list