2-level include not possible.

2000-09-12 Thread Tomasz Motylewski

I have describen this bug already about 2 months ago. Yesterday I have tried
again with CVS version - same result.

Please take ftp://crds.chemie.unibas.ch/pub/lyxbug/main.lyx and X.lyx and
X1.lyx When you try to view dvi (main.lyx) you will get:


LaTeX Error: File `X1.tex' not found
\input{X1.tex}
   ^^M
***(cannot \read from terminal in nonstop modes)

Exporting all to latex and compiling then works OK.

This is caused by processing each file in a separate directory in /tmp/

Another problem with CVS version is that by running autogen.sh and the
configure; make I have got the following Makefile:

prefix = /usr/bin
exec_prefix = ${prefix}

bindir = ${exec_prefix}/bin
[...]
sysconfdir = ${prefix}/etc

So lyx was installed in /usr/bin/bin/lyx

Best regards,
--
Tomasz Motylewski





Re: 2-level include not possible.

2000-09-12 Thread Jean-Marc Lasgouttes

 "Tomasz" == Tomasz Motylewski [EMAIL PROTECTED] writes:

Tomasz I have describen this bug already about 2 months ago.
Tomasz Yesterday I have tried again with CVS version - same result.

Tomasz Please take ftp://crds.chemie.unibas.ch/pub/lyxbug/main.lyx
Tomasz and X.lyx and X1.lyx When you try to view dvi (main.lyx) you
Tomasz will get:

Tomasz LaTeX Error: File `X1.tex' not found \input{X1.tex} ^^M
Tomasz ***(cannot \read from terminal in nonstop modes)

I never had the time/motivation/whatever to have a look at it,
unfortunately. And it seems that nobody else did it. 

Tomasz This is caused by processing each file in a separate directory
Tomasz in /tmp/

Do you know that you can use
  \use_tempdir false
in your lyxrc to do the processing in place?

Tomasz Another problem with CVS version is that by running autogen.sh
Tomasz and the configure; make I have got the following Makefile:

Tomasz prefix = /usr/bin exec_prefix = ${prefix}

Tomasz bindir = ${exec_prefix}/bin [...] sysconfdir = ${prefix}/etc

Tomasz So lyx was installed in /usr/bin/bin/lyx

Wild guess: you have /usr/bin/X11 in your path (or even there is a
version of LyX installed in /usr/bin/X11) so configure guesses that
the right prefix is /usr/bin. Things would work well with
/usr/X11R6/bin (which is probably the same directory).

There is not much we can do about it. You can always specify the
prefix with --prefix.

Hope this helps.

JMarc



Re: 2-level include not possible.

2000-09-12 Thread Tomasz Motylewski

On Tue, 12 Sep 2000, Jean-Marc Lasgouttes wrote:

 Do you know that you can use
   \use_tempdir false
 in your lyxrc to do the processing in place?

No. Thanks. May be a comment should be added to the documentation that is
solves this problem. OK, ff I would really read lyxrc I would have found it. 

 Tomasz So lyx was installed in /usr/bin/bin/lyx
 
 Wild guess: you have /usr/bin/X11 in your path (or even there is a
 version of LyX installed in /usr/bin/X11) so configure guesses that

Both true. Thanks a lot. But it seems to be a pretty common configuration. 
I know about --prefix, but usually I do "install exactly as the documention
says".

Best regards,
--
Tomek




Re: 2-level include not possible.

2000-09-12 Thread Jean-Marc Lasgouttes

 "Tomasz" == Tomasz Motylewski [EMAIL PROTECTED] writes:

Tomasz On Tue, 12 Sep 2000, Jean-Marc Lasgouttes wrote:
 Do you know that you can use \use_tempdir false in your lyxrc to do
 the processing in place?

Tomasz No. Thanks. May be a comment should be added to the
Tomasz documentation that is solves this problem. OK, ff I would
Tomasz really read lyxrc I would have found it.

I guess it will be configurable from the new preference popup in 1.1.6.

Tomasz So lyx was installed in /usr/bin/bin/lyx
  Wild guess: you have /usr/bin/X11 in your path (or even there is a
 version of LyX installed in /usr/bin/X11) so configure guesses that

Tomasz Both true. Thanks a lot. But it seems to be a pretty common
Tomasz configuration. I know about --prefix, but usually I do
Tomasz "install exactly as the documention says".

It seems to me that /usr/bin/X11 is how things used to be four or five
years back. What we use to guess prefix (from already installed
program) is a standard autoconf macro. I thought it was used by other
programs too...

JMarc



2-level include not possible.

