Hi everyone! I'm writing a document in Romanian and I have to make some changes in the default bibliography style. Instead of in-text et al must be si colab. Anyways, I managed to solve this problem while writing in plain latex (Overleaf). However, I cannot manage to do it in RMarkdown.
Here's the YAML header:
---
title: "xxx"
documentclass: report
output:
bookdown::pdf_book:
latex_engine: xelatex
number_sections: true
citation_package: biblatex
includes:
in_header: preamble.tex
biblatexoptions: [backend=biber, style=authoryear]
bibliography: references.bib
papersize: letter
lang: ro-RO
indent: true
header-includes:
- \usepackage{times}
- \usepackage{indentfirst}
- \usepackage{fancyhdr}
- \pagestyle{fancy}
---
And here is the preamble.tex
\NewBibliographyString{
langromanian,
summerN,winterN,autumnN,springN,
summerS,winterS,autumnS,springS,
Q1,Q2,Q3,Q4,S1,S2,
}
\DefineBibliographyStrings{romanian}{andothers = {și colab.,}}
\DeclareFieldFormat{pages}{#1}
Additionally, I have aromanian.ibx in the directory
And I get this error:
! Undefined control sequence.
l.70 \NewBibliographyString
{
Any ideas?