Re: Option Clash with hyperref

2009-09-11 Thread Daniel Lohmann


On 10.09.2009, at 22:58, Rob wrote:


Hi,

I want to use backref, but I'm getting an options clash.  I read in  
a past post
that there is some mess when trying to specify the options in  
hyperref since
they're already set but that a work around is to add a \hyperset  
argument to the

preamble.  In this case, I tried the following without any success:

\hyperset{pagebackref=yes}


AFAIK the backref options cannot be set by \hyperset, but have to be  
passed when hyperref is loaded.


Daniel


Re: Option Clash with hyperref

2009-09-11 Thread Rob
Uwe Stöhr uwesto...@... writes:

Hi Uwe,

My document class is report.  Here's my preamble:
\usepackage{uwmadison-rgw}
\usepackage{enumitem}
\usepackage{appendix}
\usepackage[nottoc,notlof,notlot]{tocbibind} 
\usepackage[pagebackref=true]{hyperref}


In this case, the error is:

LaTeX Error: Option clash for package hyperref.

The package hyperref has already been loaded with options:
  [plainpages=false,pdfpagelabels]
There has now been an attempt to load it with options
  [pagebackref=true]
Adding the global options:
  plainpages=false,pdfpagelabels,pagebackref=true
to your \documentclass declaration may fix this.
Try typing  return  to proceed.

So I tried this instead:
\usepackage{hyperref}
\hyperset{pagebackref=true}

In that case, I didn't receive an error, but there were no hyperlinks in my
references that take me back to the location of the citations in my text. 

So I tried Document Settings-PDF Properties-Use Hyperref Support-Backref set
to page and then removed the \usepackage{hyperref}.

But then I get the following error:

LaTeX Error: Option clash for package hyperref.

The package hyperref has already been loaded with options:
  [unicode=true,bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,bookma
rksopenlevel=3,breaklinks=false,pdfborder={0 0 1},backref=page,colorlinks=true]

Do I need to somehow suppress the options?
Or do I need to change the pdf options?

Any suggestions are much appreciated.

Rob



Re: Option Clash with hyperref

2009-09-11 Thread Uwe Stöhr

Rob schrieb:


My document class is report.  Here's my preamble:
\usepackage{uwmadison-rgw}
\usepackage{enumitem}
\usepackage{appendix}
\usepackage[nottoc,notlof,notlot]{tocbibind} 
\usepackage[pagebackref=true]{hyperref}


In this case, the error is:

LaTeX Error: Option clash for package hyperref.

The package hyperref has already been loaded with options:
  [plainpages=false,pdfpagelabels]


LyX already loaded the hyperref package. hyperref must be set up in the document settings in the PDF 
properties and not in the user preamble.



So I tried Document Settings-PDF Properties-Use Hyperref Support-Backref set
to page and then removed the \usepackage{hyperref}.

But then I get the following error:

LaTeX Error: Option clash for package hyperref.

The package hyperref has already been loaded with options:
  [unicode=true,bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,bookma
rksopenlevel=3,breaklinks=false,pdfborder={0 0 1},backref=page,colorlinks=true]


Can you please send a LyX example file to be able to reproduce this problem?

regards Uwe


Re: Option Clash with hyperref

2009-09-11 Thread Rob
Uwe Stöhr uwesto...@... writes:

Hi Uwe,

Here's the text of my file where I dropped the hyperref 
package call in the preamble and set the specifications 
in the pdf options.

Thanks.

Rob

#LyX 1.6.4 created this file. For more info see 
http://www.lyx.org/

\lyxformat 345

\begin_document

\begin_header

\textclass report

\begin_preamble

\usepackage{uwmadison-rgw}

\usepackage{enumitem}

\usepackage{appendix}

\usepackage[nottoc,notlof,notlot]{tocbibind} 

%\let\citep=\citet

\setcitestyle{aysep={}}

\singlespacing

\end_preamble

\use_default_options false

\language english

\inputencoding auto

\font_roman default

\font_sans default

\font_typewriter default

\font_default_family default

\font_sc false

\font_osf false

\font_sf_scale 100

\font_tt_scale 100

\graphics default

