Mudanças no comando biblatex-mla8 \autocite*

Mudanças no comando biblatex-mla8 \autocite*

Para um projeto estou seguindo as regras do MLA em sua 8ª edição para citações e há um problema que não consigo resolver. Estou usando biblatex-mla-new(que, eu acho, ainda é beta?) de James Clawson, o que é muito bom, exceto por alguns pequenos problemas que estou tendo.

Sempre que utilizo o nome de um autor no texto escrito, só preciso fornecer os números das páginas nas citações no texto (entre colchetes). Caso haja mais de um título para um autor, tenho que adicionar um título - isso é feito usando \autocite*. Se não citar o nome do autor no texto, tem que ir entre colchetes também, usando \autocite(sem asterisco). Tudo funciona bem desde que a entrada tenha um título - mas não quando não há título, como é o caso, por exemplo, de introduções. Para seguir as regras do MLA, utilizo o campo titleaddon = {Introduction}, o que resulta em uma entrada adequada na própria bibliografia, mas nem \autociteo \autocite*utilizo, portanto, a entrada entre colchetes sempre falta essa informação crucial. Consegui alcançar o resultado desejado para \autocite(cf. mwe), mas não tenho ideia de onde procurar \autocite*...

\documentclass{article}

\usepackage[british]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{mathptmx}
\usepackage{filecontents}

\usepackage[style=mla-new,nofullfootnote]{biblatex}

%--changes to lines 173-187 of mla-new.cbx
\renewbibmacro*{cite:mla:title:internal}{%
    \ifbool{cbx@named}{\setunit{\addcomma\addspace}}{}%
    \iffieldundef{title}%
    {\iffieldequalstr{entrytype}{review}%
        {\printtext[bibhyperref]%
            {\printtext{\bibcpstring{reviewof}%
                    \setunit{\addspace}%
                    \printfield{booktitle}}}}%
        {\printfield{titleaddon}}}% -->this line replaces lines 181-185 of mla8.cbx
    {\printtext[bibhyperref]{%
            \printfield[citetitle:\strfield{entrytype}]{labeltitle}}}}%

%!!!----!!!
%--the following changes to my mind improve a couple of things in biblatex-mla-new which I noticed while working with my bibliographic entries

%--title and/or subtitle of collections do not stand in if incollections don't have a title/subtitle of their own; instead, titleaddon is used (in case of, e.g., untitled introductions)

\renewbibmacro*{title}{%
    \ifboolexpr{
        test {\iffieldundef{title}}
        and
        test {\iffieldundef{subtitle}}
    }
    {}
    {\printtext[title]{%
            \printfield[titlecase]{title}%
            \setunit{\subtitlepunct}%
            \printfield[titlecase]{subtitle}}%
        \newunit}%
    \printfield{titleaddon}\addperiod\space}

%--to put the period at the end of the title within the inverted commas

