GeneralWhy does LaTeX compilation generate no output?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
amaurremi

Why does LaTeX compilation generate no output?

Post by amaurremi »

Hi, can't generate the output of my LaTex document (using TeXnicCenter). At the end of the log he says:

Code: Select all

Latex-Result: 0 Error(s), 0 Warning(s), 0 Bad Box(es), 0 Page(s)
and correspondingly the viewer says it couldn't find the file. I have defined the path of the pdf viewer but it didn't help. The path of the source document doesn't contain spaces. Does anyone know how to fix this problem?

Thanks in advance!
Attachments
document.log
(1.02 KiB) Downloaded 766 times

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

Why does LaTeX compilation generate no output?

Post by localghost »

Attachments shall be uploaded to the forum server. External links can get lost with time and later make a problem incomprehensible.

The log file seems to be incomplete. Provide a minimal working example (MWE) that exactly reproduces the misbehaviour. Follow the instructions for building a MWE.


Best regards and welcome to the board
Thorsten
amaurremi

Why does LaTeX compilation generate no output?

Post by amaurremi »

localghost wrote: The log file seems to be incomplete. Provide a minimal working example (MWE) that exactly reproduces the misbehaviour. Follow the instructions for building a MWE.
Thank you for your answer, Thorsten. Now I have attached the .tex and .log files (there haven't been generated any other auxiliary files). I hope I got it right with the MWE.

The following text is written in the output:

Output Profile: Latex => PDF

Code: Select all

This is pdfTeX, Version 3.1415926-1.40.12 (MiKTeX 2.8)
entering extended mode
(C:/MWE.tex
LaTeX2e <2005/12/01>
Babel <v3.81> and hyphenation patterns for english, dumylang, 
nohyphenation, german, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, 
french, russian, loaded.
(C:\Program Files\MiKTeX 2.8\tex\latex\base\article.cls"
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
("C:\Program Files\MiKTex 2.8\tex\latex\base\size12.clo"))
("C:\Program Files\MiKTeX 2.8\tex\latex\base\inputenc.sty"
pdflatex.exe: GUI framework cannot be initialized.

LaTeX-Result: 0 Error(s), 0 Warning(s), 0 Bad Box(es), 0 Page(s)
Attachments
MWE.tex
.tex source file
(215 Bytes) Downloaded 725 times
MWE.log
.log file
(1.01 KiB) Downloaded 634 times
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Why does LaTeX compilation generate no output?

Post by localghost »

This is a well known issue related to TeXnicCenter (TXC) [1]. You can access the MiKTeX Options via »Start« menu.

[1] MiKTeX 2.8 Issues
amaurremi

Re: Why does LaTeX compilation generate no output?

Post by amaurremi »

Thank you so much, the problem was because I had set the 'Ask me first' option.

But now I have a different problem (and I'm not sure whether it's necessary to write it somewhere else):

He says that the file 'cp1251.def' hasn't been found, and, as I understand, that means that the package for the Cyrillic font hasn't been installed. But if I try to download it with the package manager he just downloads it and stops doing anything, so is there any way to install it manually? By the way, I have the same problem on different computers.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Why does LaTeX compilation generate no output?

Post by localghost »

amaurremi wrote:[...] He says that the file 'cp1251.def' hasn't been found, and, as I understand, that means that the package for the Cyrillic font hasn't been installed. But if I try to download it with the package manager he just downloads it and stops doing anything, so is there any way to install it manually? By the way, I have the same problem on different computers.
Choose the closest possible remote repository and try again. Make sure that you selected Russian as additional language in the MiKTeX Options [1]. If necessary, try to reinstall the inputenc package.

[1] MiKTeX 2.8 Manual
amaurremi

Re: Why does LaTeX compilation generate no output?

Post by amaurremi »

Thank you so much! At last it works!!! I couldn't solve this problem for weeks :D
Post Reply