Fwd: .tex to LyX (attached file)

2009-05-23 Thread daniel pereira







-- Forwarded message --
From: Daniel Pereira danielreispere...@gmail.com
Date: Wed, May 20, 2009 at 11:47 PM
Subject: Re: .tex to LyX (attached file)
To: rgheck rgh...@bobjweil.com, lyx-users lyx-users@lists.lyx.org


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.



Thanks again for the help. Here is my progress:

1. I imported *all* the .tex files into .lyx files, but 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 NOT happen in a Windows environment.


The attachment is too large to be sent to this list. I will be glad to  
provide anyone with the folder containing the lyx, tex and companion  
files. (drpereira(at)ufl.edu)





Fwd: .tex to LyX (attached file)

2009-05-23 Thread daniel pereira







-- Forwarded message --
From: Daniel Pereira danielreispere...@gmail.com
Date: Wed, May 20, 2009 at 11:47 PM
Subject: Re: .tex to LyX (attached file)
To: rgheck rgh...@bobjweil.com, lyx-users lyx-users@lists.lyx.org


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.



Thanks again for the help. Here is my progress:

1. I imported *all* the .tex files into .lyx files, but 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 NOT happen in a Windows environment.


The attachment is too large to be sent to this list. I will be glad to  
provide anyone with the folder containing the lyx, tex and companion  
files. (drpereira(at)ufl.edu)





Fwd: .tex to LyX (attached file)

2009-05-23 Thread daniel pereira







-- Forwarded message --
From: Daniel Pereira <danielreispere...@gmail.com>
Date: Wed, May 20, 2009 at 11:47 PM
Subject: Re: .tex to LyX (attached file)
To: rgheck <rgh...@bobjweil.com>, lyx-users <lyx-users@lists.lyx.org>


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  to proceed.

If that doesn't work, type X  to quit.Try typing  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.



Thanks again for the help. Here is my progress:

1. I imported *all* the ".tex" files into ".lyx" files, but 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 NOT happen in a Windows environment.


The attachment is too large to be sent to this list. I will be glad to  
provide anyone with the folder containing the lyx, tex and companion  
files. (drpereira(at)ufl.edu)





.tex to LyX (attached file)

2009-05-20 Thread Daniel Pereira
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.


.tex to LyX (attached file)

2009-05-20 Thread Daniel Pereira
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.


.tex to LyX (attached file)

2009-05-20 Thread Daniel Pereira
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  to proceed.
>>
>> If that doesn't work, type X  to quit.Try typing  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.


Re: .tex to LyX (attached file)

