rgheck wrote: > >>> change these params in the document dialog from within each child. > >>> > >>> > > > > I would prefer that too. > > > > > > I think I'm confused about what's meant by "input" and "output".
I mean the LyX workarea. If you select spaced paragraphs in the master and the option to chose the master params is selected, our WYSIWYM interface should display spaced paragraphs. > >> I thought about this, and in a way it would be easy: Buffer::params() > >> just has to return masterBuffer->params(). (Probably there are some > >> complications?) But then I wondered if this is right: When we write > >> the child, we'll write the master's params, since, in effect, the > >> child doesn't even have its own. Is that what we want to do? > >> > >> > >> > > When writing the child, we can use params_::write() directly. I think it > > requires to be careful, but it is doable and desirable. > > > > > > So I'm a bit puzzled here. The idea seemed to be that Document>Settings > accessed the params of the master. But then what's to write for the > child? You can't even get at those. As I said, I'm sure I'm just confused. > > There's an odd circularity problem: We want to be able to set "Use > Master Params" as a setting in the child. But then, how do you turn it > off if Document>Settings always gives you the master? I would add a two radio buttons to the document settings dialog: () use master settings () child specific settings If the former is activated, the document inherits the master params and the dialog writes to those, if the latter is selected, it uses the child settings. Of course, this setting needs to be stored in the child. Jürgen