Re: problema con bibunits

#24941
Up
0
Down
::


Infatti imagginavo.
Tesi.tex
`
\documentclass[a4paper,oneside,12pt]{book}
%linguaggio
\usepackage[italian]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}

%delimita foglio con GEOMETRY
\usepackage[bindingoffset=1.5cm,nomarginpar,vdivide={3cm,*,3cm},outer={2cm}]{geometry}

%indice
\usepackage{makeidx}
%\usepackage{hyperref}

%tabelle
\usepackage{booktabs}
\usepackage[font={small,sc},format=hang,justification=raggedright]{caption}

%Impaginazione
\usepackage{indentfirst}
\usepackage[Glenn]{fncychap}
\frenchspacing
\usepackage[onehalfspacing]{setspace}
\newcommand{\acapo}{\newline \indent}

%elementi float
\usepackage{graphicx}
\usepackage{floatflt}
\usepackage{float}
\usepackage{amsmath}

%bibliografia
\usepackage{url}
\usepackage[sectionbib]{bibunits}
\usepackage[square,sort,sectionbib]{natbib}
\let\originalthebibliography\thebibliography
\renewcommand{\thebibliography}{%
\addcontentsline{toc}{section}{\protect\numberline{}\refname}%
\originalthebibliography}

%Impaginazione
\usepackage{fancyhdr,lipsum}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\fancyhf{}
\fancyhead[L]{\bfseries\footnotesize\nouppercase{\rightmark}}
\fancyhead[R]{\bfseries\footnotesize\nouppercase{\leftmark}}
\fancyfoot[R]{\thepage}
\setlength{\headheight}{15pt}

\fancypagestyle{vuota}{
\fancyhf{} % clear all header and footer fields
\fancyfoot[R]{\bfseries \thepage} % except right footer
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}}

\begin {document}
\bibliographyunit[\chapter]
\frontmatter
\tableofcontents
\mainmatter
\include{cap1}
\end{document}
`

Invece cap1.tex
`
\chapter{Capitolo Prova}
\begin{bibunit}[unsrt]
\thispagestyle{vuota}
\bibliographyunit[\chapter]
…..
\renewcommand*{\bibname}{Riferimenti bibliografici}
\markright{Riferimenti bibliografici}
\nocite{*}
\putbib[biblio1]
\end{bibunit}
i`
Nel file biblio1.bib sono elencati tutti i riferimenti.
Come dicevo compilavo con un file bat
`
pdflatex tesi
bibtex bu1
pdflatex tesi
pdflatex tesi
`

Con il cambio di versione (almeno io credo, visto che mi pare sia l’unica cosa cambiata) si inchioda dove dicevo

Go to top