Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LaTeX output does not update

I have just begun using LaTeX. I am working in Windows and am using TeXnicCenter as my editor. When I build and output, having the following code:

\documentclass{article}

\begin{document}

This is a test document

\end{document}

I do get a document that has the words "This is a test document". If I change the sentence in the above code to "This is a test", and build and output - the change gets reflected.

However, say after doing the above, I change the code to this:

\documentclass{article}

\usepackage[table]{xcolor}

\begin{document}

Hello World!

\end{document}

Now if I build and output, I don't get "Hello World!" in the output, I get the last thing I had before making this change ("This is a test"). Is this a bug in TeXnicCenter or LaTeX or am I missing something here? Thanks for your answers.

Edit:

I also see this line in the new output log: '("C:...\size10.clo") latex.exe: GUI framework cannot be initialized' and in the end of the log LaTeX results says "0 Page(s)" (were generated I guess?)

like image 307
Aishwar Avatar asked Nov 13 '09 14:11

Aishwar


People also ask

When should I fix errors in latex?

For example, many float and margin/space issues are corrected by LaTeX with no need for user correction. Error messages are shown in red. They are usually more problematic and prevent the document from properly compiling, or indicate a bigger problem. You should fix errors in almost all cases.

What do the error messages mean in latex?

For example, many float and margin/space issues are corrected by LaTeX with no need for user correction. Error messages are shown in red. They are usually more problematic and prevent the document from properly compiling, or indicate a bigger problem. You should fix errors in almost all cases. Does the document fully compile?

Why is my LaTeX document not showing up on overleaf?

If you don't have a local version of LaTeX installed, we're happy to test this for you. If your document compiles locally, but not on Overleaf, the most common causes are compilation timeouts, or the use of uncommon templates or packages that do not come standard with TeXLive. See here, for more details on compilation timeout errors.

Are there any latex issues with texlive?

In our experience, most errors and warnings are LaTeX issues, and site-specific LaTeX problems are quite rare. This is because we use a standard installation of the latest full version of TeXLive on the latest Long-Term Support version of Ubuntu Linux. If you don't have a local version of LaTeX installed, we're happy to test this for you.


2 Answers

Let me google that for you:

http://miktex.org/2.8/issues

First item.

like image 121
shoosh Avatar answered Nov 09 '22 15:11

shoosh


Changing the "Install missing packages on-the-fly" option to "Yes" doesn't always work. I was having this same problem (using Miktex 2.9 and Texniccenter RC 1.0), and that setting was set to "Yes." The problem started for me when I chose a specific package repository in the "Packages" tab of the Miktex Options window, rather than keeping the default of (I changed it because the repository that it always chooses is kinda slow). Unfortunately, I couldn't find any way to revert back to the random repository, so I reinstalled Miktex, and left the Package repository option on random.

like image 33
GordonM Avatar answered Nov 09 '22 14:11

GordonM