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 |
""" |
""" |