On 2010-12-06, Liviu Andronic wrote: > On Mon, Dec 6, 2010 at 8:51 AM, Guenter Milde <mi...@users.berlios.de> wrote: >> In my view, the "Note" inset suits this case ...
> ... but they are not cut for (primary) 'template text' holders. Agreed. I use Notes as placeholer with explanatory text. >> See the dinbrief.lyx and seminar.lyx templates for examples. > For example, you cannot distribute dinbrief.lyx with *only* 'note' > insets in it (and no 'primary' text): the document will not compile, > as all the environments would be empty and there would be no text for > LaTeX to process. IMV, a template document (as opposed to an example) does not need to be "compilable" without filling out. >> With Note, the user can choose to delete it, mimimize it, or dissolve it >> (converting the text into "normal" text) with the usual means of handling > The disadvantage of Notes is precisely the fact that the text > contained in the inset is by default not included in the LaTeX > environment. I should probably add another design spec, which I > foolishly assumed was obvious: > - the "read-only" text contained in the 'template' inset would be, by > default, part of the relevant LaTeX environment; in other words, a > document containing *only* 'template' insets would compile. Is there an additional advantage to the obvious "the template can also serve as example for the final look without changes"? > Although a 'template' inset with such specs would indeed "break" the > usual way of handling these, it would streamline the (re-)use or the > filling-in of template documents: 'click and type'. It would also > avoid the awkward 'select-delete-type; make sure you didn't delete too > much and that the environment configs are kept in place; > select-delete-type; etc.' paradigm. I usually do not select, but place the cursor >> insets (e.g. [Backspace] with cursor behind the inset vs. [Backspace] >> with cursor at first positon in the inset). and press DEL or BS or just keep the notes. I do not object if you feel special "template" insets are worth the effort, but for me they are not. Günter