On Tue, 26 Nov 2002, Dekel Tsur wrote:

> On Mon, Nov 25, 2002 at 09:06:04PM -0500, Nirmal Govind wrote:
> > what I'd like to see is each one as a stand alone article... I guess one
> > way is to change the book class for each document to article class
> > before printing or so.. any other way(s)?
> 
> You can have the included files in the article class, and only the master
> file in the book class. However, when you make a DVI from the master file,
> you might encounter some problems.
> 
> PS: this will work with lyx >= 1.2.0.
> 
Yes, Dekel is right, I must have remembered incorrectly since I thought 
LyX would protest (maybe from an earlier verision). Anyway, you will run 
into some difficulties with the abstract and the title of the article.

I played with a workaround that you can find here:

        http://www.md.kth.se/~chr/lyx/book-article-combo/

Basically I give what will appear as the title and abstract as arguments 
to different commands depending on if this is for the book or an separate 
article. Anyway, check out the beginning of the file preamble.tex and the 
preamble of the article (reviewIntroduction.lyx).

But you'll probably run into other problems as well, and some of them are 
going to be of the type: "This chapter will show that..." which in the 
article should read as "This article will show that...", i.e. the language 
is different.

Good luck

/Christian


-- 
Christian Ridderström, +46-8-790 91 37           http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Design        http://www.md.kth.se



Reply via email to