Martin Vermeer wrote:
On Tue, Sep 04, 2007 at 02:19:19PM -0400, Richard Heck wrote:
José Matos wrote:
On Tuesday 04 September 2007 18:30:15 José Matos wrote:
The changes made by Bo to the file format are quite deep. So I would like to tame both in the same release cycle, embedded and xml. More to say about
this soon.
Just to put this in the right context, the changes are quite deep "conceptually". I expect that we need some time to understand the depth of these changes.

Note that now we can (as Richard remarked) insert the layout files in the lyx document.
What's now possible, I think, is for the layout file to be "bundled" with the document. There's something else that could soon be possible, and which is what I think I had in mind, namely, that the layout file could be completely contained within a single, unbundled LyX document. I don't know how soon I might be able to do this, but it's not terribly difficult, and if anyone wanted to take it up, I could give an outline.
Is this a wise idea? Isn't bundling enough? And soon the .lyx file may
contain a list of modules that it uses, in addition to a textclass.
Isn't that good enough?
Here's the thought: (i) I'd like to add the ability to have document-specific layout, so if you want a quick charstyle inset you can just go to Document>Settings>Whatever and enter, in a box like the Preamble box, the necessary code. This is for quick-and-dirty one-off things, obviously.
(ii) Suppose we knew how to write a TextClass---something we will need to do, 
anyway, if there's ever to be a GUI layout editor. Then it's trivial to write 
the entire layout of the document into the custom-layout box (in effect).
Why would you want to do this? Well, if you're exchanging a document back and 
forth, maybe it's easier to do it that way than to mess with a separate layout 
file. But of course (ii) presupposes (i), and (i)'s making sense doesn't mean 
that (ii) makes sense, only that it becomes fairly simple.

Richard




--
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto

Reply via email to