Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am trying to install the package ifetex manually. The repository does not provide a sty file, so I am following the instructions in this thread How can I manually install a package on MiKTeX (Windows), which says that I should run:

latex ifetex.ins

(on the directory where the file ifetex.ins lives)

However, when I do this, I get:

This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9) entering extended mode !

I can't find file `ifetex.ins'. <*> ifetex.ins

Please type another input file name:

How can I compile the file into a sty file?

Note:

I am on Windows. I can dir into my directory, I can also type ifetex.ins and type ifetex.dtx. Somehow I am only having this problem with the binaries tex, latex and pdflatex and pdftex.

Updates:

I am running the commands on this path:

C:\Program Files (x86)\MiKTeX 2.9\tex\latex\ifetex

I have permissions, e.g. I can type any of the files:

type ifetex.ins
share|improve this question
run pdflatex ifetex.dtx – Marco Daniel May 7 '12 at 18:50
Thanks @MarcoDaniel, but I am having the same problem with pdflatex ifetex.dtx. Really odd... – user815423426 May 7 '12 at 18:52
1  
Are you sure you have permissions to do that? What directory did you save ifetex.ins in? – egreg May 7 '12 at 21:47
3  
It's better to do the unpacking in a user directory and then move the .sty file. But why are you doing the installation manually? – egreg May 7 '12 at 22:13
1  
In windows 7 (I doubt you are using it), you may have the permission to write, But inside the program files folder, latex/pdflatex will not be able to write the output files. You copy the .ins to some folder in desktop, then it should work well. – Harish Kumar May 7 '12 at 23:57
show 4 more comments

closed as not a real question by Joseph Wright Jun 3 '12 at 7:34

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

Browse other questions tagged or ask your own question.