LyX list cannot receive such large attachments. If you want the file, I will be glad to provide it.
On Tue, May 19, 2009 at 8:09 AM, rgheck <rgh...@bobjweil.com> wrote: > Daniel Pereira wrote: > >> OK, I guess I should mention the fact that I started using LyX two weeks >> ago, and that I have no programming background. Although I am very willing >> to do this. >> >> That's fine, and if it weren't for the fact that you wanted to use a > specialized LaTeX class, you'd probably be sailing along. But you've jumped > right into the deep end. > > What I could do from what you said was: >> >> 1. to import the .sty, .cls.. LyX now recognizes the "ufthesis.layout" ! >> =) >> >> Good. > > 2. By "compiling" you mean import the main TEX file (ufsampleETD.tex"")? >> >> By "compiling", I mean processing your document to produce output. You > can do this to the LaTeX document itself. If you try to do it to > chapter1.tex, you will get errors. > > > When I import the "ufsampleETD.tex", I am getting not many ERTs. Most of >> them are "%comments". The commands that LyX appears to not recognize are: >> \makecopyright, >> \phantomsection, >> \addtocontents{TOC} , \protect, \addvspace{10pt} {CHAPTER} {\\protect} >> (this last one in order to add the word CHAPTER to the table of contents) >> >> I cannot generate an output, because of the following errors: >> LaTeX Error: Option clash for package graphicx; >> description: >> \usepackage >> >> {amsmath} >> >> The package graphicx has already been loaded with options: >> >> [] >> >> There has now been an attempt to load it with options >> >> [dvipdfm] >> >> Adding the global options: >> >> ,dvipdfm >> >> to your \documentclass declaration may fix this. >> >> >> LaTeX Error: Something's wrong--perhaps a missing \item. >> >> ...S AND DISSERTATION TEMPLATE}}{9}{chapter.1} >> >> Try typing <return> to proceed. >> >> If that doesn't work, type X <return> to quit.Try typing <return> to >> proceed. >> >> >> Package inputenc Error: Keyboard character used is >> >> undefined >> >> >> This is an example of a {}``short’ >> >> ’ list. Not because there's only >> >> You need to provide a definition with \DeclareInputText >> >> or \DeclareInputMath before using this key. >> >> -------------------------------------------------------------------- >> >> >> I suspect this is because of various packages that are being loaded in > the preamble of the document, that LyX is automatically loading earlier. > Maybe the simplest thing to do is to post the imported file, and I can have > a look at it. > > If explained in more detail, I can try to do the "bash part".( I am on a >> Mac, OS X 10.5). Are you talking about running that code in a terminal? >> Sorry about this, I have zero experience with programming. >> >> >> Yes, run it in a terminal. To do the conversion, open a terminal and get > yourself to whatever directory contains the thesis template. Let's say > that's /users/you/template. Then you'll do: > # cd /users/you/template > # for i in *tex; do tex2lyx -c ufthesis $i; done > And the LyX files will be in that directory now. > > Richard Thanks again for the help. Here is my progress: 1. I imported *all* the ".tex" files into ".lyx" files. I am still getting the errors when trying to compile the main file ufsampleETD.lyx file. 2. the bash on Mac does not recognize the "tex2lyx". I reinstalled the latest version (1.6.2) twice, and I still cannot get the tex2lyx to work. If I try to to do an import manually (LyX > Import (plain Tex) ) I get the same error, saying that LyX could not access tex2lyx. This does NOThappen in a Windows environment. I am attaching a zipped version of the folder containing the lyx, tex and companion files.