Non riesco a ottenere la sezione bibliografica

  • Creatore
    Topic
  • #72574
    Up
    0
    Down
    ::


    Mi sento un quattordicenne che deve chiedere di uscire alla compagna del primo banco. Questo il codice:

    `% !TEX TS-program = XeLaTeX
    % !TEX encoding = UTF-8 Unicode

    \documentclass[a4paper,10pt,twocolumn]{article}
    \usepackage{fontspec}
    \setmainfont[Ligatures=TeX,Numbers=OldStyle]{Junicode}
    \newfontfamily{\redb}{OCR A Std}
    \usepackage{polyglossia}
    \setmainlanguage{italian}
    \PolyglossiaSetup{italian}{indentfirst=false}
    \usepackage{microtype}

    \usepackage[italian=guillemets]{csquotes}
    \usepackage[style=philosophy-classic,backend=biber]{biblatex}
    \bibliography{bibmoro}
    \addto\captionsitalian{\renewcommand{\bibname}{Letture suggerite}}

    \renewcommand{\thefootnote}{*}
    \renewcommand{\footnoterule}{}
    \newcommand{\omissis}{[\dots\unkern]}

    \begin{document}

    \author{Brodo Star}
    \title{Martedì 18 aprile 1978:\\ il buco nero della Repubblica}
    \maketitle

    %\clearpage
    %\addcontentsline{toc}{section}{\refname}
    \nocite{*}
    \printbibliography

    \end{document}
    `

    Le domande del tipo ‘hai seguito la corretta compilazione?’ sono superflue 🙂

    La sezione con la bibliografia non compare per niente. Segnalo che nel testo non ci sono \cite e compagni perché non ne ho bisogno: vorrei solo tutti i libri alla fine. Ho scritto con BibDesk il database bibmoro.bib e l’ho messo nella cartella di lavoro, of course. Eccone una parte:

    `%% This BibTeX bibliography file was created using BibDesk.
    %% http://bibdesk.sourceforge.net/

    %% Created for Tommaso Gordini at 2012-04-20 16:03:54 +0200

    %% Saved with string encoding Unicode (UTF-8)

    @book{flam:2004,
    Address = {Roma},
    Author = {Flamigni, Sergio},
    Date-Added = {2012-04-20 16:01:47 +0200},
    Date-Modified = {2012-04-20 16:03:30 +0200},
    Publisher = {Kaos edizioni},
    Title = {La sfinge delle Brigate Rosse. Delitti, segreti e bugie del capo terrorista Mario Moretti},
    Year = {2004}}

    @book{flam:2003,
    Address = {Roma},
    Author = {Flamigni, Sergio},
    Date-Added = {2012-04-20 15:57:17 +0200},
    Date-Modified = {2012-04-20 15:58:38 +0200},
    Publisher = {Kaos edizioni},
    Title = {La tela del ragno. Il delitto Moro},
    Year = {2003}}

    @book{bianco:2010,
    Address = {Torino},
    Author = {Bianconi, Giovanni},
    Date-Added = {2012-04-20 15:53:37 +0200},
    Date-Modified = {2012-04-20 15:55:45 +0200},
    Publisher = {Einaudi},
    Rating = {0},
    Read = {0},
    Title = {Eseguendo la sentenza. Roma, 1978. Dietro le quinte del sequestro Moro},
    Year = {2010}}
    `

    Il log completo è il seguente:

    `This is XeTeX, Version 3.1415926-2.3-0.9997.5 (TeX Live 2011)
    restricted \write18 enabled.
    entering extended mode
    (./pippomoro.tex
    LaTeX2e <2011/06/27>
    Babel and hyphenation patterns for english, dumylang, nohyphenation, ge
    rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans, ancientgreek, ibycus, arabi
    c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
    h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis
    h, french, friulan, galician, german, ngerman, swissgerman, monogreek, greek, h
    ungarian, icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, ma
    rathi, oriya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian,
    kurmanji, lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nyn
    orsk, polish, portuguese, romanian, romansh, russian, sanskrit, serbian, serbia
    nc, slovak, slovenian, spanish, swedish, turkish, turkmen, ukrainian, uppersorb
    ian, welsh, loaded.
    (/usr/local/texlive/2011/texmf-dist/tex/latex/base/article.cls
    Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
    (/usr/local/texlive/2011/texmf-dist/tex/latex/base/size10.clo))
    (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.sty
    (/usr/local/texlive/2011/texmf-dist/tex/latex/l3kernel/expl3.sty
    (/usr/local/texlive/2011/texmf-dist/tex/latex/l3kernel/l3names.sty
    (/usr/local/texlive/2011/texmf-dist/tex/latex/l3kernel/l3bootstrap.sty))
    (/usr/local/texlive/2011/texmf-dist/tex/latex/etex-pkg/etex.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/color.sty
    (/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/color.cfg)
    (/usr/local/texlive/2011/texmf-dist/tex/xelatex/xetex-def/xetex.def))
    (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/graphics.sty
    (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/trig.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/graphics.cfg))
    (/usr/local/texlive/2011/texmf-dist/tex/latex/l3kernel/l3basics.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/l3kernel/l3expan.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/l3kernel/l3tl.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/l3kernel/l3seq.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/l3kernel/l3int.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/l3kernel/l3quark.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/l3kernel/l3prg.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/l3kernel/l3clist.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/l3kernel/l3token.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/l3kernel/l3prop.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/l3kernel/l3msg.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/l3kernel/l3file.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/l3kernel/l3skip.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/l3kernel/l3keys.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/l3kernel/l3fp.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/l3kernel/l3box.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/l3kernel/l3coffins.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/l3kernel/l3color.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/l3kernel/l3luatex.sty))
    (/usr/local/texlive/2011/texmf-dist/tex/latex/l3packages/xparse/xparse.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec-patches.sty
    (/usr/local/texlive/2011/texmf-dist/tex/latex/base/fixltx2e.sty)
    *************************************************
    * LaTeX warning: “xparse/redefine-command”
    *
    * Redefining document command \oldstylenums with arg. spec. 'm' on line 107.
    *************************************************
    ) (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
    (/usr/local/texlive/2011/texmf-dist/tex/latex/base/fontenc.sty
    (/usr/local/texlive/2011/texmf-dist/tex/latex/euenc/eu1enc.def)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/euenc/eu1lmr.fd))
    (/usr/local/texlive/2011/texmf-dist/tex/xelatex/xunicode/xunicode.sty
    (/usr/local/texlive/2011/texmf-dist/tex/latex/tipa/t3enc.def
    (/usr/local/texlive/2011/texmf-dist/tex/latex/euenc/eu1lmss.fd))
    (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/graphicx.sty
    (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/keyval.sty)))
    (/usr/local/texlive/2011/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
    (/usr/local/texlive/2011/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty
    (/usr/local/texlive/2011/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/makecmds/makecmds.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/xkeyval/xkeyval.sty
    (/usr/local/texlive/2011/texmf-dist/tex/generic/xkeyval/xkeyval.tex)))
    (/usr/local/texlive/2011/texmf-dist/tex/xelatex/polyglossia/gloss-italian.ldf
    (/usr/local/texlive/2011/texmf-dist/tex/xelatex/polyglossia/babelsh.def))
    (/Users/tommasogordini/Library/texmf/tex/latex/microtype2.5beta/microtype.sty
    (/Users/tommasogordini/Library/texmf/tex/latex/microtype2.5beta/microtype-xetex
    .def)
    (/Users/tommasogordini/Library/texmf/tex/latex/microtype2.5beta/microtype.cfg))
    (/usr/local/texlive/2011/texmf-dist/tex/latex/csquotes/csquotes.sty
    (/usr/local/texlive/2011/texmf-dist/tex/latex/csquotes/csquotes.def)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/csquotes/csquotes.cfg))
    (/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/biblatex.sty
    (/usr/local/texlive/2011/texmf-dist/tex/latex/logreq/logreq.sty
    (/usr/local/texlive/2011/texmf-dist/tex/latex/logreq/logreq.def))
    (/usr/local/texlive/2011/texmf-dist/tex/latex/base/ifthen.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/url/url.sty)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/blx-compat.def)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/biblatex.def)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex-philosophy/philosophy-cl
    assic.bbx
    (/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/bbx/authoryear.bbx
    (/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/bbx/standard.bbx))
    (/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex-philosophy/philosophy-st
    andard.bbx))
    (/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex-philosophy/philosophy-cl
    assic.cbx
    (/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/cbx/authoryear-comp.cbx)
    ) (/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/biblatex.cfg))

    Package csquotes Warning: Using preliminary 'polyglossia' interface.
    (csquotes) Some of the multilingual features may not
    (csquotes) work as expected.

    (/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex-philosophy/italian-philo
    sophy.lbx
    (/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/lbx/italian.lbx))
    (./pippomoro.aux) (/usr/local/texlive/2011/texmf-dist/tex/latex/tipa/t3cmr.fd)
    (/usr/local/texlive/2011/texmf-dist/tex/latex/junicode/mt-Junicode.cfg

    Package microtype Warning: protrusion inheritance list `mt-Junicode.cfg/35(prot
    rusion)' will override list
    (microtype) `microtype.cfg/334(protrusion)' for font `EU1////' o
    n input line 35.

    Package microtype Warning: expansion inheritance list `mt-Junicode.cfg/35(expan
    sion)' will override list
    (microtype) `microtype.cfg/334(expansion)' for font `EU1////' on
    input line 35.

    Package microtype Warning: interword spacing inheritance list `mt-Junicode.cfg/
    35(spacing)' will override list
    (microtype) `microtype.cfg/334(spacing)' for font `EU1////' on i
    nput line 35.

    Package microtype Warning: kerning inheritance list `mt-Junicode.cfg/35(kerning
    )' will override list
    (microtype) `microtype.cfg/334(kerning)' for font `EU1////' on i
    nput line 35.

    Package microtype Warning: MT@abbr@tr@inh list `mt-Junicode.cfg/35(tracking)'
    will override list
    (microtype) `microtype.cfg/334(tracking)' for font `EU1////' on
    input line 35.

    )

    Package microtype Warning: Unknown slot number of character
    (microtype) `̀Ã'
    (microtype) in font encoding `EU1'.
    (microtype) Make sure it's a single character
    (microtype) (or a number) in inheritance list
    (microtype) `mt-Junicode.cfg/35(protrusion)'.

    Package microtype Warning: Unknown slot number of character
    (microtype) `/colon.alt'
    (microtype) in font encoding `EU1' in inheritance list
    (microtype) `mt-Junicode.cfg/35(protrusion)'.

    Package microtype Warning: Unknown slot number of character
    (microtype) `/semicolon.alt'
    (microtype) in font encoding `EU1' in inheritance list
    (microtype) `mt-Junicode.cfg/35(protrusion)'.

    Package microtype Warning: Unknown slot number of character
    (microtype) `/exclam.alt'
    (microtype) in font encoding `EU1' in inheritance list
    (microtype) `mt-Junicode.cfg/35(protrusion)'.

    Package microtype Warning: Unknown slot number of character
    (microtype) `/question.alt'
    (microtype) in font encoding `EU1' in inheritance list
    (microtype) `mt-Junicode.cfg/35(protrusion)'.

    Package microtype Warning: Unknown slot number of character
    (microtype) `/quoteleft.alt'
    (microtype) in font encoding `EU1' in inheritance list
    (microtype) `mt-Junicode.cfg/35(protrusion)'.

    Package microtype Warning: Unknown slot number of character
    (microtype) `/quotedblleft.alt'
    (microtype) in font encoding `EU1' in inheritance list
    (microtype) `mt-Junicode.cfg/35(protrusion)'.

    Package microtype Warning: Unknown slot number of character
    (microtype) `/quoteright.alt'
    (microtype) in font encoding `EU1' in inheritance list
    (microtype) `mt-Junicode.cfg/35(protrusion)'.

    Package microtype Warning: Unknown slot number of character
    (microtype) `/quotedblright.alt'
    (microtype) in font encoding `EU1' in inheritance list
    (microtype) `mt-Junicode.cfg/35(protrusion)'.

    (./pippomoro.bbl)
    (/Users/tommasogordini/Library/texmf/tex/latex/microtype2.5beta/mt-cmr.cfg)
    [1]

    Package microtype Warning: Loading generic settings for font family `OCRAStd'.
    (microtype) For optimal results, create font-specific settings.
    (microtype) See the microtype manual for details.

    [2]
    Underfull \hbox (badness 1303) in paragraph at lines 83–84
    \EU1/Junicode(0)/m/n/10 Le circostanze concomitanti e ambigue verificatesi il

    Underfull \vbox (badness 10000) has occurred while \output is active [3]
    [4]

    LaTeX Warning: Empty bibliography on input line 111.

    [5] (./pippomoro.aux)

    LaTeX Warning: There were undefined references.

    Package biblatex Warning: Please (re)run Biber on the file:
    (biblatex) pippomoro
    (biblatex) and rerun LaTeX afterwards.

    )
    (see the transcript file for additional information)
    Output written on pippomoro.pdf (5 pages).
    SyncTeX written on pippomoro.synctex.gz.
    Transcript written on pippomoro.log.
    `

    Dove sbaglio?

    Ciao
    Tommaso

Visualizzazione 6 filoni di risposte
  • Autore
    Risposte
    • #72575
      admin
      Amministratore del forum
        Up
        0
        Down
        ::


        Quando usi biber come backend il file .bib deve essere chiamato con

        `\addbibresource{.bib}`
        Occhio: ci vuole anche il [tt].bib[/tt].

        Ciao
        Orlando

      • #72576
        Up
        0
        Down
        ::


        Grazie, ma non va ancora 🙁

        Ciao
        Tommaso

      • #72577
        admin
        Amministratore del forum
          Up
          0
          Down
          ::

          illinguista1972″ post=71799Grazie, ma non va ancora 🙁

          Ciao
          Tommaso

          Ho appena provato: xelatex, biber e xelatex e va tutto bene: magari prova a cancellare tutti i file di prima (ausiliari e simili) e riprova.

          Ciao
          Orlando

          Edit1:

          [OT]
          Se si usa polyglossia il codice

          `\addto\captionsitalian{\renewcommand{\bibname}{Letture suggerite}}`
          non sortisce l’effetto voluto. Forse è una specialità di babel.
          [/OT]

          Edit2:

          `\addto\captionsitalian{\renewcommand{\refname}{Letture suggerite}}`
          funziona.

        • #72578
          Up
          0
          Down
          ::


          Prova a lanciare biber dalla linea di comando; è probabile che si sia piantato: lo capisci subito dal messaggio che ottieni sul terminale.

          Ciao
          Enrico

        • #72579
          Up
          0
          Down
          ::

          egreg9″ post=71804Prova a lanciare biber dalla linea di comando; è probabile che si sia piantato: lo capisci subito dal messaggio che ottieni sul terminale.

          Ciao
          Enrico

          Questo il messaggio da terminale al comando biber pippomoro:

          `MacBook-di-Tommaso-Gordini:TeX_files tommasogordini$ biber pippomoro
          data source /var/folders/0T/0T4GZHy9GoGj4XgCk7IlF++++TI/-Tmp-/par-746f6d6d61736f676f7264696e69/cache-e8737dfcb1d22ef9a3aca43e9c4fcacdf18a6d6a/inc/lib/Biber/LaTeX/recode_data.xml not found in .
          Compilation failed in require at Biber/Utils.pm line 21.
          BEGIN failed–compilation aborted at Biber/Utils.pm line 21.
          Compilation failed in require at Biber/Internals.pm line 8.
          BEGIN failed–compilation aborted at Biber/Internals.pm line 8.
          Compilation failed in require at (eval 22) line 2.
          …propagated at /opt/local/lib/perl5/5.14.1/base.pm line 94.
          BEGIN failed–compilation aborted at Biber.pm line 5.
          Compilation failed in require at script/biber-darwin line 20.
          BEGIN failed–compilation aborted at script/biber-darwin line 20.`

          È grave? A dire il vero io usavo bibtex, ma poi ho messo biber solo perché ho ricevuto un warning di biblatex che diceva di mettere biber come backend in quanto la codifica è utf8. Questo il messaggio da terminale di bibtex:

          `This is BibTeX, Version 0.99d (TeX Live 2011)
          The top-level auxiliary file: pippomoro.aux
          I found no \citation commands—while reading file pippomoro.aux
          I found no \bibdata command—while reading file pippomoro.aux
          I found no \bibstyle command—while reading file pippomoro.aux
          (There were 3 error messages)
          `

          Oggi pomeriggio ho fatto montare della RAM al centro assistenza AT a Porta Trento. Potrebbe essere questa la causa?

          Ciao
          Tommaso

        • #72580
          admin
          Amministratore del forum
            Up
            0
            Down
            ::


            Ma il file si chiama pippomoro o bibmoro? Magari è questo piccolo refuso?

            Ciao
            Orlando

          • #72581
            Up
            0
            Down
            ::

            illinguista1972″ post=71808

            Prova a lanciare biber dalla linea di comando; è probabile che si sia piantato: lo capisci subito dal messaggio che ottieni sul terminale.

            Ciao
            Enrico

            Questo il messaggio da terminale al comando biber pippomoro:

            `MacBook-di-Tommaso-Gordini:TeX_files tommasogordini$ biber pippomoro
            data source /var/folders/0T/0T4GZHy9GoGj4XgCk7IlF++++TI/-Tmp-/par-746f6d6d61736f676f7264696e69/cache-e8737dfcb1d22ef9a3aca43e9c4fcacdf18a6d6a/inc/lib/Biber/LaTeX/recode_data.xml not found in .
            Compilation failed in require at Biber/Utils.pm line 21.
            BEGIN failed–compilation aborted at Biber/Utils.pm line 21.
            Compilation failed in require at Biber/Internals.pm line 8.
            BEGIN failed–compilation aborted at Biber/Internals.pm line 8.
            Compilation failed in require at (eval 22) line 2.
            …propagated at /opt/local/lib/perl5/5.14.1/base.pm line 94.
            BEGIN failed–compilation aborted at Biber.pm line 5.
            Compilation failed in require at script/biber-darwin line 20.
            BEGIN failed–compilation aborted at script/biber-darwin line 20.`

            È grave? A dire il vero io usavo bibtex, ma poi ho messo biber solo perché ho ricevuto un warning di biblatex che diceva di mettere biber come backend in quanto la codifica è utf8. Questo il messaggio da terminale di bibtex:

            `This is BibTeX, Version 0.99d (TeX Live 2011)
            The top-level auxiliary file: pippomoro.aux
            I found no \citation commands—while reading file pippomoro.aux
            I found no \bibdata command—while reading file pippomoro.aux
            I found no \bibstyle command—while reading file pippomoro.aux
            (There were 3 error messages)
            `

            Oggi pomeriggio ho fatto montare della RAM al centro assistenza AT a Porta Trento. Potrebbe essere questa la causa?

            Ciao
            Tommaso

            No, la RAM nuova non ha responsabilità. È biber che ogni tanto si pianta. Da’ questo comando (copiando dal responso precedente)
            `rm -fr /var/folders/0T/0T4GZHy9GoGj4XgCk7IlF++++TI/-Tmp-/par-746f6d6d61736f676f7264696e69`
            e poi riprova a lanciare biber.

            Trovi menzione del problema anche sul manuale di biber. Quando succede? Boh. A volte. Di sicuro avviene quando biber viene aggiornato ed è successo pochi giorni fa; ma poi capita a intervalli casuali.

            Ciao
            Enrico

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

        Go to top