gzz-commits
[Top][All Lists]
Advanced

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

[Gzz-commits] gzz/metacode latex2e.py


From: Asko Soukka
Subject: [Gzz-commits] gzz/metacode latex2e.py
Date: Wed, 12 Feb 2003 10:00:06 -0500

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Asko Soukka <address@hidden>    03/02/12 10:00:06

Modified files:
        metacode       : latex2e.py 

Log message:
        disabling use_latex_toc, and removing section_star as jvk proposed

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

Patches:
Index: gzz/metacode/latex2e.py
diff -u gzz/metacode/latex2e.py:1.18 gzz/metacode/latex2e.py:1.19
--- gzz/metacode/latex2e.py:1.18        Wed Feb 12 09:51:31 2003
+++ gzz/metacode/latex2e.py     Wed Feb 12 10:00:06 2003
@@ -3,8 +3,8 @@
 """
 :Author: Engelbert Gruber (hacked by the Gzz project)
 :Contact: address@hidden
-:Revision: $Revision: 1.18 $
-:Date: $Date: 2003/02/12 14:51:31 $
+:Revision: $Revision: 1.19 $
+:Date: $Date: 2003/02/12 15:00:06 $
 :Copyright: This module has been placed in the public domain.
 
 LaTeX2e document tree Writer.
@@ -206,7 +206,7 @@
     generator = '%% generator Docutils: http://docutils.sourceforge.net/\n'
 
     # use latex tableofcontents or let docutils do it.
-    use_latex_toc = 1
+    use_latex_toc = 0
     # table kind: if 0 tabularx (single page), 1 longtable
     # maybe should be decided on row count.
     use_longtable = 1
@@ -1230,10 +1230,10 @@
                 self.body.append('\\hypertarget{%s}{}\n' % node.parent['id'])
             # section_level 0 is title and handled above.    
             # BUG: latex has no deeper sections (actually paragrah is no 
section either).
-            if self.use_latex_toc:
-                section_star = ""
-            else:
-                section_star = "*"
+#            if self.use_latex_toc:
+            section_star = ""
+#            else:
+#                 section_star = "*"
             secl = self.section_level
             if self.settings.documentclass in ['book', 'report']: secl = secl-1
 




reply via email to

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