Hi,

I am the new comer to LyX, but LaTex used to be my platform to generate the
reports and papers. As the good user interface of LyX is known by me several
days ago, I would like to change from LaTex to here, the version of LyX I am
using is 1.1.5fix1.

Currently, I am working on a Big report containing several chapters and many
sections. When I was using LaTex, I split them into small pieces of files
for my easy edition in Emacs and then used \input{....} to combine together.
So it resulted in nested input lyx files after I imported my tex files into
lyx. I fixed all the weird errors coming out after the importation except
one which is "LaTex Error: File 'XXX.tex' not found. \input{XXX.tex} ^^M ***
(cannot \read from terminal in nonstop modes)" (XXX is the first nested
input lyx file). 

It may be more procisely explained as follows:
File L1: masterfile.lyx, containing files L2-1, L2-2, L2-3, L2-4 and L2-5
using \input. (L indicates nesting level)
File L2-1: intro.lyx, containing files L3-1, L3-2 using \input.
File L2-2: rel_w.lyx.
File L2-3: method.lyx, containing files L3-3, L3-4 using \input.
File L2-4: exp.lyx.
File L2-5: concl.lyx.
File L3-1: intro_1.lyx.
File L3-2: intro_2.lyx.
File L3-3: method_1.lyx.
File L3-4: method_2.lyx.
Every files contain simple texts and input files (if needed).
If I invoke the action, File->View PostScript, in File L2-1, the
intro.ps_tmp is generated and viewed by GhostView properly. Same as do in
File L2-3.
However, if I invoke the action in File L1 (masterfile.lyx), the above error
is given at the very beginning of the document.

As I got the information from help document that lyx files are converted to
tex files when we finally compile them, I went to /tmp directory and looked
at them. Oh.. They were there. But the problem occurred here that 
1) File intro.tex(L2-1), intro_1.tex(L3-1) and intro_2.tex(L3-2) were under
the directory /tmp/lyx_tmp5978aaa/lyx_bufrtmp5978aaa.
2) File method.tex(L2-3), method_1.tex(L3-3) and method_2.tex(L3-4) were
under the directory /tmp/lyx_tmp5978aaa/lyx_bufrtmp5978aab.
3) File masterfile.tex(L1), intro.tex (L2-1), rel_w.tex (L2-2), method.tex
(L2-3), exp.tex (L2-4) and concl.tex (L2-5) were under another directory
/tmp/lyx_tmp5978aaa/lyx_bufrtmp5978aac.

When the program wants to invoke latex to generate the final masterfile.dvi,
it goes to third (3) directory, but it can't find the tex file intro_1.tex
while it is required. Therefore, the error is generated. I guess the
procedure going in this way. As I am not the expert on LyX, I don't know it
is caused by the system problem, the unproper configuration or the
incomplete setting. So I think it may be the bug or may not be the bug.

By the way, the Error can be solved if I export all the lyx files into tex
files before invoking the final generation, but it is really not good
solution.

Anyone can help me to solve this problem or tell me where I can find the
solution? Thanks a lot!

Wei Lu
----------------------------------------------------------------------------
-------
Parallel Processing Lab, 
School of Computer Engineering,
N4, Nanyang Technological University
Nanyang Avenue
Tel: +65-7904623 
Email: [EMAIL PROTECTED]
Fax: +65-7926559
Official Homepage: http://sentosa.sas.ntu.edu.sg:8000/~luwei/
Family Homepage: http://xueluwei.homepage.com/
ICQ#: 18269262
----------------------------------------------------------------------------
-------

Reply via email to