[PATCH] Only enable forward search if synctex is enabled
Enrico Forestieri
forenr at lyx.org
Sun Apr 18 17:32:41 UTC 2021
On Fri, Apr 16, 2021 at 11:28:55PM -0400, Scott Kostyshak wrote:
> I haven't used synctex much, although I might start to get in the habit.
>
> Is the attached patch reasonable? It only enables forward search if
> Document > Settings > Format > Synchronize with output is checked.
No, it is not. That is not the only way for enabling forward search.
You can add the necessary options directly to the converter, or even
have a wrapper script for (pdf|xe)latex that enables it.
For example, I never use that preference per document, and directly add
--synctex=1 to the converter. In this way, all documents have forward
search enabled without the need to change anything.
--
Enrico
More information about the lyx-devel
mailing list