\paperfontsize 12

\spacing single

\use_hyperref true

\pdf_bookmarks true

\pdf_bookmarksnumbered true

\pdf_bookmarksopen true

\pdf_bookmarksopenlevel 3

\pdf_breaklinks false

\pdf_pdfborder false

\pdf_colorlinks true

\pdf_backref page

\pdf_pdfusetitle false

\papersize default

\use_geometry false

\use_amsmath 1

\use_esint 1

\cite_engine natbib_authoryear

\use_bibtopic false

\paperorientation portrait

\secnumdepth 3

\tocdepth 3

\paragraph_separation indent

\defskip medskip

\quotes_language english

\papercolumns 1

\papersides 1

\paperpagestyle default

\tracking_changes false

\output_changes false

\author  

\author  

\end_header

\begin_body

\begin_layout Standard

\begin_inset CommandInset label

LatexCommand label

name TitleLabel

\end_inset

\end_layout

\begin_layout Standard

\begin_inset ERT

status open

\begin_layout Plain Layout

%**TITLE PAGE**

\end_layout

\begin_layout Plain Layout

\backslash

title{

\backslash

vspace{2em} Selected for Attainment: 

\backslash

vspace{2em} 

\backslash

\backslash

The Lasting Effects of Childhood Health} 

\end_layout

\begin_layout Plain Layout

\backslash

author{Robert G.

White} 

\end_layout

\begin_layout Plain Layout

\backslash

abstract{Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.} 

\end_layout

\begin_layout Plain Layout

\backslash

degree{Doctor of Philosophy} 

\end_layout

\begin_layout Plain Layout

\backslash

college{College of Letters and Science} 

\end_layout

\begin_layout Plain Layout

\backslash

dept{Sociology} 

\backslash

directordept{Sociology} 

\end_layout

\begin_layout Plain Layout

\backslash

secondreaderdept{Sociology} 

\end_layout

\begin_layout Plain Layout

\backslash

thirdreaderdept{Sociology} 

\end_layout

\begin_layout Plain Layout

\backslash

copyrightyear{2009}

\end_layout

\end_inset

\end_layout

\begin_layout Standard

\begin_inset ERT

status open

\begin_layout Plain Layout

\backslash

pdfbookmark[0]{Title}{TitleLabel}

\end_layout

\begin_layout Plain Layout

\backslash

makedissertationtitle

\end_layout

\begin_layout Plain Layout

\backslash

pagenumbering{roman}

\end_layout

\begin_layout Plain Layout

\backslash

prefacesection{Acknowledgments}

\end_layout

\begin_layout Plain Layout

\backslash

director{Alberto Palloni}

\end_layout

\begin_layout Plain Layout

\backslash

makeabstract

\end_layout

\begin_layout Plain Layout

\backslash

prefacesection{Preface}

\end_layout

\end_inset

\begin_inset CommandInset label

LatexCommand label

name TableOfContentsLabel

\end_inset

\begin_inset CommandInset toc

LatexCommand tableofcontents

\end_inset

\begin_inset ERT

status open

\begin_layout Plain Layout

\backslash

pdfbookmark[0]{Contents}{TableOfContentsLabel}

\end_layout

\begin_layout Plain Layout

\backslash

newpage

\end_layout

\begin_layout Plain Layout

\backslash

makelistoftables

\end_layout

\begin_layout Plain Layout

\backslash

makelistoffigures

\end_layout

\begin_layout Plain Layout

\backslash

pagenumbering{arabic}

\end_layout

\begin_layout Plain Layout

\backslash

doublespacing

\end_layout

\end_inset

\end_layout

\begin_layout Chapter

\paragraph_spacing single

Introduction

\end_layout

\begin_layout Standard

\begin_inset CommandInset label

LatexCommand label

name Chapter1_Introduction

\end_inset

\begin_inset CommandInset include

LatexCommand input

filename 1 Intro/Chapter1_Introduction.lyx

\end_inset

\end_layout

\begin_layout Chapter

\paragraph_spacing single

Health Selection in Socioeconomic Status Attainment

\end_layout

\begin_layout Standard

\begin_inset CommandInset label

LatexCommand label

