Re: input files
- From: Ulrike Fischer <news2@xxxxxxxxxxx>
- Date: Tue, 15 Jan 2008 09:55:32 +0100
Am Mon, 14 Jan 2008 18:44:16 -0800 (PST) schrieb grzz_76:
I just installed miktex 2.7 and am having trouble with my own input
files. In 2.6, I had set the environment variable TEXINPUTS to the
folder that contained my input files. But this is not working here. I
also tried creating my own directory following the tds-compliant
format, then adding this using Miktex > Settings, and refreshing the
database. However, I am still having trouble, with the error message
"I cannot find the file myfile.tex"
Give more details. Where exactly is myfile.tex? Which directory
exactly did you add as root? How exactly are you trying to input
myfile.tex? Are your running LaTeX? Make a complete minimal example
and sent it together with the log-file?
How did you set TEXINPUTS? On what OS are you running miktex 2.7?
Are you admin or a restricted user?
Windows XP, running as administrator
I have a file called prelim.tex that just has my new definitions,
environments, etc.
So, in preamble \input prelim.tex
Yes, this is latex
\input{prelim}
would be LaTeX-Syntax.
I tried putting prelim.tex in various folders:
1. TEXINPUTS set to "C:\Documents and Settings\Grizzly\My Documents\Tex
\"
Doesn't work.
Tried setting TEXINPUTS to
"C:\Documents and Settings\Grizzly\Application Folder\Mixtex
2.7\Miktex\Tex\Latex"
(since this exists from install, listed as Root)
2. Without environmental variable set, put prelim.tex in the above
Application Folder
since it is listed in the Settings: Root box.
Doesn't work.
3. Added "C:\Documents and Settings\Grizzly\My Documents\Tex\Miktex
\2.7" as root (and remembered to refresh database).
Doesn't work.
I had 2.6 installed and option 1 had worked then (I only reinstalled
Miktex because my hard drive failed).
Thank you for any suggestions.
Hm. That's all a bit unsorted. Are you sure your root is called mixtex
with an x? If you made such typos also with TEXINPUTS is no wonder that
LaTeX can't find your file.
In any case two ways:
1. Go to miktex settings and search the root called "UserConfig".
Probably
C:\Documents and Settings\Grizzly\Application Folder\Miktex 2.7\
Then put your prelim.tex in
<UserConfig>\tex\latex\mystyles\
(*not* <UserConfig>\miktex\....!)
2. Make a folder tree
C:\mylocaltexmf\tex\latex\
and put prelim.tex in the latex-folder
Then add C:\mylocaltexmf as local root.
In both cases renew the filename database.
--
Ulrike Fischer
.
- Follow-Ups:
- Re: input files
- From: grzz_76
- Re: input files
- References:
- input files
- From: grzz_76
- Re: input files
- From: Ulrike Fischer
- Re: input files
- From: grzz_76
- input files
- Prev by Date: Re: \newcommand and \endo
- Next by Date: Re: How does TeX expand macros?
- Previous by thread: Re: input files
- Next by thread: Re: input files
- Index(es):
Relevant Pages
|