Ticket #453 (new enhancement)

Opened 2 years ago

Last modified 1 month ago

BibTrac - BibTex support for paper references

Reported by: kurt@ccom.unh.edu Assigned to: anybody
Priority: normal Component: Request-a-Hack
Severity: normal Keywords: bibtex latex references citations journal
Cc: uws+trac-hacks@xs4all.nl, fcorreia@gmail.com Trac Release: 0.9

Description

We would like to integrate references for journal articles and such into our documentation. It would be fantastic to be able to put pdf's into a dump some place with associated references in the database and then be able to query the references and also place citations in the wiki and tickets.

For example:

  We really need to implement the [cite:smith1989] algorithm 
  so our robot stops running into walls all the time.

That reference would be turned into a link Smith (1989) [pdf] which when clicked would take you to the reference summary and maybe the abstract, while the pdf link would give you back the pdf that you had cached.

Another useful feature would allow the user to select references from a page and export those references as one bibtex file.

Attachments

Change History

10/12/06 22:44:13 changed by anonymous

How would the references be resolved to resources? Would [cite:foo] be a wiki macro that triggers a lookup in a database? Would that be inside the wiki, ie a table with two columns: shortnames like "foo09" and the corresponding URIs? Or does one need another plugin that could be used to do "live" database lookups, inside the macro, to get back the URI?

Anyone implementing this should consider some kind of integration with the URI spaces that the journals themselves are using now, eg the DOI system used by Nature and others. There is also OpenURL, if you want to specifically refer to a locally-held copy of a resource instead of the journals' website. See for example http://www.exlibrisgroup.com/sfx_openurl.htm for a bit of background.

10/12/06 23:20:10 changed by coderanger

I would assume (by the name) that the idea would be to point at a bibtex file ....

02/11/07 00:29:03 changed by linetor

  • type changed from defect to enhancement.

I would assume (by the name) that the idea would be to point at a bibtex file ….

The bibtex doesn't need to be uploaded as a file, it could be pasted into a text field. But the plugin will need to parse the bibtex, find the contained references and index them using bibtex citation names.

I think a simple solution is to store the references in the ticket system. You could implement it with a WikiProcessor?, a WikiMacro?, and a plugin.

This is the idea:

  • Create a ticket type called 'reference'
  • For each paper, create a 'reference' ticket
    • Use the paper's title as the ticket summary
    • Paste the bibtex into the ticket description and use a bibtex WikiProcessor?, like this:
      {{{
      #!bibtex
      @ARTICLE {smith1989,
         author = {A.K. Smith},
          title = {BibTrac 101},
        journal = {Trac-Hacking Journal},
         volume = {1},
          pages = {123 -- 456},
           year = {1989}
      }
      }}}
      
    • Attach the pdf file to the ticket
  • Create a plugin to detect and parse new references and add them to an index. I think this can be done by implementing the ITicketChangeListener interface.
  • Insert the citations using a macro like [[CiteBibTex(smith1989)]]. The macro will look up 'smith1989' in the index and insert a formatted link to the appropriate 'reference' ticket.

What do you think coderanger? Will it work?

07/05/07 20:06:07 changed by anonymous

How about having two macros:

  • [[bibfile(/some/url/in/the/svn)]], which produces no output, and goes somewhere before the first citation, and
  • [[cite(smith1989)]], which produces the formatted output.

Another alternative is to have a pointer to a given bib file in the svn from the project's ini file.

03/10/08 09:41:09 changed by WouterBolsterlee

  • cc set to uws+trac-hacks@xs4all.nl.

08/23/08 13:19:07 changed by anonymous

nice idea. but a little more thought on it is needed i believe. integration with the zotero firefox plugin would be great too.

08/23/08 13:24:06 changed by anonymous

  • cc changed from uws+trac-hacks@xs4all.nl to uws+trac-hacks@xs4all.nl, fcorreia@gmail.com.

Add/Change #453 (BibTrac - BibTex support for paper references)




Change Properties
Action