>>To: Jean-Pierre Chretien <[EMAIL PROTECTED]> >>Cc: lyx-users@lists.lyx.org >>Subject: Re: ANNOUNCE: LyX 1.4.2 is released >>From: Jean-Marc Lasgouttes <[EMAIL PROTECTED]> >>Date: Fri, 14 Jul 2006 12:07:21 +0200 >> >>>>>>> "Jean-Pierre" == Jean-Pierre Chretien <[EMAIL PROTECTED]> writes: >> >>Jean-Pierre> However, I noticed a few minor things while installing: >> >>Jean-Pierre> - the prefernce file is not created any more in the home >>Jean-Pierre> dir. lyxrc.default refers to a custom lyxrc file, but it >>Jean-Pierre> seems that the name is still preferences; >> >>preferences is created when you actually set preferences. Configure.py >>does not touch it.
OK, I undersrand I had to tune some preferences to cretae the file. However, I don't really understand the header of the lyxrc.defaults file <cite> # This file has been automatically generated by LyX' lib/configure.py # script. It contains default settings that have been determined by # examining your system. PLEASE DO NOT MODIFY ANYTHING HERE! If you # want to customize LyX, make a copy of the file LYXDIR/lyxrc as # ~/.lyx/lyxrc and edit this file instead. Any setting in lyxrc will # override the values given here. </cite> IMHO it should read: # This file has been automatically generated by LyX' lib/configure.py # script. It contains default settings that have been determined by # examining your system. PLEASE DO NOT MODIFY ANYTHING HERE! If you # want to customize LyX, make a copy of the file LYXDIR/lyxrc.example as # ~/.lyx/preferences and edit this file instead. Any setting in preferences will # override the values given here. >> >>Jean-Pierre> - in the configure log, the hyphenation seems to be taken >>Jean-Pierre> from texmf-dist language.dat (here it has been modified, >>Jean-Pierre> so it is in texmf-var); >> >>Don't know about that. Sorry to be unclear, to be more specific, configure log prints: <cite> +checking for available hyphenation patterns... english, usenglishmax, dumylang </cite> but latex foo.tex prints <cite> Babel <v3.8g> and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, basque, german, ngerman, spanish, catalan, french, italian, ukengli sh, loaded. </cite> The former seems to refer to the unmodified dist. language.dat file, the latter to the customized language.dat file. LyX should inspect the customized file, i.e. the result of kpsewhich language.dat /usr/local/TeX/texmf-var/tex/generic/config/language.dat extract the babel line in the latex command header. >> >>Jean-Pierre> - LaTeXConfig.lyx tells me that my LaTeX version is dated >>Jean-Pierre> 2003/12/01, I guess TeXlive 2005 is more recent; >> >>LaTeX release are pretty rare these days... You're right, I just checked the first line of the latex command <cite> This is pdfeTeXk, Version 3.141592-1.30.3-2.2 (Web2C 7.5.5) </cite> Further lines confirm the latex last update: <cite> LaTeX2e <2003/12/01> </cite> As latex command runs pdfeTeXk since TL 2004, maybe the pdfeTeXk version could be added to the LaTeXConfig.lyx record file. >> >>Jean-Pierre> - I had to run lyx -x reconfigure twice for my local >>Jean-Pierre> layout to be effective (I mean I get "yes" in the log, >>Jean-Pierre> but lyx doesn't load the layout the first time). >> >>Could you give more details on what you did and what happened? step 1: ./configure {qt options} && make && make install -> lyx-1.4.2-qt step 2: cp /usr/local/share/lyx-1.4.1/layouts/myclass.layout /usr/local/share/lyx-1.4.2/layouts step 3: lyx -x reconfigure, quit lyx window: +checking for document class myclass [myclass]... yes step 4: load documents template using myclass.cls, error message about layout not found step 5: lyx -x reconfigure, quit lyx window step 6: load documents template using myclass.cls, all is right. I'm going to replay this on the xforms installation to see if I can reproduce it. Should I log anything ? -- Jean-Pierre