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

#84265
Alb
    Up
    0
    Down
    ::


    Benché il codice fornito da Ivan qualche post fa non mi funzionasse, il codice seguente funziona, anche usando biber 1.5 anziché 1.6beta. Non so per quale motivo e non so se il codice qui sotto sia scritto bene, ma lo posto lo stesso nel caso possa servire a qualcuno:
    `\DeclareSourcemap{
    \maps[datatype=bibtex]{
    \map{
    % Do not print publisher for works whose “date”
    % field starts with a digit <1900 (e.g.: “1834”, “1834/1835”)
    \step[fieldsource=date,match=\regexp{^1[0-8][0-9][0-9]},final]
    \step[fieldset=publisher, null]
    }
    % Do not print publisher for works whose
    % “year” field starts with a digit <1900 (e.g.: “1834”,
    % “1834–1835”, “1834 [1700]”)
    \map{
    \step[fieldsource=year,match=\regexp{^1[0-8][0-9][0-9]},final]
    \step[fieldset=publisher, null]
    }
    }
    }`

    Ciao
    Alberto

    Go to top