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) |
bibliography_directive.arguments = (1, 100, 0) |
41 |
bibliography_directive.options = {} |
bibliography_directive.options = {} |
42 |
bibliography_directive.content = 0 |
bibliography_directive.content = 0 |
43 |
|
|
46 |
def bibliography_directive(name, arguments, options, content, lineno, |
def bibliography_directive(name, arguments, options, content, lineno, |
47 |
content_offset, block_text, state, state_machine): |
content_offset, block_text, state, state_machine): |
48 |
return [docutils.nodes.raw( |
return [docutils.nodes.raw( |
49 |
text='\n\\bibliographystyle{abbrv}\n\\bibliography{%s}\n' % arguments[0], |
text='\n\\bibliographystyle{abbrv}\n\\bibliography{%s}\n' % ','.join(arguments), |
50 |
format='latex')] |
format='latex')] |
51 |
|
|
52 |
def uml_directive(name, arguments, options, content, lineno, |
def uml_directive(name, arguments, options, content, lineno, |