Re: References e Bibliography separatamente

#36200
lorenzo.pantieri
Partecipante
    Up
    0
    Down
    ::

    Dato che è il mio 1° messaggio, se sbaglio qualcosa nell’utilizzo del sistema di posta dei messaggi (intendo dire l’editor, soprattuto per la resa del codice) abbiate pazienza e eventualemente ditemi come correggere.

    Ciao, il tuo codice ha lo svantaggio di non essere minimale, vengono caricati pacchetti e scelte opzioni che non c’entrano con il problema, così la soluzione è meno trasparente.
    `\documentclass{report}
    \usepackage[english]{babel}
    \usepackage[babel]{csquotes}
    \usepackage[style=authoryear-comp]{biblatex}
    \bibliography{examples-z}

    \defbibheading{references}{\chapter*{References}} % heading per References
    \defbibheading{bibliography}{\chapter*{Bibliography}} % heading per Bibliography

    % filtro per poter avere nella Bibliography tutto quello che non è compreso nelle References:
    \defbibfilter{notcited}{%
    \not \segment{1}
    } %

    \begin{document}
    \begin{refsegment} %tag di inizio dell'ambiente che racchiude tutte le citazioni (references) riportate nel testo

    \chapter{Title of first chapter}
    This is just filler text \parencite{massa}.
    This is just filler text \parencite{augustine}. This is just filler
    text \parencite{cotton}. This is just filler text \parencite{hammond}.

    \chapter{Title of second chapter}
    This is just filler text \parencite{hammond}. This is just filler
    text \parencite{massa}. This is just filler text \parencite{cotton}.
    This is just filler text \parencite{murray}.

    \end{refsegment} %tag di fine dell'ambiente che racchiude tutte le citazioni (references) riportate nel testo

    \printbibliography[heading=references,segment=1]

    \nocite{*}
    \printbibliography[heading=bibliography,filter=notcited] % filtro=solo ciò che non sta nel segment 1=tutto ciò che non è stato citato nel testo
    \end{document}`
    Non l’ho ancora provato, ma dovrebbe andare bene.

    Benvenuto sul forum,
    L.

    Go to top