allamarein

Risposte nei forum create

Stai visualizzando 2 risposte – dal 16 al 17 (di 17 totali)
  • Autore
    Risposte
  • in risposta a: problema con bibunits #24943
    Up
    0
    Down
    ::


    Il file biblio1.bib è questo:
    `
    }

    @book{ wiki:Walter,
    author = “Wikipedia”,
    title = “Hellmuth Walter — Wikipedia{,} L'enciclopedia libera”,
    year = “2008”,
    url = “\url{http://it.wikipedia.org}”,
    }

    @book{ wiki:Excalibur,
    author = “Wikipedia”,
    title = “HMS Explorer — Wikipedia{,} L'enciclopedia libera”,
    year = “2008”,
    url = “\url{http://it.wikipedia.org}”,`

    L’errore è sempre quello..si blocca su questa storia del” No file bu.aux.”
    Ecco un estratto del log:`
    Package caption Info: Begin \AtBeginDocument code.
    Package caption Info: float package is loaded.
    Package caption Info: floatflt package is loaded.
    Package caption Info: End \AtBeginDocument code.

    No file bu.aux.
    (tesi.toc)
    \tf@toc=\write4
    [1

    ] (cap1.tex
    No file bu.aux.
    Capitolo 1.
    LaTeX Font Info: Try loading font information for T1+cmss on input line 1.
    (“C:\Programmi\MiKTeX 2.7\tex\latex\base\t1cmss.fd”
    File: t1cmss.fd 1999/05/25 v2.5h Standard LaTeX font definitions
    ) (bu1.aux) [1

    ] [2] (bu1.bbl`

    Al limite riesco ad ottenere un file dvi ma con punti interrogativi al posto delle citazioni e senza che stampi la bibliografia a fine pagina.
    MikTex corrotto?

    in risposta a: 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

Stai visualizzando 2 risposte – dal 16 al 17 (di 17 totali)

Go to top