General ⇒ TeXnicCenter | PDF document cannot be opened
TeXnicCenter | PDF document cannot be opened
Hi everyone,
I am using TexnicCenter to write my document. Things were going just fine when suddenly it wouldn't open the pdf anymore. There were errors before however, it perfectly compiled and opened the pdf but somehow it started not to open even though I have decreased the number of errors. I need help urgently!!
I am using TexnicCenter to write my document. Things were going just fine when suddenly it wouldn't open the pdf anymore. There were errors before however, it perfectly compiled and opened the pdf but somehow it started not to open even though I have decreased the number of errors. I need help urgently!!
Last edited by Stefan Kottwitz on Sun Apr 22, 2012 1:32 pm, edited 1 time in total.
Reason: title changed
Reason: title changed
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Re: TeXnicCenter | PDF document cannot be opened
Hi rainz,
welcome to the board!
I changed the topic title. "Urgent help needed!" doesn't belong to a title. Just try to choose a title which shortly describes the problem or question in the best possible way.
Also, provide some further information, besides that it doesn't work any more - error messages for example. You also post the .log file as attachment to a post. Once we got some information, we could very probably help.
Stefan
welcome to the board!
I changed the topic title. "Urgent help needed!" doesn't belong to a title. Just try to choose a title which shortly describes the problem or question in the best possible way.
Also, provide some further information, besides that it doesn't work any more - error messages for example. You also post the .log file as attachment to a post. Once we got some information, we could very probably help.
Stefan
LaTeX.org admin
Re: TeXnicCenter | PDF document cannot be opened
Thanks for the heads up Stefan how can I copy/paste the error log.
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Re: TeXnicCenter | PDF document cannot be opened
Below the edit text field, when you are editing, there's a link "Upload attachment". Just click, browse and add your .log file.
Stefan
Stefan
LaTeX.org admin
Re: TeXnicCenter | PDF document cannot be opened
log file attached
- Attachments
-
- thesis.log
- log file
- (21.4 KiB) Downloaded 404 times
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
TeXnicCenter | PDF document cannot be opened
You really need to fix the errors, otherwise it just can happen that no PDF is produced. Just sometimes LaTeX can be convinced to skip the error and to continue, but that's not always possible.
For example line 18:
Always, when you use
Line 49, 50:
amsmath instead. See eqnarray vs. align for an explanation.
Line 72:
There are more errors need to be fixed. Read the log, locate the problem, try to fix it. If it's too difficult, post a question here with details: error message and problematic code. For different problem, post a different topic.
This is the final error, which probably prevents producing the PDF finally:
So
Stefan
For example line 18:
Code: Select all
E[\epsilon_{t}\left|{x_{t2},...,x_{tk}}] &=& 0
\left
, you need to use \right
in the same context. Here, you need it before ending the column by &
. Either write \right.
before the &
for an invisible delimiter, or use \big
, \Big
etc. instead of \left
.Line 49, 50:
There's something wrong with yourExtra alignment tab has been changed to \cr
...
Too many columns in eqnarray environment
...
Misplaced alignment tab character &.
eqnarray
environment. eqnarray
is obsolete, I recommend using align
of 
Line 72:
Seems also to be an anMisplaced alignment tab character &
eqnarray
problem. I can tell you details, if you would post this code.There are more errors need to be fixed. Read the log, locate the problem, try to fix it. If it's too difficult, post a question here with details: error message and problematic code. For different problem, post a different topic.
This is the final error, which probably prevents producing the PDF finally:
You probably forgot to write! LaTeX Error: \begin{table} on input line 153 ended by \end{document}.
...
\end{document}
Your command was ignored.
Code: Select all
\end{table}
\end{document}
has been ignored, the document is not finished.Stefan
LaTeX.org admin
Re: TeXnicCenter | PDF document cannot be opened
thanks a lot I will try to clean the errors hope it works
Re: TeXnicCenter | PDF document cannot be opened
I have too many bad box errors rather than normal errors and I cannot seem to fix bad box errors starting with \hbox
Re: TeXnicCenter | PDF document cannot be opened
I think there might be another problem for not opening the pdf because I nearly cleaned all of the errors and bad boxes. My log file does not show why it does not open the document. It opens the pdf but not the document.
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
TeXnicCenter | PDF document cannot be opened
The badbox messages are warnings. They don't prevent compilation.
If you would like to see the bad boxes in the output, use
Stefan
If you would like to see the bad boxes in the output, use
draft
as class option, i.e. as optional argument to \documentclass
. This way bad boxes would be marked by black rules at the margin. Just don't forget to remove the draft
option later, or replace it by final
.Stefan
LaTeX.org admin