Ancora io, stavolta con la bibliografia

  • Creatore
    Topic
  • #57888
    Up
    0
    Down
    ::


    Ciao di nuovo a tutti e ad Enrico che la volta scorsa mi ha aiutato moltissimo risolvendo il mio problema.
    Mio S:O e winxp, pacchetto miktex con tutto preinstallato.
    Ho fatto la bibliografia con bibtex inserendo, nel preambolo, il seguente codice:\documentclass[a4paper,11pt,twoside]{book}
    \usepackage[T1]{fontenc}
    \usepackage[italian,english]{babel}

    \usepackage[bindingoffset=0.6cm]{geometry}
    \usepackage[colorlinks=false,anchorcolor=black,dvips,bookmarksopen=true,bookmarksopenlevel=\maxdimen]{hyperref}
    \usepackage{fancyhdr}
    \usepackage{chappapp}
    \usepackage{xspace,amsmath,amssymb,txfonts,graphicx,longtable}
    \usepackage[font=small,format=plain,labelfont=bf,up,textfont=it,up]{caption}
    \usepackage{maybemath}
    \usepackage[tight,hang,nooneline,small,bf]{subfigure}
    \usepackage{avant}
    \usepackage{booktabs,multirow}
    \usepackage[light,math]{iwona}
    \usepackage{mathtools}
    \usepackage[version=3]{mhchem}
    \usepackage{array}
    \usepackage{varwidth}

    \usepackage{siunitx}
    \sisetup{%
    load-configurations=abbreviations}

    \pagestyle{fancy}
    \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
    \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
    \fancyhf{}
    \fancyhead[RE]{\bfseries\footnotesize\nouppercase{\leftmark}}
    \fancyhead[LO]{\bfseries\footnotesize\nouppercase{\rightmark}}
    \fancyfoot[C]{\thepage}

    \renewcommand{\thesubfigure}{\thefigure.\arabic{subfigure}}
    \makeatletter
    \renewcommand{\p@subfigure}{}
    \renewcommand{\@thesubfigure}{~~~\thesubfigure:\hskip\subfiglabelskip}
    \makeatother
    \setlength{\captionmargin}{10pt} \setlength{\subfigtopskip}{5mm}
    \setlength{\subfigcapskip}{1ex} \setlength{\subfigbottomskip}{0mm}
    \setlength{\headheight}{14pt}
    \renewcommand{\floatpagefraction}{1}
    \newcommand{\degree}{\ensuremath{^\circ}}

    \begin{document}

    \resetheadings \pagestyle{fancyplain}

    \newpage

    %\setvruler %%mette i numeretti a lato pagina

    \input{Intro}
    \input{Chap1}
    \input{Chap2}
    \input{Chap3}

    \bibliography{BIBLIO}
    \bibliographystyle{is-unsrt}
    \cleardoublepage \pagestyle{myplain} \phantomsection
    \addcontentsline{toc}{chapter}{\bibname} \typeout{\bibname.}
    \chaptermark{\bibname}
    \end{document}

    Ora vorrei che sul testo creato da YAP vennisse fuori, ad ogni \cite il numero corrispondente alla bibliografia ad esempio vedi[1] ma compilando mi escono solo[?] al posto dei numeri.
    Se metto il pacchetto biblatex mi escono invece fuori i nomi dgeli autori, ad esempio [Leo2004],
    che devo fare, me devo sparare!? La bibliografia la volgiono cosi’ lo so, non è bella….
    Saluti e vi ringrazio in anticipo.
    Tony
    PS prima di rompervi ci ho provato tutto il giorno………….
    Ps. nella bibliografia le citazioni non sono in ordine ma le richiamo col\cite{}nel testo…grazie ancora!

