40 |
uml_refer_directive.content = 0 |
uml_refer_directive.content = 0 |
41 |
|
|
42 |
docutils.parsers.rst.directives._directives['uml-refer'] = uml_refer_directive |
docutils.parsers.rst.directives._directives['uml-refer'] = uml_refer_directive |
|
|
|
|
bibliography_directive.arguments = (1, 100, 0) |
|
|
bibliography_directive.options = {} |
|
|
bibliography_directive.content = 0 |
|
43 |
|
|
|
docutils.parsers.rst.directives._directives['bibliography'] = bibliography_directive |
|
|
|
|
|
def bibliography_directive(name, arguments, options, content, lineno, |
|
|
content_offset, block_text, state, state_machine): |
|
|
return [docutils.nodes.raw( |
|
|
text='\n\\bibliographystyle{abbrv}\n\\bibliography{%s}\n' % ','.join(arguments), |
|
|
format='latex')] |
|
|
|
|
44 |
def uml_directive(name, arguments, options, content, lineno, |
def uml_directive(name, arguments, options, content, lineno, |
45 |
content_offset, block_text, state, state_machine): |
content_offset, block_text, state, state_machine): |
46 |
""" |
""" |