Re: input files



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
.



Relevant Pages

  • Re: Allocating Internal Flash as Root
    ... folder representing theflash. ... is causing theflashto be mounted, not as the root, by like a storage card. ... have set all the registry settings that I could find in the help ... I boot up the system. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: input files
    ... I wish the documentation on this folder system was better! ... I had set the environment variable TEXINPUTS to the ... On what OS are you running miktex 2.7? ... listed as Root) ...
    (comp.text.tex)
  • Re: Is there a way to get software to default to the C: drive for saves?
    ... Locations tab of Tools | Options in Word? ... I don't use the My Documents inside inside the Documents and Settings ... Instead I place a folder off the c: root drive for each web site I'm ...
    (microsoft.public.word.newusers)
  • Re: Is there a way to get software to default to the C: drive for saves?
    ... I don't use the My Documents inside inside the Documents and Settings ... Instead I place a folder off the c: root drive for each web site I'm working on. ... always default to the Doc & Settings subfolder for the logged on user user. ...
    (microsoft.public.word.newusers)
  • Re: input files
    ... I had set the environment variable TEXINPUTS to the ... folder that contained my input files. ... listed as Root) ... Application Folder ...
    (comp.text.tex)