BibTex: tag per inserire siti web

  • Creatore
    Topic
  • #6807
    Up
    0
    Down
    ::


    Salve,

    ho fatto una ricerca sul forum senza successo. Vorrei inserire nel mio file di bibliografia BibTex voci da citare che rappresentino URL di siti web dai quali ho tratto numerose informazioni per la mia tesi. Ho visto che esiste un tag @STRING che però deve essere referenziato in uno dei campi dei tag classici tipo @BOOK ecc.

    Non c’è magari un package che estende bibtex e che permette un simile tag? Oppure avete qualche suggerimento in merito?

    Mini OT: Siete MERAVIGLIOSI! Troppe volte avrei voluto postare un msg qui ma ho SEMPRE trovato soluzione sul forum in altri post! La vostra passione per Tex & C mi ha permesso di scrivere ed impaginare una tesi davvero notevole (manca ancora poco). GRAZIE A TUTTI!

Visualizzazione 1 filone di risposte
  • Autore
    Risposte
    • #6808
      Up
      0
      Down
      ::


      La faq ufficiale suggerisce questo:

      URLs in BibTeX bibliographies

      There is no citation type for URLs, per se, in the standard BibTeX styles, though Oren Patashnik (the author of BibTeX) is believed to beconsidering developing one such for use with the long-awaited BibTeX version 1.0.

      The actual information that need be available in a citation of an URL is discussed at some length in the publicly available on-line extracts of ISO 690-2; the techniques below do not satisfy all the requirements of ISO 690-2, but they offer a solution that is at least available to users of today’s tools.

      Until the new version of BibTeX arrives, the simplest technique is to use the howpublished field of the standard styles’ @misc function. Of course, the strictures about typesetting URLs still apply, so the entry will look like:

      `@misc{…,
      …,
      howpublished = “\url{http://…}”
      }`
      A possible alternative approach is to use BibTeX styles other than the standard ones, that already have URL entry types. Pre-eminent are the natbib styles (plainnat, unsrtnat and abbrevnat). These styles are extensions of the standard styles, principally for use with natbib itself, but they’ve acquired URLs and other “modern” entries along the way. The same author’s custom-bib is also capable of generating styles that honour URL entries.

      Another candidate is the harvard package (if its citation styles are otherwise satisfactory for you). Harvard bibliography styles all include a “url” field in their specification; however, the typesetting offered is somewhat feeble (though it does recognise and use LaTeX2HTML macros if they are available, to create hyperlinks).

      You can also acquire new BibTeX styles by use of Norman Gray’s urlbst system, which is based on a Perl script that edits an existing BibTeX style file to produce a new style. The new style thus generated has a webpage entry type, and also offers support for url and lastchecked fields in the other entry types. The Perl script comes with a set of converted versions of the standard bibliography styles. Documentation is distributed as LaTeX source.

      Another possibility is that some conventionally-published paper, technical report (or even book) is also available on the Web. In such cases, a useful technique is something like:

      `@techreport{…,
      …,
      note = “Also available as \url{http://…}”
      }`
      There is good reason to use the url or hyperref packages in this context: BibTeX has a habit of splitting lines it considers excessively long, and if there are no space characters for it to use as ‘natural’ breakpoints, BibTeX will insert a comment (‘%’) character … which is an acceptable character in an URL. Any current version of the url or hyperref package detects this “%-end-of-line” structure in its argument, and removes it.

    • #6809
      Up
      0
      Down
      ::

      La faq ufficiale suggerisce questo:

      URLs in BibTeX bibliographies

      There is no citation type for URLs, per se, in the standard BibTeX styles, though Oren Patashnik (the author of BibTeX) is believed to beconsidering developing one such for use with the long-awaited BibTeX version 1.0.

      The actual information that need be available in a citation of an URL is discussed at some length in the publicly available on-line extracts of ISO 690-2; the techniques below do not satisfy all the requirements of ISO 690-2, but they offer a solution that is at least available to users of today’s tools.

      Until the new version of BibTeX arrives, the simplest technique is to use the howpublished field of the standard styles’ @misc function. Of course, the strictures about typesetting URLs still apply, so the entry will look like:

      `@misc{…,
      …,
      howpublished = “\url{http://…}”
      }`

      Grazie Minnolina! Ottimo suggerimento…aggiungo per quelli che leggono questo thread che è necessario anche aggiungere nel preambolo il package “url”. Così facendo, al momento della conversione in pdf si otterranno anche dei link reali nel documento che fanno puntare il proprio browser all’indirizzo indicato.

      Grazie ancora!

Visualizzazione 1 filone di risposte
  • Devi essere connesso per rispondere a questo topic.

Go to top