goodger | 2 Oct 2005 03:09
Picon

r3916 - in trunk/docutils: HISTORY.txt docs/ref/doctree.txt docs/ref/docutils.dtd

Author: goodger
Date: 2005-10-02 03:09:01 +0200 (Sun, 02 Oct 2005)
New Revision: 3916

Modified:
   trunk/docutils/HISTORY.txt
   trunk/docutils/docs/ref/doctree.txt
   trunk/docutils/docs/ref/docutils.dtd
Log:
Updated for plural attributes "classes", "ids", "names", "dupnames".

Modified: trunk/docutils/HISTORY.txt
===================================================================
--- trunk/docutils/HISTORY.txt	2005-10-02 01:06:42 UTC (rev 3915)
+++ trunk/docutils/HISTORY.txt	2005-10-02 01:09:01 UTC (rev 3916)
 <at>  <at>  -151,6 +151,16  <at>  <at> 

 * docs/dev/hacking.txt: Added to project; guide for developers.

+* docs/ref/doctree.txt:
+
+  - Updated for plural attributes "classes", "ids", "names",
+    "dupnames".
+
+* docs/ref/docutils.dtd:
+
+  - Updated for plural attributes "classes", "ids", "names",
+    "dupnames".
+
 * docs/user/links.txt: Added to project; lists of Docutils-related
(Continue reading)

goodger | 2 Oct 2005 06:39
Picon

r3917 - trunk/docutils/docs/ref/doctree.txt

Author: goodger
Date: 2005-10-02 06:39:00 +0200 (Sun, 02 Oct 2005)
New Revision: 3917

Modified:
   trunk/docutils/docs/ref/doctree.txt
Log:
fixed references

Modified: trunk/docutils/docs/ref/doctree.txt
===================================================================
--- trunk/docutils/docs/ref/doctree.txt	2005-10-02 01:09:01 UTC (rev 3916)
+++ trunk/docutils/docs/ref/doctree.txt	2005-10-02 04:39:00 UTC (rev 3917)
 <at>  <at>  -340,8 +340,8  <at>  <at> 
     `%text.model;`_

 :Attributes:
-    The ``address`` element contains the `common attributes`_ (id_,
-    name_, dupname_, source_, and class_), plus `xml:space`_.
+    The ``address`` element contains the `common attributes`_ (ids_,
+    names_, dupnames_, source_, and classes_), plus `xml:space`_.

 :Parameter Entities:
     The `%bibliographic.elements;`_ parameter entity directly includes
 <at>  <at>  -413,7 +413,7  <at>  <at> 

 :Attributes:
     The ``admonition`` element contains only the `common attributes`_:
-    id_, name_, dupname_, source_, and class_.
+    ids_, names_, dupnames_, source_, and classes_.
(Continue reading)

goodger | 2 Oct 2005 03:07
Picon

r3915 - in trunk/docutils: HISTORY.txt docutils/nodes.py test/functional/expected/standalone_rst_pseudoxml.txt test/test_parsers/test_rst/test_directives/test_contents.py test/test_parsers/test_rst/test_directives/test_include.py test/test_parsers/test_rst/test_directives/test_unicode.py test/test_parsers/test_rst/test_inline_markup.py test/test_parsers/test_rst/test_section_headers.py test/test_parsers/test_rst/test_substitutions.py test/test_parsers/test_rst/test_targets.py test/test_parsers/test_rst/test_transitions.py test/test_publisher.py test/test_transforms/test_class.py test/test_transforms/test_contents.py test/test_transforms/test_doctitle.py test/test_transforms/test_hyperlinks.py test/test_transforms/test_peps.py test/test_transforms/test_sectnum.py test/test_transforms/test_substitutions.py test/test_transforms/test_tran ...

Author: goodger
Date: 2005-10-02 03:06:42 +0200 (Sun, 02 Oct 2005)
New Revision: 3915

