Re: Nested includes

2000-06-05 Thread Michael Zapf

Dekel Tsur wrote:

 Nested input will work if LyX doesn't use temporary directories
 (put "\use_tempdir false" in the lyxrc file).

 If LyX uses temporary directories, it creates all doc*.tex files,
 but it puts doc1.tex  doc2.tex in one directory
 (e.g. /tmp/lyx_tmp11555aaa/lyx_bufrtmp11555aaa), and the doc3.tex in another
 directory (e.g. /tmp/lyx_tmp11555aaa/lyx_bufrtmp11555aab).
 This is a bug that needs to be fixed.

I tried it, and it seems to work now. Thank you!

Is this a workaround that will have some disadvantages that I cannot see at this time?

Michael
--
* Michael Zapf  ---  http://www.vsb.cs.uni-frankfurt.de/~zapf/
* Fachbereich Informatik, Verteilte Systeme und Betriebssysteme
* (Dept. of Comp.Science, Distributed Systems and Operating Systems)
* Johann Wolfgang Goethe-Universitaet Frankfurt/Main





Re: Nested includes

2000-06-05 Thread Michael Zapf

Dekel Tsur wrote:

 Nested input will work if LyX doesn't use temporary directories
 (put "\use_tempdir false" in the lyxrc file).

 If LyX uses temporary directories, it creates all doc*.tex files,
 but it puts doc1.tex  doc2.tex in one directory
 (e.g. /tmp/lyx_tmp11555aaa/lyx_bufrtmp11555aaa), and the doc3.tex in another
 directory (e.g. /tmp/lyx_tmp11555aaa/lyx_bufrtmp11555aab).
 This is a bug that needs to be fixed.

I tried it, and it seems to work now. Thank you!

Is this a workaround that will have some disadvantages that I cannot see at this time?

Michael
--
* Michael Zapf  ---  http://www.vsb.cs.uni-frankfurt.de/~zapf/
* Fachbereich Informatik, Verteilte Systeme und Betriebssysteme
* (Dept. of Comp.Science, Distributed Systems and Operating Systems)
* Johann Wolfgang Goethe-Universitaet Frankfurt/Main





Re: Nested includes

2000-06-05 Thread Michael Zapf

Dekel Tsur wrote:

> Nested input will work if LyX doesn't use temporary directories
> (put "\use_tempdir false" in the lyxrc file).
>
> If LyX uses temporary directories, it creates all doc*.tex files,
> but it puts doc1.tex & doc2.tex in one directory
> (e.g. /tmp/lyx_tmp11555aaa/lyx_bufrtmp11555aaa), and the doc3.tex in another
> directory (e.g. /tmp/lyx_tmp11555aaa/lyx_bufrtmp11555aab).
> This is a bug that needs to be fixed.

I tried it, and it seems to work now. Thank you!

Is this a workaround that will have some disadvantages that I cannot see at this time?

Michael
--
* Michael Zapf  ---  http://www.vsb.cs.uni-frankfurt.de/~zapf/
* Fachbereich Informatik, Verteilte Systeme und Betriebssysteme
* (Dept. of Comp.Science, Distributed Systems and Operating Systems)
* Johann Wolfgang Goethe-Universitaet Frankfurt/Main





Re: Nested includes

2000-06-02 Thread Dekel Tsur

On Wed, May 31, 2000 at 09:07:00AM +0200, Michael Zapf wrote:
 "Lars Gullik Bj?nnes" wrote:
  Nested inputs are allowed, but not nested includes.
 
  You can use include on the first level, but have to use input to get
  deeper than that.
 
 If that only did work... Actually, it does not. Try doing the following:
 
 1. Create a file doc1.lyx which contains a file inclusion. Use "Insert-Include
 File", select "use input" and enter doc2.lyx.
 2. Do the same with doc2.lyx which is to include doc3.lyx.
 3. Create doc3.lyx with some content lines.
 4. Select "File-View DVI".
 5. You get an alert "There were errors during the LaTeX run...".
 6. Clicking on the "error" tag pops up a window which states: "LaTeX error: File
 'doc3.tex' not found.", "\input{doc3.tex}"
 
 The reason seems to be that LyX does not recursively create temporary .tex files.

Nested input will work if LyX doesn't use temporary directories
(put "\use_tempdir false" in the lyxrc file).

