Como remover maiúsculas na citação, e mantê-las na bibliografia, ao usar biblatex com biblatex em francês?

Como remover maiúsculas na citação, e mantê-las na bibliografia, ao usar biblatex com biblatex em francês?

Com o XeLaTeX, quando uso [backend=biber, style=authoryear-icomp, dashed=false]{biblatex}junto com \usepackage{polyglossia}then \setmainlanguage{french}, as citações e referências são escritas em letras maiúsculas. Meu editor quer que eu remova as letras maiúsculas do texto e das notas de rodapé, mas mantenha as letras maiúsculas na bibliografia.

A resposta que encontreiem outro lugaré \DefineBibliographyExtras{french}{\restorecommand\mkbibnamefamily}, mas isso remove as letras maiúsculas tanto no texto quanto na bibliografia.

MWE abaixo:

\documentclass{article}

\usepackage[normalem]{ulem}  
\usepackage[no-math]{fontspec}
\usepackage{polyglossia}
\usepackage[backend=biber, style=authoryear-icomp, dashed=false]{biblatex} 
\usepackage{csquotes}
\setmainlanguage{french}
\setotherlanguage{english}
\setotherlanguage{latin}
\setotherlanguage[variant=ancient]{greek}
\newfontfamily\arabicfont[Script=Arabic,Scale=1.5]{Scheherazade}
\newfontfamily\greekfont[Script=Greek]{Linux Libertine O}

\usepackage{filecontents}

\begin{filecontents}{biblio.bib}
@article{abel2018,
  title = {Estimates of {{Global Bilateral Migration Flows}} by {{Gender}} between 1960 and 2015},
  author = {Abel, Guy J.},
  date = {2018},
  journaltitle = {International Migration Review},
  shortjournal = {International Migration Review},
  volume = {52},
  pages = {809--852},
  doi = {10.1111/imre.12327},
  url = {http://journals.sagepub.com/doi/10.1111/imre.12327},
  urldate = {2019-12-14},
  langid = {english},
  number = {3}
}
\end{filecontents}

\addbibresource{biblio.bib}

\begin{document}
I want to remove the small capitals here : \cite{abel2018}
\printbibliography[title={I want to keep the small capitals here}]
\end{document}

O que eu tenho:

insira a descrição da imagem aqui

É claro que adicionar taquigrafia = {Abel 2018} resolverá o problema, mas tenho mais ou menos mil entradas e a vida é curta.

Responder1

Você pode redefinir \mkbibnamefamilyantes de imprimir sua bibliografia.

{
  \protected\def\mkbibnamefamily#1{\textsc{#1}}
  \printbibliography[title={I want to keep the small capitals here}]
}

Seu MWE:

\documentclass{article}

\usepackage[normalem]{ulem}  
\usepackage[no-math]{fontspec}
\usepackage{polyglossia}
\usepackage[backend=biber, style=authoryear-icomp,  dashed=false]{biblatex} 
\usepackage{csquotes}
\setmainlanguage{french}
\setotherlanguage{english}
%\setotherlanguage{latin}
%\setotherlanguage[variant=ancient]{greek}
%\newfontfamily\arabicfont[Script=Arabic,Scale=1.5]{Scheherazade}
%\newfontfamily\greekfont[Script=Greek]{Linux Libertine O}
\DefineBibliographyExtras{french}{\restorecommand\mkbibnamefamily}
\usepackage{filecontents}

\begin{filecontents}{biblio.bib}
@article{abel2018,
  title = {Estimates of {{Global Bilateral Migration Flows}} by {{Gender}} between 1960 and 2015},
  author = {Abel, Guy J.},
  date = {2018},
  journaltitle = {International Migration Review},
  shortjournal = {International Migration Review},
  volume = {52},
  pages = {809--852},
  doi = {10.1111/imre.12327},
  url = {http://journals.sagepub.com/doi/10.1111/imre.12327},
  urldate = {2019-12-14},
  langid = {english},
  number = {3}
}
\end{filecontents}

\addbibresource{biblio.bib}

\begin{document}
I want to remove the small capitals here : \cite{abel2018}

{
  \protected\def\mkbibnamefamily#1{\textsc{#1}}
  \printbibliography[title={I want to keep the small capitals here}]
}
\end{document}

Responder2

Se você quiser uma solução que fique apenas no preâmbulo, poderá redefinir \mkbibnamefamilycom um \ifbibliographycheque.

\documentclass{article}

\usepackage[normalem]{ulem}  
\usepackage[no-math]{fontspec}
\usepackage{polyglossia}
\usepackage[backend=biber, style=authoryear-icomp, dashed=false]{biblatex} 
\usepackage{csquotes}
\setmainlanguage{french}
\setotherlanguage{english}
\setotherlanguage{latin}
\setotherlanguage[variant=ancient]{greek}
%\newfontfamily\arabicfont[Script=Arabic,Scale=1.5]{Scheherazade}
\newfontfamily\greekfont[Script=Greek]{Linux Libertine O}

\DefineBibliographyExtras{french}{%
  \renewcommand*\mkbibnamefamily[1]{%
    \ifbibliography
      {\textsc{#1}}
      {#1}}}


\begin{filecontents}{\jobname.bib}
@article{abel2018,
  title        = {Estimates of Global Bilateral Migration Flows by Gender between 1960 and 2015},
  author       = {Abel, Guy J.},
  date         = {2018},
  journaltitle = {International Migration Review},
  shortjournal = {International Migration Review},
  volume       = {52},
  pages        = {809--852},
  doi          = {10.1111/imre.12327},
  url          = {http://journals.sagepub.com/doi/10.1111/imre.12327},
  urldate      = {2019-12-14},
  langid       = {english},
  number       = {3},
}
\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}
I want to remove the small capitals here : \cite{abel2018}
\printbibliography[title={I want to keep the small capitals here}]
\end{document}

Sem versalete na citação. Versalete na bibliografia.

informação relacionada