\DeclareFieldFormat
[article,inbook,incollection,inproceedings,patent,thesis,unpublished]
{title}{\mkbibquote{#1\addperiod}}

%--changing the way dates are written (ordinal numbers become cardinal numbers in, e.g., dates of last access for websites)

\DefineBibliographyExtras{british}{%
    \protected\def\mkbibdatelong#1#2#3{%
        \iffieldundef{#3}
        {}
        {\stripzeros{\thefield{#3}}%
            \iffieldundef{#2}{}{\nobreakspace}}%
        \iffieldundef{#2}
        {}
        {\mkbibmonth{\thefield{#2}}%
            \iffieldundef{#1}{}{\space}}%
        \stripzeros{\thefield{#1}}}%
}

%--IMPORTANT!!! I also needed to make a change directly to mla-new.bbx, replace \newunit with \newblockpunct in line 398 (within \DeclareBibliographyDriver{book}; cf. entry for Jason Donald, which ends with a comma instead of with a period in the bibliography without the change - so far, I haven't noticed any unwanted behaviour and copying all the relevant lines into my preamble was rather too much). 

%!!!----!!!

\addbibresource{katrinbiblio.bib}

\begin{filecontents*}{katrinbiblio.bib}
@collection{Anker.2017,
    year = {2017},
    title = {New Directions in Law and Literature},
    publisher = {{Oxford UP}},
    editor = {Anker, Elizabeth S. and Meyler, Bernadette},
    location = {New York}
}
@incollection{Anker.2017b,
    author = {Anker, Elizabeth S. and Meyler, Bernadette},
    pages = {1--30},
    publisher = {{Oxford UP}},
    editor = {Anker, Elizabeth S. and Meyler, Bernadette},
    booktitle = {New Directions in Law and Literature},
    titleaddon = {Introduction},
    year = {2017},
    location = {New York}
}
@book{Donald.2018,
    author = {Donald, Jason},
    year = {2018},
    title = {Dalila},
    publisher = {Vintage},
    isbn = {1784702986},
    location = {London},
    abstract = {}
}
@article{Posner.1986,
    author = {Posner, Richard A.},
    year = {1986},
    title = {Law and Literature},
    pages = {1351--1392},
    volume = {72},
    journaltitle = {Virginia Law Review},
    subtitle = {A Relation Reargued},
    number = {8},
    shorttitle = {Relation Reargued}
}
@book{Posner.2009,
    author = {Posner, Richard A.},
    year = {2009},
    title = {Law and Literature},
    edition = {3},
    publisher = {{Harvard UP}},
    location = {Cambridge}
}
@incollection{Stern.2017,
    author = {Stern, Simon},
    title = {Legal and Literary Fictions},
    pages = {313--326},
    publisher = {{Oxford UP}},
    editor = {Anker, Elizabeth S. and Meyler, Bernadette},
    booktitle = {New Directions in Law and Literature},
    year = {2017},
    location = {New York}
}

\end{filecontents*}

\begin{document}

As Anker and Meyler state, the situation is diverse \autocite*[2]{Anker.2017b}. They go even further and present more diversity \autocite[3]{Anker.2017b}. Posner, on the other hand, is a real pessimist \autocite*[2]{Posner.2009}. He has been that all through his career \autocite[3]{Posner.1986}. Still, the others respect him \autocite[1]{Anker.2017b}.

\nocite{*}
\printbibliography

\end{document}

O que está entre eles %!!!----!!!não é relevante para o meu problema, mas são mudanças que, em minha opinião, melhoram o mla-new-style - eu as forneci caso alguém se deparasse com este tópico em busca de uma solução.

Existe alguém por aí que possa me ajudar a fazer alterações em \autocite*, já que não consigo descobrir onde esse comando está definido...

Responder1

Acho que você pode obter melhores resultados usando @suppcollectionem vez @incollectionde apresentações

@suppcollection{Anker.2017b,
  author    = {Anker, Elizabeth S. and Meyler, Bernadette},
  pages     = {1--30},
  publisher = {Oxford UP},
  editor    = {Anker, Elizabeth S. and Meyler, Bernadette},
  booktitle = {New Directions in Law and Literature},
  title     = {Introduction},
  year      = {2017},
  location  = {New York},
}

Então você pode usar titleem vez de titleaddon.

@suppcollectioné especificamente para introduções e prefácios.

Obiblatexdocumentaçãodiz nas páginas 9-10

[ @suppbook] Material suplementar em um arquivo @book. Este tipo está intimamente relacionado ao @inbooktipo de entrada. Embora @inbookse destine principalmente a uma parte de um livro com título próprio (por exemplo, um único ensaio em uma coleção de ensaios do mesmo autor), este tipo é fornecido para elementos como prefácios, introduções, prefácios, posfácios, etc. muitas vezes têm apenas um título genérico. Os guias de estilo podem exigir que tais itens sejam formatados de forma diferente de outros @inbookitens.

[ @suppcollection] Material suplementar em um arquivo @collection. Este tipo é semelhante, @suppbookmas relacionado ao @collectiontipo de entrada.


Se isso não funcionar para você, tente

\renewbibmacro*{cite:mla:title:alone}{%
  \printtext[bibhyperref]{% suggested by StackExchange user Audrey
  \iffieldundef{labeltitle}
    {\printfield{titleaddon}}
    {\printfield[citetitle:\strfield{entrytype}]{labeltitle}}}%
  \ifthenelse{\iffieldequalstr{entrytype}{suppbook}\and\iffieldundef{title}}%
    {\printtext[bibhyperref]{%
      \printfield[mla:capital]{entrysubtype}}}%
    {}}

Isso imprime titleaddonse não labeltitleestiver presente.

informação relacionada