Re: BibLaTeX: sopprimere publisher di testi pubb. prima del 1900

#84259
Alb
    Up
    0
    Down
    ::


    Ciao Ivan, grazie del suggerimento.

    Ho provato il codice con il file qui sotto e non mi funziona: sia per l’opera pubblicata nel 1985 che per quella pubblicata nel 1800 viene stampato il publisher. Devo cambiare qualcosa?
    `\begin{filecontents*}{biblio.bib}
    @COLLECTION
    {uno,
    editor = “{di Giovanni}, George and Harris, H. S.”,
    title = “Between Kant and Hegel”,
    address = “Albany, New York”,
    publisher = “State University of New York Press”,
    date = “1985”}

    @COLLECTION
    {due,
    editor = “Crusoe, Robinson”,
    title = “Titolo”,
    address = “Oxford”,
    publisher = “Oxford University Press”,
    date = “1800”}
    \end{filecontents*}{biblio.bib}

    \documentclass{article}
    \usepackage[T1]{fontenc}
    \usepackage[utf8]{inputenc}
    \usepackage[italian,english]{babel}
    \usepackage[babel]{csquotes}
    \usepackage[style=philosophy-verbose]{biblatex}

    \DeclareSourcemap{
    \maps[datatype=bibtex]{
    \map{
    \step[fieldsource=date, match=\regexp{([^2][^9]\d{2})},final]
    \step[fieldset=publisher, null]
    }
    }
    }

    \addbibresource{biblio.bib}

    \begin{document}

    \footcite{uno}

    \footcite{due}

    \end{document}`
    Grazie
    Alberto

    Go to top