LyX ⇒ Backward and forward search in Lyx 2.0 with SumatraPdf
Backward and forward search in Lyx 2.0 with SumatraPdf
I would like to set up backward and forward search in Lyx 2.0 in connection with the Sumatra pdf reader. I know that there is a documentation in Lyx's help but I don't understand this instruction. I have tried to configure Lyx for backward and forward search but it has not worked.
So, can someone please explain it step by step how to configure Lyx 2.0 for backward and forward search in connection with SumatraPDF?
Thank you for that!
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Backward and forward search in Lyx 2.0 with SumatraPdf
What about reading something about SyncTeX in the LyX Wiki?TimB wrote:[…] So, can someone please explain it step by step how to configure Lyx 2.0 for backward and forward search in connection with SumatraPDF? […]
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Backward and forward search in Lyx 2.0 with SumatraPdf
I have done exactly what the instruction says. But neither the forward nor the backward search works.
Forwardsearch does not work and when I double click in sumatraPDF, it just marks the word yellow.
Can some please explain it in another way. Has someone done it in exact that way how it is recommanded on http://wiki.lyx.org/LyX/SyncTeX?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Backward and forward search in Lyx 2.0 with SumatraPdf
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Backward and forward search in Lyx 2.0 with SumatraPdf
I have tried to set up backward or inverse search in Lyx with Sumatra PDF on Windows 7. Forward search works fine. I have followed the instructions at http://wiki.lyx.org/LyX/SyncTeX for inverse search. If I double click in a Sumatra PDF document, a Windows command window shortly appears which says that "the system cannot find the file". It does not mean "lyxeditor.cmd" but some other file. I don't know what file it could be. Maybe the lyxeditor.cmd code on this above link is wrong?
I have often read about this error on the web but no solution for that.
Any ideas how to solve this problem?
Thank you,
kind reagards
Tim Breitenbach
-
- Site Moderator
- Posts: 542
- Joined: Sat Sep 01, 2012 6:38 am
Re: Backward and forward search in Lyx 2.0 with SumatraPdf
-
- Site Moderator
- Posts: 542
- Joined: Sat Sep 01, 2012 6:38 am
Backward and forward search in Lyx 2.0 with SumatraPdf
https://www.mail-archive.com/lyx-users@ ... 98118.htmlFor some reason, miktex does not understand/obey the command lyx inserts
into the preamble when you check the "Enable Forward/Reverse Search"
button in the toolbar and does not generate the necessary info.
The generation of the required info can be forced by changing the
converter "LaTeX (pdflatex) -> PDF (pdflatex)" in
Preferences->File handling->Converters from the default "pdflatex $$i"
to "pdflatex -synctex=1 $$i" (i.e., by adding the -synctex=1 switch).
After that it should work (supposing that you performed the necessary
configuration as explained in the above link).