name 

Re: Option Clash with hyperref

2009-09-11 Thread Uwe Stöhr

Rob schrieb:

Here's the text of my file where I dropped the hyperref 
package call in the preamble and set the specifications 
in the pdf options.


Can you please attach the LyX file itself to this mail. I cannot create a LyX 
file out of your text.

regards Uwe


Re: Option Clash with hyperref

2009-09-11 Thread Rob
Hi Uwe,

Problem solved--my style file also called up hyperref and this was the source of
the conflict.  I think this problem could be classified as a complication due to
importing from .tex.  I wrote all my files in .tex and WinEdt and am now
translating everything into LyX because of the extreme coolness of LyX. 

If there's any list of things to look out for when importing .tex files into
LyX I would add Check for redundant loading of packages in style files that
will lead to options clashes to the list.

Thanks for your help.

Rob






Re: Option Clash with hyperref

2009-09-11 Thread Daniel Lohmann


On 10.09.2009, at 22:58, Rob wrote:


Hi,

I want to use backref, but I'm getting an options clash.  I read in  
a past post
that there is some mess when trying to specify the options in  
hyperref since
they're already set but that a work around is to add a \hyperset  
argument to the

preamble.  In this case, I tried the following without any success:

\hyperset{pagebackref=yes}


AFAIK the backref options cannot be set by \hyperset, but have to be  
passed when hyperref is loaded.


Daniel


Re: Option Clash with hyperref

2009-09-11 Thread Rob
Uwe Stöhr uwesto...@... writes:

Hi Uwe,

My document class is report.  Here's my preamble:
\usepackage{uwmadison-rgw}
\usepackage{enumitem}
\usepackage{appendix}
\usepackage[nottoc,notlof,notlot]{tocbibind} 
\usepackage[pagebackref=true]{hyperref}


In this case, the error is:

LaTeX Error: Option clash for package hyperref.

The package hyperref has already been loaded with options:
  [plainpages=false,pdfpagelabels]
There has now been an attempt to load it with options
  [pagebackref=true]
Adding the global options:
  plainpages=false,pdfpagelabels,pagebackref=true
to your \documentclass declaration may fix this.
Try typing  return  to proceed.

So I tried this instead:
\usepackage{hyperref}
\hyperset{pagebackref=true}

In that case, I didn't receive an error, but there were no hyperlinks in my
references that take me back to the location of the citations in my text. 

So I tried Document Settings-PDF Properties-Use Hyperref Support-Backref set
to page and then removed the \usepackage{hyperref}.

But then I get the following error:

LaTeX Error: Option clash for package hyperref.

The package hyperref has already been loaded with options:
  [unicode=true,bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,bookma
rksopenlevel=3,breaklinks=false,pdfborder={0 0 1},backref=page,colorlinks=true]

Do I need to somehow suppress the options?
Or do I need to change the pdf options?

Any suggestions are much appreciated.

Rob



Re: Option Clash with hyperref

2009-09-11 Thread Uwe Stöhr

Rob schrieb:


My document class is report.  Here's my preamble:
\usepackage{uwmadison-rgw}
\usepackage{enumitem}
\usepackage{appendix}
\usepackage[nottoc,notlof,notlot]{tocbibind} 
\usepackage[pagebackref=true]{hyperref}


In this case, the error is:

LaTeX Error: Option clash for package hyperref.

The package hyperref has already been loaded with options:
  [plainpages=false,pdfpagelabels]


LyX already loaded the hyperref package. hyperref must be set up in the document settings in the PDF 
properties and not in the user preamble.



So I tried Document Settings-PDF Properties-Use Hyperref Support-Backref set
to page and then removed the \usepackage{hyperref}.

But then I get the following error:

LaTeX Error: Option clash for package hyperref.

The package hyperref has already been loaded with options:
  [unicode=true,bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,bookma
rksopenlevel=3,breaklinks=false,pdfborder={0 0 1},backref=page,colorlinks=true]


Can you please send a LyX example file to be able to reproduce this problem?

regards Uwe


Re: Option Clash with hyperref

2009-09-11 Thread Rob
Uwe Stöhr uwesto...@... writes:

