Texmaker and TeXstudio ⇒ reverse search with texmaker
reverse search with texmaker
Hi alla,
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
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
NEW: TikZ book now 40% off at Amazon.com for a short time.

Re: reverse search with texmaker
I forgot to mention that for the dvi viewer, here is the command line which is used in 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
"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
Hi,
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
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
ok, great!! What about reverse search ? does it work with TexMaker ?
Thanks
Thanks
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
reverse search with texmaker
Supplement the list of command line arguments for your compiler.
Without this additional argument the compiler doesn't write any source specials into the DVI file.
Best regards
Thorsten¹
Code: Select all
latex --src -interaction=nonstopmode %.tex %0 "%N%T"
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: reverse search with texmaker
the --src option almost works but instead of going back to the open latex source,
it opens a new instance of TexMaker with an empty file. Am I forgetting something ?
Thank you,
M.
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
Could be an issue of YaP. Start it and check the settings (View -> Options -> Inverse DVI Search).
Best regards
Thorsten¹
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: reverse search with texmaker
but it works well with WinEdt and TexnicCenter. I copied the same command lines (which may be
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,
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
yep thank you.
where do i add the mentionned parameters [-master] [-line xx] ???
Thank you,
Pluton
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