On Sat, Jan 28, 2006 at 01:22:10PM +0100, Georg Baum wrote: > Am Samstag, 28. Januar 2006 12:28 schrieb Martin Vermeer: > > Wouldn't it then be easier to choose the solution where a Standard > > layout is added if it isn't found in the layout file, with a "don't > > display" attribute to keep it out of the pulldown list? > > No, since the various places where lyxl2yx introduces "Standard" it > actually means "the default layout of the textclass". > What could be possible is an alias "Standard" for the default layout of > the textclass, but I don't like that either. > > The cleanest solution is to make lyx2lyx aware of the layout files, but I > am not sure whether that is feasible for 1.4.0.
Couldn't it be done like this: 1) modify lib/configure.m4 to issue the command lyx2lyx -t 221 -Y $PWD/layouts \$\$i >\$\$o 2) modify lyx2lyx to use the layouts directory from -Y to load the layout file? I understand that this should be traightforward. - Martin
pgp8XPiMyYneB.pgp
Description: PGP signature
