Hi,
I have installed lyx 1.1.6fix1 on RH7.0
Trying to import and export files I have found that importing
doesn't work, the problem appears to be that the layout files
where installed into the wrong directory, see this :
===========================================================
$ lyx
Failed to share colors. Using private colormap
moving /tmp/lyx_tmpdir19476vIFtIb/lyx_tmpbuf19476da6skf/newfile1.tex to
/home/user1/newfile1.tex
Converting from latex to lyx
Calling reLyX -f 'newfile1.tex'
Unrecognized escape \d passed through at
/usr/local/bin/../share/lyx/reLyX/reLyXmain.pl line 87.
reLyX, the LaTeX to LyX translator. Revision date 2000/06/06
Reading LaTeX command syntax
(newfile1.tex: Splitting Preamble
Creating LyX preamble
Cannot find layout file article.layout in dir(s) at
/usr/local/bin/../share/lyx/reLyX/ReadCommands.pm line 267, <PREAMBLE>
line 9.
Compilation failed in require at /usr/local/bin/reLyX line 52,
<PREAMBLE> line 9.
Exited due to fatal Error!
$
============================================================
Seems like the layout files are in the wrong place the
make install command put the layout files in the
/usr/share/lyx/layout directory
they should be in /usr/local/share/lyx/layout dir which doesn't exist
Heres the fix: its worked so far, not sure if it alters anything
else.
cp -r /usr/share/lyx/layouts/ /usr/local/share/lyx
Is there a better solution?