If LyX uses temporary directories, it creates all doc*.tex files,
but it puts doc1.tex  doc2.tex in one directory 
(e.g. /tmp/lyx_tmp11555aaa/lyx_bufrtmp11555aaa), and the doc3.tex in another
directory (e.g. /tmp/lyx_tmp11555aaa/lyx_bufrtmp11555aab).
This is a bug that needs to be fixed.



Re: Nested includes

2000-06-02 Thread Dekel Tsur

On Wed, May 31, 2000 at 09:07:00AM +0200, Michael Zapf wrote:
 "Lars Gullik Bj?nnes" wrote:
  Nested inputs are allowed, but not nested includes.
 
  You can use include on the first level, but have to use input to get
  deeper than that.
 
 If that only did work... Actually, it does not. Try doing the following:
 
 1. Create a file doc1.lyx which contains a file inclusion. Use "Insert-Include
 File", select "use input" and enter doc2.lyx.
 2. Do the same with doc2.lyx which is to include doc3.lyx.
 3. Create doc3.lyx with some content lines.
 4. Select "File-View DVI".
 5. You get an alert "There were errors during the LaTeX run...".
 6. Clicking on the "error" tag pops up a window which states: "LaTeX error: File
 'doc3.tex' not found.", "\input{doc3.tex}"
 
 The reason seems to be that LyX does not recursively create temporary .tex files.

Nested input will work if LyX doesn't use temporary directories
(put "\use_tempdir false" in the lyxrc file).

If LyX uses temporary directories, it creates all doc*.tex files,
but it puts doc1.tex  doc2.tex in one directory 
(e.g. /tmp/lyx_tmp11555aaa/lyx_bufrtmp11555aaa), and the doc3.tex in another
directory (e.g. /tmp/lyx_tmp11555aaa/lyx_bufrtmp11555aab).
This is a bug that needs to be fixed.



Re: Nested includes

2000-06-02 Thread Dekel Tsur

On Wed, May 31, 2000 at 09:07:00AM +0200, Michael Zapf wrote:
> "Lars Gullik Bj?nnes" wrote:
> > Nested inputs are allowed, but not nested includes.
> >
> > You can use include on the first level, but have to use input to get
> > deeper than that.
> 
> If that only did work... Actually, it does not. Try doing the following:
> 
> 1. Create a file doc1.lyx which contains a file inclusion. Use "Insert->Include
> File", select "use input" and enter doc2.lyx.
> 2. Do the same with doc2.lyx which is to include doc3.lyx.
> 3. Create doc3.lyx with some content lines.
> 4. Select "File->View DVI".
> 5. You get an alert "There were errors during the LaTeX run...".
> 6. Clicking on the "error" tag pops up a window which states: "LaTeX error: File
> 'doc3.tex' not found.", "\input{doc3.tex}"
> 
> The reason seems to be that LyX does not recursively create temporary .tex files.

Nested input will work if LyX doesn't use temporary directories
(put "\use_tempdir false" in the lyxrc file).

If LyX uses temporary directories, it creates all doc*.tex files,
but it puts doc1.tex & doc2.tex in one directory 
(e.g. /tmp/lyx_tmp11555aaa/lyx_bufrtmp11555aaa), and the doc3.tex in another
directory (e.g. /tmp/lyx_tmp11555aaa/lyx_bufrtmp11555aab).
This is a bug that needs to be fixed.



Re: Nested includes

2000-05-31 Thread Michael Zapf

"Lars Gullik Bjønnes" wrote:

 Michael Zapf [EMAIL PROTECTED] writes:

 || I took a look in the archive and actually found similar questions, but no good
 | hint whether this feature is intended to work or not.
 |
 | LaTeX itself actually supports nested \inputs. What about LyX? (I'm using LyX
 | 1.1.4fix3.)

 Nested inputs are allowed, but not nested includes.

 You can use include on the first level, but have to use input to get
 deeper than that.

If that only did work... Actually, it does not. Try doing the following:

1. Create a file doc1.lyx which contains a file inclusion. Use "Insert-Include
File", select "use input" and enter doc2.lyx.
2. Do the same with doc2.lyx which is to include doc3.lyx.
3. Create doc3.lyx with some content lines.
4. Select "File-View DVI".
5. You get an alert "There were errors during the LaTeX run...".
6. Clicking on the "error" tag pops up a window which states: "LaTeX error: File
'doc3.tex' not found.", "\input{doc3.tex}"

The reason seems to be that LyX does not recursively create temporary .tex files.

