gzz-commits
[Top][All Lists]
Advanced

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

[Gzz-commits] gzz ./TODO metacode/pegboard.py


From: Tuomas J. Lukka
Subject: [Gzz-commits] gzz ./TODO metacode/pegboard.py
Date: Mon, 28 Oct 2002 03:37:29 -0500

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Tuomas J. Lukka <address@hidden>        02/10/28 03:37:27

Modified files:
        .              : TODO 
        metacode       : pegboard.py 

Log message:
        Twid

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/TODO.diff?tr1=1.326&tr2=1.327&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/metacode/pegboard.py.diff?tr1=1.2&tr2=1.3&r1=text&r2=text

Patches:
Index: gzz/TODO
diff -u gzz/TODO:1.326 gzz/TODO:1.327
--- gzz/TODO:1.326      Fri Oct 25 09:50:41 2002
+++ gzz/TODO    Mon Oct 28 03:37:27 2002
@@ -15,6 +15,8 @@
        - make callgl complain on broken stuff such as 
          the string "%(texid)s" in place of a number !!!!
          ARGH ARGH ARGH 
+       - xupdf: distorted multi-page PDF view with xu links
+           - adjustable zoom / distortion area by mouse
        - fix turbulence texture
        + [GI03]libpaper NV2x combined passes
        + [GI03] think about modeling textures
@@ -223,6 +225,7 @@
          use our bibtex file (in Documentation/Manuscripts) for citations.
        - cleanup: remove x, y, z from HorizText: unnecessary now.
          same for other coord-like things in renderables.
+       + coordsys interpolation: clicks to interpolated coordsys
 
 0.8alpha5: saving, loading etc. with mediaserver useful; tests
     deetsay:
Index: gzz/metacode/pegboard.py
diff -u gzz/metacode/pegboard.py:1.2 gzz/metacode/pegboard.py:1.3
--- gzz/metacode/pegboard.py:1.2        Wed Oct  9 05:00:45 2002
+++ gzz/metacode/pegboard.py    Mon Oct 28 03:37:27 2002
@@ -19,6 +19,7 @@
 # Creating the pegboard
 # Must be run in the main directory (the one Makefile is in).
 
+import docutils
 import docutils.core
 import sys, os, os.path
 
@@ -44,4 +45,25 @@
     print "Process PEG %s" % (peg,)
     
     args = '-stg --stylesheet doc/gzz.css %s.rst %s.html' % (f,f)
+
+    # Generate the HTML
     docutils.core.publish(writer_name='html', argv=args.split())
+
+    if 0:
+       #config = docutils.frontend.ConfigParser()
+       #defaults = config.get_section('options')
+       opts = docutils.frontend.OptionParser()
+       #opts.set_defaults(**defaults)
+       opts.input_encoding = "utf-8"
+       opts.report_level = "0"
+       opts.halt_level = "3"
+       opts.warning_stream = sys.stdout
+       opts.debug = "0"
+       opts.language_code = "en"
+
+       ioobj = docutils.io.FileIO(opts, source_path="%s.rst" % (f,))
+       reader = docutils.readers.get_reader_class("rst")(None, None)
+       # doc = reader.read(ioobj, "restructuredtext", opts)
+       reader.set_parser("restructuredtext")
+       doc = reader.read(ioobj, None, opts)
+       print doc




reply via email to

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