[Checkins] SVN: z3c.rml/trunk/src/z3c/rml/ * Updated TODO.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sat Apr 14 18:12:40 EDT 2007
Log message for revision 74138:
* Updated TODO.
* Make the code work in Windows?, maybe. I forgot to store in binary
format.
* Added an outline to the RML reference.
Changed:
U z3c.rml/trunk/src/z3c/rml/TODO.txt
U z3c.rml/trunk/src/z3c/rml/rml-reference.pt
U z3c.rml/trunk/src/z3c/rml/rml-reference.py
U z3c.rml/trunk/src/z3c/rml/rml2pdf.py
-=-
Modified: z3c.rml/trunk/src/z3c/rml/TODO.txt
===================================================================
--- z3c.rml/trunk/src/z3c/rml/TODO.txt 2007-04-14 19:31:54 UTC (rev 74137)
+++ z3c.rml/trunk/src/z3c/rml/TODO.txt 2007-04-14 22:12:40 UTC (rev 74138)
@@ -1,13 +1,5 @@
-* Rewrite attribute and element system to use interfaces and schemas.
-
-* Create a distribution using eggs.
-
* Finish compatibility work.
-* Documentation generator.
-
-* DTD generator.
-
* Fix <pluginFlowable> tag to the following form::
<pluginFlowable module="..." function="...">
Modified: z3c.rml/trunk/src/z3c/rml/rml-reference.pt
===================================================================
--- z3c.rml/trunk/src/z3c/rml/rml-reference.pt 2007-04-14 19:31:54 UTC (rev 74137)
+++ z3c.rml/trunk/src/z3c/rml/rml-reference.pt 2007-04-14 22:12:40 UTC (rev 74138)
@@ -124,6 +124,7 @@
<para style="section-header">
Attribute Types
</para>
+ <outlineAdd>Attribute Types</outlineAdd>
<para style="content">
This section list the types of attributes used for the attributes within
the RML elements.
@@ -133,6 +134,7 @@
<para style="attribute-type-name" tal:content="type/name">
Attribute Name
</para>
+ <outlineAdd level="1" tal:content="type/name">Attribute Name</outlineAdd>
<para style="content" tal:content="type/description">
Attribute purpose and data description.
</para>
@@ -142,10 +144,14 @@
<para style="section-header">
Directives
</para>
+ <outlineAdd>Directives</outlineAdd>
<tal:block repeat="directive context/directives">
<para style="element-name" tal:content="directive/name">
Element Name
</para>
+ <outlineAdd level="1" tal:content="directive/name">
+ Element Name
+ </outlineAdd>
<para style="content" tal:content="directive/description">
What is this element doing?
</para>
Modified: z3c.rml/trunk/src/z3c/rml/rml-reference.py
===================================================================
--- z3c.rml/trunk/src/z3c/rml/rml-reference.py 2007-04-14 19:31:54 UTC (rev 74137)
+++ z3c.rml/trunk/src/z3c/rml/rml-reference.py 2007-04-14 22:12:40 UTC (rev 74138)
@@ -91,4 +91,4 @@
directives = sorted(directives.values(), key=lambda d: d['name'])
pdf = template(types=getAttributeTypes(), directives=directives)
- open('rml-reference.pdf', 'w').write(pdf)
+ open('rml-reference.pdf', 'wb').write(pdf)
Modified: z3c.rml/trunk/src/z3c/rml/rml2pdf.py
===================================================================
--- z3c.rml/trunk/src/z3c/rml/rml2pdf.py 2007-04-14 19:31:54 UTC (rev 74137)
+++ z3c.rml/trunk/src/z3c/rml/rml2pdf.py 2007-04-14 22:12:40 UTC (rev 74138)
@@ -55,7 +55,7 @@
if outputFileName is not None:
if outDir is not None:
outputFileName = os.path.join(outDir, outputFileName)
- outputFile = open(outputFileName, 'w')
+ outputFile = open(outputFileName, 'wb')
# Create a Reportlab canvas by processing the document
doc.process(outputFile)
More information about the Checkins
mailing list