
Quando faço \parencite
algo, quero que o ponto seja omitido após o ano e adicione uma vírgula após o autor. Os seguintes comandos já estão no meu preâmbulo:
\renewcommand*{\postnotedelim}{\addcolon\space} % add colon after year on \parencite
\DeclareFieldFormat{postnote}{#1} %no page prefix when citing
\DeclareFieldFormat{multipostnote}{#1} %no page prefix when citing
Isso exibe minha fonte citada como
(Autor 1975.: 49)
mas eu quero que eles sejam mostrados como
(Autor, 1975: 49)
MWE
\documentclass{article}
\usepackage[serbian]{babel}
\usepackage[backend=biber, style=authoryear]{biblatex}
\renewcommand*{\postnotedelim}{\addcolon\space}
\DeclareFieldFormat{postnote}{#1}
\DeclareFieldFormat{multipostnote}{#1}
\addbibresource{biblatex-examples.bib}
\begin{document}
Lorem \parencite[42]{sigfridsson}
\end{document}
Responder1
serbian.lbx
coloca \adddot
depois do ano \mkbibdateshort
e relaciona macros. Você pode se livrar dos pontos redefinindo as macros dentro do arquivo \DefineBibliographyExtras{serbian}
.
Você pode adicionar uma vírgula após o autor com \renewcommand*{\nameyeardelim}{\addcomma\space}
.
\documentclass[serbian]{article}
\usepackage[T1]{fontenc}
\usepackage[serbian]{babel}
\usepackage{csquotes}
\usepackage[backend=biber, style=authoryear]{biblatex}
\DefineBibliographyExtras{serbian}{%
\renewcommand*\mkbibordinal[1]{\stripzeros{#1}}
\renewcommand*\mkbibdateshort[3]{%
\iffieldundef{#3}{}{\mkbibordinal{\thefield{#3}}%
\iffieldundef{#2}{}{\addnbspace}}%
\iffieldundef{#2}{}{\mkbibordinal{\thefield{#2}}%
\iffieldundef{#1}{}{\addnbspace}}%
\iffieldbibstring{#1}{\bibstring{\thefield{#1}}}%
{\dateeraprintpre{#1}\mkyearzeros{\thefield{#1}}}}%
\renewcommand*\mkbibseasondateshort[2]{%
\mkbibseason{\thefield{#2}}%
\iffieldundef{#1}{}{\space}%
\dateeraprintpre{#1}\mkyearzeros{\thefield{#1}}}%
\renewcommand*\mkbibseasondatelong[2]{%
\mkbibseason{\thefield{#2}}%
\iffieldundef{#1}{}{\space}%
\dateeraprintpre{#1}\mkyearzeros{\thefield{#1}}}%
}
\renewcommand*{\postnotedelim}{\addcolon\space} % add colon after year on \parencite
\renewcommand*{\nameyeardelim}{\addcomma\space}
\DeclareFieldFormat{postnote}{#1} %no page prefix when citing
\DeclareFieldFormat{multipostnote}{#1} %no page prefix when citing
\begin{filecontents}{\jobname.bib}
@book{elk,
author = {Anne Elk},
title = {A Theory on Brontosauruses},
year = {1972},
publisher = {Monthy \& Co.},
location = {London},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}
\begin{document}
Lorem \parencite[380]{sigfridsson}
ipsum \parencite[42]{elk}
\printbibliography
\end{document}
Isso parece produzir o resultado desejado, mas pode ter efeitos colaterais e quebrar coisas em outros lugares.