Error message with Biblatex

Hi! I'm having a compilation problem with Biblatex. Could someone help me resolve this issue? When I compile my document, I get the following error message: ! LaTeX Error: Option clash for package biblatex. What can I do? Thanks for your help. This is my MWE:

---
documentclass: book
classoption:
- hidelinks
- twoside
- openany
papersize: a4paper
bibliography: Bibliography (BibTexBis).bib
biblio-title: Références, heading=bibintoc
subparagraph: yes
linestretch: 1.1
output:
  pdf_document: 
    includes:
      in_header: Preambule MALAISE.tex
      after_body: after_body MALAISE.tex
    keep_tex: true
    latex_engine: xelatex
    citation_package: biblatex
    number_sections: true
  word_document: 
    toc: yes
    toc_depth: 4
geometry: left = 5cm, right = 5cm, top = 5cm, bottom = 5cm
fontsize: 12pt
header-includes:
  - \usepackage{tocloft}
  - \usepackage{fontspec,microtype}
  - \usepackage{soul}
  - \let\bfseries\mdseries
  - \newlength\mylenchap
    \setlength{\mylenchap}{0.8em}
    \renewcommand{\cftchapaftersnum}{\hspace*{\mylenchap}}
    \addtolength{\cftchapnumwidth}{\mylenchap}
  - \usepackage{hyperref}
  - \counterwithout{footnote}{chapter}
  - \usepackage{float}
  - \usepackage{sectsty}
  - \usepackage{epigraph}
    \setlength{\epigraphrule}{0pt}
    \setlength{\epigraphwidth}{0.8\textwidth}
    \renewcommand\textflush{flushepinormal}
    \renewenvironment{flushepinormal}{}{\vspace*{-\baselineskip}}
  - \chapterfont{\centering}
  - \usepackage{titlesec}
  - \titleformat{\chapter}[display]
    {\normalfont\Large\bfseries\filcenter}{\chaptertitlename\        \thechapter}{10pt}{\Large}
      \titlespacing*{\chapter}
      {0pt}{30pt}{20pt}
---

# This is a title

This is some text.

I have not worked through your example and my Latex is rusty, can you tell me what this is doing?

`(BibTexBis).bib`

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.