On 23/12/2010, at 6:58 PM, Stephan Witt <st.w...@gmx.net> wrote: > Am 23.12.2010 um 08:52 schrieb Eric Cavalcanti: > >> On Thu, Dec 23, 2010 at 1:40 AM, Julien Rioux >> <jri...@physics.utoronto.ca> wrote: >>> On 22/12/2010 9:16 AM, Eric Cavalcanti wrote: >>>> >>>> Hi and thanks for the response! >>>> >>>> I apologise, I should have given more details of my system. I use >>>> MacOS 10.5.8, and recently installed texlive2010 through the mactex >>>> distribution (over an old texlive2007). I installed revtex4-1 >>>> following the instructions on the package's readme and apparently had >>>> no problems there. >>>> >>>> Cheers! >>>> Eric >>>> >>> >>> OK so could you capture the output of the LyX's configuration step? To do >>> this you would start lyx from a terminal, click the "Tools > reconfigure" >>> menu, then investigate what you get in the terminal window. >>> >>> Also specify the debug flag "tclass" (see >>> http://wiki.lyx.org/LyX/Troubleshooting#sLyX.Troubleshooting_11 ) when >>> launching LyX to get further info. >>> >>> Otherwise I don't know what's the problem and can't help you. >>> >>> -- >>> Julien >> >> Thanks again Julien. This is the output I get after clicking >> LyX/Reconfigure (note there's no Tools/Reconfigure in my version) when >> launching lyx with -dbg tclass. > > It's LyX -> Reconfigure on a Mac in general. It doesn't depend on -dbg... > >> I looked up the latexconfig.lyx file >> mentioned in the end, but it wasn't very enlightening. Does this give >> you any hint to why the reconfiguration failed? >> >> start quote------------------------------------------------------------ >> ... >> +checking for document class powerdot >> [powerdot,enumitem.sty,pstricks.sty,xkeyv >> +checking for document class recipebook [scrbook]... yes >> +checking for document class report [report]... yes >> +checking for package braille [braille]... yes >> ... >> end quote------------------------------------------------------------ > > After "checking for document class report..." the check for revtex follows. > Unfortunately there is no output to indicate the failure. > See the debug output below from my LyX terminal startup. > > ... > +checking for document class powerdot > [powerdot,enumitem.sty,pstricks.sty,xkeyv > +checking for document class recipebook [scrbook]... yes > +checking for document class report [report]... yes > +checking for document class revtex4-1 > [revtex4-1,natbib.sty,revsymb4-1.sty,tex > +checking for document class revtex4 [revtex4]... no > +checking for document class revtex [revtex]... yes > +checking for document class scrartcl [scrartcl]... yes > +checking for document class scrarticle-beamer [scrartcl]... yes > +checking for document class scrbook [scrbook]... yes > +checking for document class scrlettr [scrlettr]... yes > +checking for document class scrlttr2 [scrlttr2]... yes > +checking for document class scrreprt [scrreprt]... yes > +checking for document class seminar [seminar]... yes > +checking for document class siamltex [siamltex]... no > +checking for document class sigplanconf [sigplanconf]... no > +checking for document class simplecv [simplecv]... yes > +checking for document class singlecol-new [singlecol-new, natbib.sty]... no > +checking for document class singlecol [singlecol, natbib.sty]... no > +checking for document class slides [slides]... yes > +checking for document class spie [spie]... yes > +checking for document class svglobal3 [svjour3,svglov3.clo]... no > +checking for document class svglobal [svjour,svglobal.clo]... no > +checking for document class svjog [svjour,svjog.clo]... no > +checking for document class svmono [svmono]... no > +checking for document class svmult [svmult]... no > +checking for document class svprobth [svjour,svprobth.clo]... no > +checking for document class tarticle [tarticle]... no > +checking for document class tbook [tbook]... no > +checking for document class treport [treport]... no > +checking for document class tufte-book [tufte-book]... yes > +checking for document class tufte-handout [tufte-handout]... yes > +checking for package braille [braille]... yes > ... > > This is not very helpful - I know. > > It looks like the test for document classes aborts too early. > The configure.py script (which does the work for reconfigure) > discards all output not starting with + and hides the > error messages to diagnose the cause of the problem. :( > > I propose to create a ticket in LyX trac here: > http://www.lyx.org/trac/newticket > > Stephan
Thanks Stephan. Perhaps I should clarify that the problem only occurs when I have the revtex4-1.layout file that I created from copying and pasting Julien's code into a text file in the layouts folder. Cheers, Eric