On Sun, Nov 14, 2010 at 06:01, Abhishek Tiwari <abhishek....@gmail.com> wrote: > Hi Everyone, > I am very new to Sphinx development and I want to write an extension > to include the CiteULike (or Pubmed) citations in the Sphinx > documentation. So basically if anyone include some footnote in running > text like following, > > [#citeulike:8208972]_ [#citeulike:7847175]_ > > then end results should be a list of References like > > [1] caGrid Workflow Toolkit: A Taverna based workflow tool for cancer > Grid. > > [2] Ruffus: a lightweight Python library for computational pipelines > > > In background parser should recognize the citeulike:xxxxxxx tag and > call the web-services to get the appropriate reference and put them on > right place. This is quite similar what jsmath and pngmath do by > recognizing inline tex with $mytex$. But here I want to extend the > footnote functionality and I also want to have a list of the collected > citeulikes accross the whole documentation at one place. I am not sure > where to start with this, any feedback and input is highly > appreciated.
Hi Abhishek, >From what you describe, you are on the right track. In case you have not seen this page: http://sphinx.pocoo.org/latest/ext/tutorial.html it shows how to a create an extension. The example shown there is similar to what you want to accomplish, except that example creates a single todo list from various todos scattered in the document. Perhaps this can be integrated with ideas from this thread? http://groups.google.com/group/sphinx-dev/browse_thread/thread/6db2bb71fcc39dd1/e8694bccec218d99 Seems like citations are a recurring theme... Kevin -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-...@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.