Modified:
   trunk/docutils/HISTORY.txt
   trunk/docutils/docutils/nodes.py
   trunk/docutils/test/functional/expected/standalone_rst_pseudoxml.txt
   trunk/docutils/test/test_parsers/test_rst/test_directives/test_contents.py
   trunk/docutils/test/test_parsers/test_rst/test_directives/test_include.py
   trunk/docutils/test/test_parsers/test_rst/test_directives/test_unicode.py
   trunk/docutils/test/test_parsers/test_rst/test_inline_markup.py
   trunk/docutils/test/test_parsers/test_rst/test_section_headers.py
   trunk/docutils/test/test_parsers/test_rst/test_substitutions.py
   trunk/docutils/test/test_parsers/test_rst/test_targets.py
   trunk/docutils/test/test_parsers/test_rst/test_transitions.py
   trunk/docutils/test/test_publisher.py
   trunk/docutils/test/test_transforms/test_class.py
   trunk/docutils/test/test_transforms/test_contents.py
   trunk/docutils/test/test_transforms/test_doctitle.py
   trunk/docutils/test/test_transforms/test_hyperlinks.py
   trunk/docutils/test/test_transforms/test_peps.py
   trunk/docutils/test/test_transforms/test_sectnum.py
   trunk/docutils/test/test_transforms/test_substitutions.py
   trunk/docutils/test/test_transforms/test_transitions.py
   trunk/docutils/test/test_writers/test_pseudoxml.py
Log:
Added ``serial_escape`` function; escapes string values that are elements of a list, for serialization.  Modified Docutils-XML writing (``Element._dom_node``) and pseudo-XML writing (``Element.starttag``) to use ``serial_escape``.

Modified: trunk/docutils/HISTORY.txt
(Continue reading)

goodger | 3 Oct 2005 15:11
Picon

r3918 - in trunk/docutils: BUGS.txt test/test_parsers/test_rst/test_SimpleTableParser.py

Author: goodger
Date: 2005-10-03 15:11:40 +0200 (Mon, 03 Oct 2005)
New Revision: 3918

Modified:
   trunk/docutils/BUGS.txt
   trunk/docutils/test/test_parsers/test_rst/test_SimpleTableParser.py
Log:
added SimpleTable bug

Modified: trunk/docutils/BUGS.txt
===================================================================
--- trunk/docutils/BUGS.txt	2005-10-02 04:39:00 UTC (rev 3917)
+++ trunk/docutils/BUGS.txt	2005-10-03 13:11:40 UTC (rev 3918)
 <at>  <at>  -277,6 +277,26  <at>  <at> 
   the HTML output at
   ``test/functional/expected/standalone_rst_html4css1.html``.

+* Blank first columns in simple tables with explicit row separators
+  silently swallow their input.  They should at least produce system
+  error messages.  But, with explicit row separators, the meaning is
+  unambiguous and ought to be supported::
+
+      ==============  ==========
+      Table with row  separators
+      ==============  ==========
+                      and blank
+      --------------  ----------
+                      entries
+      --------------  ----------
(Continue reading)

felixwiemann | 3 Oct 2005 20:33
Picon

r3919 - in trunk/docutils/test/functional: expected/dangerous.html expected/field_name_limit.html expected/standalone_rst_html4css1.html tests/dangerous.py tests/field_name_limit.py tests/pep_html.py tests/standalone_rst_html4css1.py

Author: felixwiemann
Date: 2005-10-03 20:33:46 +0200 (Mon, 03 Oct 2005)
New Revision: 3919

Modified:
   trunk/docutils/test/functional/expected/dangerous.html
   trunk/docutils/test/functional/expected/field_name_limit.html
   trunk/docutils/test/functional/expected/standalone_rst_html4css1.html
   trunk/docutils/test/functional/tests/dangerous.py
   trunk/docutils/test/functional/tests/field_name_limit.py
   trunk/docutils/test/functional/tests/pep_html.py
   trunk/docutils/test/functional/tests/standalone_rst_html4css1.py
Log:
added correct link to stylesheet path for visual checkability of HTML output

Modified: trunk/docutils/test/functional/expected/dangerous.html
===================================================================
--- trunk/docutils/test/functional/expected/dangerous.html	2005-10-03 13:11:40 UTC (rev 3918)
+++ trunk/docutils/test/functional/expected/dangerous.html	2005-10-03 18:33:46 UTC (rev 3919)
 <at>  <at>  -5,7 +5,7  <at>  <at> 
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <meta name="generator" content="Docutils 0.3.10: http://docutils.sourceforge.net/" />
 <title></title>
-<link rel="stylesheet" href="../../../tools/stylesheets/default.css" type="text/css" />
+<link rel="stylesheet" href="../../../docutils/writers/support/html4css1.css"
type="text/css" />
 </head>
 <body>
 <div class="document">

(Continue reading)

