LaTeX forum ⇒ LyXBackward and forward search in Lyx 2.0 with SumatraPdf

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
TimB
Posts: 3
Joined: Thu Sep 12, 2013 10:43 am

Backward and forward search in Lyx 2.0 with SumatraPdf

Postby TimB » Thu Sep 12, 2013 10:58 am

Hello,
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!

Tags:

User avatar
localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Thu Sep 12, 2013 10:58 pm

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? […]

What about reading something about SyncTeX in the LyX Wiki?


Best regards and welcome to the board
Thorsten
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

TimB
Posts: 3
Joined: Thu Sep 12, 2013 10:43 am

Postby TimB » Wed Sep 18, 2013 5:01 pm

Hi,
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?

User avatar
localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Wed Sep 18, 2013 7:16 pm

And did you think about asking for help on one of the LyX mailing lists? On this forum advanced LyX users are very rare.
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

TimB
Posts: 3
Joined: Thu Sep 12, 2013 10:43 am

Postby TimB » Wed Oct 02, 2013 1:58 pm

Hello,
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

scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Postby scottkosty » Wed Oct 02, 2013 4:56 pm

I agree with localghost. For this kind of problem you might want to try emailing lyx-users@lists.lyx.org

scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Postby scottkosty » Wed Apr 02, 2014 1:18 am

See the following solution, as Enrico Forestieri explains here: https://www.mail-archive.com/lyx-users@lists.lyx.org/msg98118.html

For 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).

https://www.mail-archive.com/lyx-users@ ... 98118.html


Return to “LyX”

Who is online

Users browsing this forum: No registered users and 5 guests