MiKTeX and proTeXt"On the fly" only works if editor run as administrator

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
lalop
Posts: 63
Joined: Fri Sep 11, 2009 11:25 pm

"On the fly" only works if editor run as administrator

Post by lalop »

It started a long while ago with Texniccenter. When I just open a file normally with the tex editor that needs to download on the fly, and try to compile, it gives the usual User Account Control message for accessing miktex (sample picture of another program below)
winvista_ff_uac_06.jpg
winvista_ff_uac_06.jpg (48.38 KiB) Viewed 5951 times
The problem was, even after I clicked allow, it would seemingly not work and come up, almost instantly (too fast to download anything), with the error in my attachment.

The only way I could get it to work was by running texniccenter as administrator in the first place, then it would not prompt the above, and work seemingly fine. It would download on the fly just like in XP.

Texmaker and texmakerx seemingly didn't have this problem (I would click allow and it would work), but recently, as you can see in the attachment, texmakerx has started with the problem as well . (And I've needed to run texmakerx as administrator.)

It's kind of annoying and I don't wish to run this as administrator every time, as downloading packages is rare. Does anyone know how to fix this?

Log file for the minimal example in the attachment:

Code: Select all

This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7) (preloaded format=pdflatex 2009.10.24) 24 OCT 2009 19:03
entering extended mode
**test.tex
(test.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, german-x-2008-06-18, ngerman-x-2008-06-18, french, loaded.
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\base\article.cls"
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
("C:\Program Files (x86)\MiKTeX 2.7\tex\latex\base\size11.clo"
File: size11.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
! LaTeX Error: File `cite.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency stop.
<read *>
l.4
*** (cannot \read from terminal in nonstop modes)
Here is how much of TeX's memory you used:
201 strings out of 95290
1999 string characters out of 1182655
46136 words of memory out of 1500000
3506 multiletter control sequences out of 110000
3940 words of font info for 15 fonts, out of 3000000 for 5000
14 hyphenation exceptions out of 8191
21i,0n,19p,121b,36s stack positions out of 5000i,500n,10000p,200000b,50000s
! ==> Fatal error occurred, no output PDF file produced!
Attachments
texmakerxonthefly.jpg
texmakerxonthefly.jpg (46.63 KiB) Viewed 5957 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: "On the fly" only works if editor run as administrator

Post by josephwright »

Move to 2.8. It can install packages on a per-user basis, so the problem will disappear.
Joseph Wright
lalop
Posts: 63
Joined: Fri Sep 11, 2009 11:25 pm

Re: "On the fly" only works if editor run as administrator

Post by lalop »

Seems to work, thanks.
Post Reply