Cambiar el formato de entradas de bibliografía y números de Babel.

Cambiar el formato de entradas de bibliografía y números de Babel.

Me gustaría cambiar el formato en el que aparecen las entradas de la bibliografía. Intenté redefinir macros, pero como también uso estonio con el babelpaquete, sobrescribe mis definiciones. Actualmente, 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 y Aaron Courville Yoshua Bengio. Redes generativas adversarias. Teosas:PNI. Toim. Z. Ghahramani, M. Welling, C. Cortes, ND Lawrence y KQ Weinberger. Nueva York: Curran Associates, Inc., 2014, lk. 2672–2680.

pero me gustaría que apareciera como

Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair y Aaron Courville Yoshua Bengio 2014. Redes generativas de confrontación. -PNI. Ed. Z. Ghahramani, M. Welling, C. Cortes, ND Lawrence y KQ Weinberger. Nueva York: Curran Associates, Inc., págs. 2672–2680

Debe booktitleestar en cursiva.

Por ejemplo, he intentado redefinir el in:bibmacro

\renewbibmacro*{in:}{%
  \setunit{\addperiod\space\textendash\space}}

pero debido a babella salida no cambia.

EDITAR, agregado 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}

Respuesta1

estonain.lbxredefine el bibmacro in:en\DeclareBibliographyExtras (de una manera que va en contra de la idea de separar estilo y localización, pero a veces esto se consideró necesario; se puede ver un efecto similar en inglés¿Cómo deshacerse de la "coma Oxford" en un listado de tres o más autores?, Francés:Mantener minúsculas en biblatex, Italiano:Tablero personalizado en Biblatex, un ejemplo mucho más extremo es magyar.lbx). Si desea sobrescribir esa definición, debe hacerlo dentro de \DefineBibliographyExtras{estonian}.

También cambié algunas cuerdas de acuerdo con la entrada de tu ejemplo (no sé nada de estonio, solo tomé las cuerdas en inglés).

Tenga en cuenta que cambié a un authoryearestilo completo en style=authoryear,lugar de falsificarlo citestyle=authoryear,y suprimir las etiquetas numéricas.

\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}

Goodfellow, Ian, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair y Aaron Courville Yoshua Bengio (2014). Redes generativas adversarias. – NIPS. Ed. Z. Ghahramani, M. Welling, C. Cortes, ND Lawrence y KQ Weinberger. Nueva York: Curran Associates, Inc., págs. 2672–2680.

información relacionada