Re: Pacchetto biblatex-philosophy

#99123
samiel
Partecipante
    Up
    0
    Down
    ::


    Forse ho individuato un nuovo problema:
    `\begin{filecontents*}{\jobname.bib}
    @book{ hoyningen:1993,
    author = “Hoyningen-Huene, Paul”,
    title = “Recontructing Scientific Revolutions”,
    publisher = “The University of Chicago Press”,
    location = “Chicago”,
    year = “1993”,
    }

    @collection{ gutting:1980,
    title = “Paradigms \& Revolutions”,
    editor = “Gutting, Gary”,
    publisher = “University of Notre Dame Press”,
    location = “Notre Dame – London”,
    year = “1980”,
    }

    @incollection{ king:1980,
    author = “King, M. D.”,
    title = “Reason, Tradition and the Progressiveness of Scienze”,
    crossref = “gutting:1980”,
    pages = “97-116”,
    }

    @book{ stegmuller:1976a,
    author = “Stegmüller, Wolfgang”,
    title = “The Structure and Dynamics of Theories”,
    publisher = “Springer”,
    location = “New-York Heidelberg Berlin”,
    year = “1976”,
    }

    @inbook{ stegmuller:1976b,
    author = “Stegmüller, Wolfgang”,
    title = “What is a Paradigm”,
    crossref = “stegmuller:1976a”,
    pages = “170-180”,
    }

    @article{ korner:1967,
    author = “K{\”o}rner, Stephen”,
    title = “The Impossibility of Transcendental Deductions”,
    journaltitle = “The Monist”,
    number = “51”,
    year = “1967”,
    pages = “317–331”
    }

    \end{filecontents*}

    \documentclass[a4paper,11pt]{article}
    \usepackage[T1]{fontenc}
    \usepackage[utf8]{inputenc}
    \usepackage[italian]{babel}
    \usepackage{xpatch}
    \usepackage{textcase}
    \usepackage{enotez}

    \usepackage[babel,italian=guillemets]{csquotes}
    \usepackage[style=philosophy-verbose,backend=biber,scauthors=true,%
    classical=true,volnumformat=strings,volumeformat=romansc,firstinits=true,%
    sorting=nyt,firstinits=true,commacit=true,citepages=omit,indexing]{biblatex}
    \DeclareFieldFormat[article]{title}{\mkbibemph{#1}}
    \DeclareFieldFormat[inbook]{title}{\mkbibemph{#1}}
    \DeclareFieldFormat[incollection]{title}{\mkbibemph{#1}}
    \DeclareFieldFormat{journaltitle}{\mkbibquote{#1}}

    \makeatletter
    \newbibmacro*{nodash:author}{%
    \ifboolexpr{%
    test \ifuseauthor
    and
    not test {\ifnameundef{author}}
    }%
    {\printnames{author}%
    \iffieldundef{nameaddon}{}%
    {\setunit{\addspace}%
    \printtext[brackets]{\printfield{nameaddon}}}%
    \setunit{\addcomma\space}%
    \usebibmacro{authorstrg}}%
    {\global\undef\bbx@lasthash}}

    \newbibmacro*{nodash:editor+others}{%
    \usebibmacro{nodash:bbx:editor}{editor+othersstrg}}%
    \newbibmacro*{nodash:bbx:editor}[1]{%
    \ifboolexpr{%
    test \ifuseeditor
    and
    not test {\ifnameundef{editor}}
    }%
    {\printnames{editor}%
    \setunit{\addspace}%
    \usebibmacro{#1}%
    \clearname{editor}}%
    {\global\undef\bbx@lasthash}}

    \newbibmacro*{nodash:author/editor+others/translator+others}{%
    \ifboolexpr{
    test \ifuseauthor
    and
    not test {\ifnameundef{author}}
    }
    {\usebibmacro{nodash:author}}
    {\ifboolexpr{
    test \ifuseeditor
    and
    not test {\ifnameundef{editor}}
    }
    {\usebibmacro{nodash:editor+others}}
    {\usebibmacro{nodash:translator+others}}}}

    \newbibmacro*{usedriver:book}{%
    \usebibmacro{bibindex}%
    \usebibmacro{begentry}%
    \usebibmacro{nodash:author/editor+others/translator+others}%
    \setunit{\labelnamepunct}\newblock
    \usebibmacro{maintitle+title}%
    \newunit
    \printlist{language}%
    \newunit\newblock
    \usebibmacro{byauthor}%
    \newunit\newblock
    \usebibmacro{byeditor+others}%
    \newunit\newblock
    \printfield{edition}%
    \newunit
    \printfield{volumes}%
    \newunit\newblock
    \usebibmacro{series+number}%
    \newunit\newblock
    \printfield{note}%
    \newunit\newblock
    \usebibmacro{publisher+location+date}%
    \newunit
    \iffieldundef{maintitle}
    {\printfield{volume}%
    \printfield{part}}
    {}%
    \newunit\newblock
    \usebibmacro{chapter+pages}%
    \newunit
    \printfield{pagetotal}%
    \newunit\newblock
    \iftoggle{bbx:isbn}
    {\printfield{isbn}}
    {}%
    \newunit\newblock
    \usebibmacro{doi+eprint+url}%
    \newunit\newblock
    \usebibmacro{addendum+pubstate}%
    \setunit{\addsemicolon\space}\newblock
    \iftoggle{bbx:related}
    {\usebibmacro{related:init}%
    \usebibmacro{related}}
    {}%
    \newunit\newblock
    \usebibmacro{pageref}%
    }
    \newbibmacro*{usedriver:collection}{%
    \usebibmacro{bibindex}%
    \usebibmacro{begentry}%
    \usebibmacro{nodash:editor+others}%
    \setunit{\labelnamepunct}\newblock
    \usebibmacro{maintitle+title}%
    \newunit
    \printlist{language}%
    \newunit\newblock
    \usebibmacro{byeditor+others}%
    \newunit\newblock
    \printfield{edition}%
    \newunit
    \iffieldundef{maintitle}
    {\printfield{volume}%
    \printfield{part}}
    {}%
    \newunit
    \printfield{volumes}%
    \newunit\newblock
    \usebibmacro{series+number}%
    \newunit\newblock
    \printfield{note}%
    \newunit\newblock
    \usebibmacro{publisher+location+date}%
    \newunit\newblock
    \usebibmacro{chapter+pages}%
    \newunit
    \printfield{pagetotal}%
    \newunit\newblock
    \iftoggle{bbx:isbn}
    {\printfield{isbn}}
    {}%
    \newunit\newblock
    \usebibmacro{doi+eprint+url}%
    \newunit\newblock
    \usebibmacro{addendum+pubstate}%
    \setunit{\addsemicolon\space}\newblock
    \iftoggle{bbx:related}
    {\usebibmacro{related:init}%
    \usebibmacro{related}}
    {}%
    \newunit\newblock
    \usebibmacro{pageref}%
    }
    \makeatother

    \addbibresource{\jobname.bib}
    \nocite{*}

    \begin{document}

    \footcite[175]{stegmuller:1976b}

    \footcite[115]{king:1980}

    \footcite[123]{hoyningen:1993}

    \footcite[177]{stegmuller:1976b}

    \footcite[112]{king:1980}

    \footcite[132]{hoyningen:1993}

    \footcite[321]{korner:1967}

    \footcite[172]{stegmuller:1976b}

    \footcite[3191]{korner:1967}

    \printendnotes

    \printbibliography[title={Bibliografia}]

    \end{document}`
    La seconda occorrenza delle voci @inbook, @incollection e @article, nonostante nel preambolo ci sia il codice
    `\DeclareFieldFormat[article]{title}{\mkbibemph{#1}}
    \DeclareFieldFormat[inbook]{title}{\mkbibemph{#1}}
    \DeclareFieldFormat[incollection]{title}{\mkbibemph{#1}}
    \DeclareFieldFormat{journaltitle}{\mkbibquote{#1}}`
    non risultano in corsivo, ma in tondo virgolettato.
    Per @book invece tutto è coerente
    m

    Go to top