[PATCH] Only enable forward search if synctex is enabled
Scott Kostyshak
skostysh at lyx.org
Thu Apr 22 16:37:53 UTC 2021
On Sun, Apr 18, 2021 at 07:32:41PM +0200, Enrico Forestieri wrote:
> 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.
That makes sense. I think I might add that to my converters as well. I
understand the idea of having the setting as a document setting since it
changes LaTeX code. But I wonder if most users would prefer a
preference.
Would it make sense to have a preference, perhaps under Output >
General? If this would be considered, I could make a poll on lyx-users
to get a better understanding of how LyX users use forward search and
whether they like the document-specific setting or would prefer
(additionally?) a preference.
Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210422/4266865c/attachment.asc>
More information about the lyx-devel
mailing list