Hi Uwe,

Here's the text of my file where I dropped the hyperref 
package call in the preamble and set the specifications 
in the pdf options.

Thanks.

Rob

#LyX 1.6.4 created this file. For more info see 
http://www.lyx.org/

\lyxformat 345

\begin_document

\begin_header

\textclass report

\begin_preamble

\usepackage{uwmadison-rgw}

\usepackage{enumitem}

\usepackage{appendix}

\usepackage[nottoc,notlof,notlot]{tocbibind} 

%\let\citep=\citet

\setcitestyle{aysep={}}

\singlespacing

\end_preamble

\use_default_options false

\language english

\inputencoding auto

\font_roman default

\font_sans default

\font_typewriter default

\font_default_family default

\font_sc false

\font_osf false

\font_sf_scale 100

\font_tt_scale 100

\graphics default

\paperfontsize 12

\spacing single

\use_hyperref true

\pdf_bookmarks true

\pdf_bookmarksnumbered true

\pdf_bookmarksopen true

\pdf_bookmarksopenlevel 3

\pdf_breaklinks false

\pdf_pdfborder false

\pdf_colorlinks true

\pdf_backref page

\pdf_pdfusetitle false

\papersize default

\use_geometry false

\use_amsmath 1

\use_esint 1

\cite_engine natbib_authoryear

\use_bibtopic false

\paperorientation portrait

\secnumdepth 3

\tocdepth 3

\paragraph_separation indent

\defskip medskip

\quotes_language english

\papercolumns 1

\papersides 1

\paperpagestyle default

\tracking_changes false

\output_changes false

\author  

\author  

\end_header

\begin_body

\begin_layout Standard

\begin_inset CommandInset label

LatexCommand label

name TitleLabel

\end_inset

\end_layout

\begin_layout Standard

\begin_inset ERT

status open

\begin_layout Plain Layout

%**TITLE PAGE**

\end_layout

\begin_layout Plain Layout

\backslash

title{

\backslash

vspace{2em} Selected for Attainment: 

\backslash

vspace{2em} 

\backslash

\backslash

The Lasting Effects of Childhood Health} 

\end_layout

\begin_layout Plain Layout

\backslash

author{Robert G.

White} 

\end_layout

\begin_layout Plain Layout

\backslash

abstract{Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.} 

\end_layout

\begin_layout Plain Layout

\backslash

degree{Doctor of Philosophy} 

\end_layout

\begin_layout Plain Layout

\backslash

college{College of Letters and Science} 

\end_layout

\begin_layout Plain Layout

\backslash

dept{Sociology} 

\backslash

directordept{Sociology} 

\end_layout

\begin_layout Plain Layout

\backslash

secondreaderdept{Sociology} 

\end_layout

\begin_layout Plain Layout

\backslash

thirdreaderdept{Sociology} 

\end_layout

\begin_layout Plain Layout

\backslash

copyrightyear{2009}

\end_layout

\end_inset

\end_layout

\begin_layout Standard

\begin_inset ERT

status open

\begin_layout Plain Layout

\backslash

pdfbookmark[0]{Title}{TitleLabel}

\end_layout

\begin_layout Plain Layout

\backslash

makedissertationtitle

\end_layout

\begin_layout Plain Layout

\backslash

pagenumbering{roman}

\end_layout

\begin_layout Plain Layout

\backslash

prefacesection{Acknowledgments}

\end_layout

\begin_layout Plain Layout

\backslash

director{Alberto Palloni}

\end_layout

\begin_layout Plain Layout

\backslash

makeabstract

\end_layout

\begin_layout Plain Layout

\backslash

prefacesection{Preface}

\end_layout

\end_inset

\begin_inset CommandInset label

LatexCommand label

name TableOfContentsLabel

\end_inset

\begin_inset CommandInset toc

LatexCommand tableofcontents

\end_inset

\begin_inset ERT

status open

\begin_layout Plain Layout

\backslash

pdfbookmark[0]{Contents}{TableOfContentsLabel}

\end_layout

\begin_layout Plain Layout

\backslash

newpage

\end_layout

\begin_layout Plain Layout

\backslash

