I am a new Lyx user and I have to use the page layout BiocStyle for a report writting. It seems to work fine until I insert html links, getting some "Missing \begin{Document}" and "Option clash for package hyperref" errors.
I don't understand where the problem is, given that I don't manually call (correct word ?) the hyperref package.
Here is my preamble :
Code: Select all
% Layout page
<<style-knitr, eval=TRUE, echo=FALSE, results="asis">>=
BiocStyle::latex()
@
% Import Rds file
<<eval=TRUE, echo = FALSE, results = "asis">>=
options(scipen = 50)
library(knitr)
library(xtable)
R_param = readRDS("/path/file.Rds")
@
% Language
\usepackage{booktabs}
% Horizontal pagination
\usepackage{pdflscape}
% Tables
\usepackage{array}
\usepackage{longtable}
\usepackage{multirow}
\usepackage{colortbl}
% Colors
\usepackage{xcolor}
\usepackage{color}
% Special caracters
\usepackage{textcomp}
% Set size of page
\usepackage{fullpage}
% Table position
\usepackage{graphics}
\usepackage{rotating}
\usepackage{ulem}
\usepackage{soul}
% Set color and column types
\newcolumntype{a}{>{\columncolor{blue!30}}c}
Sorry for my english.
Have a nice day
Hive