2009-05-19 Thread Daniel Pereira
On Sat, May 16, 2009 at 9:46 AM, rgheck rgh...@comcast.net wrote:

 Daniel R. Pereira wrote:

 Hello rh,

 I am attaching the whole file now. It is a thesis template, that I want to
 import to LyX. Any help is appreciated.



 You need to import *all* the TeX files and compile it from the ufsampleETD
 file. It will not be possible to compile the individual chapters, because
 they do not contain the necessary includes for compilation. They are
 includes for the main document.

 To do the import, you will need a layout file for the ufthesis class. I've
 attached a trivial modification of the report layout, as ufthesis is based
 upon report. But you'll probably get a lot of ERT with this, so you may want
 to modify it to take advantage of ufthesis-specific stuff. Documentation on
 that is in chapter 6 of the Customization manual.

 Put this layout file in your local layout directory and reconfigure LyX
 before doing anything else. You'll also want to put all the .sty and .cls
 packages you don't already have into your local TeX tree, so that LyX can
 find them. I'd guess that means ufenumerate.sty and ufthesis.cls, and maybe
 a couple more. If you're on Linux or something similar---i.e., if you have
 bash---then you can use this:
   for i in Latex\ Template/*.sty; do
   j=`basename $i`;
   if kpsewhich $j  /dev/null; then
   echo $j found;
   else echo $j not found;
   fi;
   done
 run from the directory above the Latex Template directory, to find out
 which you have and which you don't. Otherwise, you'll have to check them by
 hand.

 You use this script:
   for i in *tex; do tex2lyx -c ufthesis $i; done
 from an appropriate directory to do all the conversions in one go.

 rh

 PS Please keep these things on the list, as other people may have similar
 questions, or be following the discussion just to learn.


 #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass{ufthesis}
 # Report textclass definition file. Taken from initial LyX source code
 # Author : Matthias Ettrich ettr...@informatik.uni-tuebingen.de
 # Transposed by Pascal André an...@via.ecp.fr
 # Heavily modifed and enhanced by serveral developers.

 Format 11
 Input stdclass.inc
 Input numreport.inc

 Style Bibliography
TopSep4
LabelString   Bibliography
LabelFont
  Series  Bold
  SizeHuge
EndFont
 End



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.
What I could do from what you said was:

1. to import the .sty, .cls.. LyX now recognizes the ufthesis.layout ! =)

2. By compiling you mean import the main TEX file (ufsampleETD.tex)?
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.




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.



Thank you,

--
Daniel Reis Pereira
University of FloridaMcCarty Hall A 2197


Re: .tex to LyX (attached file)

2009-05-19 Thread Daniel Pereira
On Sat, May 16, 2009 at 9:46 AM, rgheck rgh...@comcast.net wrote:

 Daniel R. Pereira wrote:

 Hello rh,

 I am attaching the whole file now. It is a thesis template, that I want to
 import to LyX. Any help is appreciated.



 You need to import *all* the TeX files and compile it from the ufsampleETD
 file. It will not be possible to compile the individual chapters, because
 they do not contain the necessary includes for compilation. They are
 includes for the main document.

 To do the import, you will need a layout file for the ufthesis class. I've
 attached a trivial modification of the report layout, as ufthesis is based
 upon report. But you'll probably get a lot of ERT with this, so you may want
 to modify it to take advantage of ufthesis-specific stuff. Documentation on
 that is in chapter 6 of the Customization manual.

 Put this layout file in your local layout directory and reconfigure LyX
 before doing anything else. You'll also want to put all the .sty and .cls
 packages you don't already have into your local TeX tree, so that LyX can
 find them. I'd guess that means ufenumerate.sty and ufthesis.cls, and maybe
 a couple more. If you're on Linux or something similar---i.e., if you have
 bash---then you can use this:
   for i in Latex\ Template/*.sty; do
   j=`basename $i`;
   if kpsewhich $j  /dev/null; then
   echo $j found;
   else echo $j not found;
   fi;
   done
 run from the directory above the Latex Template directory, to find out
 which you have and which you don't. Otherwise, you'll have to check them by
 hand.

 You use this script:
   for i in *tex; do tex2lyx -c ufthesis $i; done
 from an appropriate directory to do all the conversions in one go.

 rh

 PS Please keep these things on the list, as other people may have similar
 questions, or be following the discussion just to learn.


 #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass{ufthesis}
 # Report textclass definition file. Taken from initial LyX source code
 # Author : Matthias Ettrich ettr...@informatik.uni-tuebingen.de
 # Transposed by Pascal André an...@via.ecp.fr
 # Heavily modifed and enhanced by serveral developers.

 Format 11
 Input stdclass.inc
 Input numreport.inc

 Style Bibliography
TopSep4
LabelString   Bibliography
LabelFont
  Series  Bold
  SizeHuge
EndFont
 End



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.
What I could do from what you said was:

1. to import the .sty, .cls.. LyX now recognizes the ufthesis.layout ! =)

2. By compiling you mean import the main TEX file (ufsampleETD.tex)?
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.




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.



Thank you,

--
Daniel Reis Pereira
University of FloridaMcCarty Hall A 2197


Re: .tex to LyX (attached file)

2009-05-19 Thread Daniel Pereira
On Sat, May 16, 2009 at 9:46 AM, rgheck  wrote:

> Daniel R. Pereira wrote:
>
>> Hello rh,
>>
>> I am attaching the whole file now. It is a thesis template, that I want to
>> import to LyX. Any help is appreciated.
>>
>>
>>
> You need to import *all* the TeX files and compile it from the ufsampleETD
> file. It will not be possible to compile the individual chapters, because
> they do not contain the necessary includes for compilation. They are
> includes for the main document.
>
> To do the import, you will need a layout file for the ufthesis class. I've
> attached a trivial modification of the report layout, as ufthesis is based
> upon report. But you'll probably get a lot of ERT with this, so you may want
> to modify it to take advantage of ufthesis-specific stuff. Documentation on
> that is in chapter 6 of the Customization manual.
>
> Put this layout file in your local layout directory and reconfigure LyX
> before doing anything else. You'll also want to put all the .sty and .cls
> packages you don't already have into your local TeX tree, so that LyX can
> find them. I'd guess that means ufenumerate.sty and ufthesis.cls, and maybe
> a couple more. If you're on Linux or something similar---i.e., if you have
> bash---then you can use this:
>   for i in Latex\ Template/*.sty; do
>   j=`basename "$i"`;
>   if kpsewhich $j > /dev/null; then
>   echo "$j found";
>   else echo "$j not found";
>   fi;
>   done
> run from the directory above the Latex Template directory, to find out
> which you have and which you don't. Otherwise, you'll have to check them by
> hand.
>
> You use this script:
>   for i in *tex; do tex2lyx -c ufthesis $i; done
> from an appropriate directory to do all the conversions in one go.
>
> rh
>
> PS Please keep these things on the list, as other people may have similar
> questions, or be following the discussion just to learn.
>
>
> #% Do not delete the line below; configure depends on this
> #  \DeclareLaTeXClass{ufthesis}
> # Report textclass definition file. Taken from initial LyX source code
> # Author : Matthias Ettrich 
> # Transposed by Pascal André 
> # Heavily modifed and enhanced by serveral developers.
>
> Format 11
> Input stdclass.inc
> Input numreport.inc
>
> Style Bibliography
>TopSep4
>LabelString   "Bibliography"
>LabelFont
>  Series  Bold
>  SizeHuge
>EndFont
> End
>


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.
What I could do from what you said was:

1. to import the .sty, .cls.. LyX now recognizes the "ufthesis.layout" ! =)

2. By "compiling" you mean import the main TEX file (ufsampleETD.tex"")?
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  to proceed.

If that doesn't work, type X  to quit.Try typing  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.




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.



Thank you,

--
Daniel Reis Pereira
University of FloridaMcCarty Hall A 2197


.tex to LyX (attached file)

2009-05-15 Thread daniel pereira

Hello,

I tried to import the attached .tex file into LyX (File  Import   
LaTeX (plain). When trying to generate the PDF, I am getting a  
Undefined Control Sequence error for every ERT on the text.


 Many thanks for any advice,




chapter1.tex
Description: Binary data


.tex to LyX (attached file)

2009-05-15 Thread daniel pereira

Hello,

I tried to import the attached .tex file into LyX (File  Import   
LaTeX (plain). When trying to generate the PDF, I am getting a  
Undefined Control Sequence error for every ERT on the text.


 Many thanks for any advice,




chapter1.tex
Description: Binary data


.tex to LyX (attached file)

2009-05-15 Thread daniel pereira

Hello,

I tried to import the attached .tex file into LyX (File > Import >  
LaTeX (plain). When trying to generate the PDF, I am getting a  
"Undefined Control Sequence" error for every ERT on the text.


 Many thanks for any advice,




chapter1.tex
Description: Binary data


BibDesk and LyX on Mac

2009-05-14 Thread daniel pereira

Hello,

I am running LyX 1.6.2 on a Mac (Intel) and using the script (pipe) of  
Mark Reid http://www.threewordslong.com/projects/misc/bibdesktolyx/.  
Although, when I go to: LyX,  insert  citation , there is no  
citations available. I understand that I can do this from (BibDesk   
right click on article  Send to LyX, but running everything on LyX  
would be a lot easier. Am I supposed to load the list of references  
in some way on LyX?


Thank you, daniel


BibDesk and LyX on Mac

2009-05-14 Thread daniel pereira

Hello,

I am running LyX 1.6.2 on a Mac (Intel) and using the script (pipe) of  
Mark Reid http://www.threewordslong.com/projects/misc/bibdesktolyx/.  
Although, when I go to: LyX,  insert  citation , there is no  
citations available. I understand that I can do this from (BibDesk   
right click on article  Send to LyX, but running everything on LyX  
would be a lot easier. Am I supposed to load the list of references  
in some way on LyX?


Thank you, daniel


BibDesk and LyX on Mac

2009-05-14 Thread daniel pereira

Hello,

I am running LyX 1.6.2 on a Mac (Intel) and using the script (pipe) of  
Mark Reid .  
Although, when I go to: LyX, > insert > citation , there is no  
citations available. I understand that I can do this from (BibDesk >  
right click on article > Send to LyX, but running everything on LyX  
would be a lot easier. Am I supposed to "load" the list of references  
in some way on LyX?


Thank you, daniel