Martin Vermeer wrote:
On Mon, Jul 23, 2007 at 01:18:50PM -0400, Richard Heck wrote:
 Martin Vermeer wrote:
Forgive me if this has already been answered, but what is
this 'modules' idea? Adding optional small features on top
of what the document class provides?
 Yes. See
 http://bugzilla.lyx.org/show_bug.cgi?id=2657
 and
 http://bugzilla.lyx.org/show_bug.cgi?id=3309
for some thoughts. (I've got 3309 working locally, so I can do what it says there.)

One application---this is often asked on the user list---would be to allow you to add theorem support to, say, article.layout without having to create a new layout. You would just have a "module" theorems.mod which you could then choose via Document>Settings, and it would be just as if you'd included it in your layout file. In the same vein, if you developed a set of character styles, you could keep then in a module charstyles.mod, and then include that in any class, without having to modify layout files. It would be fairly easy to add an even more `local' setting, too, so you could add layout info directly, as with the preamble. This would make layout editing and creation a whole lot simpler. You could play with it there, and then, when it worked, copy it out to a file.

At the moment, this is still pretty experimental, but it works, more or less.

 Richard
This looks extremely useful. There are lots of little LaTeX packages floating
around that could be supported in this way.
One of those things that was born of my own frustration....

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