Michael
--
* Michael Zapf  ---  http://www.vsb.cs.uni-frankfurt.de/~zapf/
* Fachbereich Informatik, Verteilte Systeme und Betriebssysteme
* (Dept. of Comp.Science, Distributed Systems and Operating Systems)
* Johann Wolfgang Goethe-Universitaet Frankfurt/Main





Re: Nested includes

2000-05-31 Thread Michael Zapf

"Lars Gullik Bjønnes" wrote:

 Michael Zapf [EMAIL PROTECTED] writes:

 || I took a look in the archive and actually found similar questions, but no good
 | hint whether this feature is intended to work or not.
 |
 | LaTeX itself actually supports nested \inputs. What about LyX? (I'm using LyX
 | 1.1.4fix3.)

 Nested inputs are allowed, but not nested includes.

 You can use include on the first level, but have to use input to get
 deeper than that.

If that only did work... Actually, it does not. Try doing the following:

1. Create a file doc1.lyx which contains a file inclusion. Use "Insert-Include
File", select "use input" and enter doc2.lyx.
2. Do the same with doc2.lyx which is to include doc3.lyx.
3. Create doc3.lyx with some content lines.
4. Select "File-View DVI".
5. You get an alert "There were errors during the LaTeX run...".
6. Clicking on the "error" tag pops up a window which states: "LaTeX error: File
'doc3.tex' not found.", "\input{doc3.tex}"

The reason seems to be that LyX does not recursively create temporary .tex files.

Michael
--
* Michael Zapf  ---  http://www.vsb.cs.uni-frankfurt.de/~zapf/
* Fachbereich Informatik, Verteilte Systeme und Betriebssysteme
* (Dept. of Comp.Science, Distributed Systems and Operating Systems)
* Johann Wolfgang Goethe-Universitaet Frankfurt/Main





Re: Nested includes

2000-05-31 Thread Michael Zapf

"Lars Gullik Bjønnes" wrote:

> Michael Zapf <[EMAIL PROTECTED]> writes:
>
> || I took a look in the archive and actually found similar questions, but no good
> | hint whether this feature is intended to work or not.
> |
> | LaTeX itself actually supports nested \inputs. What about LyX? (I'm using LyX
> | 1.1.4fix3.)
>
> Nested inputs are allowed, but not nested includes.
>
> You can use include on the first level, but have to use input to get
> deeper than that.

If that only did work... Actually, it does not. Try doing the following:

1. Create a file doc1.lyx which contains a file inclusion. Use "Insert->Include
File", select "use input" and enter doc2.lyx.
2. Do the same with doc2.lyx which is to include doc3.lyx.
3. Create doc3.lyx with some content lines.
4. Select "File->View DVI".
5. You get an alert "There were errors during the LaTeX run...".
6. Clicking on the "error" tag pops up a window which states: "LaTeX error: File
'doc3.tex' not found.", "\input{doc3.tex}"

The reason seems to be that LyX does not recursively create temporary .tex files.

Michael
--
* Michael Zapf  ---  http://www.vsb.cs.uni-frankfurt.de/~zapf/
* Fachbereich Informatik, Verteilte Systeme und Betriebssysteme
* (Dept. of Comp.Science, Distributed Systems and Operating Systems)
* Johann Wolfgang Goethe-Universitaet Frankfurt/Main





Nested includes

2000-05-30 Thread Michael Zapf

Hello,

I'm about to start writing my thesis and considered using LyX. Before, I try to
find out if I can do everything with LyX I actually planned to do using LaTeX.
One of the most important things is to create a main document that imports
subdocuments. However, I found that documents that are included by a document
which is included in the main document seem to stay unprocessed, giving the
error "LaTeX error: File 'tex' not found".

I took a look in the archive and actually found similar questions, but no good
hint whether this feature is intended to work or not.

LaTeX itself actually supports nested \inputs. What about LyX? (I'm using LyX
1.1.4fix3.)

Michael
--
* Michael Zapf  ---  http://www.vsb.cs.uni-frankfurt.de/~zapf/
* Fachbereich Informatik, Verteilte Systeme und Betriebssysteme
* (Dept. of Comp.Science, Distributed Systems and Operating Systems)
* Johann Wolfgang Goethe-Universitaet Frankfurt/Main





Re: Nested includes

2000-05-30 Thread Lars Gullik Bjønnes

