MiKTeX and proTeXtMikTeX updater problem with geometry package

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
drumex
Posts: 12
Joined: Mon Apr 14, 2008 2:18 am

MikTeX updater problem with geometry package

Post by drumex »

Hey! I noticed today that the geomery package was updated, so I ran the MikTeX updater do get the new version of that and any other updates that were available.

Well, after the update, my geometry package doesn't work anymore. :( pdfLaTeX is coming up with the message "! LaTeX Error: File 'geometry.sty' not found."

I went to the folder "C:\Program Files\MiKTeX 2.7\source\latex\geometry" and there wasn't anything there. So I downloaded the zip file from CTAN here and unzipped it to that folder. I ran the command "tex geometry.dtx" to get the style file and I put that into the folder "C:\Program Files\MiKTeX 2.7\tex\latex\geometry". Now, all the manual work is something I've never done before since MikTeX handles all of the configuring by itself, so I think I probably have done something wrong there.

What should I do? How can I get geometry package running again?
Windows Vista (SP1), MiKTeX 2.7, TeXnicCenter 1.0 RC1

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
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

MikTeX updater problem with geometry package

Post by localghost »

Hm. The easiest way would have been to un-install and afterwards re-install the geometry package with the MiKTeX Package Manager (MPM). But now that you have unpacked the STY file, you only need to refresh the file name database. You can do that by calling the MiKTeX Settings from the Start menu or via command prompt, where you type texhash or mktexlsr. In that command prompt you can check where the package file is located.

Code: Select all

kpsewhich geometry.sty
With no output, your efforts failed.
drumex
Posts: 12
Joined: Mon Apr 14, 2008 2:18 am

Re: MikTeX updater problem with geometry package

Post by drumex »

I ran the MikTeX Settings and refreshed the filename database and that solved the problem.

Thank you. :)
Windows Vista (SP1), MiKTeX 2.7, TeXnicCenter 1.0 RC1
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

MikTeX updater problem with geometry package

Post by localghost »

The problem was caused by a (sometimes occurring) packaging fault of the maintainer. The Nov 16th update of the MiKTeX Package Repositories fixes this. geometry now can be updated as usual with the built-in Update function.


Best regards
Thorsten¹
Post Reply