In OS-X, is there a way to open multiple windows of TeXmaker, each for viewing and editing different (or same) files?
3 Answers
###Short answer: texmaker -n
In recent versions (4.2+) it should be possible to launch a new instance of texmaker
using the option -n
.
E.g. from command-line
texmaker -n whatever.tex
The whole story
From the source files package, ./utilities/CHANGELOG.txt
we can read
version 1.7.1 -> 1.8: texmaker can now be only started once per user : inverse search will no more launch a new instance of texmaker
version 4.1.1 -> 4.2 : with the new option "-n" for the command line, a new instance of Texmaker can be launched (will break the synchronization with the pdf viewers and others feautures)
The Puzzle / Documentation bug [?]
On some (non official) man pages of TexMaker[1],[2] I found, in the section 4.9, the syntax:
texmaker file [-master] [-line xx] [-insert foo] [-n]
...
With the-n
option a new instance of Texmaker is launched (will break synchronization with the PDF viewers).
But in the same section of the manual on the official site [3] was reported a different syntax:
texmaker file [-master] [-line xx] [-insert foo]
BTW in the documentation files of the source package [4] downloadable from the official page, the -n
option is listed in the manual... unfortunately I had not the opportunity to compile or to install the last version, but it should work for each system.
Updates
- In the 5.1.2 version we read again from the official site [3]:
With the "-n" option a new instance of Texmaker is launched (will break synchronization with the pdf viewers).
- I was using the 5.0.2 version under Ubuntu.
Although not reported by man, the-n
option opened a new instance oftexmaker
.
My best alternative is to use another tex editor (such as the basic texWorks which comes with the mikTex download)
EDIT As mentioned since OS-X does not use miktek another solution is to download, install, and use TeXstudio to view two documents at once. Again it's a work around but it's simple and quick.
-
1This doesn't help. The OP is working on OS-X, which doesn't support the Windows-only MiKTeX.– Werner ♦Jun 1, 2016 at 14:40
-
@Werner As mentioned in the edit texStudio is another option. Thanks for the heads up on miktek and OS-X. Jun 3, 2016 at 4:13
Not an exact answer but just made my comment to answer to keep the thread answered:
I don't think Multiple Texmaker windows could be opened(as suggested by Jubobs) because all .tex
files are opened inside one window only with drop down menu selection of each of them. Hence an alternative approach is to switch between source viewer--> comparing with other.tex
and pdf viewer--> view output of main.tex
source viewer
--> comparing withother.tex
andpdf viewer
--> view output ofmain.tex
.