Michael Zapf [EMAIL PROTECTED] writes:

| Hello,
| 
| I'm about to start writing my thesis and considered using LyX. Before, I try to
| find out if I can do everything with LyX I actually planned to do using LaTeX.
| One of the most important things is to create a main document that imports
| subdocuments. However, I found that documents that are included by a document
| which is included in the main document seem to stay unprocessed, giving the
| error "LaTeX error: File 'tex' not found".
| 
| I took a look in the archive and actually found similar questions, but no good
| hint whether this feature is intended to work or not.
| 
| LaTeX itself actually supports nested \inputs. What about LyX? (I'm using LyX
| 1.1.4fix3.)

Nested inputs are allowed, but not nested includes.

You can use include on the first level, but have to use input to get
deeper than that.

Lgb




Nested includes

2000-05-30 Thread Michael Zapf

Hello,

I'm about to start writing my thesis and considered using LyX. Before, I try to
find out if I can do everything with LyX I actually planned to do using LaTeX.
One of the most important things is to create a main document that imports
subdocuments. However, I found that documents that are included by a document
which is included in the main document seem to stay unprocessed, giving the
error "LaTeX error: File 'tex' not found".

I took a look in the archive and actually found similar questions, but no good
hint whether this feature is intended to work or not.

LaTeX itself actually supports nested \inputs. What about LyX? (I'm using LyX
1.1.4fix3.)

Michael
--
* Michael Zapf  ---  http://www.vsb.cs.uni-frankfurt.de/~zapf/
* Fachbereich Informatik, Verteilte Systeme und Betriebssysteme
* (Dept. of Comp.Science, Distributed Systems and Operating Systems)
* Johann Wolfgang Goethe-Universitaet Frankfurt/Main





Re: Nested includes

2000-05-30 Thread Lars Gullik Bjønnes

Michael Zapf [EMAIL PROTECTED] writes:

| Hello,
| 
| I'm about to start writing my thesis and considered using LyX. Before, I try to
| find out if I can do everything with LyX I actually planned to do using LaTeX.
| One of the most important things is to create a main document that imports
| subdocuments. However, I found that documents that are included by a document
| which is included in the main document seem to stay unprocessed, giving the
| error "LaTeX error: File 'tex' not found".
| 
| I took a look in the archive and actually found similar questions, but no good
| hint whether this feature is intended to work or not.
| 
| LaTeX itself actually supports nested \inputs. What about LyX? (I'm using LyX
| 1.1.4fix3.)

Nested inputs are allowed, but not nested includes.

You can use include on the first level, but have to use input to get
deeper than that.

Lgb




Nested includes

2000-05-30 Thread Michael Zapf

Hello,

I'm about to start writing my thesis and considered using LyX. Before, I try to
find out if I can do everything with LyX I actually planned to do using LaTeX.
One of the most important things is to create a main document that imports
subdocuments. However, I found that documents that are included by a document
which is included in the main document seem to stay unprocessed, giving the
error "LaTeX error: File 'tex' not found".

I took a look in the archive and actually found similar questions, but no good
hint whether this feature is intended to work or not.

LaTeX itself actually supports nested \inputs. What about LyX? (I'm using LyX
1.1.4fix3.)

Michael
--
* Michael Zapf  ---  http://www.vsb.cs.uni-frankfurt.de/~zapf/
* Fachbereich Informatik, Verteilte Systeme und Betriebssysteme
* (Dept. of Comp.Science, Distributed Systems and Operating Systems)
* Johann Wolfgang Goethe-Universitaet Frankfurt/Main





Re: Nested includes

2000-05-30 Thread Lars Gullik Bjønnes

Michael Zapf <[EMAIL PROTECTED]> writes:

| Hello,
| 
| I'm about to start writing my thesis and considered using LyX. Before, I try to
| find out if I can do everything with LyX I actually planned to do using LaTeX.
| One of the most important things is to create a main document that imports
| subdocuments. However, I found that documents that are included by a document
| which is included in the main document seem to stay unprocessed, giving the
| error "LaTeX error: File 'tex' not found".
| 
| I took a look in the archive and actually found similar questions, but no good
| hint whether this feature is intended to work or not.
| 
| LaTeX itself actually supports nested \inputs. What about LyX? (I'm using LyX
| 1.1.4fix3.)

Nested inputs are allowed, but not nested includes.

You can use include on the first level, but have to use input to get
deeper than that.

Lgb