Welcome to the hotseat. We've prepared a guide if you'd like to read more about how it works.

Viewing Quick Build in TexMaker

0 votes
asked Mar 16, 2018 in BUS 4029H - Research Project by Pandy (2,850 points)

For the life of me I cannot figure out how to view the output of Quick Build in TexMaker (which happened automatically in the LaTeX lecture). I can embed the PDF output but if I click Quick Build it won't update (cause it's not actually viewing the Quick Build but the actual PDF). 

I've spent ages Googling this to no avail so any help would be appreciated!

commented Mar 16, 2018 by Njabulo.Dube (2,950 points)

Hi Pandy.

I suspect there may be two issues:

  1. Make sure you click on the arrow on the left of the Quick Build tab first, then the arrow on the right of the Quick Build tab, and/or
  2. Your shortcut for Quick Build Command might not be set up correctly.

To check point 2 (assuming you are using a Windows machine), go to 
  • Options (on top of the task bar), 
  • Click on "Configure Texmaker"
  • Click on "Quick Build" icon
  • Select the (PdfLaTeX + Bib(la)tex + PdfLaTex(x2) + View Pdf) radio button
  • Then click OK on the bottom of the window.

You should then be able to compile the document then view the compiled document in pdf, provided it compiled properly, i.e. without any errors.
commented Mar 16, 2018 by Pandy (2,850 points)

Hi Njabulo

Thanks for the quick response!

  1. The arrow on the left of Quick Build tab seems to run fine but won't display the document (like it did in the SOE labs), but the arrow on the right of Quick Build displays the PDF just fine.
  2. I checked the settings and they're as you described.
commented Mar 19, 2018 by Njabulo.Dube (2,950 points)

I cannot think of any reason why it doesn't update, given that your settings are as outline above and that the pdf viewer is embedded.

Do you mind coming into the office tomorrow at 15:30 so we can trouble shoot together?

commented Mar 19, 2018 by Pandy (2,850 points)

Thanks, that would be awesome!

1 Answer

0 votes
answered Mar 21, 2018 by Pandy (2,850 points)
selected Mar 21, 2018 by Pandy
Best answer

So I eventually figured out that it was an issue with the referencing package that stopped the Quick Build function reaching the "View PDF" phase. So what I did (bit of a workaround, I grant you):

  • Make sure you're using the same referencing package throughout your document. natbib was what Rowan and Njabulo used in the lecture.
  • Make sure you select a referencing style just before the end of your document - \bibliographystyle{...} - and make sure that .bst file is in your LaTeX directory!
  • Include the bibliography and at least one citation - I just made a fake one so the errors would disappear. You can always change the citations when you actually have references to include.