>>>>> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes:

Dekel> On Tue, Mar 13, 2001 at 02:52:20PM +0100, Lars Gullik Bjønnes
Dekel> wrote:
>> | Log Message: | Allow including of files with different class than
>> the parent file
>> 
>> Are you sure about this? We explictly disallowed this for a reason.
>> (albeit I can recall the discussion) check the mail archives.

Dekel> I can't find the discussion. Here is the argument for allowing
Dekel> different class in the include file: one can write several
Dekel> papers using the article class, and then write a thesis using
Dekel> the book class and include the papers into the thesis (using
Dekel> some ERT to remove some parts of the included files).

The problem is that currently only the index of the layout is stored
in a paragraph. This means that you have to be lucky and the layouts
have to be ordered in the same way in both classes.

What happens if one document is in amsbook and the other in article?
Will the two be compatible?

IMO there are many things to do to have it to work reliably:

- do the translation of layout indices

- make sure that all layouts of the included class exist in the main
  class

- make sure that all layouts with the same name have the same
  semantics (LatexName, LatexType, and in general everything which
  affects the output).

Please do not introduce an half-baked feature. Have you thought about
what happens if you include a linuxdoc class into a latex one? %-]

I think this patch should be reverted.

JMarc

Reply via email to