/[gzz]/gzz/metacode/umlrst.py
ViewVC logotype

Diff of /gzz/metacode/umlrst.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.30 by benja, Sun Feb 9 11:58:46 2003 UTC revision 1.31 by benja, Sun Feb 9 20:02:19 2003 UTC
# Line 36  def __rst_init__(): Line 36  def __rst_init__():
36      uml_refer_directive.content = 0      uml_refer_directive.content = 0
37    
38      docutils.parsers.rst.directives._directives['uml-refer'] = uml_refer_directive      docutils.parsers.rst.directives._directives['uml-refer'] = uml_refer_directive
39    
40        bibliography_directive.arguments = (1, 0, 0)
41        bibliography_directive.options = {}
42        bibliography_directive.content = 0
43            
44        docutils.parsers.rst.directives._directives['bibliography'] = bibliography_directive
45    
46    def bibliography_directive(name, arguments, options, content, lineno,
47            content_offset, block_text, state, state_machine):
48        return [docutils.nodes.raw(
49            text='\n\\bibliographystyle{abbrv}\n\\bibliography{%s}\n' % arguments[0],
50            format='latex')]
51    
52  def uml_directive(name, arguments, options, content, lineno,  def uml_directive(name, arguments, options, content, lineno,
53          content_offset, block_text, state, state_machine):          content_offset, block_text, state, state_machine):
54      """      """

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26