/[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.31 by benja, Sun Feb 9 20:02:19 2003 UTC revision 1.32 by benja, Sun Feb 9 21:21:18 2003 UTC
# Line 37  def __rst_init__(): Line 37  def __rst_init__():
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            
# Line 46  def __rst_init__(): Line 46  def __rst_init__():
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,

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

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