Take the 2-minute tour ×
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 want to edit the environment variable TEXINPUTS but i dont know how in windows platform with Winedt. I googled it many times but i didnt get what i need. I found how to reach TEXINPUTS by: options -> execution modes -> variables

For example, if i want to add the directory "C:\Texproject" to the directories searched by the latex, what should i type in the blank field of the TEXINPUTS ?

Thanks in advance

share|improve this question
    
Could you please post your solution as an answer (that makes it easier for other people who have the same problem). –  Caramdir Dec 4 '10 at 17:17
    
@Caramdir I need what i should type in its field ?! –  Diaa Abidou Dec 4 '10 at 17:46
    
I guess you need to enter the search path you want to use? Sorry, without more details it is rather hard to help you. –  Caramdir Dec 4 '10 at 22:33
    
@Caramdir: For example, if i want to add the directory "C:\Texproject" to the directories searched by the latex, what should i type in the blank field of the TEXINPUTS ? –  Diaa Abidou Dec 4 '10 at 23:53
    
I don't use Windows (and Winedt) and hence are not familiar with it but you could try one of .:C:\Texproject:$TEXINPUTS, .:C:\Texproject or simply C:\Texproject –  Caramdir Dec 5 '10 at 0:18
add comment

1 Answer 1

up vote 1 down vote accepted

Firstly, Thanks for the support by Caramdir.

After playing there are two ways for adding different search path directories:

First:

1- goto options -> execution modes -> variables

2- check on the TEXINPUTS then type in its field (e.g. in case of adding "C:\Texproject"):

  • "C:\Texproject" for adding only this directory

OR

  • "C:\Texproject//" for adding this directory and its subdirectories

Second:

1- goto options -> execution modes -> PATH

2- For the first option "EXTRA PATH FOLDERS", check on "Insert in PATH" then click on the magnifying glass for browsing to any folder you want to add.

3- Select the folder, then click open twice.

The second method only add this directory without its subdirectories.

For the two methods, adding multiple directories is possible by separating each two paths by semicolon.

Waiting for any amendments.

share|improve this answer
    
As this solves your problem, could you accept your own answer here (click on the tick by the answer)? –  Joseph Wright Dec 25 '10 at 9:39
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.