Texmaker and TeXstudioNo PDF Output produced

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Post Reply
Coral
Posts: 11
Joined: Thu Apr 18, 2013 4:32 pm

No PDF Output produced

Post by Coral »

Dear All,

I am quite new in Latex so I don't have any idea about what to do with this three errors. I am working with TeXaker and Jab ref.

The first error:

Code: Select all

I can't write on file `thesis.pdf' \BOOKMARK [0][]{Contents.0}{Contents}{}
The second error/warning: I am working with JabRef to do the bibliography, I have the .bib document in the folder of my .tex document and after using \cite command I am not getting any bibliography and only questions marks "[?]". What should I do?

The last question: when compiling I get always

Code: Select all

pdftex.def: PDF mode expected, but DVI mode detected!(pdftex.def)
            If you are using `latex', then call `pdflatex'. }\@ehc
What should I change in the class?

My .tex file is attached.
Attachments
example.tex
(3.59 KiB) Downloaded 473 times
Last edited by localghost on Thu Apr 18, 2013 5:00 pm, edited 1 time in total.

Recommended reading 2024:

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

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

User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

No PDF Output produced

Post by cgnieder »

Hi Coral,

Welcome to the LaTeX community!

Usually the first error is important and the following errors are caused due to what went wrong in the first place. Your first error seems to suggest that you don't have write permissions for the file thesis.pdf. You should check these... You could also try to rename your base file (into thesis2.tex or whatever...) and compile again to see if the problem persists.

It is nice that you posted an example file however it is not of much use as it contains lots of \includes of other files which we -- naturally -- don't have. It is always best to boil a problematic file down to a Infominimal working example.

Regards
site moderator & package author
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

No PDF Output produced

Post by Stefan Kottwitz »

Hi Coral,

welcome to the forum!

Please open separate topics for different questions instead of mixing three issues in one topic. Just be aware that posts in a public forum may help further users who come here via google and should be able to see one topic, not a mix of issues.

I try to answer though.
  • In addition to Clemens advice, it's possible that the PDF output is already opened by a PDF reader and blocked, for example the Adobe Reader blocks opened files, so they are write protected. Perhaps check this, there are solutions then.
  • No bibliography and just question marks instead of references: you need to run the external command bibtex on your document, either at the command line or via an editor feature.
  • Your document class, a package or one of your settings forces DVI mode, so a PDF cannot be directly produced. It could be caused, for example, by a dvips option. But we can only tell you what causes it if you would post further information, as Clemens said: the class file, included files, containing all settings. Of course your personal text content is not required.
Stefan
LaTeX.org admin
Coral
Posts: 11
Joined: Thu Apr 18, 2013 4:32 pm

Re: No PDF Output produced

Post by Coral »

Hi guys!

Danke schön ;)

I am going to split my questions as your said and try to give you the minimal report.

About the compilation fail, I had the pdf. reader working that's why Latex couldn't modify anything. Thank you very much again for your time and help!

Best,

Coral
Post Reply