Logo Search packages:      
Sourcecode: zope-cmfbibliographyat version File versions  Download package

def CMFBibliographyAT::tool::bibliography::BibliographyTool::link_citations (   self,
  text = "" 
)

replace all citations with links to their references

the pattern is 'cite{key}' or 'cite{key1,key2}
If 'key' matches the id of a reference the pattern
will be replaced with inline link(s) to this reference(s).
Otherwise the pattern is replaced with the key.

Using the pattern 'bibitem{key}' you can include the
full reference like shown in other bibliographic listings
(authors (year) title linked to entry, source) 

Definition at line 292 of file bibliography.py.

00292                                      :
        """
        replace all citations with links to their references
        
        the pattern is 'cite{key}' or 'cite{key1,key2}
        If 'key' matches the id of a reference the pattern
        will be replaced with inline link(s) to this reference(s).
        Otherwise the pattern is replaced with the key.

        Using the pattern 'bibitem{key}' you can include the
        full reference like shown in other bibliographic listings
        (authors (year) title linked to entry, source) 
        """
        text = citations.sub(self._inline_links, text)
        return bibitems.sub(self._bibitem_links, text)

    def _inline_links(self, hit):


Generated by  Doxygen 1.6.0   Back to index