Hi all,

All of a sudden three of my books stopped compiling to PDF. Not 
surprising, their layouts weren't in /home/slitt/.lyx/layouts.

What *was* surprising was that three of my books *did* compile to PDF, 
in spite of an empty /home/slitt/.lyx/layouts. A quick check showed 
that those books had a layout file in the same directory as the book.

I know for some time the LyX developers have been trying mightily to 
make books always compile with a layout file in the same directory as 
the LyX file, but as of LyX 1.6 this feature was on-again/off-again, and 
meanwhile if you had the layout file both locally and in 
/home/slitt/.lyx/layouts, you got all sorts of intermittent problems 
when compiling. So back in the 1.6.x days my "solution" was to name 
all my layout files with an extension of "locallay" and symlink them 
with the correctly names .layout in /home/slitt/.lyx/layouts.

If current directory layout files now work correctly consistently in 
2.0.0, I'll rename the .locallay files and have a local layout file for 
every book, and have no symlinks in ~/.lyx200/layouts. After all, 
every book has its own layout file, and I would never use a single 
layout file globally.

So, does LyX 2.0.0 *ALWAYS AND CONSISTENTLY* use the named .layout file 
located in the same directory as the LyX file?

Thanks

StevET

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt

Reply via email to