Re: an input bug

2005-02-10 Thread Herbert Voss
Georg Baum wrote:
Herbert Voss wrote:

LyX 1.3.5
-> insert->include a file in input mode
-> choose a file in the same dir as the doc
-> LyX chooses not the doc dir for this file
   when it runs the tex file in the temp dir
   example: \input{rot.tex} -> I'll get
   an error.

It should be found via [EMAIL PROTECTED] in 1.3.x. What  TeX distribution are you
ah, I see. I used a filename which is listed as
TeX file and in this case TeX looks first in the
TeXtree anf then in the [EMAIL PROTECTED] ...
However, LyX should use an absolute path, when running
the file.
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: an input bug

2005-02-10 Thread Georg Baum
Herbert Voss wrote:

> LyX 1.3.5
> 
> -> insert->include a file in input mode
> -> choose a file in the same dir as the doc
> -> LyX chooses not the doc dir for this file
> when it runs the tex file in the temp dir
> example: \input{rot.tex} -> I'll get
> an error.

It should be found via [EMAIL PROTECTED] in 1.3.x. What  TeX distribution are 
you
using? Maybe it does not know [EMAIL PROTECTED] (I don't know if that is
standard).


Georg



Re: an input bug

2005-02-10 Thread Jean-Pierre Chretien

>>To: lyx-users@lists.lyx.org
>>From: Herbert Voss <[EMAIL PROTECTED]>
>>Subject: an input bug
>>Date: Wed, 09 Feb 2005 18:57:52 +0100

>>
>>LyX 1.3.5
>>
>>-> insert->include a file in input mode
>>-> choose a file in the same dir as the doc
>>-> LyX chooses not the doc dir for this file
>>when it runs the tex file in the temp dir
>>example: \input{rot.tex} -> I'll get
>>an error.
>>
>>a solution is to choose always an absolute path,
>>or to copy the file into the temp dir.

No problem here, lyx 1.3.5 on Solaris, TeXLive 8, tempdir in /tmp

Here is an example:
\begin_inset Float table
placement H
wide false
collapsed false
\layout Caption
Tableau de synthèse des résultats
\begin_inset LatexCommand \label{cap:Tableau1}
\end_inset 
\layout Standard
\align center 
\begin_inset Include \input{tables/nominal.tex}
preview false
\end_inset 
\end_inset 
\end_inset

Relative path seems to work fine.

-- 
Jean-Pierre