felixwiemann | 3 Oct 2005 21:18
Picon

r3920 - in trunk/docutils: docutils/writers/html4css1.py test/functional/expected/standalone_rst_html4css1.html test/functional/expected/standalone_rst_latex.tex test/functional/expected/standalone_rst_pseudoxml.txt test/functional/input/data/standard.txt

Author: felixwiemann
Date: 2005-10-03 21:18:04 +0200 (Mon, 03 Oct 2005)
New Revision: 3920

Modified:
   trunk/docutils/docutils/writers/html4css1.py
   trunk/docutils/test/functional/expected/standalone_rst_html4css1.html
   trunk/docutils/test/functional/expected/standalone_rst_latex.tex
   trunk/docutils/test/functional/expected/standalone_rst_pseudoxml.txt
   trunk/docutils/test/functional/input/data/standard.txt
Log:
fixed bug with center-alignment of image; added test

Modified: trunk/docutils/docutils/writers/html4css1.py
===================================================================
--- trunk/docutils/docutils/writers/html4css1.py	2005-10-03 18:33:46 UTC (rev 3919)
+++ trunk/docutils/docutils/writers/html4css1.py	2005-10-03 19:18:04 UTC (rev 3920)
 <at>  <at>  -975,9 +975,6  <at>  <at> 
         if style:
             atts['style'] = ' '.join(style)
         atts['alt'] = node.get('alt', atts['src'])
-        if node.has_key('align'):
-            atts['align'] = self.attval(node['align'])
-            atts['class'] = 'align-%s' % atts['align']
         if (isinstance(node.parent, nodes.TextElement) or
             (isinstance(node.parent, nodes.reference) and
              not isinstance(node.parent.parent, nodes.TextElement))):
 <at>  <at>  -985,10 +982,23  <at>  <at> 
             suffix = ''
         else:
(Continue reading)

felixwiemann | 3 Oct 2005 22:06
Picon

r3921 - trunk/web/.htaccess

Author: felixwiemann
Date: 2005-10-03 22:06:35 +0200 (Mon, 03 Oct 2005)
New Revision: 3921

Modified:
   trunk/web/.htaccess
Log:
simplified .htaccess -- fragment identifiers are never passed to the web server

Modified: trunk/web/.htaccess
===================================================================
--- trunk/web/.htaccess	2005-10-03 19:18:04 UTC (rev 3920)
+++ trunk/web/.htaccess	2005-10-03 20:06:35 UTC (rev 3921)
 <at>  <at>  -3,7 +3,7  <at>  <at> 
 # Redirect snapshots to BerliOS.  The target URL may change in the
 # future, so use a temporary redirect (status 302).

