citazioni referenze che incubo

  • Creatore
    Topic
  • #2897
    admin
    Amministratore del forum
      Up
      0
      Down
      ::


      Piccolo problemino probabilmente di non facile soluzione. Vorrei scrivere le referenze con la seguente formattazione [3.1-3.7]. Però vorrei usare la libreria

      \usepackage{chapterbib}

      non so come fargli fare questa cosa… con una bibliografia “normale” si usava la libreria

      \usepackage{citesort}

      e lui faceva sta cosa… ma con la libreria chapterbib? Suggerimenti?

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


        scusate mi era scaduta la sessione… sto messaggio l’ho lasciato io…

        dunque…. nella libreria chapterbib.sty trovo scritto

        % 5. Your preferred citation style (xxx.sty) may not work with chapterbib at
        % first, but it is easy to make it compatible: In `xxx.sty’ change every
        % “@\@citeb” to “@\@citeb\@extra@b@citeb”, and insert the line
        % \@ifundefined{@extra@b@citeb}{\def\@extra@b@citeb{}}{}
        % somewhere (but not as a comment or as part of another definition!).
        % If the package also redefines \bibcite then you should change that
        % definition, replacing “b@#1” with “b@#1\@extra@binfo”, and insert
        % \gdef\@extra@binfo{}
        % somewhere in the file.
        % Some citation packages deviate quite far from LaTeX’s own method of
        % organizing cite tags using “b@\@citeb”. The instructions above catch
        % such extensions as “Y@\@citeb”, but not more radical differences.
        % In such cases, try contacting the author of the citation package.
        % If a citation style does not define “\nocite”, then that command
        % would not be converted when you make the patches to “@\@citeb”.
        % Chapterbib will try to detect the hook in “\nocite”, but if this fails
        % you may need to redefine “\nocite” (with any “@\@citeb” changed to
        % “@\@citeb\@extra@b@citeb”) in that sty file.

        Bene… a leggere qui sembra una cavolata… io vorrei usare le opzioni della libreria citesort.sty per far sì che mi esca una cosa del tipo [1-9] al posto di [1,2,3,4,5,6,9,8]. Allora leggendo quello che c’è scritto sopra ho preso la libraria, ci ho messo la linea “@\@citeb\@extra@b@citeb” al posto della linea “@\@citeb” e poi ho aggiunto la linea \@ifundefined{@extra@b@citeb}{\def\@extra@b@citeb{}}{}. Ho fatto esattamente quello che suggeriva.

        Quindi, nel mio file, dopo la linea

        \usepackage[sectionbib]{chapterbib}

        ho messo

        \usepackage{citesort}

        e forse qui sta l’errore…. fatto sta che non mi dà errori ma le mie referenze diventano tutte []… VUOTE!

        Na tristezza immane…. vi prego… un aiutino?

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

    Go to top