Texmaker and TeXstudio ⇒ reverse search with texmaker
reverse search with texmaker
I'm trying to set up the reverse search tool from dvi to the tex source in texmaker
but it does not work (it works well with WinEdt). Any hints?
Thank you,
otherwise, I'm trying to set up texmaker such that when I compile a tex document (F2)
and then open the dvi file (F3), the viewer does not open a new document but up-date
the one which is already opened. In my options- configure texmake, I have :
latex -interaction=nonstopmode %.tex %0 "%N%T"
that i copied from my WinEdt workspace. Whare do I have to look at ?
I'm using TexMaket because WinEdt is not able to handle cyrillic? What about Texniccenter??
Thank you,
Pluton
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
Re: reverse search with texmaker
"C:/LaTeX/MiKTeX27/Miktex/bin/yap.exe" %.dvi
I have to modify it, I think but I do not know how.
Thank you,
Pluton
Re: reverse search with texmaker
To make yap reuse already open window, you need to call it with -1 switch. Copying configuration from WinEdt will likely fail - TeXmaker uses its own substitution syntax - '%' for file name without extension and '@' for line number.
Cheers,
Tomek
Re: reverse search with texmaker
Thanks
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
reverse search with texmaker
Code: Select all
latex --src -interaction=nonstopmode %.tex %0 "%N%T"
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: reverse search with texmaker
it opens a new instance of TexMaker with an empty file. Am I forgetting something ?
Thank you,
M.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: reverse search with texmaker
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: reverse search with texmaker
uncorrect) :
"C:\Program Files\Texmaker\texmaker.exe" " "[Open(|%f|);SelPar(%l,8)]"
The thing is that the inverse search is automatically detected for WinEdt and TexnicCenter
and not for TexMaker and that may be the origin of the problem, dont you think ?
Thank you,
reverse search with texmaker
You can bet it's incorrect. You need to use command switches that are for TeXmaker and not some other editor. Have you looked in the user's manual? It gives the following command line for yap as an example (forward search):pluton wrote:but it works well with WinEdt and TexnicCenter. I copied the same command lines (which may be uncorrect)
Code: Select all
\"C:/Program Files/MiKTeX 2.5/miktex/bin/yap.exe\" -1 -s @%.tex %.dvi
Code: Select all
texmaker file [-master] [-line xx]
With the "-master" option, the document will be automatically defined as a "master" document.
With the "-line xx" option, Texmaker will ask you if you want to jump to the xx line after loading the document.
Cheers,
Tomek
reverse search with texmaker
the thing is that I do not understand what they call : Synopsis of the texmaker commandCode: Select all
texmaker file [-master] [-line xx] With the "-master" option, the document will be automatically defined as a "master" document. With the "-line xx" option, Texmaker will ask you if you want to jump to the xx line after loading the document.
where do i add the mentionned parameters [-master] [-line xx] ???
Thank you,
Pluton