MiKTeX and proTeXtPackage Installation corrupts PDFLaTeX

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
Burger
Posts: 2
Joined: Mon Jul 25, 2011 1:47 pm

Package Installation corrupts PDFLaTeX

Post by Burger »

Hi,

short description of my problem:
after adding and removing package pdfpages I can not compile my document via pdftex anymore. Investigation showed, that \usepackage{graphicx} causes the problems. It seems that \tex\latex\lx\t1lmr.fd is called and causes some error.

Details:
I tried to instal the package pdfpages to include a pdf-titlepage. Using the MiKTeX Package Manager I found the package, but couldn't install it because the Repository was not available anymore. After trying some servers in Germany that responded with a 404 Error, I chose the first Server in Brazil and it worked. I installed pdfpages -> some error with pdflatex because of ifthen.sty -> installed xifthen package -> still did not work.
So i decided to undo my changes: deinstalled packages xifthen and pdfpages and deleted \usepackage{pdfpages} in document -> could not compile (did not really start). I deleted the project-files and tried again: nothing changed. Then I copied the backup from my working directory from Friday which definitely worked -> still not compiling.

I commented all \usepackages and with some errors it compiled my document. All packages are working, the only one that causes troubles is \usepackage{graphicx}. Leaving this out I can compile with errors (\includegraphics is undefined) and my figures are missing, but the document is created.


What can I do to make everything work again?

Packages in use:

Code: Select all

\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage[ansinew]{inputenc}
\usepackage{graphicx}
\usepackage{textcomp, amsmath, float}

\usepackage{lmodern}\usepackage{url}
\usepackage{booktabs}
some pdftex output:

Code: Select all

...\MiKTeX 2.8\tex\latex\lm\t1lmr.fd")pdflatex.exe: GUI framework cannot be initialized.
top-level auxiliary file: ...\MyDocument.aux
I found no \citation commands---while reading file ...\MyDocument.aux
I found no \bibdata commands---while reading file ...\MyDocument.aux
I found no bibstyle commands---while reading file ...\MyDocument.aux
The Document itself worked on Friday, not using graphicx package makes pdflatex compile the document.

I use MiKTeX 2.8, TeXnicCenter, Windows XP. Everything worked fine until i tried to install a new package/changed the Repository Server.

Can anyone help me restoring my MiKTeX?

Thanks in advance!
Last edited by Burger on Tue Jul 26, 2011 8:15 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.

Burger
Posts: 2
Joined: Mon Jul 25, 2011 1:47 pm

Re: Package Installation corrupts PDFLaTeX

Post by Burger »

Hello,

I also installed MiKTeX 2.9, but it delivered the same result.
But later I could solve the problem. It is a known Bug with TeXnicsCenter 1.0 and MiKTeX 2.8 and 2.9 that after packages change, TeXnicsCenter does not find some package anymore. The solution is to start a command window and compile the file with "pdflatex filename.tex", then all missing packages are downloaded and TeXnicsCenter works again.

Can be closed.
Thanks!
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Package Installation corrupts PDFLaTeX

Post by localghost »

MiKTeX 2.9 Issues


Best regards and welcome to the board
Thorsten
Post Reply