makelistoftables

\end_layout

\begin_layout Plain Layout

\backslash

makelistoffigures

\end_layout

\begin_layout Plain Layout

\backslash

pagenumbering{arabic}

\end_layout

\begin_layout Plain Layout

\backslash

doublespacing

\end_layout

\end_inset

\end_layout

\begin_layout Chapter

\paragraph_spacing single

Introduction

\end_layout

\begin_layout Standard

\begin_inset CommandInset label

LatexCommand label

name Chapter1_Introduction

\end_inset

\begin_inset CommandInset include

LatexCommand input

filename 1 Intro/Chapter1_Introduction.lyx

\end_inset

\end_layout

\begin_layout Chapter

\paragraph_spacing single

Health Selection in Socioeconomic Status Attainment

\end_layout

\begin_layout Standard

\begin_inset CommandInset label

LatexCommand label

name 

Re: Option Clash with hyperref

2009-09-11 Thread Uwe Stöhr

Rob schrieb:

Here's the text of my file where I dropped the hyperref 
package call in the preamble and set the specifications 
in the pdf options.


Can you please attach the LyX file itself to this mail. I cannot create a LyX 
file out of your text.

regards Uwe


Re: Option Clash with hyperref

2009-09-11 Thread Rob
Hi Uwe,

Problem solved--my style file also called up hyperref and this was the source of
the conflict.  I think this problem could be classified as a complication due to
importing from .tex.  I wrote all my files in .tex and WinEdt and am now
translating everything into LyX because of the extreme coolness of LyX. 

If there's any list of things to look out for when importing .tex files into
LyX I would add Check for redundant loading of packages in style files that
will lead to options clashes to the list.

Thanks for your help.

Rob






Re: Option Clash with hyperref

2009-09-11 Thread Daniel Lohmann


On 10.09.2009, at 22:58, Rob wrote:


Hi,

I want to use backref, but I'm getting an options clash.  I read in  
a past post
that there is some mess when trying to specify the options in  
hyperref since
they're already set but that a work around is to add a \hyperset  
argument to the

preamble.  In this case, I tried the following without any success:

\hyperset{pagebackref=yes}


AFAIK the backref options cannot be set by \hyperset, but have to be  
passed when hyperref is loaded.


Daniel


Re: Option Clash with hyperref

2009-09-11 Thread Rob
Uwe Stöhr  writes:

Hi Uwe,

My document class is report.  Here's my preamble:
\usepackage{uwmadison-rgw}
\usepackage{enumitem}
\usepackage{appendix}
\usepackage[nottoc,notlof,notlot]{tocbibind} 
\usepackage[pagebackref=true]{hyperref}


In this case, the error is:

LaTeX Error: Option clash for package hyperref.

The package hyperref has already been loaded with options:
  [plainpages=false,pdfpagelabels]
There has now been an attempt to load it with options
  [pagebackref=true]
Adding the global options:
  plainpages=false,pdfpagelabels,pagebackref=true
to your \documentclass declaration may fix this.
Try typingto proceed.

So I tried this instead:
\usepackage{hyperref}
\hyperset{pagebackref=true}

In that case, I didn't receive an error, but there were no hyperlinks in my
references that take me back to the location of the citations in my text. 

So I tried Document Settings->PDF Properties->Use Hyperref Support->Backref set
to page and then removed the \usepackage{hyperref}.

But then I get the following error:

LaTeX Error: Option clash for package hyperref.

The package hyperref has already been loaded with options:
  [unicode=true,bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,bookma
rksopenlevel=3,breaklinks=false,pdfborder={0 0 1},backref=page,colorlinks=true]

Do I need to somehow suppress the options?
Or do I need to change the pdf options?

Any suggestions are much appreciated.

Rob



Re: Option Clash with hyperref

2009-09-11 Thread Uwe Stöhr

Rob schrieb:


My document class is report.  Here's my preamble:
\usepackage{uwmadison-rgw}
\usepackage{enumitem}
\usepackage{appendix}
\usepackage[nottoc,notlof,notlot]{tocbibind} 
\usepackage[pagebackref=true]{hyperref}


In this case, the error is:

