LaTeX forum ⇒ AUCTeXHelp getting AUCTeX working under Windows

Information and discussion about AUCTeX, an integrated LaTeX environment based on GNU Emacs and XEmacs
Posts: 6
Joined: Fri Apr 12, 2013 4:46 am

Help getting AUCTeX working under Windows

Postby professorbell » Sat Jan 11, 2014 9:14 am

I can't be the only one having trouble getting AUCTeX working under windows.

I am running GNU Emacs 24.3(freshly installed, with no additions or modifications) in windows 7 with MikTeX 2.9 (not ideal, but I can't change the operating system on this machine...)

It is easy to find AUCTeX under the package manager in Emacs, but once I installed it, opened a sample paper with my standard mess of a header, and tried to PDF it, I got the following error:

  1. ======================================================================
  2. latex: Cannot start MiKTeX package manager.
  3. latex: Data: Invalid syntax
  5. ======================================================================
  8. ! LaTeX Error: File `fullpage.sty' not found.

Since this document compiles happily in MiKTeX' editor, I assume that I am missing some simple, stupid steps.



User avatar
Site Moderator
Posts: 3644
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sat Jan 11, 2014 12:33 pm

There is a LaTeX-package missing, namely fullpage from the preprint bundle. Auctex by itself can't acces the MikTeX package manager to install packages on the fly. It's a long time since I last worked with MikTeX, but maybe the --shell-escape option must be enabled.

The simplest but not convenient way would be to install all missing packages via the package manager manually. You could also install a complete MikTeX, not just the basic version (standard set of packages, by far not all).

Running your document from the commandline would be another possibility.

Remark: Setting all margins to 1.5 cm? That doesn't give a nice looking document.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Return to “AUCTeX”

Who is online

Users browsing this forum: No registered users and 1 guest