Getting RevTeX 4.1 layout to work
Dear All, I'm using LyX 1.6.7 on Mac OS X 10.6.4. I've installed the revtex4-1.layout file in /Library/Application Support/LyX-1.6/layouts I use the 2009 Tex Live distribution of MacTeX and it is up-to-date. When I check in texmf-dist/tex/latex/revtex, revtex4-1.cls is present. I've run sudo texhash several times and have reconfigured LyX several times. However, whenever I try to select "Article (REVTeX 4.1)" in Lyx, I get the following error: "The document class revtex4-1 could not be loaded." I'm at a lost as to why it is not loading. Any help would be greatly appreciated. Confused, Daniel Stark PhD Candidate ✦ Physics and Astronomy BRC 721, MS-142 Rice University 6500 Main Street Houston TX 77030 USA ✦ Ph: +1-713-348-3129 Fx: +1-713-348-8099 In physics, you don't have to go around making trouble for yourself - nature does it for you. - Frank Wilczek I think physicists are the Peter Pans of the human race. They never grow up and they keep their curiosity. - Isidor Isaac Rabi
Re: Getting RevTeX 4.1 layout to work
On 23/12/2010 4:58 AM, Eric Cavalcanti wrote: 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 A kind soul followed up on this and offers the explanation that your browser does automatic line wrapping that are not part of the original file, and a copy-paste from that messes up with how LyX parses the file. This is a logical and very plausible explanation of the problem you have encounter. I have put the layout file available for download from http://www.physics.utoronto.ca/~jrioux/resources/lyx/ Could you please try to download this file? This should avoid any copy-paste problems. Meanwhile the layout file that I am using also evolved a bit. Thanks, Cheers, Julien Original Message Subject: Revtex4-1 for Lyx 1.6.x Date: Sat, 04 Jun 2011 10:40:36 +0200 From: Timothy Stoltzfus-Dueck Hi Julien, Thanks for putting together the revtex4-1 layout! I had trouble using the version you posted for Lyx 1.6.x, similar to that discussed in http://www.mail-archive.com/lyx-users@lists.lyx.org/msg84557.html It turns out that all it was was that my browser broke up the \DeclareLatexClass line, moving the \DeclareLatexClass command to the line following the # , which caused the LyX Reconfigure command to fail. Moving the # , \DeclareLatexClass..., and (REVTEX 4.1)} [3 separate lines as my browser gave it to me] to the same line resulted in a working LyX Reconfigure. Sorry to send this mail to you. I tried to reply to Eric Cavalcanti, who posted the question, but I can't get to a working reply screen. Your email address was the only one I found, so I thought you might be able to forward or post this in case Eric is still having trouble. Thanks again for your work on this. Tim Stoltzfus-Dueck
Re: Getting RevTeX 4.1 layout to work
That worked! I feel somewhat embarassed for what the problem was though. :) Thank you Julien and Tim! I really appreciate it! Cheers Eric On Sun, Jun 5, 2011 at 2:59 AM, Julien Rioux wrote: > On 23/12/2010 4:58 AM, Eric Cavalcanti wrote: > >> 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 >> > > A kind soul followed up on this and offers the explanation that your > browser does automatic line wrapping that are not part of the original file, > and a copy-paste from that messes up with how LyX parses the file. This is a > logical and very plausible explanation of the problem you have encounter. > > I have put the layout file available for download from > http://www.physics.utoronto.ca/~jrioux/resources/lyx/ > > Could you please try to download this file? This should avoid any > copy-paste problems. Meanwhile the layout file that I am using also evolved > a bit. > > Thanks, > Cheers, > Julien > > >> Original Message >> Subject: Revtex4-1 for Lyx 1.6.x >> Date: Sat, 04 Jun 2011 10:40:36 +0200 >> From: Timothy Stoltzfus-Dueck >> >> Hi Julien, >> >> Thanks for putting together the revtex4-1 layout! >> >> I had trouble using the version you posted for Lyx 1.6.x, similar to >> that discussed in >> http://www.mail-archive.com/lyx-users@lists.lyx.org/msg84557.html >> >> It turns out that all it was was that my browser broke up the >> \DeclareLatexClass line, moving the \DeclareLatexClass command to the >> line following the # , which caused the LyX Reconfigure command to fail. >> Moving the # , \DeclareLatexClass..., and (REVTEX 4.1)} [3 separate >> lines as my browser gave it to me] to the same line resulted in a >> working LyX Reconfigure. >> >> Sorry to send this mail to you. I tried to reply to Eric Cavalcanti, >> who posted the question, but I can't get to a working reply screen. >> Your email address was the only one I found, so I thought you might be >> able to forward or post this in case Eric is still having trouble. >> >> Thanks again for your work on this. >> >> Tim Stoltzfus-Dueck >> > -- Eric G. Cavalcanti ARC Postdoctoral Research Fellow Centre for Quantum Dynamics -- Griffith University Nathan, QLD 4111, Australia eric.cavalca...@gmail.com http://ericcavalcanti.wordpress.com/
Re: Getting RevTeX 4.1 layout to work
Julien Rioux physics.utoronto.ca> writes: > > On 28/07/2010 3:44 PM, Daniel Joshua Stark wrote: > > Dear All, > > > > I'm using LyX 1.6.7 on Mac OS X 10.6.4. > > > > I've installed the revtex4-1.layout file in /Library/Application Support/LyX-1.6/layouts > > > > I use the 2009 Tex Live distribution of MacTeX and it is up-to-date. When I check in > texmf-dist/tex/latex/revtex, revtex4-1.cls is present. > > > > I've run sudo texhash several times and have reconfigured LyX several times. However, whenever I try to > select "Article (REVTeX 4.1)" in Lyx, I get the following error: "The document class revtex4-1 could not > be loaded." Dear all, I'm using lyx2.0 in mac and trying to install revtex4-1 use it for an article in APS. I put all the concerned files (class, style and layout) in concerned folders, did the sudo texhash in Terminal, and reconfigure in lyx. Everything seems to go ok without any problem. But as I go to the Lyx -> Documents-> setting, I do not find the "article (revtex4-1)". Can anybody help? Thanks. Prem
Re: Getting RevTeX 4.1 layout to work
On 07/28/2010 03:44 PM, Daniel Joshua Stark wrote: Dear All, I'm using LyX 1.6.7 on Mac OS X 10.6.4. I've installed the revtex4-1.layout file in /Library/Application Support/LyX-1.6/layouts I use the 2009 Tex Live distribution of MacTeX and it is up-to-date. When I check in texmf-dist/tex/latex/revtex, revtex4-1.cls is present. I've run sudo texhash several times and have reconfigured LyX several times. However, whenever I try to select "Article (REVTeX 4.1)" in Lyx, I get the following error: "The document class revtex4-1 could not be loaded." I'm at a lost as to why it is not loading. Any help would be greatly appreciated. The error message is saying that the layout file could not be loaded. If you've downloaded the layout file from the wiki here: http://wiki.lyx.org/Layouts/Revtex4-1 then the problem is that this is for LyX 2.0, not for LyX 1.6.x. I've added a note to that effect to the wiki. The error messages for this kind of thing will be more informative in 2.0. Richard
Re: Getting RevTeX 4.1 layout to work
On 28/07/2010 3:44 PM, Daniel Joshua Stark wrote: Dear All, I'm using LyX 1.6.7 on Mac OS X 10.6.4. I've installed the revtex4-1.layout file in /Library/Application Support/LyX-1.6/layouts I use the 2009 Tex Live distribution of MacTeX and it is up-to-date. When I check in texmf-dist/tex/latex/revtex, revtex4-1.cls is present. I've run sudo texhash several times and have reconfigured LyX several times. However, whenever I try to select "Article (REVTeX 4.1)" in Lyx, I get the following error: "The document class revtex4-1 could not be loaded." I'm at a lost as to why it is not loading. Any help would be greatly appreciated. Confused, Daniel Stark PhD Candidate ✦ Physics and Astronomy BRC 721, MS-142 Rice University 6500 Main Street Houston TX 77030 USA ✦ Ph: +1-713-348-3129 Fx: +1-713-348-8099 In physics, you don't have to go around making trouble for yourself - nature does it for you. - Frank Wilczek I think physicists are the Peter Pans of the human race. They never grow up and they keep their curiosity. - Isidor Isaac Rabi Here's an updated layout file for LyX 1.6.x Let us know how it works for you. I have a version for LyX 2.0 with template file that I plan to submit to the developers soon. Cheers, Julien #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[revtex4-1,natbib.sty,revsymb4-1.sty,textcase.sty,url.sty]{article (REVTeX 4.1)} # REVTeX 4.1 textclass definition file. # Based on article.layout, revtex4.layout and stdclass.inc definition files. # Author: Julien Rioux # Author: Manoj Rajagopalan # Some notes: # - The \definecolor's are there to avoid LyX bug #4625. # - We provide natbib-internal according to LyX bug #5182. # - The command \lovname is missing from the class file. Format 11 Input stdclass.inc Input numrevtex.inc Provides natbib-internal 1 Provides url 1 ProvidesModulevideos SecNumDepth 3 TocDepth 3 ClassOptions Other "aps,manuscript" End Preamble % Fix a bug in REVTeX 4.1 \def\lovname{List of Videos} \...@ifundefined{textcolor}{} {% \definecolor{BLACK}{gray}{0} \definecolor{WHITE}{gray}{1} \definecolor{RED}{rgb}{1,0,0} \definecolor{GREEN}{rgb}{0,1,0} \definecolor{BLUE}{rgb}{0,0,1} \definecolor{CYAN}{cmyk}{1,0,0,0} \definecolor{MAGENTA}{cmyk}{0,1,0,0} \definecolor{YELLOW}{cmyk}{0,0,1,0} } EndPreamble Style Section Align Center Font # Series Medium Shape Smallcaps # SizeLarge EndFont End Style Subsubsection Font Shape Italic # SizeNormal EndFont End Style Paragraph # TopSep0.7 # ParSep0.4 Font Shape Italic # SizeNormal EndFont End # This input needs to appear *after* modifications to sections Input stdstarsections.inc ### Front matter Style Abstract InTitle 1 End Style Preprint Category FrontMatter MarginRight_Address_Box LatexType Command InTitle 1 LatexName preprint ParSkip 0.4 BottomSep 1.5 ParSep1.5 Align Left End Style PACS Category FrontMatter MarginDynamic LatexType Command InTitle 1 LatexName pacs LabelType Static LabelSep M LabelString "PACS numbers:" End Style Keywords CopyStyle PACS LatexName keywords LabelString "Keywords:" End Style Title OptionalArgs 1 Font Series Bold SizeLarge EndFont End Style Date LabelType Static LabelString "Date:" LabelFont Shape Italic SizeLarge EndFont End Style Affiliation Category FrontMatter MarginDynamic LatexType Command InTitle 1 LatexName affiliation ParSkip 0.4 #BottomSep1.5 #ParSep 1.5 Align Center AlignPossible Block, Left, Right, Center LabelType Static LabelSep M LabelString "Affiliation:" LabelFont Shape Italic EndFont End Style AltAffiliation CopyStyle Affiliation LatexName altaffiliation LabelString "AltAffiliation" OptionalArgs 1 PassThru 1 End # Address is exactly the same as Affiliation. We just put # this in so
Re: Getting RevTeX 4.1 layout to work
Julien Rioux physics.utoronto.ca> writes: > Here's an updated layout file for LyX 1.6.x > > Let us know how it works for you. I have a version for LyX 2.0 with > template file that I plan to submit to the developers soon. > > Cheers, > Julien Hi Julien, I'm having a similar problem and I've tried the layout file you posted below, but with no success. I put it on LyX-1.6/layouts and ran Reconfigure but I got the error message: "The system reconfiguration has failed. Default textclass is used but LyX may not be able to work properly. Please reconfigure again if needed." Reconfigure works fine when I remove the offending revtex4-1.layout file. Any help would be greatly appreciated! Cheers, Eric
Re: Getting RevTeX 4.1 layout to work
On 22/12/2010 12:21 AM, Eric wrote: Julien Rioux physics.utoronto.ca> writes: Here's an updated layout file for LyX 1.6.x Let us know how it works for you. I have a version for LyX 2.0 with template file that I plan to submit to the developers soon. Cheers, Julien Hi Julien, I'm having a similar problem and I've tried the layout file you posted below, but with no success. I put it on LyX-1.6/layouts and ran Reconfigure but I got the error message: "The system reconfiguration has failed. Default textclass is used but LyX may not be able to work properly. Please reconfigure again if needed." Reconfigure works fine when I remove the offending revtex4-1.layout file. Any help would be greatly appreciated! Cheers, Eric Hi, I've been using this layout without problem with LyX 1.6.5 and 1.6.9 (developer's bug fix version) and with both MiKteX/Windows or TeXLive/Ubuntu, so I am a bit surprised here. But I found this: http://wiki.lyx.org/Windows/LyXWinTips#toc9 Could you please try if the section "Trouble Configuring LyX ..." helps you here? If not I would ask to provide the output you get on the terminal when reconfiguring LyX, so that we can better identify the source of the problem. -- Julien
Re: Getting RevTeX 4.1 layout to work
On Wed, Dec 22, 2010 at 11:51 PM, Julien Rioux wrote: > On 22/12/2010 12:21 AM, Eric wrote: >> >> Hi Julien, >> >> I'm having a similar problem and I've tried the layout file you posted >> below, but with no success. I put it on LyX-1.6/layouts and ran Reconfigure >> but I >> got the error message: >> >> "The system reconfiguration has failed. Default textclass is used but LyX >> may not be able to work properly. Please reconfigure again if needed." >> >> Reconfigure works fine when I remove the offending revtex4-1.layout file. >> >> Any help would be greatly appreciated! >> >> Cheers, >> Eric >> > > Hi, > > I've been using this layout without problem with LyX 1.6.5 and 1.6.9 > (developer's bug fix version) and with both MiKteX/Windows or > TeXLive/Ubuntu, so I am a bit surprised here. > > But I found this: > > http://wiki.lyx.org/Windows/LyXWinTips#toc9 > > Could you please try if the section "Trouble Configuring LyX ..." helps you > here? If not I would ask to provide the output you get on the terminal when > reconfiguring LyX, so that we can better identify the source of the problem. > > -- > Julien > 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
Re: Getting RevTeX 4.1 layout to work
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
Re: Getting RevTeX 4.1 layout to work
Am 22.12.2010 um 16:40 schrieb Julien Rioux: > 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. To start LyX from terminal use something like: % /Applications/LyX-1.6.8.app/Contents/MacOS/lyx On a Mac it is LyX -> Reconfigure... > > 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. I tried that with LyX-1.6.9svn on MacOS 10.6.5 with TeXLive-2009 and it works here: (The output of the reconfigure is truncated at some line length...) ... +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 ... This is the relevant output after restart: ... branch-1_6_x/src/TextClass.cpp(257): Reading textclass: ~/Library/Application Support/LyX-1.6/layouts/revtex4-1.layout branch-1_6_x/src/TextClass.cpp(257): Reading input file: [layouts/stdclass.inc] branch-1_6_x/src/TextClass.cpp(155): Reading style Standard branch-1_6_x/src/TextClass.cpp(257): Reading input file: [layouts/stdfloats.inc] branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: [layouts/stdfloats.inc] branch-1_6_x/src/TextClass.cpp(257): Reading input file: [layouts/stdcounters.inc] branch-1_6_x/src/Counters.cpp(180): Reading new counter part branch-1_6_x/src/Counters.cpp(180): Reading new counter chapter branch-1_6_x/src/Counters.cpp(180): Reading new counter section branch-1_6_x/src/Counters.cpp(180): Reading new counter subsection branch-1_6_x/src/Counters.cpp(180): Reading new counter subsubsection branch-1_6_x/src/Counters.cpp(180): Reading new counter paragraph branch-1_6_x/src/Counters.cpp(180): Reading new counter subparagraph branch-1_6_x/src/Counters.cpp(180): Reading new counter enumi branch-1_6_x/src/Counters.cpp(180): Reading new counter enumii branch-1_6_x/src/Counters.cpp(180): Reading new counter enumiii branch-1_6_x/src/Counters.cpp(180): Reading new counter enumiv branch-1_6_x/src/Counters.cpp(180): Reading new counter bibitem branch-1_6_x/src/Counters.cpp(180): Reading new counter listing branch-1_6_x/src/Counters.cpp(180): Reading new counter equation branch-1_6_x/src/Counters.cpp(180): Reading new counter footnote branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: [layouts/stdcounters.inc] branch-1_6_x/src/TextClass.cpp(257): Reading input file: [layouts/stdinsets.inc] branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: [layouts/stdinsets.inc] branch-1_6_x/src/TextClass.cpp(257): Reading input file: [layouts/stdlists.inc] branch-1_6_x/src/TextClass.cpp(155): Reading style Itemize branch-1_6_x/src/TextClass.cpp(155): Reading style Enumerate branch-1_6_x/src/TextClass.cpp(155): Reading style Description branch-1_6_x/src/TextClass.cpp(155): Reading style List branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: [layouts/stdlists.inc] branch-1_6_x/src/TextClass.cpp(257): Reading input file: [layouts/stdsections.inc] branch-1_6_x/src/TextClass.cpp(155): Reading style Part branch-1_6_x/src/TextClass.cpp(155): Reading style Chapter branch-1_6_x/src/TextClass.cpp(155): Reading style Section branch-1_6_x/src/TextClass.cpp(155): Reading style Subsection branch-1_6_x/src/TextClass.cpp(155): Reading style Subsubsection branch-1_6_x/src/TextClass.cpp(155): Reading style Paragraph branch-1_6_x/src/TextClass.cpp(155): Reading style Subparagraph branch-1_6_x/src/TextClass.cpp(257): Reading input file: [layouts/numarticle.inc] branch-1_6_x/src/Counters.cpp(177): Reading existing counter section branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: [layouts/numarticle.inc] branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: [layouts/stdsections.inc] branch-1_6_x/src/TextClass.cpp(257): Reading input file: [layouts/stdstarsections.inc] branch-1_6_x/src/TextClass.cpp(155): Reading style Part* branch-1_6_x/src/TextClass.cpp(155): Reading style Chapter* branch-1_6_x/src/TextClass.cpp(155): Reading style Section* branch-1_6_x/src/TextClass.cpp(155): Reading style Subsection* branch-1_6_x/src/TextClass.cpp(155): Reading style Subsubsection* branch-1_6_x/src/TextClass.cpp(155): Reading style Paragraph* branch-1_6_x/src/TextClass.cpp(155): Reading style Subparagraph* branch-1_6_x/src/TextClass.cpp(27
Re: Getting RevTeX 4.1 layout to work
On Thu, Dec 23, 2010 at 1:40 AM, Julien Rioux 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. 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 a Latex2e program... +checking for "latex"... yes checking for a DVI postprocessing program... +checking for "pplatex"... no checking for pLaTeX, the Japanese LaTeX... +checking for "platex"... yes checking for a Tgif viewer and editor... +checking for "tgif"... no checking for a FIG viewer and editor... +checking for "xfig"... no +checking for "jfig3-itext.jar"... no +checking for "jfig3.jar"... no checking for a Dia viewer and editor... +checking for "dia"... no checking for a Grace viewer and editor... +checking for "xmgrace"... no checking for a FEN viewer and editor... +checking for "xboard"... no checking for an SVG viewer and editor... +checking for "inkscape"... no checking for a raster image viewer... +checking for "xv"... no +checking for "kview"... no +checking for "gimp-remote"... no +checking for "gimp"... no checking for a raster image editor... +checking for "gimp-remote"... no +checking for "gimp"... no checking for a text editor... +checking for "sensible-editor"... yes checking for a BibTeX editor... +checking for "sensible-editor"... yes checking for a Postscript previewer... +checking for "kghostview"... no +checking for "okular"... no +checking for "evince"... no +checking for "gv"... no +checking for "ghostview"... no checking for a PDF previewer... +checking for "kpdf"... no +checking for "okular"... no +checking for "evince"... no +checking for "kghostview"... no +checking for "xpdf"... no +checking for "acrobat"... no +checking for "acroread"... no +checking for "gv"... no +checking for "ghostview"... no checking for a DVI previewer... +checking for "xdvi"... yes checking for an HTML previewer... +checking for "firefox"... no +checking for "mozilla"... no +checking for "netscape"... no checking for Noteedit... +checking for "noteedit"... no checking for an OpenDocument viewer... +checking for "swriter"... no +checking for "oowriter"... no checking for the pdflatex program... +checking for "pdflatex"... yes checking for a LaTeX/Noweb -> LyX converter... +checking for "tex2lyx"... yes checking for a Noweb -> LaTeX converter... +checking for "noweave"... no checking for an HTML -> LaTeX converter... +checking for "html2latex"... no +checking for "gnuhtml2latex"... no +checking for "htmltolatex"... no +checking for "java"... yes checking for an MS Word -> LaTeX converter... +checking for "wvCleanLatex"... no checking for "elyxer module"... no checking for a LyX -> HTML converter... +checking for "elyxer.py"... no +checking for "elyxer"... no checking for a LaTeX -> HTML converter... +checking for "htlatex"... yes checking for a LaTeX -> MS Word converter... +checking for "htlatex"... yes checking for an OpenOffice.org -> LaTeX converter... +checking for "w2l"... no checking for an OpenDocument -> LaTeX converter... +checking for "w2l"... no checking for a LaTeX -> Open Document converter... +checking for "oolatex"... no +checking for "mk4ht"... yes checking for a LaTeX -> RTF converter... +checking for "latex2rtf"... no +checking for "latex2rt"... no checking for a RTF -> HTML converter... +checking for "unrtf"... no checking for a PS to PDF converter... +checking for "ps2pdf13"... yes checking for a PS to TXT converter... +checking for "pstotext"... no checking for a PS to TXT converter... +checking for "ps2ascii"... yes checking for a PS to EPS converter... +checking for "ps2eps"... yes checking for a PDF to PS converter... +checking for "pdf2ps"... yes checking for a PDF to EPS converter... +checking for "pdftops"... no checking for a DVI to TXT convert
Re: Getting RevTeX 4.1 layout to work
Am 23.12.2010 um 08:52 schrieb Eric Cavalcanti: > On Thu, Dec 23, 2010 at 1:40 AM, Julien Rioux > 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
Re: Getting RevTeX 4.1 layout to work
On 23/12/2010, at 6:58 PM, Stephan Witt wrote: > Am 23.12.2010 um 08:52 schrieb Eric Cavalcanti: > >> On Thu, Dec 23, 2010 at 1:40 AM, Julien Rioux >> 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
Re: Getting RevTeX 4.1 layout to work
Am 23.12.2010 um 10:58 schrieb Eric Cavalcanti: > > On 23/12/2010, at 6:58 PM, Stephan Witt wrote: > >> Am 23.12.2010 um 08:52 schrieb Eric Cavalcanti: >> >>> On Thu, Dec 23, 2010 at 1:40 AM, Julien Rioux >>> 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. :( >> > > 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. Yes, I know. This issue is not to be expected when using the standard setup. But the impossibility to diagnose an error situation is a bug too. It's very hard to guess what's so special at your machine to make it fail. I added the revtex4-1.la