LaTeX Error: Option clash for package hyperref.

The package hyperref has already been loaded with options:
  [plainpages=false,pdfpagelabels]


LyX already loaded the hyperref package. hyperref must be set up in the document settings in the PDF 
properties and not in the user preamble.



So I tried Document Settings->PDF Properties->Use Hyperref Support->Backref set
to page and then removed the \usepackage{hyperref}.

But then I get the following error:

LaTeX Error: Option clash for package hyperref.

The package hyperref has already been loaded with options:
  [unicode=true,bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,bookma
rksopenlevel=3,breaklinks=false,pdfborder={0 0 1},backref=page,colorlinks=true]


Can you please send a LyX example file to be able to reproduce this problem?

regards Uwe


Re: Option Clash with hyperref

2009-09-11 Thread Rob
Uwe Stöhr  writes:

Hi Uwe,

Here's the text of my file where I dropped the hyperref 
package call in the preamble and set the specifications 
in the pdf options.

Thanks.

Rob

#LyX 1.6.4 created this file. For more info see 
http://www.lyx.org/

\lyxformat 345

\begin_document

\begin_header

\textclass report

\begin_preamble

\usepackage{uwmadison-rgw}

\usepackage{enumitem}

\usepackage{appendix}

\usepackage[nottoc,notlof,notlot]{tocbibind} 

%\let\citep=\citet

\setcitestyle{aysep={}}

\singlespacing

\end_preamble

\use_default_options false

\language english

\inputencoding auto

\font_roman default

\font_sans default

\font_typewriter default

\font_default_family default

\font_sc false

\font_osf false

\font_sf_scale 100

\font_tt_scale 100

\graphics default

\paperfontsize 12

\spacing single

\use_hyperref true

\pdf_bookmarks true

\pdf_bookmarksnumbered true

\pdf_bookmarksopen true

\pdf_bookmarksopenlevel 3

\pdf_breaklinks false

\pdf_pdfborder false

\pdf_colorlinks true

\pdf_backref page

\pdf_pdfusetitle false

\papersize default

\use_geometry false

\use_amsmath 1

\use_esint 1

\cite_engine natbib_authoryear

\use_bibtopic false

\paperorientation portrait

\secnumdepth 3

\tocdepth 3

\paragraph_separation indent

\defskip medskip

\quotes_language english

\papercolumns 1

\papersides 1

\paperpagestyle default

\tracking_changes false

\output_changes false

\author "" 

\author "" 

\end_header

\begin_body

\begin_layout Standard

\begin_inset CommandInset label

LatexCommand label

name "TitleLabel"

\end_inset

\end_layout

\begin_layout Standard

\begin_inset ERT

status open

\begin_layout Plain Layout

%**TITLE PAGE**

\end_layout

\begin_layout Plain Layout

\backslash

title{

\backslash

vspace{2em} Selected for Attainment: 

\backslash

vspace{2em} 

\backslash

\backslash

The Lasting Effects of Childhood Health} 

\end_layout

\begin_layout Plain Layout

\backslash

author{Robert G.

White} 

\end_layout

\begin_layout Plain Layout

\backslash

abstract{Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.

Here is the abstract.} 

\end_layout

\begin_layout Plain Layout

\backslash

degree{Doctor of Philosophy} 

\end_layout

\begin_layout Plain Layout

\backslash

college{College of Letters and Science} 

\end_layout

\begin_layout Plain Layout

\backslash

dept{Sociology} 

\backslash

directordept{Sociology} 

\end_layout

\begin_layout Plain Layout

\backslash

secondreaderdept{Sociology} 

\end_layout

\begin_layout Plain Layout

\backslash

thirdreaderdept{Sociology} 

\end_layout

\begin_layout Plain Layout

\backslash

copyrightyear{2009}

\end_layout

\end_inset

\end_layout

\begin_layout Standard

\begin_inset ERT

status open

\begin_layout Plain Layout

\backslash

pdfbookmark[0]{Title}{TitleLabel}

\end_layout

\begin_layout Plain Layout

\backslash

makedissertationtitle

\end_layout

\begin_layout Plain Layout

\backslash

pagenumbering{roman}

