On 12/12/2011 07:07 PM, Julien Rioux wrote: > On 09/12/2011 3:10 AM, Guenter Milde wrote: >> On 2011-12-08, Richard Heck wrote: >>> On 12/08/2011 04:02 PM, Julien Rioux wrote: >>>> On 07/12/2011 6:59 PM, Jean-Marc Lasgouttes wrote: >>>>> Le 08/12/11 00:45, Richard Heck a écrit : >>>>>> I thought about this for a while, and decided that, while you are >>>>>> correct about this, in principle, it's something I'd prefer to have >>>>>> per-document. If you object to that, then we can change it, of >>>>>> course. >> >>>>> To me, it is a user preference for all document (for example, >>>>> people may >>>>> want that for UserGuide). Did you have requests for buffer-local >>>>> setting? Your solution gives both more (per-document) and less (no >>>>> luck >>>>> with documents from others) functionality. >> >>>> Maybe the best is to do this with a layout syntax. Users could >>>> overwrite it in their user directory for all files and on a >>>> file-by-file basis using either a module or a local layout. You could >>>> also decide to do this for certain paragraph styles and not others. >> >>> I thought about that, too, but most often people would want it globally >>> within a single document. So you'd have to have some document-level >>> layout setting, lest you have to change every single style. So we >>> end up >>> with a document-level setting, anyway, but one controlled through a >>> module. That's possible. It's even been done. But it seems a weird way >>> to do it. >> >>> That said, having something like: >>> Align BlockLeft >>> with this kind of meaning makes a certain sort of sense. >> >> If we consider the "left align in the GUI but default in print" option a >> power-user feature, the layout keyword seems the "minimal invasive" >> option >> to achieve it in a widely configurable way both, >> >> * as GUI setting (via changed standard layout include files in a >> ~/.lyx folder and >> * document-specific (via a module) >> >> In both cases, it can be applied globally to all Styles with default >> alignment (given there is proper inheriting of the default layout from >> Standard style) as well as specifically to a selected subset of Styles. >> >> So, yes, I want this keyword. >> > > +1 > For what it's worth, I don't really like this. It seems like an abuse of the module idea. I know there are already modules that do nothing but affect the on-screen layout, but those already feel to me like a hack.
Richard