2000-09-12 Thread Tomasz Motylewski

I have describen this bug already about 2 months ago. Yesterday I have tried
again with CVS version - same result.

Please take ftp://crds.chemie.unibas.ch/pub/lyxbug/main.lyx and X.lyx and
X1.lyx When you try to view dvi (main.lyx) you will get:


LaTeX Error: File `X1.tex' not found
\input{X1.tex}
   ^^M
***(cannot \read from terminal in nonstop modes)

Exporting all to latex and compiling then works OK.

This is caused by processing each file in a separate directory in /tmp/

Another problem with CVS version is that by running autogen.sh and the
configure; make I have got the following Makefile:

prefix = /usr/bin
exec_prefix = ${prefix}

bindir = ${exec_prefix}/bin
[...]
sysconfdir = ${prefix}/etc

So lyx was installed in /usr/bin/bin/lyx

Best regards,
--
Tomasz Motylewski





Re: 2-level include not possible.

2000-09-12 Thread Jean-Marc Lasgouttes

> "Tomasz" == Tomasz Motylewski <[EMAIL PROTECTED]> writes:

Tomasz> I have describen this bug already about 2 months ago.
Tomasz> Yesterday I have tried again with CVS version - same result.

Tomasz> Please take ftp://crds.chemie.unibas.ch/pub/lyxbug/main.lyx
Tomasz> and X.lyx and X1.lyx When you try to view dvi (main.lyx) you
Tomasz> will get:

Tomasz> LaTeX Error: File `X1.tex' not found \input{X1.tex} ^^M
Tomasz> ***(cannot \read from terminal in nonstop modes)

I never had the time/motivation/whatever to have a look at it,
unfortunately. And it seems that nobody else did it. 

Tomasz> This is caused by processing each file in a separate directory
Tomasz> in /tmp/

Do you know that you can use
  \use_tempdir false
in your lyxrc to do the processing in place?

Tomasz> Another problem with CVS version is that by running autogen.sh
Tomasz> and the configure; make I have got the following Makefile:

Tomasz> prefix = /usr/bin exec_prefix = ${prefix}

Tomasz> bindir = ${exec_prefix}/bin [...] sysconfdir = ${prefix}/etc

Tomasz> So lyx was installed in /usr/bin/bin/lyx

Wild guess: you have /usr/bin/X11 in your path (or even there is a
version of LyX installed in /usr/bin/X11) so configure guesses that
the right prefix is /usr/bin. Things would work well with
/usr/X11R6/bin (which is probably the same directory).

There is not much we can do about it. You can always specify the
prefix with --prefix.

Hope this helps.

JMarc



Re: 2-level include not possible.

2000-09-12 Thread Tomasz Motylewski

On Tue, 12 Sep 2000, Jean-Marc Lasgouttes wrote:

> Do you know that you can use
>   \use_tempdir false
> in your lyxrc to do the processing in place?

No. Thanks. May be a comment should be added to the documentation that is
solves this problem. OK, ff I would really read lyxrc I would have found it. 

> Tomasz> So lyx was installed in /usr/bin/bin/lyx
> 
> Wild guess: you have /usr/bin/X11 in your path (or even there is a
> version of LyX installed in /usr/bin/X11) so configure guesses that

Both true. Thanks a lot. But it seems to be a pretty common configuration. 
I know about --prefix, but usually I do "install exactly as the documention
says".

Best regards,
--
Tomek




Re: 2-level include not possible.

2000-09-12 Thread Jean-Marc Lasgouttes

> "Tomasz" == Tomasz Motylewski <[EMAIL PROTECTED]> writes:

Tomasz> On Tue, 12 Sep 2000, Jean-Marc Lasgouttes wrote:
>> Do you know that you can use \use_tempdir false in your lyxrc to do
>> the processing in place?

Tomasz> No. Thanks. May be a comment should be added to the
Tomasz> documentation that is solves this problem. OK, ff I would
Tomasz> really read lyxrc I would have found it.

I guess it will be configurable from the new preference popup in 1.1.6.

Tomasz> So lyx was installed in /usr/bin/bin/lyx
>>  Wild guess: you have /usr/bin/X11 in your path (or even there is a
>> version of LyX installed in /usr/bin/X11) so configure guesses that

Tomasz> Both true. Thanks a lot. But it seems to be a pretty common
Tomasz> configuration. I know about --prefix, but usually I do
Tomasz> "install exactly as the documention says".

It seems to me that /usr/bin/X11 is how things used to be four or five
years back. What we use to guess prefix (from already installed
program) is a standard autoconf macro. I thought it was used by other
programs too...

JMarc