Hi Elver, an interesting problem. I've encountered something similar in using lyx for writing ethnographic fieldnotes. I think, if I understand you correctly, producing two different version should be possible (though in a bit of a round about way).
Add your so-called 'descriptions' as you type along, highlight them and press Insert -> Notes for each. This way they will not be visible in the output (version 1), but you still see them on screen and can review and change them throughout the writing process. Once you've completed your work, make a second copy (version 2) and with any standard source editor, with a 'change-all' function, remove in the source code the appropriate strings (e.g. ' /begin_insert Notes collapsed false' etc.). Make sure before you produce the second copy that all boxes are consistently collapsed or open and that you don't use any other insert functions like 'lables'. Although this requires a bit of knowledge about the lyx or latex source, it should not be too convoluted. About your second concern to how maintain the same layout, I speculate that you've to somehow create some 'place holders'. How that works I'm afraid I couldn't tell you. I guess your desired idea requires the 'commissioning' of a perl script. Hope this helps. Cheers, Sam On Fri, 16 Jul 2004 17:48:06 +0300 Elver Loho wrote: > Hi. > > There are two different kinds of screenplays in this world. One is > the... screenplay. And the other is the shooting script. The former is > what a screenwriter writes, sells and what the actors get. The latter > is based on the former and includes technical information such as > camera angles, scene numbers, notes about sound, lighting, the scene, > etc. > > I would like to write both at the same time, but then later export > versions with and without the extra information. Is there a way to do > it? Here's an example of what I'd like to do, with comments after //. > > INT. "EXAMPLE" CAFE - MORNING // "INT." style. Scene nr. 42. // > "Director" style. Fade in, sunny, run titles during speech. // > "Director" style. Two guys sit by the window in a small cafe. One of > them, PETER has a laptop open in front of him and is looking at > something on the screen. The other, DANNY, is eating a piece of pie. > // "Description" style. Both men have a cup of coffee as well. // > "Director" style. > > Now, what I'd like is for the (currently non-existing) "Director" > style to look exactly like the "Description" style, but act in such a > way that it could be "hidden" during some exports. Something like > "export screenplay" and "export shooting script" and the first one > would ignore the "Director" lines. > > The only problem that I can think of is that the "Description" style > makes sure that there is no page break between it and the former > INT/EXT line. I don't know how it does this, but I'd like if there was > a way to make sure that when a non-technical version is exported and > the "Director" lines between INT/EXT and the "Description" lines are > ignored, that the "Description" lines would still hug the INT/EXT line > and make sure that there is no page break between those. > > So, could someone explain to me how to create a "Director" style, > that's based on the "Description" style, to modify the "Description" > style so that it wouldn't let a page break come between it and the > INT/EXT lines and to have two PDF export functions -- one that would > export a version where the "Director" lines are ignored and one where > the "Director" lines are still there. > > Elver Complex LyX Problems Ltd.