Re: ancora multibib

#29536
dianoia
Partecipante
    Up
    0
    Down
    ::


    ok!

    questo è il file principale

    \documentclass[a4paper,12pt,oneside,openright]{book}

    \usepackage{fancyhdr}
    \pagestyle{fancy}
    \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
    \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
    \fancyhf{}
    \fancyhead[LE,RO]{\bfseries\thepage}
    \fancyhead[LO]{\bfseries\rightmark}
    \fancyhead[RE]{\bfseries\leftmark}
    \renewcommand{\headrulewidth}{0.5pt}
    \renewcommand{\footrulewidth}{0pt}
    \addtolength{\headheight}{0.5pt}
    \fancypagestyle{plain}{%
    \fancyhead{}
    \renewcommand{\headrulewidth}{0pt}
    }

    \usepackage{xspace}

    \usepackage[greek,italian,francais]{babel}
    \newcommand{\greco}[1]{%
    \begin{otherlanguage*}{greek}#1\end{otherlanguage*}}

    \newcommand{\ousia}{\emph{ousia}\xspace}

    \usepackage{booktabs}

    \newenvironment{citazione}
    {\begin{quote}\small} %piuttosto che quotation
    {\end{quote}}

    \newcommand{\openx}{\begin{citazione}}
    \newcommand{\close}{\end{citazione}}

    \usepackage[utf8x]{inputenc}
    \usepackage [T1]{fontenc}

    \usepackage{setspace}

    \usepackage{multibib} %bibliografia suddivisa
    \newcites{commenti}{commenti}

    \usepackage{natbib} %citep: (tizio 1900); citet tizio (1900)

    \begin{document}
    \tableofcontents
    \include{uno}
    \include{due}

    \cleardoublepage
    \addcontentsline{toc}{chapter}{Bibliografia}
    \renewcommand{\bibname}{\small{Testi di autori antichi}}
    \addcontentsline{toc}{subsection*}{\bibname}
    \nocite{*}
    \bibliographystyle{natbib_ita}
    \bibliography{Antichi}

    \clearpage
    \renewcommand{\bibname}{\small{Commenti moderni}}
    \addcontentsline{toc}{subsection*}{\bibname}
    \nocitecommenti{*}
    \bibliographystylecommenti{natbib_ita}
    \bibliographycommenti{commenti}

    \end{document}

    i file che contengono i capitoli dovrebbero essere superflui, dato che le bibliografie hanno i \nocite

    i due file .bib si chiamano Antichi.bib e commenti.bib, hanno la forma che ho postato prima.

    grazie dell’attenzione

    Go to top