[RFC][PATCH] Improved synctex support
Stephan Witt
st.witt at gmx.net
Sun Aug 14 09:43:51 UTC 2022
Am 13.08.2022 um 17:34 schrieb Pavel Sanda <sanda at lyx.org>:
>
> 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
I’ve pushed an enhancement with converter check instead of revert it.
Stephan
More information about the lyx-devel
mailing list