Steve Litt wrote:
Ohhhhh,

Maybe I do understand it. Is a layout module just a chunk of debugged LyX/LaTeX code that would normally go in a layout file, and gets included in the layout file by reference? So you could mix and match layout modules to get a more granular modularization, similar to #include in C?

Yes, pretty much. The thing about modules, however, is that they are dynamically included via Document>Settings. You don't have to edit a layout file to "Input" them. You can change them on the fly.

So is it a way to write once, use many times? Is it a way to use known-debugged LyX/LaTeX code? And is it a way for all of us to trade debugged and tested code without throwing in every silly little feature we put in our book?

Absolutely.

rh

Reply via email to