![Alterar o formato das entradas bibliográficas e das edições do babel](https://rvso.com/image/405366/Alterar%20o%20formato%20das%20entradas%20bibliogr%C3%A1ficas%20e%20das%20edi%C3%A7%C3%B5es%20do%20babel.png)
Gostaria de alterar o formato em que as entradas bibliográficas aparecem. Tentei redefinir macros, mas como também estou usando o estoniano com o babel
pacote, ele substituiu minhas definições. Atualmente, esta entrada
@inproceedings{gan,
author = {Ian Goodfellow and Jean Pouget-Abadie and Mehdi Mirza and Bing Xu and David Warde-Farley and Sherjil Ozair and Aaron Courville Yoshua Bengio},
title = {Generative adversarial networks},
booktitle = {{NIPS}},
editor = {Z. Ghahramani and M. Welling and C. Cortes and N. D. Lawrence and K. Q. Weinberger},
pages = {2672--2680},
year = {2014},
publisher = {Curran Associates, Inc.},
location = {New York},
}
aparece como
Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair e Aaron Courville Yoshua Bengio. Redes adversárias generativas. Teoses:PNI. Tom. Z. Ghahramani, M. Welling, C. Cortes, ND Lawrence e KQ Weinberger. Nova York: Curran Associates, Inc., 2014, lk. 2672–2680.
mas gostaria que aparecesse como
Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair e Aaron Courville Yoshua Bengio 2014. Redes adversárias geradoras. -PNI. Ed. Z. Ghahramani, M. Welling, C. Cortes, ND Lawrence e KQ Weinberger. Nova York: Curran Associates, Inc., pp.
O booktitle
deve estar em itálico.
Por exemplo, tentei redefinir o in:
bibmacro
\renewbibmacro*{in:}{%
\setunit{\addperiod\space\textendash\space}}
mas devido à babel
saída não muda.
EDITAR, adicionado MWEB
\documentclass{article}
\usepackage[estonian .notilde]{babel}
\usepackage[backend=biber, citestyle=authoryear, maxbibnames=99]{biblatex}
\DeclareFieldFormat{labelnumberwidth}{} % Doesn't print anything in the label
\setlength{\biblabelsep}{0pt} % Eliminates the spacing before the entries
\DeclareFieldFormat*{title}{#1} % No quotation marks
% This redefinition doesn't change anything due to babel
\renewbibmacro*{in:}{%
\setunit{\addperiod\space\textendash\space}}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@inproceedings{gan,
author = {Ian Goodfellow and Jean Pouget-Abadie and Mehdi Mirza and Bing Xu and David Warde-Farley and Sherjil Ozair and Aaron Courville Yoshua Bengio},
title = {Generative adversarial networks},
booktitle = {{NIPS}},
editor = {Z. Ghahramani and M. Welling and C. Cortes and N. D. Lawrence and K. Q. Weinberger},
pages = {2672--2680},
year = {2014},
publisher = {Curran Associates, Inc.},
location = {New York},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\parencite{gan}
\printbibliography
\end{document}
Responder1
estonain.lbx
redefine o bibmacro in:
em \DeclareBibliographyExtras
(de uma forma que vai contra a ideia de separar estilo e localização, mas por vezes isto foi visto como necessário; um efeito semelhante pode ser visto em inglêsComo se livrar da “vírgula Oxford” em uma listagem de três ou mais autores?, Francês:Mantenha letras minúsculas no biblatex, Italiano:Traço personalizado no Biblatex, um exemplo muito mais extremo é magyar.lbx
). Se você quiser substituir essa definição, precisará fazê-la dentro de \DefineBibliographyExtras{estonian}
.
Também mudei algumas cordas de acordo com o seu exemplo (não conheço nenhum estoniano, apenas peguei as cordas em inglês).
Observe que mudei para um authoryear
estilo completo style=authoryear,
em vez de fingir citestyle=authoryear,
e suprimir os rótulos numéricos.
\documentclass{article}
\usepackage[estonian.notilde]{babel}
\usepackage{csquotes}
\usepackage[backend=biber, style=authoryear, maxbibnames=99]{biblatex}
\DeclareFieldFormat*{title}{#1}
\DefineBibliographyExtras{estonian}{%
\renewbibmacro*{in:}{%
\setunit{\addperiod\space\textendash\space}}}
\DefineBibliographyStrings{estonian}{
editor = {ed\adddot},
editors = {ed\adddot},
byeditor = {ed\adddot},
page = {p\adddot},
pages = {pp\adddot},
}
\begin{filecontents}{\jobname.bib}
@inproceedings{gan,
author = {Ian Goodfellow and Jean Pouget-Abadie and Mehdi Mirza
and Bing Xu and David Warde-Farley and Sherjil Ozair
and Aaron Courville Yoshua Bengio},
title = {Generative adversarial networks},
booktitle = {{NIPS}},
editor = {Z. Ghahramani and M. Welling and C. Cortes
and N. D. Lawrence and K. Q. Weinberger},
pages = {2672--2680},
year = {2014},
publisher = {Curran Associates, Inc.},
location = {New York},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\parencite{gan}
\printbibliography
\end{document}