\end_layout

\begin_layout Plain Layout

\backslash

prefacesection{Acknowledgments}

\end_layout

\begin_layout Plain Layout

\backslash

director{Alberto Palloni}

\end_layout

\begin_layout Plain Layout

\backslash

makeabstract

\end_layout

\begin_layout Plain Layout

\backslash

prefacesection{Preface}

\end_layout

\end_inset

\begin_inset CommandInset label

LatexCommand label

name "TableOfContentsLabel"

\end_inset

\begin_inset CommandInset toc

LatexCommand tableofcontents

\end_inset

\begin_inset ERT

status open

\begin_layout Plain Layout

\backslash

pdfbookmark[0]{Contents}{TableOfContentsLabel}

\end_layout

\begin_layout Plain Layout

\backslash

newpage

\end_layout

\begin_layout Plain Layout

\backslash

makelistoftables

\end_layout

\begin_layout Plain Layout

\backslash

makelistoffigures

\end_layout

\begin_layout Plain Layout

\backslash

pagenumbering{arabic}

\end_layout

\begin_layout Plain Layout

\backslash

doublespacing

\end_layout

\end_inset

\end_layout

\begin_layout Chapter

\paragraph_spacing single

Introduction

\end_layout

\begin_layout Standard

\begin_inset CommandInset label

LatexCommand label

name "Chapter1_Introduction"

\end_inset

\begin_inset CommandInset include

LatexCommand input

filename "1 Intro/Chapter1_Introduction.lyx"

\end_inset

\end_layout

\begin_layout Chapter

\paragraph_spacing single

Health Selection in Socioeconomic Status Attainment

\end_layout

\begin_layout Standard

\begin_inset CommandInset label

LatexCommand label


Re: Option Clash with hyperref

2009-09-11 Thread Uwe Stöhr

Rob schrieb:

Here's the text of my file where I dropped the hyperref 
package call in the preamble and set the specifications 
in the pdf options.


Can you please attach the LyX file itself to this mail. I cannot create a LyX 
file out of your text.

regards Uwe


Re: Option Clash with hyperref

2009-09-11 Thread Rob
Hi Uwe,

Problem solved--my style file also called up hyperref and this was the source of
the conflict.  I think this problem could be classified as a complication due to
importing from .tex.  I wrote all my files in .tex and WinEdt and am now
translating everything into LyX because of the extreme coolness of LyX. 

If there's any list of "things to look out for when importing .tex files into
LyX" I would add "Check for redundant loading of packages in style files that
will lead to options clashes" to the list.

Thanks for your help.

Rob






Re: Option Clash with hyperref

2009-09-10 Thread Uwe Stöhr

Rob schrieb:


I want to use backref, but I'm getting an options clash.


What is the error message?


 I read in a past post
that there is some mess when trying to specify the options in hyperref since
they're already set but that a work around is to add a \hyperset argument to the
preamble.  In this case, I tried the following without any success:

\hyperset{pagebackref=yes}


You can also set this option in the document settings in the PDF properties.
When this doesn't work, can you please provide a _small_ example LyX file.

regards Uwe


Re: Option Clash with hyperref

2009-09-10 Thread Uwe Stöhr

Rob schrieb:


I want to use backref, but I'm getting an options clash.


What is the error message?


 I read in a past post
that there is some mess when trying to specify the options in hyperref since
they're already set but that a work around is to add a \hyperset argument to the
preamble.  In this case, I tried the following without any success:

\hyperset{pagebackref=yes}


You can also set this option in the document settings in the PDF properties.
When this doesn't work, can you please provide a _small_ example LyX file.

regards Uwe


Re: Option Clash with hyperref

2009-09-10 Thread Uwe Stöhr

Rob schrieb:


I want to use backref, but I'm getting an options clash.


What is the error message?


 I read in a past post
that there is some mess when trying to specify the options in hyperref since
they're already set but that a work around is to add a \hyperset argument to the
preamble.  In this case, I tried the following without any success:

\hyperset{pagebackref=yes}


You can also set this option in the document settings in the PDF properties.
When this doesn't work, can you please provide a _small_ example LyX file.

regards Uwe