On 03/22/2010 05:43 PM, Julio Rojas wrote:
The only feature I miss is a layout editor. I don't know how easy
would it be to program one, but that would be one good addition.

This has been discussed often, and I don't know how hard it would be, either. I actually suspect that getting something basic working wouldn't take much work at all. By basic, I mean: Something that would look like a database editor, with lots of combo boxes, text boxes, and the like, where you could choose things for the various legal tags. It would load a layout file for you, and then you could choose stuff to modify. When you were done, it would write the file out. The reading code is of course there. The writing code is not. Most of the work would go into defining the options, which ones are allowed in which cases, etc. I'm not even sure what sort of data structure one would want to use for that.

As a bonus, though this would be a *bit* harder, LyX could show you what your new style would look like. Even this wouldn't be too hard, though, because of "embeddable work areas", such as will be used in the advanced search and replace feature. These are little windows that work exactly like document windows, except that they don't represent the contents of documents. The display one would presumably be marked read-only and show some standard example text.

rh

Reply via email to