Hi,

I have a problem with using text modules.
Example:

I´ve created a text module "input_a.lyx"with an minipage from the
beginning to the end of this text module.

Now , there is a document "a.lyx" which uses this text module without an
minipage.
<SAVE FILE: "a.lyx" and EXPORT TeX>

Now the text module "input_a.tex" is without the header-definitions and
without \begin{document}, \end{document}.

"input_a.tex" is beginning with \begin{minipage}.... and at the end
there is a \end{minipage}...

Now, there is a second document "b.lyx" which uses the "input_a.lyx" too
but this has a text line and after this an input of "input_a.lyx". And
these two line are in a minipage paragraph.
<SAVE FILE: "b.lyx" and EXPORT TeX>

NOW, what's happen!?

LyX saves (export TeX) the "b.lyx/tex" and changes the
"input_a.lyx/tex", so there is the beginning of the minipage in
"b.lyx/tex" and the end of the minipage in "input_a.lyx/tex".

So , when I use the TeX-Files "a.tex" with an input of "input_a.tex" it
wouldn't work, because there is an \end{minipage} left. latex would
write an Error!

Now I save (export TeX)  the "a.lyx" -File and now the File "a.tex"will
work, but the "b.tex" wouldn't because there is an \begin{minpage} left!

I hope you understand it!
Help is needed! Is this delibrated?!

Sven.

Reply via email to