gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] gzz/metacode umlrst.py


From: Benja Fallenstein
Subject: [Gzz-commits] gzz/metacode umlrst.py
Date: Sun, 09 Feb 2003 16:21:19 -0500

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Benja Fallenstein <address@hidden>      03/02/09 16:21:18

Modified files:
        metacode       : umlrst.py 

Log message:
        Allow multiple, space-separated bibliographies ('gzigzag p2p')

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/metacode/umlrst.py.diff?tr1=1.31&tr2=1.32&r1=text&r2=text

Patches:
Index: gzz/metacode/umlrst.py
diff -u gzz/metacode/umlrst.py:1.31 gzz/metacode/umlrst.py:1.32
--- gzz/metacode/umlrst.py:1.31 Sun Feb  9 15:02:19 2003
+++ gzz/metacode/umlrst.py      Sun Feb  9 16:21:18 2003
@@ -37,7 +37,7 @@
 
     docutils.parsers.rst.directives._directives['uml-refer'] = 
uml_refer_directive
 
-    bibliography_directive.arguments = (1, 0, 0)
+    bibliography_directive.arguments = (1, 100, 0)
     bibliography_directive.options = {}
     bibliography_directive.content = 0
     
@@ -46,7 +46,7 @@
 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' % 
arguments[0],
+        text='\n\\bibliographystyle{abbrv}\n\\bibliography{%s}\n' % 
','.join(arguments),
         format='latex')]
 
 def uml_directive(name, arguments, options, content, lineno,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]