Visualizzazione 10 filoni di risposte
  • Autore
    Risposte
    • #57889
      Up
      0
      Down
      ::

      Ciao di nuovo a tutti e ad Enrico che la volta scorsa mi ha aiutato moltissimo risolvendo il mio problema.
      Mio S:O e winxp, pacchetto miktex con tutto preinstallato.
      Ho fatto la bibliografia con bibtex inserendo, nel preambolo, il seguente codice:\documentclass[a4paper,11pt,twoside]{book}
      \usepackage[T1]{fontenc}
      \usepackage[italian,english]{babel}

      \usepackage[bindingoffset=0.6cm]{geometry}
      \usepackage[colorlinks=false,anchorcolor=black,dvips,bookmarksopen=true,bookmarksopenlevel=\maxdimen]{hyperref}
      \usepackage{fancyhdr}
      \usepackage{chappapp}
      \usepackage{xspace,amsmath,amssymb,txfonts,graphicx,longtable}
      \usepackage[font=small,format=plain,labelfont=bf,up,textfont=it,up]{caption}
      \usepackage{maybemath}
      \usepackage[tight,hang,nooneline,small,bf]{subfigure}
      \usepackage{avant}
      \usepackage{booktabs,multirow}
      \usepackage[light,math]{iwona}
      \usepackage{mathtools}
      \usepackage[version=3]{mhchem}
      \usepackage{array}
      \usepackage{varwidth}

      \usepackage{siunitx}
      \sisetup{%
      load-configurations=abbreviations}

      \pagestyle{fancy}
      \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
      \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
      \fancyhf{}
      \fancyhead[RE]{\bfseries\footnotesize\nouppercase{\leftmark}}
      \fancyhead[LO]{\bfseries\footnotesize\nouppercase{\rightmark}}
      \fancyfoot[C]{\thepage}

      \renewcommand{\thesubfigure}{\thefigure.\arabic{subfigure}}
      \makeatletter
      \renewcommand{\p@subfigure}{}
      \renewcommand{\@thesubfigure}{~~~\thesubfigure:\hskip\subfiglabelskip}
      \makeatother
      \setlength{\captionmargin}{10pt} \setlength{\subfigtopskip}{5mm}
      \setlength{\subfigcapskip}{1ex} \setlength{\subfigbottomskip}{0mm}
      \setlength{\headheight}{14pt}
      \renewcommand{\floatpagefraction}{1}
      \newcommand{\degree}{\ensuremath{^\circ}}

      \begin{document}

      \resetheadings \pagestyle{fancyplain}

      \newpage

      %\setvruler %%mette i numeretti a lato pagina

      \input{Intro}
      \input{Chap1}
      \input{Chap2}
      \input{Chap3}

      \bibliography{BIBLIO}
      \bibliographystyle{is-unsrt}
      \cleardoublepage \pagestyle{myplain} \phantomsection
      \addcontentsline{toc}{chapter}{\bibname} \typeout{\bibname.}
      \chaptermark{\bibname}
      \end{document}

      Ora vorrei che sul testo creato da YAP vennisse fuori, ad ogni \cite il numero corrispondente alla bibliografia ad esempio vedi[1] ma compilando mi escono solo[?] al posto dei numeri.
      Se metto il pacchetto biblatex mi escono invece fuori i nomi dgeli autori, ad esempio [Leo2004],
      che devo fare, me devo sparare!? La bibliografia la volgiono cosi’ lo so, non è bella….
      Saluti e vi ringrazio in anticipo.
      Tony
      PS prima di rompervi ci ho provato tutto il giorno………….

      Non capisco: se fai andare bibtex e ricompili due volte, le citazioni vengono risolte.

      Ciao
      Enrico

    • #57890
      Up
      0
      Down
      ::


      O meglio, ogni volta cancello i file bbl e aux e poi ricompilo e quindi mi riappare su miktex l’icona del bib, la clicco, si vede una sorta di prompt nero per 1 secondo e poi mi permette di compilare, lo faccio 2 volte di seguito e poi yappo ma…..nulla, al posto dei numeri i punti interrogativi tra parentesi…..

    • #57891
      Up
      0
      Down
      ::

      O meglio, ogni volta cancello i file bbl e aux e poi ricompilo e quindi mi riappare su miktex l’icona del bib, la clicco, si vede una sorta di prompt nero per 1 secondo e poi mi permette di compilare, lo faccio 2 volte di seguito e poi yappo ma…..nulla, al posto dei numeri i punti interrogativi tra parentesi…..

      A parte l’ordine dei comandi per la bibliografia che è tutto sbagliato, non vedo alcun motivo per il quale non vengano risolte le citazioni. Naturalmente a un comando \cite{pippo} dovrà corrispondere nel file BIBLIO.bib un oggetto che abbia la chiave “pippo”, qualcosa come
      `@article{pippo,
      author={De Pippis, Pippo},
      title={La goffaggine},
      journal={Peanuts J.},
      year=1955,
      pages={13-19},
      }`
      L’ordine corretto dei comandi è
      `\bibliographystyle{is-unsrt}
      \cleardoublepage \pagestyle{myplain} \phantomsection
      \addcontentsline{toc}{chapter}{\bibname} \typeout{\bibname.}
      \chaptermark{\bibname}
      \bibliography{BIBLIO}
      \end{document}`
      Dovresti avere un file con estensione .bbl e uno con estensione .blg; se il primo è vuoto, guarda che c’è scritto nel secondo.

      Ciao
      Enrico

    • #57892
      Up
      0
      Down
      ::


      .bbl è vuoto mentre bgl riporta:
      This is BibTeX, Version 0.99dThe top-level auxiliary file: all.aux
      White space in argument—line 19 of file all.aux
      : \citation{The
      : genetic basis of human cancer}
      I’m skipping whatever remains of this command
      White space in argument—line 30 of file all.aux
      : \citation{“Hypoxia
      : and defective apoptosis drive genomic instability and tumorigenesis”}
      I’m skipping whatever remains of this command
      White space in argument—line 31 of file all.aux
      : \citation{Pagano
      : JS}
      I’m skipping whatever remains of this command
      White space in argument—line 32 of file all.aux
      : \citation{Blaser
      : M}
      I’m skipping whatever remains of this command
      White space in argument—line 33 of file all.aux
      : \citation{Buendia
      : MA}
      I’m skipping whatever remains of this command
      White space in argument—line 34 of file all.aux
      : \citation{et
      : al.}
      I’m skipping whatever remains of this command
      White space in argument—line 46 of file all.aux
      : \citation{“Cancer
      : Fact Sheet”}
      I’m skipping whatever remains of this command
      White space in argument—line 47 of file all.aux
      : \citation{“Principles
      : of Oncologic Pharmacotherapy}
      I’m skipping whatever remains of this command
      White space in argument—line 48 of file all.aux
      : \citation{“Autologous
      : Immune Enhancement therapy for Advanced Carcinoma of Pancreas-A Case Report”}
      I’m skipping whatever remains of this command
      White space in argument—line 158 of file all.aux
      : \citation{“Instrumentation
      : for treatment of cancer using protons and light ion beams.”}
      I’m skipping whatever remains of this command
      I found no \bibdata command—while reading file all.aux
      I found no \bibstyle command—while reading file all.aux
      (There were 12 error messages)

      Nota bene: ho cambiato il preambolo come tu mi hai scritto!

    • #57893
      Up
      0
      Down
      ::

      .bbl è vuoto mentre bgl riporta:
      This is BibTeX, Version 0.99dThe top-level auxiliary file: all.aux
      White space in argument—line 19 of file all.aux
      : \citation{The
      : genetic basis of human cancer}
      I’m skipping whatever remains of this command
      White space in argument—line 30 of file all.aux
      : \citation{“Hypoxia
      : and defective apoptosis drive genomic instability and tumorigenesis”}
      I’m skipping whatever remains of this command
      White space in argument—line 31 of file all.aux
      : \citation{Pagano
      : JS}
      I’m skipping whatever remains of this command
      White space in argument—line 32 of file all.aux
      : \citation{Blaser
      : M}
      I’m skipping whatever remains of this command
      White space in argument—line 33 of file all.aux
      : \citation{Buendia
      : MA}
      I’m skipping whatever remains of this command
      White space in argument—line 34 of file all.aux
      : \citation{et
      : al.}
      I’m skipping whatever remains of this command
      White space in argument—line 46 of file all.aux
      : \citation{“Cancer
      : Fact Sheet”}
      I’m skipping whatever remains of this command
      White space in argument—line 47 of file all.aux
      : \citation{“Principles
      : of Oncologic Pharmacotherapy}
      I’m skipping whatever remains of this command
      White space in argument—line 48 of file all.aux
      : \citation{“Autologous
      : Immune Enhancement therapy for Advanced Carcinoma of Pancreas-A Case Report”}
      I’m skipping whatever remains of this command
      White space in argument—line 158 of file all.aux
      : \citation{“Instrumentation
      : for treatment of cancer using protons and light ion beams.”}
      I’m skipping whatever remains of this command
      I found no \bibdata command—while reading file all.aux
      I found no \bibstyle command—while reading file all.aux
      (There were 12 error messages)

      Nota bene: ho cambiato il preambolo come tu mi hai scritto!

      Non devi scrivere \cite{Titolo dell’opera citata}, ma come ti ho indicato nell’altro messaggio.

      Ciao
      Enrico

    • #57894
      Up
      0
      Down
      ::


      Ora mi ci mettero’ e provero’ e ti faro sapere….come sempre non so ‘ come sdebitarmi, tony.

    • #57895
      Up
      0
      Down
      ::


      Scusami ancora Enrico, ma cio’ comporta che mano a mano che cambio i miei \cite e li scrivo nel modo da te riportato, ricompilando si cominciano a vedere i risultati oppure devo riscrivere tutta la bibliografia IN ORDINE di apparizione sui capitoli e poi alla fine ricompilare !?

    • #57896
      Up
      0
      Down
      ::

      Scusami ancora Enrico, ma cio’ comporta che mano a mano che cambio i miei \cite e li scrivo nel modo da te riportato, ricompilando si cominciano a vedere i risultati oppure devo riscrivere tutta la bibliografia IN ORDINE di apparizione sui capitoli e poi alla fine ricompilare !?

      L’ordine in cui compaiono i dati bibliografici nel file .bib è del tutto irrilevante. Conta ciò che scrivi nel comando \bibliographystyle. Naturalmente perché una citazione sia risolta, occorre far girare BibTeX. Correggi tutto, non stare a compilare decine di volte inutilmente.

      Ciao
      Enrico

    • #57897
      Up
      0
      Down
      ::


      Risistemata la bibliografia, risistemate el citazioni, ancora sti amledetti ? al posto dei numeri delle citazioni nel testo.
      Ti allego il .blg file:

      This is BibTeX, Version 0.99dThe top-level auxiliary file: all.aux
      I found no \bibdata command—while reading file all.aux
      I found no \bibstyle command—while reading file all.aux
      (There were 2 error messages)

      i comandi dati nel preamble sono sempre:
      \documentclass[a4paper,11pt,twoside]{book}
      \usepackage[T1]{fontenc}
      \usepackage[italian,english]{babel}

      \usepackage[bindingoffset=0.6cm]{geometry}
      \usepackage[colorlinks=false,anchorcolor=black,dvips,bookmarksopen=true,bookmarksopenlevel=\maxdimen]{hyperref}
      \usepackage{fancyhdr}
      \usepackage{chappapp}
      \usepackage{xspace,amsmath,amssymb,txfonts,graphicx,longtable}
      \usepackage[font=small,format=plain,labelfont=bf,up,textfont=it,up]{caption}
      \usepackage{maybemath}
      \usepackage[tight,hang,nooneline,small,bf]{subfigure}
      \usepackage{avant}
      \usepackage{booktabs,multirow}
      \usepackage[light,math]{iwona}
      \usepackage{mathtools}
      \usepackage[version=3]{mhchem}
      \usepackage{array}
      \usepackage{varwidth}

      \usepackage{siunitx}
      \sisetup{%
      load-configurations=abbreviations}

      \pagestyle{fancy}
      \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
      \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
      \fancyhf{}
      \fancyhead[RE]{\bfseries\footnotesize\nouppercase{\leftmark}}
      \fancyhead[LO]{\bfseries\footnotesize\nouppercase{\rightmark}}
      \fancyfoot[C]{\thepage}

      \renewcommand{\thesubfigure}{\thefigure.\arabic{subfigure}}
      \makeatletter
      \renewcommand{\p@subfigure}{}
      \renewcommand{\@thesubfigure}{~~~\thesubfigure:\hskip\subfiglabelskip}
      \makeatother
      \setlength{\captionmargin}{10pt} \setlength{\subfigtopskip}{5mm}
      \setlength{\subfigcapskip}{1ex} \setlength{\subfigbottomskip}{0mm}
      \setlength{\headheight}{14pt}
      \renewcommand{\floatpagefraction}{1}
      \newcommand{\degree}{\ensuremath{^\circ}}

      \begin{document}

      \resetheadings \pagestyle{fancyplain}

      \newpage

      %\setvruler %%mette i numeretti a lato pagina

      \input{Intro}
      \input{Chap1}
      \input{Chap2}
      \input{Chap3}

      \bibliographystyle{is-unsrt}
      \cleardoublepage \pagestyle{myplain} \phantomsection
      \addcontentsline{toc}{chapter}{\bibname} \typeout{\bibname.}
      \chaptermark{\bibname}
      \bibliography{BIBLIO}
      \end{document}
      che faccio!? mi suicido?
      Tony

    • #57898
      Up
      0
      Down
      ::

      Risistemata la bibliografia, risistemate el citazioni, ancora sti amledetti ? al posto dei numeri delle citazioni nel testo.
      Ti allego il .blg file:

      `This is BibTeX, Version 0.99dThe top-level auxiliary file: all.aux
      I found no \bibdata command—while reading file all.aux
      I found no \bibstyle command—while reading file all.aux
      (There were 2 error messages)`

      Ehm, il blg ti dice tutto quanto serve: non è registrato alcun comando \bibstyle né alcun comando \bibdata. Il problema è molto probabilmente un \end{document} nel file Chap3.tex

      Ciao
      Enrico

    • #57899
      Up
      0
      Down
      ::


      Problema risolto, avevo messo alla fine del capitolo 3 un \end{document} che non permetteva al file all.tex di andare avanti e leggere il comando di bibliografia.
      Comunque tutto ok:
      1)Ho cancellato il comando \end{document} alla fine del capitolo 3 ed il file all.aux generato alla compilazione precedente e tutti i file relativi alla bibliografia tranne BIBLIO.bib
      2)Ho compilato una volta con il compilatore di winedt (LaTeX)
      3)Ho compilato con Bibtex(Icona Bianca su Miktex)
      4)Ho ricompilato due volte con LaTex
      5)Ho chiesto il filed .dvi con l’orsetto e tutto ok!
      Non so come ringraziarti!!!!
      Naturalmente so’ che essendo così negato dovrò scocciarti nuovamente…..
      Grazie ancora,
      TOny

Visualizzazione 10 filoni di risposte
  • Devi essere connesso per rispondere a questo topic.

Go to top