Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am using texmaker 4.0.3 and would like to use forward/backward search. If if right-click my tex document I get the possibility 'go to pdf', but it doesnt seem to do anything. I suppose my configurations are somehow wrong, but I couldn't figure out how to get them right. These are my configurations:

latex -synctex=1  -interaction=nonstopmode %.tex
pdflatex  -synctex=1 -interaction=nonstopmode %.tex

xelatex -synctex=1 -interaction=nonstopmode %.tex
latexmk -e "$pdflatex=q/pdflatex -synctex=1 -interaction=nonstopmode/" -pdf %.tex
bibtex %.aux
makeindex %.idx
dvips -o %.ps %.dvi
dvipdfm %.dvi
ps2pdf %.ps
mpost --interaction nonstopmode
"C:/Program Files/Asymptote/asy.exe" %.asy
"C:/Program Files/gs/gs9.05/bin/gswin32c.exe"
C:/Program Files/R/R-2.13.2/bin/R.exe CMD Sweave %.Rnw

DVI:
"C:/Program Files (x86)/MiKTeX 2.9/miktex/bin/yap.exe" -1  -s @%.tex   %.dvi

Ps:
"C:/Program Files/Ghostgum/gsview/gsview32.exe"   %.ps

Pdf viewer:
pdf internal viewer used and additionally this statement
"C:/Program Files (x86)/Adobe/Reader 10.0/Reader/AcroRd32.exe"  %.pdf
share|improve this question
    
Are you using the internal viewer, or Adobe Reader? Not sure if it is possible to use Reader, but the internal viewer should just work. –  Torbjørn T. Aug 12 '13 at 10:43

2 Answers 2

Install the latest version of Texmaker. You do not need to configure anything for forward/backward search in the inbuilt pdf viewer window.

Just before jumping, do following

  1. Define your master document from Options menu
  2. Run i) pdflatex ii) bibtex iii)pdflatex iv)pdflatex. (if you are using bibliography)

Then try forward/backward search. I hope it will work.

share|improve this answer
    
You only need one run of pdflatex for source-pdf synchronization. –  Torbjørn T. Aug 12 '13 at 10:44
    
Unfortunately this does not do the trick, although I really didn't know I had to define the document as maser. –  user1638145 Aug 12 '13 at 13:00
    
@Torbjorn: I am using the recent release and the internal viewer :-( –  user1638145 Aug 12 '13 at 13:01
  1. If you have a standard LaTeX distribution (miktex, texlive or mactex), you don't have to modify the commands and the pdf synchronization works directly without modifying anything. You should reset yours settings : Option -> settings file -> reset settings)
  2. To compile the document, just use the "Quick build" command (in the "pdflatex+View pdf" mode : this is the default mode) and that's all.. You should try first with a basic document.

Note : the synchronization is made by the synctex tool and, like a lot of latex tools, synctex doesn't support spaces or special characters in the file name.

share|improve this answer
    
I use miktex. I reset my options. If I say: switch to pdf, it actually makes the pdf viewer the active window, but it doesn't go to the correct position in the document... –  user1638145 Aug 12 '13 at 16:33
    
Just take a look here : http://youtu.be/u6wPjGxUzR4?hd=1 –  user27168 Aug 12 '13 at 19:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.