For the recent version (4.1.1) of Texmaker, the solution provided in How do I open a pdf file in the TexMaker internal PDF viewer using a user-defined quick build sequence? should still work and open the internal PDF viewer instead of the external one.
In TeXstudio (current version: 2.7.0), however, the implementation has changed: Now the internal PDF viewer is opened by specifying txs:///view-pdf-internal
1 in the user-defined Quick Build command. So the correct call would be
pdflatex -interaction=nonstopmode %.tex|bibtex %.aux|pdflatex -interaction=nonstopmode %.tex|pdflatex -interaction=nonstopmode %.tex|pdflatex -interaction=nonstopmode %.tex|txs:///view-pdf-internal
in your case.
1Until TeXstudio version 2.5.1, it was tmx://internal-pdf-viewer
.
In WinEdt, the command 'PDFTeXify' is some sort of 'Quick Build' command (also exists 'TeXify' for the DVI cycle).
It runs pdflatex
and compile bibliographies, indexes and glossaries automatically to get a fully compiled document, that is something similar to:
pdfLaTeX + BibTeX + MakeIndex + MakeGlossaries + pdfLaTeX + View PDF
To customize it, you have to open the 'Execution Modes' interface ('Options' menu) and go the the 'TeX Options' page.
To obtain the equivalent of
LaTeX + dvips + ps2pdf + View PDF
you just have to check 'dvi -> ps -> pdf' in 'PDFTeXify Method'. Note that bibliographies, indexes and glossaries get compiled (when needed) even if you opt for this choice.
You can press the 'Help' button in that dialog to know more about the available choices.
For example, choosing 'Default' in 'PDFTeXify Method' and 'xelatex.exe' in 'Default PDFTeXify Engine' you get something like
XeLaTeX + BibTeX + MakeIndex + MakeGlossaries + XeLaTeX + View PDF
If you want to further customize the execution of the various accessories (e.g. change bibtex
to biber
) you have to go to the page 'Console Application'
I suggest you to press the 'Help' button here to know how to set the lots of choices you have.
If you want to add capabilities of compiling nomenclatures or inline Asymptote graphics to the 'PDFTeXify' command, have a look at these add-ons: Nomenclature and Asymptote.
Moreover, you can try the add-on LaTeXify which adds lots of buttons for this type of automated compilation.
At last, but not least, the add-on arara lets you launch the famous tool arara
from within WinEdt, if you would like to opt for this (which is probably the best tool for dealing with such automated compilations nowadays!!!).
Best Answer
It may sound quite strange, but you have to use exactly the same command as you use to open the external PDF viewer! This is because the code to run the external programs (the function
Texmaker::RunCommand
located intexmaker.cpp
, ll.5433-5596 in the sources) checks if the command to be executed is the PDF viewer, and runs the internal viewer instead of the external program if it is activated.In order to use the internal PDF viewer, you have to select
Pdf Viewer->Built-in Viewer
and disable thein theEmbed
checkboxOptions->Configure Texmaker->Commands
menu. Now you'll be able to launch Texmaker's viewer by using the same command in theQuick Build->User
input field as stated inCommands->Pdf Viewer->External Viewer
.No program you use in your Quick Build command line must exit with an error, otherwise the execution will be aborted and the viewer won't be shown.