Texmaker and TeXstudioMissing highlighted area in pdf view after “quick build"

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Post Reply
unpix
Posts: 2
Joined: Fri Feb 14, 2014 2:04 pm

Missing highlighted area in pdf view after “quick build"

Post by unpix »

One of the greatest things on TeXmaker is that it highlights the area (red rectangle) in the pdf document after running some compilation command. It highlights the block or paragraph or equation, in which the cursor in the tex file is currently located. This is very efficient in correcting some minor misprints. I like this feature the most. Actually, I use TeXmaker because of it.
But, suddenly it doesn't work. I don't know why. I tried to reinstall it, but it was useless. Does anybody know where the problem is? I use the Windows-version of TeXmaker.

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

unpix
Posts: 2
Joined: Fri Feb 14, 2014 2:04 pm

Re: Missing highlighted area in pdf view after “quick build"

Post by unpix »

Well, the problem is solved. It was just that the command pdflatex was launch without the switch -syntex.
Kaspolesen
Posts: 1
Joined: Sun Oct 11, 2015 10:16 am

Re: Missing highlighted area in pdf view after “quick build"

Post by Kaspolesen »

Hi
I encountered the same problem and this post was the only one I could find about it.
But I don't completely understand how you fixed it. Did you write something in the pdflatex command line?
I am using texmaker and completely new
User avatar
Stefan Kottwitz
Site Admin
Posts: 10359
Joined: Mon Mar 10, 2008 9:44 pm

Missing highlighted area in pdf view after “quick build"

Post by Stefan Kottwitz »

Hi Kaspolesen,

welcome to the forum!

The option is called -synctex=1 (there's a typo on the post above). It's a command line option, but you can configure it in your editor settings. Go to "Configure TeXmaker" in the main menu, take a look at those settings and make the same for pdfLaTeX in your editor:
texmaker.png
texmaker.png (53.15 KiB) Viewed 22450 times
Stefan
LaTeX.org admin
Supercheese
Posts: 1
Joined: Mon Apr 10, 2017 5:44 pm

Missing highlighted area in pdf view after “quick build"

Post by Supercheese »

The problem is that the path of your work folders must not contain spaces or special characters. I had the same problem, but I also had the correct settings explained above. Blanck spaces be damned!!!! Hope it helps :-)
paulbv
Posts: 3
Joined: Sat Mar 31, 2012 10:07 am

Missing highlighted area in pdf view after “quick build"

Post by paulbv »

Hello,

I have the same problem since I have updated the texmaker to version 5.0.2.
My pdflatex option is like this:
"/Library/TeX/texbin/pdflatex" -synctex=1 --shell-escape -interaction=nonstopmode %.tex
It is on MacOS but it should not count.
Is there any other option that I need to set?
Paul
RobBla
Posts: 1
Joined: Fri May 03, 2019 2:04 pm

Missing highlighted area in pdf view after “quick build"

Post by RobBla »

I had the same issue on Mac. I used Stefan Kottwitz's setting but it was still not working.
Solved it by also adding -synctex=1 to the LaTeX command:

Code: Select all

"latex" -synctex=1 -interaction=nonstopmode %.tex
Post Reply