title: R bookdown multiple authors LaTeX Error: Counter too large
body: <p>I am trying to add all authors of a paper in the YAML of a .Rmd file.
  In bookdown::html_document2 it works fine.
  In bookdown::pdf_book it gives <code>! LaTeX Error: Counter too large.</code></p>
  <p>Here is the YAML :</p>
  <pre><code>---
  title: &quot;Supplementary material&quot;
  subtitle: &quot;Article title&quot;
  author:
  - Author One^[A, email@univ.com]
  - Author Two^[A]
  - Author Three^[B]
  - Author Four^[C, D]
  - Author Five^[D]
  - Author Six^[A]
  - Author Seven^[D]
  - Author Eight^[D]
  - Author Nine^[E]
  - Author Ten^[A]
  - Author Eleven^[F, G, H]
  - Author Twelve^[A]
  output:
    bookdown::html_document2:
      toc: true
      toc_float: true
      number_sections: true
    bookdown::pdf_book:
      toc: true
      toc_float: true
      number_sections: true
  bibliography: &quot;`r here::here('References.bib')`&quot;
  csl: &quot;`r here::here('style.csl')`&quot;
  header-includes:
    - \usepackage{booktabs}
    - \usepackage{longtable}
    - \usepackage{array}
    - \usepackage{multirow}
    - \usepackage{wrapfig}
    - \usepackage{float}
    - \usepackage{colortbl}
    - \usepackage{pdflscape}
    - \usepackage{tabu}
    - \usepackage{threeparttable}
    - \usepackage{threeparttablex}
    - \usepackage[normalem]{ulem}
    - \usepackage{makecell}
    - \usepackage{xcolor}
    - \usepackage{float}
    - \usepackage{chngcntr}
    - \counterwithin{figure}{section}
  always_allow_html: true
  ---
  </code></pre>
  <p>There might be another way to do it but I can't seem to find it.</p>