LyXView PDFlatex updates in realtime automatically

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
insipidtoast
Posts: 128
Joined: Wed Jul 04, 2012 5:34 pm

View PDFlatex updates in realtime automatically

Post by insipidtoast »

Everytime I make one tiny little change I have to press ctrl+R or ctrl+shift+R or go to the view Pdflatex option from the dropdown menu. Either way, it takes me back to the first page of the document and I have to scroll back to the position where I was editing. Isn't there a way so that it shows the result of the edits I'm making WHILE I'm making them?
FYI:
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

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

View PDFlatex updates in realtime automatically

Post by scottkosty »

insipidtoast wrote:Everytime I make one tiny little change I have to press ctrl+R or ctrl+shift+R or go to the view Pdflatex option from the dropdown menu. Either way, it takes me back to the first page of the document and I have to scroll back to the position where I was editing.
You might be interested in "forward search" and "reverse search". Look in the help documents for these. The configuration depends on your browser. See Document > Settings > Output > "synchronize with output" setting:
sync_screenshot.png
sync_screenshot.png (87.59 KiB) Viewed 7952 times
insipidtoast wrote: Isn't there a way so that it shows the result of the edits I'm making WHILE I'm making them?
Not that I know of.
Note that there is "instant preview". See tools > preferences > display and look in the help documents for how to use it (e.g. insert > preview).

Scott
insipidtoast
Posts: 128
Joined: Wed Jul 04, 2012 5:34 pm

Re: View PDFlatex updates in realtime automatically

Post by insipidtoast »

Scott,

I couldn't find any info for instant preview in the help menu. Would you mind briefly explaining how to use it, and why it's advantageous?
FYI:
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

View PDFlatex updates in realtime automatically

Post by scottkosty »

insipidtoast wrote:Scott,

I couldn't find any info for instant preview in the help menu. Would you mind briefly explaining how to use it, and why it's advantageous?
Sure. I'll explain why you might be interested. Whatever you put in an Instant Preview inset LyX tries to compile just that part (that is, not the whole document) and replaces the box with what the part rendered too. It usually gives exactly what that piece will look like in the whole document when it is rendered. You can do this with a lot of things, such as math and ERT.

To find help on something, a good way (I know it's not obvious) is to go to Edit > Find & Replace (Advanced), go to the Settings tab and click on "All manuals". Now you're searching through all of the help manuals. In this case, I put in "Instant Preview" and the first thing that came up was "6.12 Previewing Snippets of your Document" in the User Guide, which is exactly what you want.

Let me know if something in that section doesn't make sense.

Scott
insipidtoast
Posts: 128
Joined: Wed Jul 04, 2012 5:34 pm

Re: View PDFlatex updates in realtime automatically

Post by insipidtoast »

Thank you very much
FYI:
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
Post Reply