Texmaker and TeXstudiofile building

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Post Reply
omkardpd
Posts: 86
Joined: Sun Feb 24, 2008 7:23 am

file building

Post by omkardpd »

Hi,

I am using Texmaker. I have been able to run the code using "Quick Build" command, and then manually opening the pdf file generated. The commands such as "PDFLatex", "View PDF", do not work. I get error messages such as "could not start the command".

Isn't there provision to get pdf file generated directly opened once I hit any "build" command?

Thank you,

Omkar

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: file building

Post by localghost »

Check the settings for Quick Build in TeXmaker (Options -> Configure TeXmaker). If necessary, post a screen shot of that dialogue window.


Best regards
Thorsten¹
omkardpd
Posts: 86
Joined: Sun Feb 24, 2008 7:23 am

Re: file building

Post by omkardpd »

Hi,

Please find attached screen shot of quick build command that I use.

I tried the other option, "PdfLaTex+View PDF". this option wouldn't create PDF itself.

Thank you,

Omkar
Attachments
quick build.JPG
quick build.JPG (48.79 KiB) Viewed 9071 times
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: file building

Post by localghost »

What about the "Commands" section?
omkardpd
Posts: 86
Joined: Sun Feb 24, 2008 7:23 am

Re: file building

Post by omkardpd »

commands section
Attachments
commands.JPG
commands.JPG (78.03 KiB) Viewed 9053 times
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

file building

Post by localghost »

It seems to be caused by a wrong entry in the command line for "PdfLaTeX". In your settings the latex compiler is used instead, hence no PDF file is build (but a DVI file). Change this comment line as follows.

Code: Select all

pdflatex -interaction=nonstopmode %.tex
Actual this should be the default setting. So I wonder where this changed entry comes from.
omkardpd
Posts: 86
Joined: Sun Feb 24, 2008 7:23 am

Re: file building

Post by omkardpd »

Hi,

This is working fine now. PDF is getting created at right place.

One more query on this. When I hit F6 (or some other command) can't I get PDF created and opened in one go? Do I have to open the PDF file personally?

Thank you,

Omkar
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

file building

Post by localghost »

omkardpd wrote:[…] One more query on this. When I hit F6 (or some other command) can't I get PDF created and opened in one go? Do I have to open the PDF file personally? […]
Obviously yes (by hitting F7). For more information about handling and configuring TeXmaker refer to its documentation.
Post Reply