-RedirectMatch temp /([^#]*-snapshot.tgz) ftp://ftp.berlios.de/pub/docutils/$1
+RedirectMatch temp /(.*-snapshot.tgz) ftp://ftp.berlios.de/pub/docutils/$1

 # Redirection from old URLs to new URLs after a site reorganization.

 <at>  <at>  -14,15 +14,9  <at>  <at> 
 Redirect permanent /docs/tools.html  http://docutils.sourceforge.net/docs/user/tools.html
 Redirect permanent /docs/tools.txt   http://docutils.sourceforge.net/docs/user/tools.txt

-RedirectMatch permanent /docs/rst/([^#]*) http://docutils.sourceforge.net/docs/user/rst/$1
-# instead of:
-# Redirect permanent /docs/rst/quickref.html   http://docutils.sourceforge.net/docs/user/rst/quickref.html
-# Redirect permanent /docs/rst/quickstart.html http://docutils.sourceforge.net/docs/user/rst/quickstart.html
(Continue reading)

felixwiemann | 4 Oct 2005 19:26
Picon

r3922 - in trunk/docutils/test/functional: expected/standalone_rst_html4css1.html expected/standalone_rst_latex.tex expected/standalone_rst_pseudoxml.txt input/data/standard.txt

Author: felixwiemann
Date: 2005-10-04 19:26:33 +0200 (Tue, 04 Oct 2005)
New Revision: 3922

Modified:
   trunk/docutils/test/functional/expected/standalone_rst_html4css1.html
   trunk/docutils/test/functional/expected/standalone_rst_latex.tex
   trunk/docutils/test/functional/expected/standalone_rst_pseudoxml.txt
   trunk/docutils/test/functional/input/data/standard.txt
Log:
added test for parsed literal block

Modified: trunk/docutils/test/functional/expected/standalone_rst_html4css1.html
===================================================================
--- trunk/docutils/test/functional/expected/standalone_rst_html4css1.html	2005-10-03 20:06:35 UTC (rev 3921)
+++ trunk/docutils/test/functional/expected/standalone_rst_html4css1.html	2005-10-04 17:26:33 UTC (rev 3922)
 <at>  <at>  -88,67 +88,68  <at>  <at> 
 <div class="contents topic">
 <p class="topic-title first"><a id="table-of-contents" name="table-of-contents">Table of Contents</a></p>
 <ul class="auto-toc simple">
-<li><a class="reference" href="#structural-elements" id="id25" name="id25">1&nbsp;&nbsp;&nbsp;Structural Elements</a><ul class="auto-toc">
-<li><a class="reference" href="#section-title" id="id26" name="id26">1.1&nbsp;&nbsp;&nbsp;Section Title</a></li>
-<li><a class="reference" href="#empty-section" id="id27" name="id27">1.2&nbsp;&nbsp;&nbsp;Empty Section</a></li>
-<li><a class="reference" href="#transitions" id="id28" name="id28">1.3&nbsp;&nbsp;&nbsp;Transitions</a></li>
+<li><a class="reference" href="#structural-elements" id="id27" name="id27">1&nbsp;&nbsp;&nbsp;Structural Elements</a><ul class="auto-toc">
+<li><a class="reference" href="#section-title" id="id28" name="id28">1.1&nbsp;&nbsp;&nbsp;Section Title</a></li>
+<li><a class="reference" href="#empty-section" id="id29" name="id29">1.2&nbsp;&nbsp;&nbsp;Empty Section</a></li>
+<li><a class="reference" href="#transitions" id="id30" name="id30">1.3&nbsp;&nbsp;&nbsp;Transitions</a></li>
 </ul>
 </li>
(Continue reading)

felixwiemann | 4 Oct 2005 20:33
Picon

r3923 - trunk/docutils/docs/dev/todo.txt

Author: felixwiemann
Date: 2005-10-04 20:33:57 +0200 (Tue, 04 Oct 2005)
New Revision: 3923

Modified:
   trunk/docutils/docs/dev/todo.txt
Log:
added to do list entry about "raw-wrapped" base role

Modified: trunk/docutils/docs/dev/todo.txt
===================================================================
--- trunk/docutils/docs/dev/todo.txt	2005-10-04 17:26:33 UTC (rev 3922)
+++ trunk/docutils/docs/dev/todo.txt	2005-10-04 18:33:57 UTC (rev 3923)
 <at>  <at>  -1357,6 +1357,36  <at>  <at> 

 * Implement roles:

+  - "_`raw-wrapped`" (or "_`raw-wrap`"): Base role to wrap raw text
+    around role contents.
+
+    For example, the following reStructuredText source ... ::
+
+        .. role:: red(raw-formatting)
+           :prefix:
+               :html: <font color="red">
+               :latex: {\color{red}
+           :suffix:
+               :html: </font>
+               :latex: }
+
(Continue reading)

goodger | 5 Oct 2005 03:46
Picon

r3924 - trunk/docutils/docs/dev/todo.txt

Author: goodger
Date: 2005-10-05 03:45:59 +0200 (Wed, 05 Oct 2005)
New Revision: 3924

Modified:
   trunk/docutils/docs/dev/todo.txt
Log:
added entry about --strip-comments option

Modified: trunk/docutils/docs/dev/todo.txt
===================================================================
--- trunk/docutils/docs/dev/todo.txt	2005-10-04 18:33:57 UTC (rev 3923)
+++ trunk/docutils/docs/dev/todo.txt	2005-10-05 01:45:59 UTC (rev 3924)
 <at>  <at>  -92,6 +92,12  <at>  <at> 
 General
 =======

+* Add a --strip-comments command-line option (& strip_comments runtime
+  setting), declared in docutils/frontend.py, and implemented as a
+  transform.  This feature isn't specific to rst2html.py, or to the
+  HTML Writer, or to the reST parser; it applies to Docutils as a
+  whole.  See <http://thread.gmane.org/gmane.text.docutils.devel/3216>.
+
 * Add a generic "container" element, equivalent to "inline", to which
   a "class" attribute can be attached.  Will require a reST directive
   also.

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
(Continue reading)


Gmane