Re: install thesis class, Mac
Mike Martell wrote: #python/library/applications/lyx.app/content/resources/configure.py What did you get? Richard wants to know what is the output of this. Please copy/paste. /Konrad
Re: install thesis class, Mac
Mike Martell [EMAIL PROTECTED] writes: Hi: I've been having a lot of trouble installing a new class for LyX with my mac. I am hoping to use LyX to write my doctoral dissertation. I am trying to install the thesis class for my university, authesis.cls. I have followed the directions, I believe, but am not getting the class to work. I have placed these files (authesis.cls, aucas.clo, aut10.clo, auecon.clo) in this location: users/username/library/texmf/tex/latex/authesis/ i have placed a layout file (authesis.layout) at this location: username/libarary/Application Support/Lyx-1.5/layouts The layout file reads: #% Do not delete hte line below; configure depens on this # \DeclareLaTeXClass[authesis]{article (authesis)} # Input general definitions Input stdclass.inc [snip] Thanks, Mike Since it is a thesis class, are you sure that the article class should be used, and not the book class instead? Try the following layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[authesis]{book (authesis)} # Input general definitions Input book.layout Best regards, Andreas
Re: install thesis class, Mac
Andreas K. wrote: Since it is a thesis class, are you sure that the article class should be used, and not the book class instead? Try the following layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[authesis]{book (authesis)} # Input general definitions Input book.layout And better yet, open up authesis.cls in a text editor and find out there what it's based on. Somewhere, there is like to be a \LoadClass line: That's the one we want. rh
Re: install thesis class, Mac
Mike Martell wrote: Thanks again. I took your advice. I located configure.py I opened terminal, typed: # cd /tmp/ then, #python/library/applications/lyx.app/content/resources/configure.py As Konrad said, I want to know what this does. LyX should write a configure.log file for you. You can post that. Actually, I just tried this myself, and there may be a bug here. Which LyX version are you using again? rh
Re: install thesis class, Mac
On Wed, Oct 22, 2008 at 8:10 AM, rgheck [EMAIL PROTECTED] wrote: Mike Martell wrote: Thanks again. I took your advice. I located configure.py I opened terminal, typed: # cd /tmp/ then, #python/library/applications/lyx.app/content/resources/configure.py Just a few mostly Mac specific comments that might be helpful. The correct line should be: python /path/to/LyX.app/Contents/Resources/configure.py (of course replacing /path/to by the appropriate path. /library/applications is not the standard location for applications; it's typically just /Applications). Note 2 (or 3) other things: 1. There's a space after python. 2. It should be Contents (with an s), not content. 3. Depending on your file system, the capitalization of LyX Contents and Resources may matter. When in doubt, use proper capitalization. Bennett
Re: install thesis class, Mac
Thanks. Here is what terminal said after I typed in your suggested line. Is this the output you wanted me to post? I have no idea what it means. LyX still fails to reconfigure. Once again, thank you so much for your help. Also, I am using LyX 1.5.6 . I looked throught the authesis.cls file and did not find a line that said /LoadClass line. dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for latex... yes checking for a DVI postprocessing program... +checking for pplatex... no checking for a Tgif viewer and editor... +checking for tgif... no checking for a FIG viewer and editor... +checking for xfig... 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 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... no +checking for xemacs... no +checking for gvim... no +checking for kedit... no +checking for kwrite... no +checking for kate... no +checking for nedit... no +checking for gedit... no +checking for notepad... no checking for a Postscript previewer... +checking for kghostview... no +checking for evince... no +checking for gv... no +checking for ghostview... no checking for a PDF previewer... +checking for kpdf... 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 oowriter... no checking for the pdflatex program... +checking for pdflatex... yes checking for a LaTeX/Noweb - LyX converter... +checking for tex2lyx... no +checking for tex2lyx... no 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 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 htlatex... yes checking for a LaTeX - RTF converter... +checking for latex2rtf... no +checking for latex2rt... 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 converter... +checking for catdvi... no checking for a DVI to PS converter... +checking for dvips... yes checking for a DVI to PDF converter... +checking for dvipdfmx... yes checking for dvipng... +checking for dvipng... yes checking for a fax program... +checking for kdeprintfax... no +checking for ksendfax... no checking for a FIG - EPS/PPM converter... +checking for fig2dev... no checking for a TIFF - PS converter... +checking for tiff2ps... no checking for a TGIF - EPS/PPM converter... +checking for tgif... no checking for a WMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EPS - PDF converter... +checking for epstopdf... yes checking for a Grace - Image converter... +checking for gracebat... no checking for a Dot - PDF converter... +checking for dot... no checking for a LilyPond - EPS/PDF/PNG converter... +checking for lilypond... no checking for a Noteedit - LilyPond converter... +checking for noteedit... no checking for SGML-tools 1.x (LinuxDoc)... +checking for sgml2lyx... no checking for SGML-tools 2.x (DocBook) or db2x scripts... +checking for sgmltools... no +checking for db2dvi... no Checking whether TeX allows spaces in file names... yes checking for a *roff formatter... +checking for groff... yes checking for an
Re: install thesis class, Mac
Mike Martell wrote: Thanks. Here is what terminal said after I typed in your suggested line. Is this the output you wanted me to post? I have no idea what it means. LyX still fails to reconfigure. Once again, thank you so much for your help. Also, I am using LyX 1.5.6 . I looked throught the authesis.cls file and did not find a line that said /LoadClass line. Hmm. That looks like a successful reconfigure to me. Try this again now from inside your LyX user directory. To verify where that is, go to ToolsPreferences, User Interface, hit Browse and then User Files. This will dump you into a subdirectory of your user directory. Worth doing just to make sure. Anyway, once you are sure which directory that is, go there and run configure.py manually. Post the output again. rh dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for latex... yes checking for a DVI postprocessing program... +checking for pplatex... no checking for a Tgif viewer and editor... +checking for tgif... no checking for a FIG viewer and editor... +checking for xfig... 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 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... no +checking for xemacs... no +checking for gvim... no +checking for kedit... no +checking for kwrite... no +checking for kate... no +checking for nedit... no +checking for gedit... no +checking for notepad... no checking for a Postscript previewer... +checking for kghostview... no +checking for evince... no +checking for gv... no +checking for ghostview... no checking for a PDF previewer... +checking for kpdf... 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 oowriter... no checking for the pdflatex program... +checking for pdflatex... yes checking for a LaTeX/Noweb - LyX converter... +checking for tex2lyx... no +checking for tex2lyx... no 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 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 htlatex... yes checking for a LaTeX - RTF converter... +checking for latex2rtf... no +checking for latex2rt... 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 converter... +checking for catdvi... no checking for a DVI to PS converter... +checking for dvips... yes checking for a DVI to PDF converter... +checking for dvipdfmx... yes checking for dvipng... +checking for dvipng... yes checking for a fax program... +checking for kdeprintfax... no +checking for ksendfax... no checking for a FIG - EPS/PPM converter... +checking for fig2dev... no checking for a TIFF - PS converter... +checking for tiff2ps... no checking for a TGIF - EPS/PPM converter... +checking for tgif... no checking for a WMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EPS - PDF converter... +checking for epstopdf... yes checking for a Grace - Image converter... +checking for gracebat... no checking for a Dot - PDF converter... +checking for dot... no checking for a LilyPond -
Re: install thesis class, Mac
Mike Martell wrote: I looked throught the authesis.cls file and did not find a line that said /LoadClass line. I just had a look, too. Looks like it was hacked from ucthesis, which was a modification of report. So I'd try: Input report.layout and modify anything that needs modifying. rh
Re: install thesis class, Mac
I changed the layout file. to read report instead of article, ran texhash, and still got the reconfigure error. You said: Hmm. That looks like a successful reconfigure to me. Try this again now from inside your LyX user directory. To verify where that is, go to ToolsPreferences, User Interface, hit Browse and then User Files. This will dump you into a subdirectory of your user directory. Worth doing just to make sure. I verified the directory and ran the python command. Here is my terminal line I typed and its response. dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/contents/Resources/ui/configure.py /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file '/Applications/LyX.app/contents/Resources/ui/configure.py': [Errno 2] No such file or directory I really appreciate your being so helpful. Mike On Wed, Oct 22, 2008 at 10:43 AM, Richard Heck [EMAIL PROTECTED] wrote: Mike Martell wrote: I looked throught the authesis.cls file and did not find a line that said /LoadClass line. I just had a look, too. Looks like it was hacked from ucthesis, which was a modification of report. So I'd try: Input report.layout and modify anything that needs modifying. rh
Re: install thesis class, Mac
Mike Martell wrote: I changed the layout file. to read report instead of article, ran texhash, and still got the reconfigure error. You said: Hmm. That looks like a successful reconfigure to me. Try this again now from inside your LyX user directory. To verify where that is, go to ToolsPreferences, User Interface, hit Browse and then User Files. This will dump you into a subdirectory of your user directory. Worth doing just to make sure. I verified the directory and ran the python command. Here is my terminal line I typed and its response. dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/contents/Resources/ui/configure.py /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file '/Applications/LyX.app/contents/Resources/ui/configure.py': [Errno 2] No such file or directory You need to type exactly the same thing you did last time, whatever that was, but to do it from inside the LyX user directory. rh
Re: install thesis class, Mac
On Wed, Oct 22, 2008 at 11:28 AM, Richard Heck [EMAIL PROTECTED] wrote: Mike Martell wrote: I changed the layout file. to read report instead of article, ran texhash, and still got the reconfigure error. You said: Hmm. That looks like a successful reconfigure to me. Try this again now from inside your LyX user directory. To verify where that is, go to ToolsPreferences, User Interface, hit Browse and then User Files. This will dump you into a subdirectory of your user directory. Worth doing just to make sure. I verified the directory and ran the python command. Here is my terminal line I typed and its response. dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/contents/Resources/ui/configure.py /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file '/Applications/LyX.app/contents/Resources/ui/configure.py': [Errno 2] No such file or directory You need to type exactly the same thing you did last time, whatever that was, but to do it from inside the LyX user directory. That is, in Terminal, type: cd ~/Library/Application\ Support/LyX-1.5/ to get to the user directory. Then type: python /Applications/LyX.app/Contents/Resources/configure.py to reconfigure. (Note that in this line there is no /ui before configure.) Bennett
Re: install thesis class, Mac
I followed your directions. you said (thanks for being so explicit ): That is, in Terminal, type: cd ~/Library/Application\ Support/LyX-1.5/ to get to the user directory. Then type: python /Applications/LyX.app/Contents/Resources/configure.py to reconfigure. (Note that in this line there is no /ui before configure.) I still did not have luck. Is this perhaps because i have placed my files in the wrong spot? Should the authesis.layout file i made be with all the other layout files? in Applications/LyX.app/Contents/Resources/layouts/ instead of in username/Library/Application Support/Lyx-1.5/layouts ? And perhaps, these files (authesis.cls, aucas.clo, aut10.clo, auecon.clo) should not be in this location: users/username/library/texmf/tex/latex/authesis/ Once again, thank you very much. Mike On Wed, Oct 22, 2008 at 1:09 PM, Bennett Helm [EMAIL PROTECTED] wrote: On Wed, Oct 22, 2008 at 11:28 AM, Richard Heck [EMAIL PROTECTED] wrote: Mike Martell wrote: I changed the layout file. to read report instead of article, ran texhash, and still got the reconfigure error. You said: Hmm. That looks like a successful reconfigure to me. Try this again now from inside your LyX user directory. To verify where that is, go to ToolsPreferences, User Interface, hit Browse and then User Files. This will dump you into a subdirectory of your user directory. Worth doing just to make sure. I verified the directory and ran the python command. Here is my terminal line I typed and its response. dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/contents/Resources/ui/configure.py /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file '/Applications/LyX.app/contents/Resources/ui/configure.py': [Errno 2] No such file or directory You need to type exactly the same thing you did last time, whatever that was, but to do it from inside the LyX user directory. That is, in Terminal, type: cd ~/Library/Application\ Support/LyX-1.5/ to get to the user directory. Then type: python /Applications/LyX.app/Contents/Resources/configure.py to reconfigure. (Note that in this line there is no /ui before configure.) Bennett
Re: install thesis class, Mac
Mike Martell wrote: I followed your directions. you said (thanks for being so explicit ): That is, in Terminal, type: cd ~/Library/Application\ Support/LyX-1.5/ to get to the user directory. Then type: python /Applications/LyX.app/Contents/Resources/configure.py to reconfigure. (Note that in this line there is no /ui before configure.) So what was the output in this case? Did configure complete, or did it die with an error? Is this perhaps because i have placed my files in the wrong spot? Should the authesis.layout file i made be with all the other layout files? in Applications/LyX.app/Contents/Resources/layouts/ instead of in username/Library/Application Support/Lyx-1.5/layouts ? The layout files should be in ~/Library/Application\ Support/LyX-1.5/layouts/. The username bit is meant to indicate your main user directory, whatever that is. That's what ~ gets you, and also should be the content of the $HOME environment variable. So if you do: echo $HOME you'll get your home directory back. And perhaps, these files (authesis.cls, aucas.clo, aut10.clo, auecon.clo) should not be in this location: users/username/library/texmf/tex/latex/authesis/ If kpsewhich is seeing them, then they are fine. So you might want to check that again: kpsewhich authesis.cls rh
Re: install thesis class, Mac
thanks. it looks like my layout file is in the correct place. And kpsewhich authesis.cls recognizes the file. here are the results of my running configure. I don't think it is working. dhcp-226-212:~ mikemartell$ cd ~/Library/Application\ Support/LyX-1.5/ dhcp-226-212:LyX-1.5 mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for latex... yes checking for a DVI postprocessing program... +checking for pplatex... no checking for a Tgif viewer and editor... +checking for tgif... no checking for a FIG viewer and editor... +checking for xfig... 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 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... no +checking for xemacs... no +checking for gvim... no +checking for kedit... no +checking for kwrite... no +checking for kate... no +checking for nedit... no +checking for gedit... no +checking for notepad... no checking for a Postscript previewer... +checking for kghostview... no +checking for evince... no +checking for gv... no +checking for ghostview... no checking for a PDF previewer... +checking for kpdf... 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 oowriter... no checking for the pdflatex program... +checking for pdflatex... yes checking for a LaTeX/Noweb - LyX converter... +checking for tex2lyx... no +checking for tex2lyx... no 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 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 htlatex... yes checking for a LaTeX - RTF converter... +checking for latex2rtf... no +checking for latex2rt... 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 converter... +checking for catdvi... no checking for a DVI to PS converter... +checking for dvips... yes checking for a DVI to PDF converter... +checking for dvipdfmx... yes checking for dvipng... +checking for dvipng... yes checking for a fax program... +checking for kdeprintfax... no +checking for ksendfax... no checking for a FIG - EPS/PPM converter... +checking for fig2dev... no checking for a TIFF - PS converter... +checking for tiff2ps... no checking for a TGIF - EPS/PPM converter... +checking for tgif... no checking for a WMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EPS - PDF converter... +checking for epstopdf... yes checking for a Grace - Image converter... +checking for gracebat... no checking for a Dot - PDF converter... +checking for dot... no checking for a LilyPond - EPS/PDF/PNG converter... +checking for lilypond... no checking for a Noteedit - LilyPond converter... +checking for noteedit... no checking for SGML-tools 1.x (LinuxDoc)... +checking for sgml2lyx... no checking for SGML-tools 2.x (DocBook) or db2x scripts... +checking for sgmltools... no +checking for db2dvi... no Checking whether TeX allows spaces in file names... yes checking for a *roff formatter... +checking for groff... yes checking for an index processor... +checking for texindy... yes checking for ChkTeX... +checking
Re: install thesis class, Mac
Mike Martell wrote: thanks. it looks like my layout file is in the correct place. And kpsewhich authesis.cls recognizes the file. here are the results of my running configure. I don't think it is working. [snip] checking LaTeX configuration... auto Wrong input layout file with line '\\DeclareLaTeXClass[authesis]\{authesis\}\ Can you tell me what the error means? I looked at my layout file and found this one online in the archive. I made mine look just like this replacing ucthesis with authesis and it still isn't working well. Do you know if this layout file looks more correct? (located at: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg59944.html) #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[ucthesis]{UC Thesis} # Read the definitions from report.layout Input report.layout You need a # before the \Declare So try this: #% Do not delete the line below; configure depends on this # #\DeclareLaTeXClass{AU Thesis} # Read the definitions from report.layout Input report.layout Put that in authesis.layout, and it should work now. We can hope!! rh
Re: install thesis class, Mac
Thanks. I changed the layout file as you suggested: #% Do not delete the line below; configure depends on this # #\DeclareLaTeXClass{authesis} # Read the definitions from report.layout Input report.layout and here is the output from terminal. It looks like it worked (?). I open LyX and my class is not available, and if I configure I still get the error. Can you help again?, thanks. here is the terminal output: dhcp-226-212:~ mikemartell$ cd ~/Library/Application\ Support/LyX-1.5/ dhcp-226-212:LyX-1.5 mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for latex... yes checking for a DVI postprocessing program... +checking for pplatex... no checking for a Tgif viewer and editor... +checking for tgif... no checking for a FIG viewer and editor... +checking for xfig... 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 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... no +checking for xemacs... no +checking for gvim... no +checking for kedit... no +checking for kwrite... no +checking for kate... no +checking for nedit... no +checking for gedit... no +checking for notepad... no checking for a Postscript previewer... +checking for kghostview... no +checking for evince... no +checking for gv... no +checking for ghostview... no checking for a PDF previewer... +checking for kpdf... 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 oowriter... no checking for the pdflatex program... +checking for pdflatex... yes checking for a LaTeX/Noweb - LyX converter... +checking for tex2lyx... no +checking for tex2lyx... no 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 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 htlatex... yes checking for a LaTeX - RTF converter... +checking for latex2rtf... no +checking for latex2rt... 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 converter... +checking for catdvi... no checking for a DVI to PS converter... +checking for dvips... yes checking for a DVI to PDF converter... +checking for dvipdfmx... yes checking for dvipng... +checking for dvipng... yes checking for a fax program... +checking for kdeprintfax... no +checking for ksendfax... no checking for a FIG - EPS/PPM converter... +checking for fig2dev... no checking for a TIFF - PS converter... +checking for tiff2ps... no checking for a TGIF - EPS/PPM converter... +checking for tgif... no checking for a WMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EPS - PDF converter... +checking for epstopdf... yes checking for a Grace - Image converter... +checking for gracebat... no checking for a Dot - PDF converter... +checking for dot... no checking for a LilyPond - EPS/PDF/PNG converter... +checking for lilypond... no checking for a Noteedit - LilyPond converter... +checking for noteedit... no checking for SGML-tools 1.x (LinuxDoc)... +checking for sgml2lyx... no checking for SGML-tools 2.x (DocBook) or db2x scripts... +checking for sgmltools... no +checking for
Re: install thesis class, Mac
Mike Martell wrote: Thanks. I changed the layout file as you suggested: #% Do not delete the line below; configure depends on this # #\DeclareLaTeXClass{authesis} # Read the definitions from report.layout Input report.layout and here is the output from terminal. It looks like it worked (?). I open LyX and my class is not available, and if I configure I still get the error. Can you help again?, thanks. It seems to have died at authesis again: +checking for document class IEEEtran [IEEEtran]... yes +checking for document class aapaper [aa]... no +checking for document class aastex [aastex]... yes +checking for document class aa [aa]... no +checking for docbook class agu-dtd... no +checking for document class agums [aguplus,agums.sty]... no +checking for document class amsart-plain [amsart]... yes +checking for document class amsart-seq [amsart]... yes +checking for document class amsart [amsart]... yes +checking for document class amsbook [amsbook]... yes +checking for document class apa [apa,apacite.sty]... yes +checking for document class arab-article [arabart]... yes +checking for document class armenian-article [article]... yes +checking for document class article-beamer [article]... yes +checking for document class article [article]... yes +checking for package algorithm [algorithm]... yes There ought to be more document classes there. Anyway, I've just created the attached layout in my local directory and run configure, which worked fine. So you might try using it, just in case. Try deleting textclass.lst from your user directory, too. The previous failures may be causing problems. This WILL work. Richard #% Do not delete the line below; configure depends on this # #\DeclareLaTeXClass{authesis} # Read the definitions from report.layout Input report.layout
Re: install thesis class, Mac
I deleted textclass.lst from username/ (was this the correct location?) I placed the layout file you mailed me in username/Library/Application Support/LyX-1.5/layouts/ When i open LyX, select new - go to documents, settings, class I can select authesis! It looks like I am set! (right?!) You have been unbelievabley patient and helpful. Thank you very, very much. I open terminal and type: dhcp-228-146:LyX-1.5 mikemartell$ cd ~/Library/Application\ Support/LyX-1.5/dhcp-228-146:LyX-1.5 mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for latex... yes checking for a DVI postprocessing program... +checking for pplatex... no checking for a Tgif viewer and editor... +checking for tgif... no checking for a FIG viewer and editor... +checking for xfig... 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 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... no +checking for xemacs... no +checking for gvim... no +checking for kedit... no +checking for kwrite... no +checking for kate... no +checking for nedit... no +checking for gedit... no +checking for notepad... no checking for a Postscript previewer... +checking for kghostview... no +checking for evince... no +checking for gv... no +checking for ghostview... no checking for a PDF previewer... +checking for kpdf... 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 oowriter... no checking for the pdflatex program... +checking for pdflatex... yes checking for a LaTeX/Noweb - LyX converter... +checking for tex2lyx... no +checking for tex2lyx... no 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 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 htlatex... yes checking for a LaTeX - RTF converter... +checking for latex2rtf... no +checking for latex2rt... 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 converter... +checking for catdvi... no checking for a DVI to PS converter... +checking for dvips... yes checking for a DVI to PDF converter... +checking for dvipdfmx... yes checking for dvipng... +checking for dvipng... yes checking for a fax program... +checking for kdeprintfax... no +checking for ksendfax... no checking for a FIG - EPS/PPM converter... +checking for fig2dev... no checking for a TIFF - PS converter... +checking for tiff2ps... no checking for a TGIF - EPS/PPM converter... +checking for tgif... no checking for a WMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EPS - PDF converter... +checking for epstopdf... yes checking for a Grace - Image converter... +checking for gracebat... no checking for a Dot - PDF converter... +checking for dot... no checking for a LilyPond - EPS/PDF/PNG converter... +checking for lilypond... no checking for a Noteedit - LilyPond converter... +checking for noteedit... no checking for SGML-tools 1.x (LinuxDoc)... +checking for sgml2lyx... no checking for SGML-tools 2.x (DocBook) or db2x scripts... +checking for sgmltools... no +checking for db2dvi... no Checking
Re: install thesis class, Mac
I'm sorry. I may have spoke too soon. Now, when I try to make a sample document, when i try to view pdflatex, I get five latex errors. all of them say undefined control sequence. do you know why i would get this? On Wed, Oct 22, 2008 at 6:04 PM, Mike Martell [EMAIL PROTECTED] wrote: I deleted textclass.lst from username/ (was this the correct location?) I placed the layout file you mailed me in username/Library/Application Support/LyX-1.5/layouts/ When i open LyX, select new - go to documents, settings, class I can select authesis! It looks like I am set! (right?!) You have been unbelievabley patient and helpful. Thank you very, very much. I open terminal and type: dhcp-228-146:LyX-1.5 mikemartell$ cd ~/Library/Application\ Support/LyX-1.5/dhcp-228-146:LyX-1.5 mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for latex... yes checking for a DVI postprocessing program... +checking for pplatex... no checking for a Tgif viewer and editor... +checking for tgif... no checking for a FIG viewer and editor... +checking for xfig... 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 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... no +checking for xemacs... no +checking for gvim... no +checking for kedit... no +checking for kwrite... no +checking for kate... no +checking for nedit... no +checking for gedit... no +checking for notepad... no checking for a Postscript previewer... +checking for kghostview... no +checking for evince... no +checking for gv... no +checking for ghostview... no checking for a PDF previewer... +checking for kpdf... 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 oowriter... no checking for the pdflatex program... +checking for pdflatex... yes checking for a LaTeX/Noweb - LyX converter... +checking for tex2lyx... no +checking for tex2lyx... no 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 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 htlatex... yes checking for a LaTeX - RTF converter... +checking for latex2rtf... no +checking for latex2rt... 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 converter... +checking for catdvi... no checking for a DVI to PS converter... +checking for dvips... yes checking for a DVI to PDF converter... +checking for dvipdfmx... yes checking for dvipng... +checking for dvipng... yes checking for a fax program... +checking for kdeprintfax... no +checking for ksendfax... no checking for a FIG - EPS/PPM converter... +checking for fig2dev... no checking for a TIFF - PS converter... +checking for tiff2ps... no checking for a TGIF - EPS/PPM converter... +checking for tgif... no checking for a WMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EPS - PDF converter... +checking for epstopdf... yes checking for a Grace - Image converter... +checking for gracebat... no
Re: install thesis class, Mac
Mike Martell wrote: I'm sorry. I may have spoke too soon. Now, when I try to make a sample document, when i try to view pdflatex, I get five latex errors. all of them say undefined control sequence. do you know why i would get this? Apparently, the \degreeyear and so forth have to come before the title, etc. If you take the sample thesis, import it into LyX, and then cut and paste all the stuff from \degreeyear up to \copyrightpage, and put that before the title, then it will work. A better solution would be to put those into the layout. If you use the attached layout, you can import the document much better. You'll still need to delete the ERT boxes with comments that come between Professor Mih Sing Cite and Introspective Empiricism, but once you do that, it will compile. Getting a really good layout would require a bit more work, but this gets things started. rh #% Do not delete the line below; configure depends on this # #\DeclareLaTeXClass{authesis} # Read the definitions from report.layout Input report.layout Style DegreeYear CopyStyle Author LatexName degreeyear Font SizeNormal EndFont Align Left LabelType Static LabelFont Series Bold EndFont LabelString Year of Degree: Margin Dynamic End Style Degree CopyStyle DegreeYear LabelString Degree: LatexName degree End Style Chair CopyStyle DegreeYear LabelString Chair: LatexName chair End Style SecondReader CopyStyle DegreeYear LabelString Second Reader: LatexName secondreader End Style ThirdReader CopyStyle DegreeYear LabelString Third Reader: LatexName thirdreader End Style DegreeField CopyStyle DegreeYear LabelString Field of Degree: LatexName degreefield End Style Abstract MarginStatic LatexType Command LatexName abstract NextNoIndent 1 LeftMarginMMM RightMargin MMM ParIndent MM ItemSep 0 TopSep0.7 BottomSep 0.7 ParSep0 Align Block AlignPossible Block LabelType Centered_Top_Environment LabelString Abstract LabelBottomSep0.5 Font SizeSmall EndFont LabelFont Series Bold SizeLarge EndFont End Style AbstractN CopyStyle Abstract LabelString Numbered Abstract LatexName abstractn End Style Acknowledgements CopyStyle Abstract LabelString Acknowledgements LatexName acknowledgements
Re: install thesis class, Mac
rgheck wrote: Mike Martell wrote: I'm sorry. I may have spoke too soon. Now, when I try to make a sample document, when i try to view pdflatex, I get five latex errors. all of them say undefined control sequence. do you know why i would get this? Apparently, the \degreeyear and so forth have to come before the title, etc. If you take the sample thesis, import it into LyX, and then cut and paste all the stuff from \degreeyear up to \copyrightpage, and put that before the title, then it will work. A better solution would be to put those into the layout. If you use the attached layout, you can import the document much better. You'll still need to delete the ERT boxes with comments that come between Professor Mih Sing Cite and Introspective Empiricism, but once you do that, it will compile. Getting a really good layout would require a bit more work, but this gets things started. FYI, I seem to have left an End off at the very end. You should add it. And FYI to all the layout skeptics, I whipped this up in about ten minutes. Yeah, I know my way around the layouts, but it ain't that hard. rh
Re: install thesis class, Mac
Mike Martell wrote: #python/library/applications/lyx.app/content/resources/configure.py What did you get? Richard wants to know what is the output of this. Please copy/paste. /Konrad
Re: install thesis class, Mac
Mike Martell [EMAIL PROTECTED] writes: Hi: I've been having a lot of trouble installing a new class for LyX with my mac. I am hoping to use LyX to write my doctoral dissertation. I am trying to install the thesis class for my university, authesis.cls. I have followed the directions, I believe, but am not getting the class to work. I have placed these files (authesis.cls, aucas.clo, aut10.clo, auecon.clo) in this location: users/username/library/texmf/tex/latex/authesis/ i have placed a layout file (authesis.layout) at this location: username/libarary/Application Support/Lyx-1.5/layouts The layout file reads: #% Do not delete hte line below; configure depens on this # \DeclareLaTeXClass[authesis]{article (authesis)} # Input general definitions Input stdclass.inc [snip] Thanks, Mike Since it is a thesis class, are you sure that the article class should be used, and not the book class instead? Try the following layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[authesis]{book (authesis)} # Input general definitions Input book.layout Best regards, Andreas
Re: install thesis class, Mac
Andreas K. wrote: Since it is a thesis class, are you sure that the article class should be used, and not the book class instead? Try the following layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[authesis]{book (authesis)} # Input general definitions Input book.layout And better yet, open up authesis.cls in a text editor and find out there what it's based on. Somewhere, there is like to be a \LoadClass line: That's the one we want. rh
Re: install thesis class, Mac
Mike Martell wrote: Thanks again. I took your advice. I located configure.py I opened terminal, typed: # cd /tmp/ then, #python/library/applications/lyx.app/content/resources/configure.py As Konrad said, I want to know what this does. LyX should write a configure.log file for you. You can post that. Actually, I just tried this myself, and there may be a bug here. Which LyX version are you using again? rh
Re: install thesis class, Mac
On Wed, Oct 22, 2008 at 8:10 AM, rgheck [EMAIL PROTECTED] wrote: Mike Martell wrote: Thanks again. I took your advice. I located configure.py I opened terminal, typed: # cd /tmp/ then, #python/library/applications/lyx.app/content/resources/configure.py Just a few mostly Mac specific comments that might be helpful. The correct line should be: python /path/to/LyX.app/Contents/Resources/configure.py (of course replacing /path/to by the appropriate path. /library/applications is not the standard location for applications; it's typically just /Applications). Note 2 (or 3) other things: 1. There's a space after python. 2. It should be Contents (with an s), not content. 3. Depending on your file system, the capitalization of LyX Contents and Resources may matter. When in doubt, use proper capitalization. Bennett
Re: install thesis class, Mac
Thanks. Here is what terminal said after I typed in your suggested line. Is this the output you wanted me to post? I have no idea what it means. LyX still fails to reconfigure. Once again, thank you so much for your help. Also, I am using LyX 1.5.6 . I looked throught the authesis.cls file and did not find a line that said /LoadClass line. dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for latex... yes checking for a DVI postprocessing program... +checking for pplatex... no checking for a Tgif viewer and editor... +checking for tgif... no checking for a FIG viewer and editor... +checking for xfig... 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 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... no +checking for xemacs... no +checking for gvim... no +checking for kedit... no +checking for kwrite... no +checking for kate... no +checking for nedit... no +checking for gedit... no +checking for notepad... no checking for a Postscript previewer... +checking for kghostview... no +checking for evince... no +checking for gv... no +checking for ghostview... no checking for a PDF previewer... +checking for kpdf... 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 oowriter... no checking for the pdflatex program... +checking for pdflatex... yes checking for a LaTeX/Noweb - LyX converter... +checking for tex2lyx... no +checking for tex2lyx... no 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 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 htlatex... yes checking for a LaTeX - RTF converter... +checking for latex2rtf... no +checking for latex2rt... 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 converter... +checking for catdvi... no checking for a DVI to PS converter... +checking for dvips... yes checking for a DVI to PDF converter... +checking for dvipdfmx... yes checking for dvipng... +checking for dvipng... yes checking for a fax program... +checking for kdeprintfax... no +checking for ksendfax... no checking for a FIG - EPS/PPM converter... +checking for fig2dev... no checking for a TIFF - PS converter... +checking for tiff2ps... no checking for a TGIF - EPS/PPM converter... +checking for tgif... no checking for a WMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EPS - PDF converter... +checking for epstopdf... yes checking for a Grace - Image converter... +checking for gracebat... no checking for a Dot - PDF converter... +checking for dot... no checking for a LilyPond - EPS/PDF/PNG converter... +checking for lilypond... no checking for a Noteedit - LilyPond converter... +checking for noteedit... no checking for SGML-tools 1.x (LinuxDoc)... +checking for sgml2lyx... no checking for SGML-tools 2.x (DocBook) or db2x scripts... +checking for sgmltools... no +checking for db2dvi... no Checking whether TeX allows spaces in file names... yes checking for a *roff formatter... +checking for groff... yes checking for an
Re: install thesis class, Mac
Mike Martell wrote: Thanks. Here is what terminal said after I typed in your suggested line. Is this the output you wanted me to post? I have no idea what it means. LyX still fails to reconfigure. Once again, thank you so much for your help. Also, I am using LyX 1.5.6 . I looked throught the authesis.cls file and did not find a line that said /LoadClass line. Hmm. That looks like a successful reconfigure to me. Try this again now from inside your LyX user directory. To verify where that is, go to ToolsPreferences, User Interface, hit Browse and then User Files. This will dump you into a subdirectory of your user directory. Worth doing just to make sure. Anyway, once you are sure which directory that is, go there and run configure.py manually. Post the output again. rh dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for latex... yes checking for a DVI postprocessing program... +checking for pplatex... no checking for a Tgif viewer and editor... +checking for tgif... no checking for a FIG viewer and editor... +checking for xfig... 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 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... no +checking for xemacs... no +checking for gvim... no +checking for kedit... no +checking for kwrite... no +checking for kate... no +checking for nedit... no +checking for gedit... no +checking for notepad... no checking for a Postscript previewer... +checking for kghostview... no +checking for evince... no +checking for gv... no +checking for ghostview... no checking for a PDF previewer... +checking for kpdf... 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 oowriter... no checking for the pdflatex program... +checking for pdflatex... yes checking for a LaTeX/Noweb - LyX converter... +checking for tex2lyx... no +checking for tex2lyx... no 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 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 htlatex... yes checking for a LaTeX - RTF converter... +checking for latex2rtf... no +checking for latex2rt... 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 converter... +checking for catdvi... no checking for a DVI to PS converter... +checking for dvips... yes checking for a DVI to PDF converter... +checking for dvipdfmx... yes checking for dvipng... +checking for dvipng... yes checking for a fax program... +checking for kdeprintfax... no +checking for ksendfax... no checking for a FIG - EPS/PPM converter... +checking for fig2dev... no checking for a TIFF - PS converter... +checking for tiff2ps... no checking for a TGIF - EPS/PPM converter... +checking for tgif... no checking for a WMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EPS - PDF converter... +checking for epstopdf... yes checking for a Grace - Image converter... +checking for gracebat... no checking for a Dot - PDF converter... +checking for dot... no checking for a LilyPond -
Re: install thesis class, Mac
Mike Martell wrote: I looked throught the authesis.cls file and did not find a line that said /LoadClass line. I just had a look, too. Looks like it was hacked from ucthesis, which was a modification of report. So I'd try: Input report.layout and modify anything that needs modifying. rh
Re: install thesis class, Mac
I changed the layout file. to read report instead of article, ran texhash, and still got the reconfigure error. You said: Hmm. That looks like a successful reconfigure to me. Try this again now from inside your LyX user directory. To verify where that is, go to ToolsPreferences, User Interface, hit Browse and then User Files. This will dump you into a subdirectory of your user directory. Worth doing just to make sure. I verified the directory and ran the python command. Here is my terminal line I typed and its response. dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/contents/Resources/ui/configure.py /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file '/Applications/LyX.app/contents/Resources/ui/configure.py': [Errno 2] No such file or directory I really appreciate your being so helpful. Mike On Wed, Oct 22, 2008 at 10:43 AM, Richard Heck [EMAIL PROTECTED] wrote: Mike Martell wrote: I looked throught the authesis.cls file and did not find a line that said /LoadClass line. I just had a look, too. Looks like it was hacked from ucthesis, which was a modification of report. So I'd try: Input report.layout and modify anything that needs modifying. rh
Re: install thesis class, Mac
Mike Martell wrote: I changed the layout file. to read report instead of article, ran texhash, and still got the reconfigure error. You said: Hmm. That looks like a successful reconfigure to me. Try this again now from inside your LyX user directory. To verify where that is, go to ToolsPreferences, User Interface, hit Browse and then User Files. This will dump you into a subdirectory of your user directory. Worth doing just to make sure. I verified the directory and ran the python command. Here is my terminal line I typed and its response. dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/contents/Resources/ui/configure.py /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file '/Applications/LyX.app/contents/Resources/ui/configure.py': [Errno 2] No such file or directory You need to type exactly the same thing you did last time, whatever that was, but to do it from inside the LyX user directory. rh
Re: install thesis class, Mac
On Wed, Oct 22, 2008 at 11:28 AM, Richard Heck [EMAIL PROTECTED] wrote: Mike Martell wrote: I changed the layout file. to read report instead of article, ran texhash, and still got the reconfigure error. You said: Hmm. That looks like a successful reconfigure to me. Try this again now from inside your LyX user directory. To verify where that is, go to ToolsPreferences, User Interface, hit Browse and then User Files. This will dump you into a subdirectory of your user directory. Worth doing just to make sure. I verified the directory and ran the python command. Here is my terminal line I typed and its response. dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/contents/Resources/ui/configure.py /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file '/Applications/LyX.app/contents/Resources/ui/configure.py': [Errno 2] No such file or directory You need to type exactly the same thing you did last time, whatever that was, but to do it from inside the LyX user directory. That is, in Terminal, type: cd ~/Library/Application\ Support/LyX-1.5/ to get to the user directory. Then type: python /Applications/LyX.app/Contents/Resources/configure.py to reconfigure. (Note that in this line there is no /ui before configure.) Bennett
Re: install thesis class, Mac
I followed your directions. you said (thanks for being so explicit ): That is, in Terminal, type: cd ~/Library/Application\ Support/LyX-1.5/ to get to the user directory. Then type: python /Applications/LyX.app/Contents/Resources/configure.py to reconfigure. (Note that in this line there is no /ui before configure.) I still did not have luck. Is this perhaps because i have placed my files in the wrong spot? Should the authesis.layout file i made be with all the other layout files? in Applications/LyX.app/Contents/Resources/layouts/ instead of in username/Library/Application Support/Lyx-1.5/layouts ? And perhaps, these files (authesis.cls, aucas.clo, aut10.clo, auecon.clo) should not be in this location: users/username/library/texmf/tex/latex/authesis/ Once again, thank you very much. Mike On Wed, Oct 22, 2008 at 1:09 PM, Bennett Helm [EMAIL PROTECTED] wrote: On Wed, Oct 22, 2008 at 11:28 AM, Richard Heck [EMAIL PROTECTED] wrote: Mike Martell wrote: I changed the layout file. to read report instead of article, ran texhash, and still got the reconfigure error. You said: Hmm. That looks like a successful reconfigure to me. Try this again now from inside your LyX user directory. To verify where that is, go to ToolsPreferences, User Interface, hit Browse and then User Files. This will dump you into a subdirectory of your user directory. Worth doing just to make sure. I verified the directory and ran the python command. Here is my terminal line I typed and its response. dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/contents/Resources/ui/configure.py /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file '/Applications/LyX.app/contents/Resources/ui/configure.py': [Errno 2] No such file or directory You need to type exactly the same thing you did last time, whatever that was, but to do it from inside the LyX user directory. That is, in Terminal, type: cd ~/Library/Application\ Support/LyX-1.5/ to get to the user directory. Then type: python /Applications/LyX.app/Contents/Resources/configure.py to reconfigure. (Note that in this line there is no /ui before configure.) Bennett
Re: install thesis class, Mac
Mike Martell wrote: I followed your directions. you said (thanks for being so explicit ): That is, in Terminal, type: cd ~/Library/Application\ Support/LyX-1.5/ to get to the user directory. Then type: python /Applications/LyX.app/Contents/Resources/configure.py to reconfigure. (Note that in this line there is no /ui before configure.) So what was the output in this case? Did configure complete, or did it die with an error? Is this perhaps because i have placed my files in the wrong spot? Should the authesis.layout file i made be with all the other layout files? in Applications/LyX.app/Contents/Resources/layouts/ instead of in username/Library/Application Support/Lyx-1.5/layouts ? The layout files should be in ~/Library/Application\ Support/LyX-1.5/layouts/. The username bit is meant to indicate your main user directory, whatever that is. That's what ~ gets you, and also should be the content of the $HOME environment variable. So if you do: echo $HOME you'll get your home directory back. And perhaps, these files (authesis.cls, aucas.clo, aut10.clo, auecon.clo) should not be in this location: users/username/library/texmf/tex/latex/authesis/ If kpsewhich is seeing them, then they are fine. So you might want to check that again: kpsewhich authesis.cls rh
Re: install thesis class, Mac
thanks. it looks like my layout file is in the correct place. And kpsewhich authesis.cls recognizes the file. here are the results of my running configure. I don't think it is working. dhcp-226-212:~ mikemartell$ cd ~/Library/Application\ Support/LyX-1.5/ dhcp-226-212:LyX-1.5 mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for latex... yes checking for a DVI postprocessing program... +checking for pplatex... no checking for a Tgif viewer and editor... +checking for tgif... no checking for a FIG viewer and editor... +checking for xfig... 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 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... no +checking for xemacs... no +checking for gvim... no +checking for kedit... no +checking for kwrite... no +checking for kate... no +checking for nedit... no +checking for gedit... no +checking for notepad... no checking for a Postscript previewer... +checking for kghostview... no +checking for evince... no +checking for gv... no +checking for ghostview... no checking for a PDF previewer... +checking for kpdf... 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 oowriter... no checking for the pdflatex program... +checking for pdflatex... yes checking for a LaTeX/Noweb - LyX converter... +checking for tex2lyx... no +checking for tex2lyx... no 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 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 htlatex... yes checking for a LaTeX - RTF converter... +checking for latex2rtf... no +checking for latex2rt... 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 converter... +checking for catdvi... no checking for a DVI to PS converter... +checking for dvips... yes checking for a DVI to PDF converter... +checking for dvipdfmx... yes checking for dvipng... +checking for dvipng... yes checking for a fax program... +checking for kdeprintfax... no +checking for ksendfax... no checking for a FIG - EPS/PPM converter... +checking for fig2dev... no checking for a TIFF - PS converter... +checking for tiff2ps... no checking for a TGIF - EPS/PPM converter... +checking for tgif... no checking for a WMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EPS - PDF converter... +checking for epstopdf... yes checking for a Grace - Image converter... +checking for gracebat... no checking for a Dot - PDF converter... +checking for dot... no checking for a LilyPond - EPS/PDF/PNG converter... +checking for lilypond... no checking for a Noteedit - LilyPond converter... +checking for noteedit... no checking for SGML-tools 1.x (LinuxDoc)... +checking for sgml2lyx... no checking for SGML-tools 2.x (DocBook) or db2x scripts... +checking for sgmltools... no +checking for db2dvi... no Checking whether TeX allows spaces in file names... yes checking for a *roff formatter... +checking for groff... yes checking for an index processor... +checking for texindy... yes checking for ChkTeX... +checking
Re: install thesis class, Mac
Mike Martell wrote: thanks. it looks like my layout file is in the correct place. And kpsewhich authesis.cls recognizes the file. here are the results of my running configure. I don't think it is working. [snip] checking LaTeX configuration... auto Wrong input layout file with line '\\DeclareLaTeXClass[authesis]\{authesis\}\ Can you tell me what the error means? I looked at my layout file and found this one online in the archive. I made mine look just like this replacing ucthesis with authesis and it still isn't working well. Do you know if this layout file looks more correct? (located at: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg59944.html) #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[ucthesis]{UC Thesis} # Read the definitions from report.layout Input report.layout You need a # before the \Declare So try this: #% Do not delete the line below; configure depends on this # #\DeclareLaTeXClass{AU Thesis} # Read the definitions from report.layout Input report.layout Put that in authesis.layout, and it should work now. We can hope!! rh
Re: install thesis class, Mac
Thanks. I changed the layout file as you suggested: #% Do not delete the line below; configure depends on this # #\DeclareLaTeXClass{authesis} # Read the definitions from report.layout Input report.layout and here is the output from terminal. It looks like it worked (?). I open LyX and my class is not available, and if I configure I still get the error. Can you help again?, thanks. here is the terminal output: dhcp-226-212:~ mikemartell$ cd ~/Library/Application\ Support/LyX-1.5/ dhcp-226-212:LyX-1.5 mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for latex... yes checking for a DVI postprocessing program... +checking for pplatex... no checking for a Tgif viewer and editor... +checking for tgif... no checking for a FIG viewer and editor... +checking for xfig... 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 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... no +checking for xemacs... no +checking for gvim... no +checking for kedit... no +checking for kwrite... no +checking for kate... no +checking for nedit... no +checking for gedit... no +checking for notepad... no checking for a Postscript previewer... +checking for kghostview... no +checking for evince... no +checking for gv... no +checking for ghostview... no checking for a PDF previewer... +checking for kpdf... 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 oowriter... no checking for the pdflatex program... +checking for pdflatex... yes checking for a LaTeX/Noweb - LyX converter... +checking for tex2lyx... no +checking for tex2lyx... no 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 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 htlatex... yes checking for a LaTeX - RTF converter... +checking for latex2rtf... no +checking for latex2rt... 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 converter... +checking for catdvi... no checking for a DVI to PS converter... +checking for dvips... yes checking for a DVI to PDF converter... +checking for dvipdfmx... yes checking for dvipng... +checking for dvipng... yes checking for a fax program... +checking for kdeprintfax... no +checking for ksendfax... no checking for a FIG - EPS/PPM converter... +checking for fig2dev... no checking for a TIFF - PS converter... +checking for tiff2ps... no checking for a TGIF - EPS/PPM converter... +checking for tgif... no checking for a WMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EPS - PDF converter... +checking for epstopdf... yes checking for a Grace - Image converter... +checking for gracebat... no checking for a Dot - PDF converter... +checking for dot... no checking for a LilyPond - EPS/PDF/PNG converter... +checking for lilypond... no checking for a Noteedit - LilyPond converter... +checking for noteedit... no checking for SGML-tools 1.x (LinuxDoc)... +checking for sgml2lyx... no checking for SGML-tools 2.x (DocBook) or db2x scripts... +checking for sgmltools... no +checking for
Re: install thesis class, Mac
Mike Martell wrote: Thanks. I changed the layout file as you suggested: #% Do not delete the line below; configure depends on this # #\DeclareLaTeXClass{authesis} # Read the definitions from report.layout Input report.layout and here is the output from terminal. It looks like it worked (?). I open LyX and my class is not available, and if I configure I still get the error. Can you help again?, thanks. It seems to have died at authesis again: +checking for document class IEEEtran [IEEEtran]... yes +checking for document class aapaper [aa]... no +checking for document class aastex [aastex]... yes +checking for document class aa [aa]... no +checking for docbook class agu-dtd... no +checking for document class agums [aguplus,agums.sty]... no +checking for document class amsart-plain [amsart]... yes +checking for document class amsart-seq [amsart]... yes +checking for document class amsart [amsart]... yes +checking for document class amsbook [amsbook]... yes +checking for document class apa [apa,apacite.sty]... yes +checking for document class arab-article [arabart]... yes +checking for document class armenian-article [article]... yes +checking for document class article-beamer [article]... yes +checking for document class article [article]... yes +checking for package algorithm [algorithm]... yes There ought to be more document classes there. Anyway, I've just created the attached layout in my local directory and run configure, which worked fine. So you might try using it, just in case. Try deleting textclass.lst from your user directory, too. The previous failures may be causing problems. This WILL work. Richard #% Do not delete the line below; configure depends on this # #\DeclareLaTeXClass{authesis} # Read the definitions from report.layout Input report.layout
Re: install thesis class, Mac
I deleted textclass.lst from username/ (was this the correct location?) I placed the layout file you mailed me in username/Library/Application Support/LyX-1.5/layouts/ When i open LyX, select new - go to documents, settings, class I can select authesis! It looks like I am set! (right?!) You have been unbelievabley patient and helpful. Thank you very, very much. I open terminal and type: dhcp-228-146:LyX-1.5 mikemartell$ cd ~/Library/Application\ Support/LyX-1.5/dhcp-228-146:LyX-1.5 mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for latex... yes checking for a DVI postprocessing program... +checking for pplatex... no checking for a Tgif viewer and editor... +checking for tgif... no checking for a FIG viewer and editor... +checking for xfig... 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 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... no +checking for xemacs... no +checking for gvim... no +checking for kedit... no +checking for kwrite... no +checking for kate... no +checking for nedit... no +checking for gedit... no +checking for notepad... no checking for a Postscript previewer... +checking for kghostview... no +checking for evince... no +checking for gv... no +checking for ghostview... no checking for a PDF previewer... +checking for kpdf... 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 oowriter... no checking for the pdflatex program... +checking for pdflatex... yes checking for a LaTeX/Noweb - LyX converter... +checking for tex2lyx... no +checking for tex2lyx... no 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 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 htlatex... yes checking for a LaTeX - RTF converter... +checking for latex2rtf... no +checking for latex2rt... 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 converter... +checking for catdvi... no checking for a DVI to PS converter... +checking for dvips... yes checking for a DVI to PDF converter... +checking for dvipdfmx... yes checking for dvipng... +checking for dvipng... yes checking for a fax program... +checking for kdeprintfax... no +checking for ksendfax... no checking for a FIG - EPS/PPM converter... +checking for fig2dev... no checking for a TIFF - PS converter... +checking for tiff2ps... no checking for a TGIF - EPS/PPM converter... +checking for tgif... no checking for a WMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EPS - PDF converter... +checking for epstopdf... yes checking for a Grace - Image converter... +checking for gracebat... no checking for a Dot - PDF converter... +checking for dot... no checking for a LilyPond - EPS/PDF/PNG converter... +checking for lilypond... no checking for a Noteedit - LilyPond converter... +checking for noteedit... no checking for SGML-tools 1.x (LinuxDoc)... +checking for sgml2lyx... no checking for SGML-tools 2.x (DocBook) or db2x scripts... +checking for sgmltools... no +checking for db2dvi... no Checking
Re: install thesis class, Mac
I'm sorry. I may have spoke too soon. Now, when I try to make a sample document, when i try to view pdflatex, I get five latex errors. all of them say undefined control sequence. do you know why i would get this? On Wed, Oct 22, 2008 at 6:04 PM, Mike Martell [EMAIL PROTECTED] wrote: I deleted textclass.lst from username/ (was this the correct location?) I placed the layout file you mailed me in username/Library/Application Support/LyX-1.5/layouts/ When i open LyX, select new - go to documents, settings, class I can select authesis! It looks like I am set! (right?!) You have been unbelievabley patient and helpful. Thank you very, very much. I open terminal and type: dhcp-228-146:LyX-1.5 mikemartell$ cd ~/Library/Application\ Support/LyX-1.5/dhcp-228-146:LyX-1.5 mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for latex... yes checking for a DVI postprocessing program... +checking for pplatex... no checking for a Tgif viewer and editor... +checking for tgif... no checking for a FIG viewer and editor... +checking for xfig... 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 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... no +checking for xemacs... no +checking for gvim... no +checking for kedit... no +checking for kwrite... no +checking for kate... no +checking for nedit... no +checking for gedit... no +checking for notepad... no checking for a Postscript previewer... +checking for kghostview... no +checking for evince... no +checking for gv... no +checking for ghostview... no checking for a PDF previewer... +checking for kpdf... 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 oowriter... no checking for the pdflatex program... +checking for pdflatex... yes checking for a LaTeX/Noweb - LyX converter... +checking for tex2lyx... no +checking for tex2lyx... no 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 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 htlatex... yes checking for a LaTeX - RTF converter... +checking for latex2rtf... no +checking for latex2rt... 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 converter... +checking for catdvi... no checking for a DVI to PS converter... +checking for dvips... yes checking for a DVI to PDF converter... +checking for dvipdfmx... yes checking for dvipng... +checking for dvipng... yes checking for a fax program... +checking for kdeprintfax... no +checking for ksendfax... no checking for a FIG - EPS/PPM converter... +checking for fig2dev... no checking for a TIFF - PS converter... +checking for tiff2ps... no checking for a TGIF - EPS/PPM converter... +checking for tgif... no checking for a WMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EPS - PDF converter... +checking for epstopdf... yes checking for a Grace - Image converter... +checking for gracebat... no
Re: install thesis class, Mac
Mike Martell wrote: I'm sorry. I may have spoke too soon. Now, when I try to make a sample document, when i try to view pdflatex, I get five latex errors. all of them say undefined control sequence. do you know why i would get this? Apparently, the \degreeyear and so forth have to come before the title, etc. If you take the sample thesis, import it into LyX, and then cut and paste all the stuff from \degreeyear up to \copyrightpage, and put that before the title, then it will work. A better solution would be to put those into the layout. If you use the attached layout, you can import the document much better. You'll still need to delete the ERT boxes with comments that come between Professor Mih Sing Cite and Introspective Empiricism, but once you do that, it will compile. Getting a really good layout would require a bit more work, but this gets things started. rh #% Do not delete the line below; configure depends on this # #\DeclareLaTeXClass{authesis} # Read the definitions from report.layout Input report.layout Style DegreeYear CopyStyle Author LatexName degreeyear Font SizeNormal EndFont Align Left LabelType Static LabelFont Series Bold EndFont LabelString Year of Degree: Margin Dynamic End Style Degree CopyStyle DegreeYear LabelString Degree: LatexName degree End Style Chair CopyStyle DegreeYear LabelString Chair: LatexName chair End Style SecondReader CopyStyle DegreeYear LabelString Second Reader: LatexName secondreader End Style ThirdReader CopyStyle DegreeYear LabelString Third Reader: LatexName thirdreader End Style DegreeField CopyStyle DegreeYear LabelString Field of Degree: LatexName degreefield End Style Abstract MarginStatic LatexType Command LatexName abstract NextNoIndent 1 LeftMarginMMM RightMargin MMM ParIndent MM ItemSep 0 TopSep0.7 BottomSep 0.7 ParSep0 Align Block AlignPossible Block LabelType Centered_Top_Environment LabelString Abstract LabelBottomSep0.5 Font SizeSmall EndFont LabelFont Series Bold SizeLarge EndFont End Style AbstractN CopyStyle Abstract LabelString Numbered Abstract LatexName abstractn End Style Acknowledgements CopyStyle Abstract LabelString Acknowledgements LatexName acknowledgements
Re: install thesis class, Mac
rgheck wrote: Mike Martell wrote: I'm sorry. I may have spoke too soon. Now, when I try to make a sample document, when i try to view pdflatex, I get five latex errors. all of them say undefined control sequence. do you know why i would get this? Apparently, the \degreeyear and so forth have to come before the title, etc. If you take the sample thesis, import it into LyX, and then cut and paste all the stuff from \degreeyear up to \copyrightpage, and put that before the title, then it will work. A better solution would be to put those into the layout. If you use the attached layout, you can import the document much better. You'll still need to delete the ERT boxes with comments that come between Professor Mih Sing Cite and Introspective Empiricism, but once you do that, it will compile. Getting a really good layout would require a bit more work, but this gets things started. FYI, I seem to have left an End off at the very end. You should add it. And FYI to all the layout skeptics, I whipped this up in about ten minutes. Yeah, I know my way around the layouts, but it ain't that hard. rh
Re: install thesis class, Mac
Mike Martell wrote: #python/library/applications/lyx.app/content/resources/configure.py What did you get? Richard wants to know what is the output of this. Please copy/paste. /Konrad
Re: install thesis class, Mac
Mike Martell <[EMAIL PROTECTED]> writes: > > Hi: > I've been having a lot of trouble installing a new class for LyX with > my mac. I am hoping to use LyX to write my doctoral dissertation. I > am trying to install the thesis class for my university, authesis.cls. > > I have followed the directions, I believe, but am not getting the class to work. > > I have placed these files (authesis.cls, aucas.clo, aut10.clo, > auecon.clo) in this location: > > users/username/library/texmf/tex/latex/authesis/ > > > i have placed a layout file (authesis.layout) at this location: > > username/libarary/Application Support/Lyx-1.5/layouts > > The layout file reads: > #% Do not delete hte line below; configure depens on this > # \DeclareLaTeXClass[authesis]{article (authesis)} > > # Input general definitions > Input stdclass.inc [snip] > Thanks, > Mike Since it is a thesis class, are you sure that the article class should be used, and not the book class instead? Try the following layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[authesis]{book (authesis)} # Input general definitions Input book.layout Best regards, Andreas
Re: install thesis class, Mac
Andreas K. wrote: Since it is a thesis class, are you sure that the article class should be used, and not the book class instead? Try the following layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[authesis]{book (authesis)} # Input general definitions Input book.layout And better yet, open up authesis.cls in a text editor and find out there what it's based on. Somewhere, there is like to be a \LoadClass line: That's the one we want. rh
Re: install thesis class, Mac
Mike Martell wrote: Thanks again. I took your advice. I located configure.py I opened terminal, typed: # cd /tmp/ then, #python/library/applications/lyx.app/content/resources/configure.py As Konrad said, I want to know what this does. LyX should write a configure.log file for you. You can post that. Actually, I just tried this myself, and there may be a bug here. Which LyX version are you using again? rh
Re: install thesis class, Mac
On Wed, Oct 22, 2008 at 8:10 AM, rgheck <[EMAIL PROTECTED]> wrote: > Mike Martell wrote: > >> Thanks again. I took your advice. I located configure.py I opened >> terminal, typed: >> # cd /tmp/ >> >> then, >> >> #python/library/applications/lyx.app/content/resources/configure.py > > Just a few mostly Mac specific comments that might be helpful. The correct line should be: python /path/to/LyX.app/Contents/Resources/configure.py (of course replacing "/path/to" by the appropriate path. "/library/applications" is not the standard location for applications; it's typically just "/Applications"). Note 2 (or 3) other things: 1. There's a space after "python". 2. It should be "Contents" (with an "s"), not "content". 3. Depending on your file system, the capitalization of "LyX" "Contents" and "Resources" may matter. When in doubt, use proper capitalization. Bennett
Re: install thesis class, Mac
Thanks. Here is what terminal said after I typed in your suggested line. Is this the output you wanted me to post? I have no idea what it means. LyX still fails to reconfigure. Once again, thank you so much for your help. Also, I am using LyX 1.5.6 . I looked throught the authesis.cls file and did not find a line that said /LoadClass line. dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for "latex"... yes checking for a DVI postprocessing program... +checking for "pplatex"... no checking for a Tgif viewer and editor... +checking for "tgif"... no checking for a FIG viewer and editor... +checking for "xfig"... 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 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"... no +checking for "xemacs"... no +checking for "gvim"... no +checking for "kedit"... no +checking for "kwrite"... no +checking for "kate"... no +checking for "nedit"... no +checking for "gedit"... no +checking for "notepad"... no checking for a Postscript previewer... +checking for "kghostview"... no +checking for "evince"... no +checking for "gv"... no +checking for "ghostview"... no checking for a PDF previewer... +checking for "kpdf"... 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 "oowriter"... no checking for the pdflatex program... +checking for "pdflatex"... yes checking for a LaTeX/Noweb -> LyX converter... +checking for "tex2lyx"... no +checking for "tex2lyx"... no 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 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 "htlatex"... yes checking for a LaTeX -> RTF converter... +checking for "latex2rtf"... no +checking for "latex2rt"... 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 converter... +checking for "catdvi"... no checking for a DVI to PS converter... +checking for "dvips"... yes checking for a DVI to PDF converter... +checking for "dvipdfmx"... yes checking for dvipng... +checking for "dvipng"... yes checking for a fax program... +checking for "kdeprintfax"... no +checking for "ksendfax"... no checking for a FIG -> EPS/PPM converter... +checking for "fig2dev"... no checking for a TIFF -> PS converter... +checking for "tiff2ps"... no checking for a TGIF -> EPS/PPM converter... +checking for "tgif"... no checking for a WMF -> EPS converter... +checking for "metafile2eps"... no +checking for "wmf2eps"... no checking for an EMF -> EPS converter... +checking for "metafile2eps"... no +checking for "wmf2eps"... no checking for an EPS -> PDF converter... +checking for "epstopdf"... yes checking for a Grace -> Image converter... +checking for "gracebat"... no checking for a Dot -> PDF converter... +checking for "dot"... no checking for a LilyPond -> EPS/PDF/PNG converter... +checking for "lilypond"... no checking for a Noteedit -> LilyPond converter... +checking for "noteedit"... no checking for SGML-tools 1.x (LinuxDoc)... +checking for "sgml2lyx"... no checking for SGML-tools 2.x (DocBook) or db2x scripts... +checking for
Re: install thesis class, Mac
Mike Martell wrote: Thanks. Here is what terminal said after I typed in your suggested line. Is this the output you wanted me to post? I have no idea what it means. LyX still fails to reconfigure. Once again, thank you so much for your help. Also, I am using LyX 1.5.6 . I looked throught the authesis.cls file and did not find a line that said /LoadClass line. Hmm. That looks like a successful reconfigure to me. Try this again now from inside your LyX user directory. To verify where that is, go to Tools>Preferences, User Interface, hit "Browse" and then "User Files". This will dump you into a subdirectory of your user directory. Worth doing just to make sure. Anyway, once you are sure which directory that is, go there and run configure.py manually. Post the output again. rh dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for "latex"... yes checking for a DVI postprocessing program... +checking for "pplatex"... no checking for a Tgif viewer and editor... +checking for "tgif"... no checking for a FIG viewer and editor... +checking for "xfig"... 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 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"... no +checking for "xemacs"... no +checking for "gvim"... no +checking for "kedit"... no +checking for "kwrite"... no +checking for "kate"... no +checking for "nedit"... no +checking for "gedit"... no +checking for "notepad"... no checking for a Postscript previewer... +checking for "kghostview"... no +checking for "evince"... no +checking for "gv"... no +checking for "ghostview"... no checking for a PDF previewer... +checking for "kpdf"... 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 "oowriter"... no checking for the pdflatex program... +checking for "pdflatex"... yes checking for a LaTeX/Noweb -> LyX converter... +checking for "tex2lyx"... no +checking for "tex2lyx"... no 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 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 "htlatex"... yes checking for a LaTeX -> RTF converter... +checking for "latex2rtf"... no +checking for "latex2rt"... 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 converter... +checking for "catdvi"... no checking for a DVI to PS converter... +checking for "dvips"... yes checking for a DVI to PDF converter... +checking for "dvipdfmx"... yes checking for dvipng... +checking for "dvipng"... yes checking for a fax program... +checking for "kdeprintfax"... no +checking for "ksendfax"... no checking for a FIG -> EPS/PPM converter... +checking for "fig2dev"... no checking for a TIFF -> PS converter... +checking for "tiff2ps"... no checking for a TGIF -> EPS/PPM converter... +checking for "tgif"... no checking for a WMF -> EPS converter... +checking for "metafile2eps"... no +checking for "wmf2eps"... no checking for an EMF -> EPS converter... +checking for "metafile2eps"... no +checking for "wmf2eps"... no checking for an EPS -> PDF converter... +checking for "epstopdf"... yes
Re: install thesis class, Mac
Mike Martell wrote: I looked throught the authesis.cls file and did not find a line that said /LoadClass line. I just had a look, too. Looks like it was hacked from ucthesis, which was a modification of report. So I'd try: Input report.layout and modify anything that needs modifying. rh
Re: install thesis class, Mac
I changed the layout file. to read report instead of article, ran texhash, and still got the reconfigure error. You said: > Hmm. That looks like a successful reconfigure to me. Try this again now from > inside your LyX user directory. To verify where that is, go to > Tools>Preferences, User Interface, hit "Browse" and then "User Files". This > will dump you into a subdirectory of your user directory. Worth doing just > to make sure. I verified the directory and ran the python command. Here is my terminal line I typed and its response. dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/contents/Resources/ui/configure.py /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file '/Applications/LyX.app/contents/Resources/ui/configure.py': [Errno 2] No such file or directory I really appreciate your being so helpful. Mike On Wed, Oct 22, 2008 at 10:43 AM, Richard Heck <[EMAIL PROTECTED]> wrote: > Mike Martell wrote: >> >> I looked throught the authesis.cls file and did not find a line that said >> /LoadClass >> line. >> >> > > I just had a look, too. Looks like it was hacked from ucthesis, which was a > modification of report. So I'd try: > Input report.layout > and modify anything that needs modifying. > > rh > >
Re: install thesis class, Mac
Mike Martell wrote: I changed the layout file. to read report instead of article, ran texhash, and still got the reconfigure error. You said: Hmm. That looks like a successful reconfigure to me. Try this again now from inside your LyX user directory. To verify where that is, go to Tools>Preferences, User Interface, hit "Browse" and then "User Files". This will dump you into a subdirectory of your user directory. Worth doing just to make sure. I verified the directory and ran the python command. Here is my terminal line I typed and its response. dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/contents/Resources/ui/configure.py /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file '/Applications/LyX.app/contents/Resources/ui/configure.py': [Errno 2] No such file or directory You need to type exactly the same thing you did last time, whatever that was, but to do it from inside the LyX user directory. rh
Re: install thesis class, Mac
On Wed, Oct 22, 2008 at 11:28 AM, Richard Heck <[EMAIL PROTECTED]> wrote: > Mike Martell wrote: > >> I changed the layout file. to read report instead of article, ran >> texhash, and still got the reconfigure error. >> >> You said: >> >> >>> Hmm. That looks like a successful reconfigure to me. Try this again now >>> from >>> inside your LyX user directory. To verify where that is, go to >>> Tools>Preferences, User Interface, hit "Browse" and then "User Files". >>> This >>> will dump you into a subdirectory of your user directory. Worth doing >>> just >>> to make sure. >>> >>> >> >> I verified the directory and ran the python command. Here is my >> terminal line I typed and its response. >> >> dhcp-226-212:~ mikemartell$ python >> /Applications/LyX.app/contents/Resources/ui/configure.py >> >> /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: >> can't open file >> '/Applications/LyX.app/contents/Resources/ui/configure.py': [Errno 2] >> No such file or directory >> >> >> > You need to type exactly the same thing you did last time, whatever that > was, but to do it from inside the LyX user directory. That is, in Terminal, type: cd ~/Library/Application\ Support/LyX-1.5/ to get to the user directory. Then type: python /Applications/LyX.app/Contents/Resources/configure.py to reconfigure. (Note that in this line there is no "/ui" before "configure".) Bennett
Re: install thesis class, Mac
I followed your directions. you said (thanks for being so explicit ): That is, in Terminal, type: cd ~/Library/Application\ Support/LyX-1.5/ to get to the user directory. Then type: python /Applications/LyX.app/Contents/Resources/configure.py to reconfigure. (Note that in this line there is no "/ui" before "configure".) I still did not have luck. Is this perhaps because i have placed my files in the wrong spot? Should the authesis.layout file i made be with all the other layout files? in Applications/LyX.app/Contents/Resources/layouts/ instead of in username/Library/Application Support/Lyx-1.5/layouts ? And perhaps, these files (authesis.cls, aucas.clo, aut10.clo, auecon.clo) should not be in this location: users/username/library/texmf/tex/latex/authesis/ Once again, thank you very much. Mike On Wed, Oct 22, 2008 at 1:09 PM, Bennett Helm <[EMAIL PROTECTED]> wrote: > On Wed, Oct 22, 2008 at 11:28 AM, Richard Heck <[EMAIL PROTECTED]> wrote: >> >> Mike Martell wrote: >>> >>> I changed the layout file. to read report instead of article, ran >>> texhash, and still got the reconfigure error. >>> >>> You said: >>> Hmm. That looks like a successful reconfigure to me. Try this again now from inside your LyX user directory. To verify where that is, go to Tools>Preferences, User Interface, hit "Browse" and then "User Files". This will dump you into a subdirectory of your user directory. Worth doing just to make sure. >>> >>> I verified the directory and ran the python command. Here is my >>> terminal line I typed and its response. >>> >>> dhcp-226-212:~ mikemartell$ python >>> /Applications/LyX.app/contents/Resources/ui/configure.py >>> >>> /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: >>> can't open file >>> '/Applications/LyX.app/contents/Resources/ui/configure.py': [Errno 2] >>> No such file or directory >>> >>> >> >> You need to type exactly the same thing you did last time, whatever that >> was, but to do it from inside the LyX user directory. > > That is, in Terminal, type: > cd ~/Library/Application\ Support/LyX-1.5/ > to get to the user directory. Then type: > python /Applications/LyX.app/Contents/Resources/configure.py > to reconfigure. (Note that in this line there is no "/ui" before > "configure".) > Bennett
Re: install thesis class, Mac
Mike Martell wrote: I followed your directions. you said (thanks for being so explicit ): That is, in Terminal, type: cd ~/Library/Application\ Support/LyX-1.5/ to get to the user directory. Then type: python /Applications/LyX.app/Contents/Resources/configure.py to reconfigure. (Note that in this line there is no "/ui" before "configure".) So what was the output in this case? Did configure complete, or did it die with an error? Is this perhaps because i have placed my files in the wrong spot? Should the authesis.layout file i made be with all the other layout files? in Applications/LyX.app/Contents/Resources/layouts/ instead of in username/Library/Application Support/Lyx-1.5/layouts ? The layout files should be in ~/Library/Application\ Support/LyX-1.5/layouts/. The "username" bit is meant to indicate your main user directory, whatever that is. That's what ~ gets you, and also should be the content of the $HOME environment variable. So if you do: > echo $HOME you'll get your home directory back. And perhaps, these files (authesis.cls, aucas.clo, aut10.clo, auecon.clo) should not be in this location: users/username/library/texmf/tex/latex/authesis/ If kpsewhich is seeing them, then they are fine. So you might want to check that again: > kpsewhich authesis.cls rh
Re: install thesis class, Mac
thanks. it looks like my layout file is in the correct place. And kpsewhich authesis.cls recognizes the file. here are the results of my running configure. I don't think it is working. dhcp-226-212:~ mikemartell$ cd ~/Library/Application\ Support/LyX-1.5/ dhcp-226-212:LyX-1.5 mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for "latex"... yes checking for a DVI postprocessing program... +checking for "pplatex"... no checking for a Tgif viewer and editor... +checking for "tgif"... no checking for a FIG viewer and editor... +checking for "xfig"... 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 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"... no +checking for "xemacs"... no +checking for "gvim"... no +checking for "kedit"... no +checking for "kwrite"... no +checking for "kate"... no +checking for "nedit"... no +checking for "gedit"... no +checking for "notepad"... no checking for a Postscript previewer... +checking for "kghostview"... no +checking for "evince"... no +checking for "gv"... no +checking for "ghostview"... no checking for a PDF previewer... +checking for "kpdf"... 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 "oowriter"... no checking for the pdflatex program... +checking for "pdflatex"... yes checking for a LaTeX/Noweb -> LyX converter... +checking for "tex2lyx"... no +checking for "tex2lyx"... no 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 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 "htlatex"... yes checking for a LaTeX -> RTF converter... +checking for "latex2rtf"... no +checking for "latex2rt"... 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 converter... +checking for "catdvi"... no checking for a DVI to PS converter... +checking for "dvips"... yes checking for a DVI to PDF converter... +checking for "dvipdfmx"... yes checking for dvipng... +checking for "dvipng"... yes checking for a fax program... +checking for "kdeprintfax"... no +checking for "ksendfax"... no checking for a FIG -> EPS/PPM converter... +checking for "fig2dev"... no checking for a TIFF -> PS converter... +checking for "tiff2ps"... no checking for a TGIF -> EPS/PPM converter... +checking for "tgif"... no checking for a WMF -> EPS converter... +checking for "metafile2eps"... no +checking for "wmf2eps"... no checking for an EMF -> EPS converter... +checking for "metafile2eps"... no +checking for "wmf2eps"... no checking for an EPS -> PDF converter... +checking for "epstopdf"... yes checking for a Grace -> Image converter... +checking for "gracebat"... no checking for a Dot -> PDF converter... +checking for "dot"... no checking for a LilyPond -> EPS/PDF/PNG converter... +checking for "lilypond"... no checking for a Noteedit -> LilyPond converter... +checking for "noteedit"... no checking for SGML-tools 1.x (LinuxDoc)... +checking for "sgml2lyx"... no checking for SGML-tools 2.x (DocBook) or db2x scripts... +checking for "sgmltools"... no +checking for "db2dvi"... no Checking whether TeX allows spaces
Re: install thesis class, Mac
Mike Martell wrote: thanks. it looks like my layout file is in the correct place. And kpsewhich authesis.cls recognizes the file. here are the results of my running configure. I don't think it is working. [snip] checking LaTeX configuration... auto Wrong input layout file with line '\\DeclareLaTeXClass[authesis]\{authesis\}\ Can you tell me what the error means? I looked at my layout file and found this one online in the archive. I made mine look just like this replacing ucthesis with authesis and it still isn't working well. Do you know if this layout file looks more correct? (located at: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg59944.html) #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[ucthesis]{UC Thesis} # Read the definitions from report.layout Input report.layout You need a "#" before the \Declare So try this: #% Do not delete the line below; configure depends on this # #\DeclareLaTeXClass{AU Thesis} # Read the definitions from report.layout Input report.layout Put that in authesis.layout, and it should work now. We can hope!! rh
Re: install thesis class, Mac
Thanks. I changed the layout file as you suggested: #% Do not delete the line below; configure depends on this # #\DeclareLaTeXClass{authesis} # Read the definitions from report.layout Input report.layout and here is the output from terminal. It looks like it worked (?). I open LyX and my class is not available, and if I configure I still get the error. Can you help again?, thanks. here is the terminal output: dhcp-226-212:~ mikemartell$ cd ~/Library/Application\ Support/LyX-1.5/ dhcp-226-212:LyX-1.5 mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for "latex"... yes checking for a DVI postprocessing program... +checking for "pplatex"... no checking for a Tgif viewer and editor... +checking for "tgif"... no checking for a FIG viewer and editor... +checking for "xfig"... 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 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"... no +checking for "xemacs"... no +checking for "gvim"... no +checking for "kedit"... no +checking for "kwrite"... no +checking for "kate"... no +checking for "nedit"... no +checking for "gedit"... no +checking for "notepad"... no checking for a Postscript previewer... +checking for "kghostview"... no +checking for "evince"... no +checking for "gv"... no +checking for "ghostview"... no checking for a PDF previewer... +checking for "kpdf"... 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 "oowriter"... no checking for the pdflatex program... +checking for "pdflatex"... yes checking for a LaTeX/Noweb -> LyX converter... +checking for "tex2lyx"... no +checking for "tex2lyx"... no 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 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 "htlatex"... yes checking for a LaTeX -> RTF converter... +checking for "latex2rtf"... no +checking for "latex2rt"... 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 converter... +checking for "catdvi"... no checking for a DVI to PS converter... +checking for "dvips"... yes checking for a DVI to PDF converter... +checking for "dvipdfmx"... yes checking for dvipng... +checking for "dvipng"... yes checking for a fax program... +checking for "kdeprintfax"... no +checking for "ksendfax"... no checking for a FIG -> EPS/PPM converter... +checking for "fig2dev"... no checking for a TIFF -> PS converter... +checking for "tiff2ps"... no checking for a TGIF -> EPS/PPM converter... +checking for "tgif"... no checking for a WMF -> EPS converter... +checking for "metafile2eps"... no +checking for "wmf2eps"... no checking for an EMF -> EPS converter... +checking for "metafile2eps"... no +checking for "wmf2eps"... no checking for an EPS -> PDF converter... +checking for "epstopdf"... yes checking for a Grace -> Image converter... +checking for "gracebat"... no checking for a Dot -> PDF converter... +checking for "dot"... no checking for a LilyPond -> EPS/PDF/PNG converter... +checking for "lilypond"... no checking for a Noteedit -> LilyPond converter... +checking for "noteedit"...
Re: install thesis class, Mac
Mike Martell wrote: Thanks. I changed the layout file as you suggested: #% Do not delete the line below; configure depends on this # #\DeclareLaTeXClass{authesis} # Read the definitions from report.layout Input report.layout and here is the output from terminal. It looks like it worked (?). I open LyX and my class is not available, and if I configure I still get the error. Can you help again?, thanks. It seems to have died at authesis again: +checking for document class IEEEtran [IEEEtran]... yes +checking for document class aapaper [aa]... no +checking for document class aastex [aastex]... yes +checking for document class aa [aa]... no +checking for docbook class agu-dtd... no +checking for document class agums [aguplus,agums.sty]... no +checking for document class amsart-plain [amsart]... yes +checking for document class amsart-seq [amsart]... yes +checking for document class amsart [amsart]... yes +checking for document class amsbook [amsbook]... yes +checking for document class apa [apa,apacite.sty]... yes +checking for document class arab-article [arabart]... yes +checking for document class armenian-article [article]... yes +checking for document class article-beamer [article]... yes +checking for document class article [article]... yes +checking for package algorithm [algorithm]... yes There ought to be more document classes there. Anyway, I've just created the attached layout in my local directory and run configure, which worked fine. So you might try using it, just in case. Try deleting textclass.lst from your user directory, too. The previous failures may be causing problems. This WILL work. Richard #% Do not delete the line below; configure depends on this # #\DeclareLaTeXClass{authesis} # Read the definitions from report.layout Input report.layout
Re: install thesis class, Mac
I deleted textclass.lst from username/ (was this the correct location?) I placed the layout file you mailed me in username/Library/Application Support/LyX-1.5/layouts/ When i open LyX, select new -> go to documents, settings, class I can select authesis! It looks like I am set! (right?!) You have been unbelievabley patient and helpful. Thank you very, very much. I open terminal and type: dhcp-228-146:LyX-1.5 mikemartell$ cd ~/Library/Application\ Support/LyX-1.5/dhcp-228-146:LyX-1.5 mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for "latex"... yes checking for a DVI postprocessing program... +checking for "pplatex"... no checking for a Tgif viewer and editor... +checking for "tgif"... no checking for a FIG viewer and editor... +checking for "xfig"... 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 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"... no +checking for "xemacs"... no +checking for "gvim"... no +checking for "kedit"... no +checking for "kwrite"... no +checking for "kate"... no +checking for "nedit"... no +checking for "gedit"... no +checking for "notepad"... no checking for a Postscript previewer... +checking for "kghostview"... no +checking for "evince"... no +checking for "gv"... no +checking for "ghostview"... no checking for a PDF previewer... +checking for "kpdf"... 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 "oowriter"... no checking for the pdflatex program... +checking for "pdflatex"... yes checking for a LaTeX/Noweb -> LyX converter... +checking for "tex2lyx"... no +checking for "tex2lyx"... no 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 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 "htlatex"... yes checking for a LaTeX -> RTF converter... +checking for "latex2rtf"... no +checking for "latex2rt"... 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 converter... +checking for "catdvi"... no checking for a DVI to PS converter... +checking for "dvips"... yes checking for a DVI to PDF converter... +checking for "dvipdfmx"... yes checking for dvipng... +checking for "dvipng"... yes checking for a fax program... +checking for "kdeprintfax"... no +checking for "ksendfax"... no checking for a FIG -> EPS/PPM converter... +checking for "fig2dev"... no checking for a TIFF -> PS converter... +checking for "tiff2ps"... no checking for a TGIF -> EPS/PPM converter... +checking for "tgif"... no checking for a WMF -> EPS converter... +checking for "metafile2eps"... no +checking for "wmf2eps"... no checking for an EMF -> EPS converter... +checking for "metafile2eps"... no +checking for "wmf2eps"... no checking for an EPS -> PDF converter... +checking for "epstopdf"... yes checking for a Grace -> Image converter... +checking for "gracebat"... no checking for a Dot -> PDF converter... +checking for "dot"... no checking for a LilyPond -> EPS/PDF/PNG converter... +checking for "lilypond"... no checking for a Noteedit -> LilyPond converter... +checking for "noteedit"... no checking for
Re: install thesis class, Mac
I'm sorry. I may have spoke too soon. Now, when I try to make a sample document, when i try to view pdflatex, I get five latex errors. all of them say "undefined control sequence." do you know why i would get this? On Wed, Oct 22, 2008 at 6:04 PM, Mike Martell <[EMAIL PROTECTED]> wrote: > I deleted textclass.lst from username/ > (was this the correct location?) > > I placed the layout file you mailed me in username/Library/Application > Support/LyX-1.5/layouts/ > > When i open LyX, select new -> go to documents, settings, class I can > select authesis! > It looks like I am set! (right?!) > > You have been unbelievabley patient and helpful. Thank you very, very much. > > I open terminal and type: > > dhcp-228-146:LyX-1.5 mikemartell$ cd ~/Library/Application\ > Support/LyX-1.5/dhcp-228-146:LyX-1.5 mikemartell$ python > /Applications/LyX.app/Contents/Resources/configure.py > checking for a Latex2e program... > +checking for "latex"... yes > checking for a DVI postprocessing program... > +checking for "pplatex"... no > checking for a Tgif viewer and editor... > +checking for "tgif"... no > checking for a FIG viewer and editor... > +checking for "xfig"... 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 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"... no > +checking for "xemacs"... no > +checking for "gvim"... no > +checking for "kedit"... no > +checking for "kwrite"... no > +checking for "kate"... no > +checking for "nedit"... no > +checking for "gedit"... no > +checking for "notepad"... no > checking for a Postscript previewer... > +checking for "kghostview"... no > +checking for "evince"... no > +checking for "gv"... no > +checking for "ghostview"... no > checking for a PDF previewer... > +checking for "kpdf"... 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 "oowriter"... no > checking for the pdflatex program... > +checking for "pdflatex"... yes > checking for a LaTeX/Noweb -> LyX converter... > +checking for "tex2lyx"... no > +checking for "tex2lyx"... no > 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 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 "htlatex"... yes > checking for a LaTeX -> RTF converter... > +checking for "latex2rtf"... no > +checking for "latex2rt"... 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 converter... > +checking for "catdvi"... no > checking for a DVI to PS converter... > +checking for "dvips"... yes > checking for a DVI to PDF converter... > +checking for "dvipdfmx"... yes > checking for dvipng... > +checking for "dvipng"... yes > checking for a fax program... > +checking for "kdeprintfax"... no > +checking for "ksendfax"... no > checking for a FIG -> EPS/PPM converter... > +checking for "fig2dev"... no > checking for a TIFF -> PS converter... > +checking for "tiff2ps"... no > checking for a TGIF -> EPS/PPM converter... > +checking for "tgif"... no > checking for a WMF -> EPS converter... > +checking for "metafile2eps"...
Re: install thesis class, Mac
Mike Martell wrote: I'm sorry. I may have spoke too soon. Now, when I try to make a sample document, when i try to view pdflatex, I get five latex errors. all of them say "undefined control sequence." do you know why i would get this? Apparently, the \degreeyear and so forth have to come before the title, etc. If you take the sample thesis, import it into LyX, and then cut and paste all the stuff from \degreeyear up to \copyrightpage, and put that before the title, then it will work. A better solution would be to put those into the layout. If you use the attached layout, you can import the document much better. You'll still need to delete the "ERT" boxes with comments that come between "Professor Mih Sing Cite" and "Introspective Empiricism", but once you do that, it will compile. Getting a really good layout would require a bit more work, but this gets things started. rh #% Do not delete the line below; configure depends on this # #\DeclareLaTeXClass{authesis} # Read the definitions from report.layout Input report.layout Style DegreeYear CopyStyle Author LatexName degreeyear Font SizeNormal EndFont Align Left LabelType Static LabelFont Series Bold EndFont LabelString "Year of Degree: " Margin Dynamic End Style Degree CopyStyle DegreeYear LabelString "Degree: " LatexName degree End Style Chair CopyStyle DegreeYear LabelString "Chair: " LatexName chair End Style SecondReader CopyStyle DegreeYear LabelString "Second Reader: " LatexName secondreader End Style ThirdReader CopyStyle DegreeYear LabelString "Third Reader: " LatexName thirdreader End Style DegreeField CopyStyle DegreeYear LabelString "Field of Degree: " LatexName degreefield End Style Abstract MarginStatic LatexType Command LatexName abstract NextNoIndent 1 LeftMarginMMM RightMargin MMM ParIndent MM ItemSep 0 TopSep0.7 BottomSep 0.7 ParSep0 Align Block AlignPossible Block LabelType Centered_Top_Environment LabelString "Abstract" LabelBottomSep0.5 Font SizeSmall EndFont LabelFont Series Bold SizeLarge EndFont End Style AbstractN CopyStyle Abstract LabelString "Numbered Abstract" LatexName abstractn End Style Acknowledgements CopyStyle Abstract LabelString "Acknowledgements" LatexName acknowledgements
Re: install thesis class, Mac
rgheck wrote: Mike Martell wrote: I'm sorry. I may have spoke too soon. Now, when I try to make a sample document, when i try to view pdflatex, I get five latex errors. all of them say "undefined control sequence." do you know why i would get this? Apparently, the \degreeyear and so forth have to come before the title, etc. If you take the sample thesis, import it into LyX, and then cut and paste all the stuff from \degreeyear up to \copyrightpage, and put that before the title, then it will work. A better solution would be to put those into the layout. If you use the attached layout, you can import the document much better. You'll still need to delete the "ERT" boxes with comments that come between "Professor Mih Sing Cite" and "Introspective Empiricism", but once you do that, it will compile. Getting a really good layout would require a bit more work, but this gets things started. FYI, I seem to have left an "End" off at the very end. You should add it. And FYI to all the layout skeptics, I whipped this up in about ten minutes. Yeah, I know my way around the layouts, but it ain't that hard. rh
install thesis class, Mac
Hi: I've been having a lot of trouble installing a new class for LyX with my mac. I am hoping to use LyX to write my doctoral dissertation. I am trying to install the thesis class for my university, authesis.cls. I have followed the directions, I believe, but am not getting the class to work. I have placed these files (authesis.cls, aucas.clo, aut10.clo, auecon.clo) in this location: users/username/library/texmf/tex/latex/authesis/ i have placed a layout file (authesis.layout) at this location: username/libarary/Application Support/Lyx-1.5/layouts The layout file reads: #% Do not delete hte line below; configure depens on this # \DeclareLaTeXClass[authesis]{article (authesis)} # Input general definitions Input stdclass.inc After doing this, I open terminal typed texhash and then quit terminal I went to LyX, reconfigure and i get an error message that says, The system reconfiguration has failed. Default textclass is used but LyX may not be able to work properly. Please reconfigure again if needed. I close LyX, start it again, and then if I go to Document, Settings, I do not see the authesis in the document class menu(and the number of classes I have listed is now much smaller than before i tried to install this class). Can someone help? I would very greatly appreciate it! I am very new to both LyX and my Mac. Thanks, Mike
Re: install thesis class, Mac
Mike Martell wrote: Hi: I've been having a lot of trouble installing a new class for LyX with my mac. I am hoping to use LyX to write my doctoral dissertation. I am trying to install the thesis class for my university, authesis.cls. I have followed the directions, I believe, but am not getting the class to work. I have placed these files (authesis.cls, aucas.clo, aut10.clo, auecon.clo) in this location: users/username/library/texmf/tex/latex/authesis/ OK, this is a very silly question, but did you replace username with your username? rh i have placed a layout file (authesis.layout) at this location: username/libarary/Application Support/Lyx-1.5/layouts The layout file reads: #% Do not delete hte line below; configure depens on this Typos. I don't think they matter, though. # \DeclareLaTeXClass[authesis]{article (authesis)} You might need a format tag here, viz: Format 4 # Input general definitions Input stdclass.inc I'd try Input article.layout instead, and get the whole thing. After doing this, I open terminal typed texhash Try kpsewhich authesis.cls. If you don't get a sensible response, then TeX hasn't found it. and then quit terminal I went to LyX, reconfigure and i get an error message that says, The system reconfiguration has failed. Default textclass is used but LyX may not be able to work properly. Please reconfigure again if needed. I close LyX, start it again, and then if I go to Document, Settings, I do not see the authesis in the document class menu(and the number of classes I have listed is now much smaller than before i tried to install this class). That's because of the reconfigure failure. What I'd suggest is to try to run the reconfigure directly from /users/username/libarary/Application Support/Lyx-1.5/. I.e., open a terminal, go to that directory, and then run python /path/to/configure.py. If you can't figure out where that file is, someone else will know. Anyway, you'll get more helpful error messages then. rh
Re: install thesis class, Mac
Thanks for your response. I updated my layout file to read: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[authesis]{article (authesis)} Format 4 # Input general definitions Input article.layout and I tried kpsewhich authesis.cls in the terminal. the response was the location of the file. I noticed that when I tried texhash, terminal told me that it was not writeable, so I tried sudo texhash and it gave me the same response as kpsewhich. I still get the same error message in LyX. I don't under stand your last recommendation: What I'd suggest is to try to run the reconfigure directly from /users/username/libarary/Application Support/Lyx-1.5/. I.e., open a terminal, go to that directory, and then run python /path/to/configure.py. If you can't figure out where that file is, someone else will know. Anyway, you'll get more helpful error messages then. do i open terminal, type in the location of the class file? i.e. /users/username/library/texmf/tex/latex/authesis/ or the location of the layouts: username/libarary/Application Support/Lyx-1.5/layouts . and then I type python/path/to/configure.py in terminal? when I tried this, it said -bash ... doesn't exist thanks so much for your insight. mike On Tue, Oct 21, 2008 at 7:45 PM, rgheck [EMAIL PROTECTED] wrote: Mike Martell wrote: Hi: I've been having a lot of trouble installing a new class for LyX with my mac. I am hoping to use LyX to write my doctoral dissertation. I am trying to install the thesis class for my university, authesis.cls. I have followed the directions, I believe, but am not getting the class to work. I have placed these files (authesis.cls, aucas.clo, aut10.clo, auecon.clo) in this location: users/username/library/texmf/tex/latex/authesis/ OK, this is a very silly question, but did you replace username with your username? rh i have placed a layout file (authesis.layout) at this location: username/libarary/Application Support/Lyx-1.5/layouts The layout file reads: #% Do not delete hte line below; configure depens on this Typos. I don't think they matter, though. # \DeclareLaTeXClass[authesis]{article (authesis)} You might need a format tag here, viz: Format 4 # Input general definitions Input stdclass.inc I'd try Input article.layout instead, and get the whole thing. After doing this, I open terminal typed texhash Try kpsewhich authesis.cls. If you don't get a sensible response, then TeX hasn't found it. and then quit terminal I went to LyX, reconfigure and i get an error message that says, The system reconfiguration has failed. Default textclass is used but LyX may not be able to work properly. Please reconfigure again if needed. I close LyX, start it again, and then if I go to Document, Settings, I do not see the authesis in the document class menu(and the number of classes I have listed is now much smaller than before i tried to install this class). That's because of the reconfigure failure. What I'd suggest is to try to run the reconfigure directly from /users/username/libarary/Application Support/Lyx-1.5/. I.e., open a terminal, go to that directory, and then run python /path/to/configure.py. If you can't figure out where that file is, someone else will know. Anyway, you'll get more helpful error messages then. rh
Re: install thesis class, Mac
Mike Martell wrote: Thanks for your response. I updated my layout file to read: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[authesis]{article (authesis)} Format 4 # Input general definitions Input article.layout and I tried kpsewhich authesis.cls in the terminal. the response was the location of the file. I noticed that when I tried texhash, terminal told me that it was not writeable, That's normal, since texhash wants to update lots of files, some of which you wouldn't be able to write. so I tried sudo texhash and it gave me the same response as kpsewhich. I still get the same error message in LyX. I don't under stand your last recommendation: What I'd suggest is to try to run the reconfigure directly from /users/username/libarary/Application Support/Lyx-1.5/. I.e., open a terminal, go to that directory, and then run python /path/to/configure.py. If you can't figure out where that file is, someone else will know. Anyway, you'll get more helpful error messages then. When you hit ToolsConfigure, what it actually does is run the configure.py python script and write a bunch of files to your user directory. One of these, for example, is textclass.lst, which contains a list of all the layout files configure.py finds and some information about them. You can run this configure.py script from outside LyX, and that's what we want to do. But we have to run it from your user directory, that is, from where configure.py is, since the file will write the next textclass.lst to the directory from which you run it. That said, you CAN run it from anywhere, and since we're just debugging you can run it from /tmp/, and then it won't actually change any of your files. What we want is error messages right now. do i open terminal, type in the location of the class file? i.e. /users/username/library/texmf/tex/latex/authesis/ or the location of the layouts: username/libarary/Application Support/Lyx-1.5/layouts. For now: # cd /tmp/ but for real: # cd username/library/Application Support/Lyx-1.5/ That ought to be where textclass.lst lives. and then I type python/path/to/configure.py in terminal? when I tried this, it said -bash ... doesn't exist Type: # python /path/to/configure.py where the /path/to/ part is replaced by the actual path to configure.py. I don't know what that is on your machine, because I'm not on Mac. (On my machine, it would be: /usr/local/share/lyx/configure.py, but this probably isn't right for you.) But maybe you can try: # locate configure.py I don't know if locate is available on Mac, though. I'm cc'ing Bennett, as he knows about Mac stuff. rh
Re: install thesis class, Mac
Thanks again. I took your advice. I located configure.py I opened terminal, typed: # cd /tmp/ then, #python/library/applications/lyx.app/content/resources/configure.py Then, I opened LyX, and tried to reconfigure. I got the same error message that the configure did not work. Is it of interest that if I go to, Tools-Tex Information, I see authesis under the list of classes? I really appreciate your help so far! thanks, mike On Tue, Oct 21, 2008 at 9:19 PM, rgheck [EMAIL PROTECTED] wrote: Mike Martell wrote: Thanks for your response. I updated my layout file to read: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[authesis]{article (authesis)} Format 4 # Input general definitions Input article.layout and I tried kpsewhich authesis.cls in the terminal. the response was the location of the file. I noticed that when I tried texhash, terminal told me that it was not writeable, That's normal, since texhash wants to update lots of files, some of which you wouldn't be able to write. so I tried sudo texhash and it gave me the same response as kpsewhich. I still get the same error message in LyX. I don't under stand your last recommendation: What I'd suggest is to try to run the reconfigure directly from /users/username/libarary/Application Support/Lyx-1.5/. I.e., open a terminal, go to that directory, and then run python /path/to/configure.py. If you can't figure out where that file is, someone else will know. Anyway, you'll get more helpful error messages then. When you hit ToolsConfigure, what it actually does is run the configure.py python script and write a bunch of files to your user directory. One of these, for example, is textclass.lst, which contains a list of all the layout files configure.py finds and some information about them. You can run this configure.py script from outside LyX, and that's what we want to do. But we have to run it from your user directory, that is, from where configure.py is, since the file will write the next textclass.lst to the directory from which you run it. That said, you CAN run it from anywhere, and since we're just debugging you can run it from /tmp/, and then it won't actually change any of your files. What we want is error messages right now. do i open terminal, type in the location of the class file? i.e. /users/username/library/texmf/tex/latex/authesis/ or the location of the layouts: username/libarary/Application Support/Lyx-1.5/layouts. For now: # cd /tmp/ but for real: # cd username/library/Application Support/Lyx-1.5/ That ought to be where textclass.lst lives. and then I type python/path/to/configure.py in terminal? when I tried this, it said -bash ... doesn't exist Type: # python /path/to/configure.py where the /path/to/ part is replaced by the actual path to configure.py. I don't know what that is on your machine, because I'm not on Mac. (On my machine, it would be: /usr/local/share/lyx/configure.py, but this probably isn't right for you.) But maybe you can try: # locate configure.py I don't know if locate is available on Mac, though. I'm cc'ing Bennett, as he knows about Mac stuff. rh
install thesis class, Mac
Hi: I've been having a lot of trouble installing a new class for LyX with my mac. I am hoping to use LyX to write my doctoral dissertation. I am trying to install the thesis class for my university, authesis.cls. I have followed the directions, I believe, but am not getting the class to work. I have placed these files (authesis.cls, aucas.clo, aut10.clo, auecon.clo) in this location: users/username/library/texmf/tex/latex/authesis/ i have placed a layout file (authesis.layout) at this location: username/libarary/Application Support/Lyx-1.5/layouts The layout file reads: #% Do not delete hte line below; configure depens on this # \DeclareLaTeXClass[authesis]{article (authesis)} # Input general definitions Input stdclass.inc After doing this, I open terminal typed texhash and then quit terminal I went to LyX, reconfigure and i get an error message that says, The system reconfiguration has failed. Default textclass is used but LyX may not be able to work properly. Please reconfigure again if needed. I close LyX, start it again, and then if I go to Document, Settings, I do not see the authesis in the document class menu(and the number of classes I have listed is now much smaller than before i tried to install this class). Can someone help? I would very greatly appreciate it! I am very new to both LyX and my Mac. Thanks, Mike
Re: install thesis class, Mac
Mike Martell wrote: Hi: I've been having a lot of trouble installing a new class for LyX with my mac. I am hoping to use LyX to write my doctoral dissertation. I am trying to install the thesis class for my university, authesis.cls. I have followed the directions, I believe, but am not getting the class to work. I have placed these files (authesis.cls, aucas.clo, aut10.clo, auecon.clo) in this location: users/username/library/texmf/tex/latex/authesis/ OK, this is a very silly question, but did you replace username with your username? rh i have placed a layout file (authesis.layout) at this location: username/libarary/Application Support/Lyx-1.5/layouts The layout file reads: #% Do not delete hte line below; configure depens on this Typos. I don't think they matter, though. # \DeclareLaTeXClass[authesis]{article (authesis)} You might need a format tag here, viz: Format 4 # Input general definitions Input stdclass.inc I'd try Input article.layout instead, and get the whole thing. After doing this, I open terminal typed texhash Try kpsewhich authesis.cls. If you don't get a sensible response, then TeX hasn't found it. and then quit terminal I went to LyX, reconfigure and i get an error message that says, The system reconfiguration has failed. Default textclass is used but LyX may not be able to work properly. Please reconfigure again if needed. I close LyX, start it again, and then if I go to Document, Settings, I do not see the authesis in the document class menu(and the number of classes I have listed is now much smaller than before i tried to install this class). That's because of the reconfigure failure. What I'd suggest is to try to run the reconfigure directly from /users/username/libarary/Application Support/Lyx-1.5/. I.e., open a terminal, go to that directory, and then run python /path/to/configure.py. If you can't figure out where that file is, someone else will know. Anyway, you'll get more helpful error messages then. rh
Re: install thesis class, Mac
Thanks for your response. I updated my layout file to read: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[authesis]{article (authesis)} Format 4 # Input general definitions Input article.layout and I tried kpsewhich authesis.cls in the terminal. the response was the location of the file. I noticed that when I tried texhash, terminal told me that it was not writeable, so I tried sudo texhash and it gave me the same response as kpsewhich. I still get the same error message in LyX. I don't under stand your last recommendation: What I'd suggest is to try to run the reconfigure directly from /users/username/libarary/Application Support/Lyx-1.5/. I.e., open a terminal, go to that directory, and then run python /path/to/configure.py. If you can't figure out where that file is, someone else will know. Anyway, you'll get more helpful error messages then. do i open terminal, type in the location of the class file? i.e. /users/username/library/texmf/tex/latex/authesis/ or the location of the layouts: username/libarary/Application Support/Lyx-1.5/layouts . and then I type python/path/to/configure.py in terminal? when I tried this, it said -bash ... doesn't exist thanks so much for your insight. mike On Tue, Oct 21, 2008 at 7:45 PM, rgheck [EMAIL PROTECTED] wrote: Mike Martell wrote: Hi: I've been having a lot of trouble installing a new class for LyX with my mac. I am hoping to use LyX to write my doctoral dissertation. I am trying to install the thesis class for my university, authesis.cls. I have followed the directions, I believe, but am not getting the class to work. I have placed these files (authesis.cls, aucas.clo, aut10.clo, auecon.clo) in this location: users/username/library/texmf/tex/latex/authesis/ OK, this is a very silly question, but did you replace username with your username? rh i have placed a layout file (authesis.layout) at this location: username/libarary/Application Support/Lyx-1.5/layouts The layout file reads: #% Do not delete hte line below; configure depens on this Typos. I don't think they matter, though. # \DeclareLaTeXClass[authesis]{article (authesis)} You might need a format tag here, viz: Format 4 # Input general definitions Input stdclass.inc I'd try Input article.layout instead, and get the whole thing. After doing this, I open terminal typed texhash Try kpsewhich authesis.cls. If you don't get a sensible response, then TeX hasn't found it. and then quit terminal I went to LyX, reconfigure and i get an error message that says, The system reconfiguration has failed. Default textclass is used but LyX may not be able to work properly. Please reconfigure again if needed. I close LyX, start it again, and then if I go to Document, Settings, I do not see the authesis in the document class menu(and the number of classes I have listed is now much smaller than before i tried to install this class). That's because of the reconfigure failure. What I'd suggest is to try to run the reconfigure directly from /users/username/libarary/Application Support/Lyx-1.5/. I.e., open a terminal, go to that directory, and then run python /path/to/configure.py. If you can't figure out where that file is, someone else will know. Anyway, you'll get more helpful error messages then. rh
Re: install thesis class, Mac
Mike Martell wrote: Thanks for your response. I updated my layout file to read: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[authesis]{article (authesis)} Format 4 # Input general definitions Input article.layout and I tried kpsewhich authesis.cls in the terminal. the response was the location of the file. I noticed that when I tried texhash, terminal told me that it was not writeable, That's normal, since texhash wants to update lots of files, some of which you wouldn't be able to write. so I tried sudo texhash and it gave me the same response as kpsewhich. I still get the same error message in LyX. I don't under stand your last recommendation: What I'd suggest is to try to run the reconfigure directly from /users/username/libarary/Application Support/Lyx-1.5/. I.e., open a terminal, go to that directory, and then run python /path/to/configure.py. If you can't figure out where that file is, someone else will know. Anyway, you'll get more helpful error messages then. When you hit ToolsConfigure, what it actually does is run the configure.py python script and write a bunch of files to your user directory. One of these, for example, is textclass.lst, which contains a list of all the layout files configure.py finds and some information about them. You can run this configure.py script from outside LyX, and that's what we want to do. But we have to run it from your user directory, that is, from where configure.py is, since the file will write the next textclass.lst to the directory from which you run it. That said, you CAN run it from anywhere, and since we're just debugging you can run it from /tmp/, and then it won't actually change any of your files. What we want is error messages right now. do i open terminal, type in the location of the class file? i.e. /users/username/library/texmf/tex/latex/authesis/ or the location of the layouts: username/libarary/Application Support/Lyx-1.5/layouts. For now: # cd /tmp/ but for real: # cd username/library/Application Support/Lyx-1.5/ That ought to be where textclass.lst lives. and then I type python/path/to/configure.py in terminal? when I tried this, it said -bash ... doesn't exist Type: # python /path/to/configure.py where the /path/to/ part is replaced by the actual path to configure.py. I don't know what that is on your machine, because I'm not on Mac. (On my machine, it would be: /usr/local/share/lyx/configure.py, but this probably isn't right for you.) But maybe you can try: # locate configure.py I don't know if locate is available on Mac, though. I'm cc'ing Bennett, as he knows about Mac stuff. rh
Re: install thesis class, Mac
Thanks again. I took your advice. I located configure.py I opened terminal, typed: # cd /tmp/ then, #python/library/applications/lyx.app/content/resources/configure.py Then, I opened LyX, and tried to reconfigure. I got the same error message that the configure did not work. Is it of interest that if I go to, Tools-Tex Information, I see authesis under the list of classes? I really appreciate your help so far! thanks, mike On Tue, Oct 21, 2008 at 9:19 PM, rgheck [EMAIL PROTECTED] wrote: Mike Martell wrote: Thanks for your response. I updated my layout file to read: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[authesis]{article (authesis)} Format 4 # Input general definitions Input article.layout and I tried kpsewhich authesis.cls in the terminal. the response was the location of the file. I noticed that when I tried texhash, terminal told me that it was not writeable, That's normal, since texhash wants to update lots of files, some of which you wouldn't be able to write. so I tried sudo texhash and it gave me the same response as kpsewhich. I still get the same error message in LyX. I don't under stand your last recommendation: What I'd suggest is to try to run the reconfigure directly from /users/username/libarary/Application Support/Lyx-1.5/. I.e., open a terminal, go to that directory, and then run python /path/to/configure.py. If you can't figure out where that file is, someone else will know. Anyway, you'll get more helpful error messages then. When you hit ToolsConfigure, what it actually does is run the configure.py python script and write a bunch of files to your user directory. One of these, for example, is textclass.lst, which contains a list of all the layout files configure.py finds and some information about them. You can run this configure.py script from outside LyX, and that's what we want to do. But we have to run it from your user directory, that is, from where configure.py is, since the file will write the next textclass.lst to the directory from which you run it. That said, you CAN run it from anywhere, and since we're just debugging you can run it from /tmp/, and then it won't actually change any of your files. What we want is error messages right now. do i open terminal, type in the location of the class file? i.e. /users/username/library/texmf/tex/latex/authesis/ or the location of the layouts: username/libarary/Application Support/Lyx-1.5/layouts. For now: # cd /tmp/ but for real: # cd username/library/Application Support/Lyx-1.5/ That ought to be where textclass.lst lives. and then I type python/path/to/configure.py in terminal? when I tried this, it said -bash ... doesn't exist Type: # python /path/to/configure.py where the /path/to/ part is replaced by the actual path to configure.py. I don't know what that is on your machine, because I'm not on Mac. (On my machine, it would be: /usr/local/share/lyx/configure.py, but this probably isn't right for you.) But maybe you can try: # locate configure.py I don't know if locate is available on Mac, though. I'm cc'ing Bennett, as he knows about Mac stuff. rh
install thesis class, Mac
Hi: I've been having a lot of trouble installing a new class for LyX with my mac. I am hoping to use LyX to write my doctoral dissertation. I am trying to install the thesis class for my university, authesis.cls. I have followed the directions, I believe, but am not getting the class to work. I have placed these files (authesis.cls, aucas.clo, aut10.clo, auecon.clo) in this location: users/username/library/texmf/tex/latex/authesis/ i have placed a layout file (authesis.layout) at this location: username/libarary/Application Support/Lyx-1.5/layouts The layout file reads: #% Do not delete hte line below; configure depens on this # \DeclareLaTeXClass[authesis]{article (authesis)} # Input general definitions Input stdclass.inc After doing this, I open terminal typed "texhash" and then quit terminal I went to LyX, reconfigure and i get an error message that says, "The system reconfiguration has failed. Default textclass is used but LyX may not be able to work properly. Please reconfigure again if needed." I close LyX, start it again, and then if I go to Document, Settings, I do not see the authesis in the document class menu(and the number of classes I have listed is now much smaller than before i tried to install this class). Can someone help? I would very greatly appreciate it! I am very new to both LyX and my Mac. Thanks, Mike
Re: install thesis class, Mac
Mike Martell wrote: Hi: I've been having a lot of trouble installing a new class for LyX with my mac. I am hoping to use LyX to write my doctoral dissertation. I am trying to install the thesis class for my university, authesis.cls. I have followed the directions, I believe, but am not getting the class to work. I have placed these files (authesis.cls, aucas.clo, aut10.clo, auecon.clo) in this location: users/username/library/texmf/tex/latex/authesis/ OK, this is a very silly question, but did you replace "username" with your username? rh i have placed a layout file (authesis.layout) at this location: username/libarary/Application Support/Lyx-1.5/layouts The layout file reads: #% Do not delete hte line below; configure depens on this Typos. I don't think they matter, though. # \DeclareLaTeXClass[authesis]{article (authesis)} You might need a format tag here, viz: Format 4 # Input general definitions Input stdclass.inc I'd try Input article.layout instead, and get the whole thing. After doing this, I open terminal typed "texhash" Try "kpsewhich authesis.cls". If you don't get a sensible response, then TeX hasn't found it. and then quit terminal I went to LyX, reconfigure and i get an error message that says, "The system reconfiguration has failed. Default textclass is used but LyX may not be able to work properly. Please reconfigure again if needed." I close LyX, start it again, and then if I go to Document, Settings, I do not see the authesis in the document class menu(and the number of classes I have listed is now much smaller than before i tried to install this class). That's because of the reconfigure failure. What I'd suggest is to try to run the reconfigure directly from /users/username/libarary/Application Support/Lyx-1.5/. I.e., open a terminal, go to that directory, and then run "python /path/to/configure.py". If you can't figure out where that file is, someone else will know. Anyway, you'll get more helpful error messages then. rh
Re: install thesis class, Mac
Thanks for your response. I updated my layout file to read: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[authesis]{article (authesis)} Format 4 # Input general definitions Input article.layout and I tried kpsewhich authesis.cls in the terminal. the response was the location of the file. I noticed that when I tried texhash, terminal told me that it was not writeable, so I tried sudo texhash and it gave me the same response as kpsewhich. I still get the same error message in LyX. I don't under stand your last recommendation: What I'd suggest is to try to run the reconfigure directly from /users/username/libarary/Application Support/Lyx-1.5/. I.e., open a terminal, go to that directory, and then run "python /path/to/configure.py". If you can't figure out where that file is, someone else will know. Anyway, you'll get more helpful error messages then. do i open terminal, type in the location of the class file? i.e. /users/username/library/texmf/tex/latex/authesis/ or the location of the layouts: username/libarary/Application Support/Lyx-1.5/layouts . and then I type "python/path/to/configure.py" in terminal? when I tried this, it said -bash ... doesn't exist thanks so much for your insight. mike On Tue, Oct 21, 2008 at 7:45 PM, rgheck <[EMAIL PROTECTED]> wrote: > Mike Martell wrote: >> >> Hi: >> I've been having a lot of trouble installing a new class for LyX with >> my mac. I am hoping to use LyX to write my doctoral dissertation. I >> am trying to install the thesis class for my university, authesis.cls. >> >> I have followed the directions, I believe, but am not getting the class to >> work. >> >> I have placed these files (authesis.cls, aucas.clo, aut10.clo, >> auecon.clo) in this location: >> >> users/username/library/texmf/tex/latex/authesis/ >> >> > > OK, this is a very silly question, but did you replace "username" with your > username? > > rh >> >> i have placed a layout file (authesis.layout) at this location: >> >> username/libarary/Application Support/Lyx-1.5/layouts >> >> The layout file reads: >> #% Do not delete hte line below; configure depens on this >> >> > > Typos. I don't think they matter, though. > >> # \DeclareLaTeXClass[authesis]{article (authesis)} >> >> > > You might need a format tag here, viz: > > Format 4 > >> # Input general definitions >> Input stdclass.inc >> >> > > I'd try Input article.layout instead, and get the whole thing. > >> After doing this, I open terminal typed "texhash" >> > > Try "kpsewhich authesis.cls". If you don't get a sensible response, then TeX > hasn't found it. > >> and then quit terminal >> I went to LyX, reconfigure and i get an error message that says, "The >> system reconfiguration has failed. Default textclass is used but LyX >> may not be able to work properly. Please reconfigure again if needed." >> I close LyX, start it again, and then if I go to Document, Settings, I >> do not see the authesis in the document class menu(and the number of >> classes I have listed is now much smaller than before i tried to >> install this class). >> >> > > That's because of the reconfigure failure. > > What I'd suggest is to try to run the reconfigure directly from > /users/username/libarary/Application Support/Lyx-1.5/. I.e., open a > terminal, go to that directory, and then run "python /path/to/configure.py". > If you can't figure out where that file is, someone else will know. Anyway, > you'll get more helpful error messages then. > > rh > >
Re: install thesis class, Mac
Mike Martell wrote: Thanks for your response. I updated my layout file to read: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[authesis]{article (authesis)} Format 4 # Input general definitions Input article.layout and I tried kpsewhich authesis.cls in the terminal. the response was the location of the file. I noticed that when I tried texhash, terminal told me that it was not writeable, That's normal, since texhash wants to update lots of files, some of which you wouldn't be able to write. so I tried sudo texhash and it gave me the same response as kpsewhich. I still get the same error message in LyX. I don't under stand your last recommendation: What I'd suggest is to try to run the reconfigure directly from /users/username/libarary/Application Support/Lyx-1.5/. I.e., open a terminal, go to that directory, and then run "python /path/to/configure.py". If you can't figure out where that file is, someone else will know. Anyway, you'll get more helpful error messages then. When you hit Tools>Configure, what it actually does is run the configure.py python script and write a bunch of files to your user directory. One of these, for example, is textclass.lst, which contains a list of all the layout files configure.py finds and some information about them. You can run this configure.py script from outside LyX, and that's what we want to do. But we have to run it from your user directory, that is, from where configure.py is, since the file will write the next textclass.lst to the directory from which you run it. That said, you CAN run it from anywhere, and since we're just debugging you can run it from /tmp/, and then it won't actually change any of your files. What we want is error messages right now. do i open terminal, type in the location of the class file? i.e. /users/username/library/texmf/tex/latex/authesis/ or the location of the layouts: username/libarary/Application Support/Lyx-1.5/layouts. For now: # cd /tmp/ but for real: # cd "username/library/Application Support/Lyx-1.5/ That ought to be where textclass.lst lives. and then I type "python/path/to/configure.py" in terminal? when I tried this, it said -bash ... doesn't exist Type: # python /path/to/configure.py where the "/path/to/" part is replaced by the actual path to configure.py. I don't know what that is on your machine, because I'm not on Mac. (On my machine, it would be: /usr/local/share/lyx/configure.py, but this probably isn't right for you.) But maybe you can try: # locate configure.py I don't know if locate is available on Mac, though. I'm cc'ing Bennett, as he knows about Mac stuff. rh
Re: install thesis class, Mac
Thanks again. I took your advice. I located configure.py I opened terminal, typed: # cd /tmp/ then, #python/library/applications/lyx.app/content/resources/configure.py Then, I opened LyX, and tried to reconfigure. I got the same error message that the configure did not work. Is it of interest that if I go to, Tools->Tex Information, I see authesis under the list of classes? I really appreciate your help so far! thanks, mike On Tue, Oct 21, 2008 at 9:19 PM, rgheck <[EMAIL PROTECTED]> wrote: > Mike Martell wrote: >> >> Thanks for your response. >> I updated my layout file to read: >> >> #% Do not delete the line below; configure depends on this >> # \DeclareLaTeXClass[authesis]{article (authesis)} >> Format 4 >> # Input general definitions >> Input article.layout >> >> and I tried kpsewhich authesis.cls in the terminal. the response was >> the location of the file. I noticed that when I tried texhash, >> terminal told me that it was not writeable, >> > > That's normal, since texhash wants to update lots of files, some of which > you wouldn't be able to write. > >> so I tried sudo texhash >> and it gave me the same response as kpsewhich. I still get the same >> error message in LyX. >> >> I don't under stand your last recommendation: >> What I'd suggest is to try to run the reconfigure directly from >> /users/username/libarary/Application Support/Lyx-1.5/. I.e., open a >> terminal, go to that directory, and then run "python >> /path/to/configure.py". If you can't figure out where that file is, >> someone else will know. Anyway, you'll get more helpful error messages >> then. >> >> > > When you hit Tools>Configure, what it actually does is run the configure.py > python script and write a bunch of files to your user directory. One of > these, for example, is textclass.lst, which contains a list of all the > layout files configure.py finds and some information about them. You can run > this configure.py script from outside LyX, and that's what we want to do. > But we have to run it from your user directory, that is, from where > configure.py is, since the file will write the next textclass.lst to the > directory from which you run it. > > That said, you CAN run it from anywhere, and since we're just debugging you > can run it from /tmp/, and then it won't actually change any of your files. > What we want is error messages right now. > >> do i open terminal, type in the location of the class file? i.e. >> /users/username/library/texmf/tex/latex/authesis/ or the location of >> the layouts: username/libarary/Application Support/Lyx-1.5/layouts. >> >> > > For now: > # cd /tmp/ > but for real: > # cd "username/library/Application Support/Lyx-1.5/ > That ought to be where textclass.lst lives. >> >> and then I type "python/path/to/configure.py" in terminal? when I >> tried this, it said -bash ... doesn't exist >> >> > > Type: > # python /path/to/configure.py > where the "/path/to/" part is replaced by the actual path to configure.py. I > don't know what that is on your machine, because I'm not on Mac. (On my > machine, it would be: /usr/local/share/lyx/configure.py, but this probably > isn't right for you.) But maybe you can try: > # locate configure.py > I don't know if locate is available on Mac, though. > > I'm cc'ing Bennett, as he knows about Mac stuff. > > rh > >