[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suggestion: have a feature to enable synctex?
From: |
Gavin Smith |
Subject: |
Re: Suggestion: have a feature to enable synctex? |
Date: |
Sat, 4 May 2024 20:42:00 +0100 |
On Sat, May 04, 2024 at 03:56:14PM +0200, Patrice Dumas wrote:
> On Sat, Apr 27, 2024 at 09:39:14PM +0000, user202729@protonmail.com wrote:
> > Hello,
> >
> > I think a feature to support synctex in the compilation to PDF would be
> > helpful, because it allows for quickly navigating between the output and
> > the source code.
> >
> > As far as I can see looking through the manual, this feature is currently
> > not supported.
>
> I have not much knowledge on the subject, but I had rapid look at the
> Synctex documentation and I tried
>
> $ texi2dvi -t '\synctex=1' texinfo.texi
>
> However it did not seem to work.
>
> I also tried
>
> pdftex -synctex=1 texinfo.texi
> texindex texinfo.??
> pdftex -synctex=1 texinfo.texi
> texindex texinfo.??
> pdftex -synctex=1 texinfo.texi
>
> This leads to the creation of texinfo.synctex.gz, so it has probably worked
> as expected.
It's long been in the project TODO file:
- Include synctex support.
- but I never knew if it was something people would actually use.
"user202729", can you advise if Patrice's method produces working synctex
information in whatever PDF browser/text editor that uses it? If so,
it may not be difficult to add some extra support for synctex.