mnodine | 1 Oct 23:38 2010
Picon

r6434 - trunk/prest/lib/Text/Restructured.pm

Author: mnodine
Date: 2010-10-01 23:38:39 +0200 (Fri, 01 Oct 2010)
New Revision: 6434

Modified:
   trunk/prest/lib/Text/Restructured.pm
Log:
* Fixed an issue in recognizing a Roman numeral list beginning VI.
* Added :parent: option to class:: directive
* Propagate classes on list items in list tables to the table cells

Modified: trunk/prest/lib/Text/Restructured.pm
===================================================================
--- trunk/prest/lib/Text/Restructured.pm	2010-09-28 08:21:25 UTC (rev 6433)
+++ trunk/prest/lib/Text/Restructured.pm	2010-10-01 21:38:39 UTC (rev 6434)
 <at>  <at>  -6,7 +6,7  <at>  <at> 
 package Text::Restructured;

 # N.B.: keep version in quotes so trailing 0's are not lost
-$VERSION = '0.003043';
+$VERSION = '0.003044';

 # This package does parsing of reStructuredText files

 <at>  <at>  -1010,7 +1010,7  <at>  <at> 
 sub EnumType : method {
     my ($self, $index) =  <at> _;
     my  <at> matches = 
-	$index=~/^(?:([0-9]+)|([a-hj-z])|([A-HJ-Z])|([ivxlcdm]+)|([IVXLCDM]+))|(\#)$/;
+	$index=~/^(?:([0-9]+)|([a-hj-uw-z])|([A-HJ-UW-Z])|([ivxlcdm]+)|([IVXLCDM]+)|(\#))$/;
(Continue reading)

mnodine | 1 Oct 23:41 2010
Picon

r6435 - trunk/prest/lib/Text/Restructured/Writer/html.wrt

Author: mnodine
Date: 2010-10-01 23:41:54 +0200 (Fri, 01 Oct 2010)
New Revision: 6435

Modified:
   trunk/prest/lib/Text/Restructured/Writer/html.wrt
Log:
* Force HTML ids to be unique
* Process attributes (such as class) on list items and literal

Modified: trunk/prest/lib/Text/Restructured/Writer/html.wrt
===================================================================
--- trunk/prest/lib/Text/Restructured/Writer/html.wrt	2010-10-01 21:38:39 UTC (rev 6434)
+++ trunk/prest/lib/Text/Restructured/Writer/html.wrt	2010-10-01 21:41:54 UTC (rev 6435)
 <at>  <at>  -107,7 +107,7  <at>  <at> 

     # Run-time globals
     use vars qw($HAS_CONTENTS $TARGET_FRAME $FOOTER $HEADER  <at> HEAD  <at> HEAD_INFO
-		%IMAGE_EXTS $IMAGE_EXT_RE %USED_DEFAULT $DOCTYPE);
+		%IMAGE_EXTS $IMAGE_EXT_RE %USED_DEFAULT $DOCTYPE $DOCDOM);

     # Defaults for -W flags
     $attribution = 'dash' unless defined $attribution;
 <at>  <at>  -168,6 +168,18  <at>  <at> 
     grep ref($attr->{$_}) eq 'ARRAY' ?
 	grep(s/\"/&quot;/g,  <at> {$attr->{$_}}) :
 	defined $attr->{$_} && $attr->{$_} =~ s/\"/&quot;/g, keys %$attr;
+    # Force ids to be unique
+    my $id  = $attr->{id};
+    if ($id && $DOCDOM->{_html}{ids}{$id}++) {
(Continue reading)

mnodine | 1 Oct 23:42 2010
Picon

r6436 - in trunk/prest/t/90_bugs/parse.init: rom_6_list.dom rom_6_list.rst

Author: mnodine
Date: 2010-10-01 23:42:33 +0200 (Fri, 01 Oct 2010)
New Revision: 6436

Added:
   trunk/prest/t/90_bugs/parse.init/rom_6_list.dom
   trunk/prest/t/90_bugs/parse.init/rom_6_list.rst
Log:
Added test for Roman numeral VI bug

Added: trunk/prest/t/90_bugs/parse.init/rom_6_list.dom
===================================================================
--- trunk/prest/t/90_bugs/parse.init/rom_6_list.dom	                        (rev 0)
+++ trunk/prest/t/90_bugs/parse.init/rom_6_list.dom	2010-10-01 21:42:33 UTC (rev 6436)
 <at>  <at>  -0,0 +1,11  <at>  <at> 
+<document source="rom_6_list.rst">
+    <enumerated_list enumtype="upperroman" prefix="" start="5" suffix=".">
+        <list_item>
+            <paragraph>
+                A Roman numerals list starting at 5.
+    <paragraph>
+        And again
+    <enumerated_list enumtype="upperroman" prefix="" start="6" suffix=".">
+        <list_item>
+            <paragraph>
+                A Roman numerals list starting at 6.

Added: trunk/prest/t/90_bugs/parse.init/rom_6_list.rst
===================================================================
--- trunk/prest/t/90_bugs/parse.init/rom_6_list.rst	                        (rev 0)
(Continue reading)

mnodine | 1 Oct 23:43 2010
Picon

r6437 - in trunk/prest/t/60_new/html.init: dupsection.myhtml dupsection.rst

Author: mnodine
Date: 2010-10-01 23:43:16 +0200 (Fri, 01 Oct 2010)
New Revision: 6437

Added:
   trunk/prest/t/60_new/html.init/dupsection.myhtml
   trunk/prest/t/60_new/html.init/dupsection.rst
Log:
Added test for duplicate section ID bug

Added: trunk/prest/t/60_new/html.init/dupsection.myhtml
===================================================================
--- trunk/prest/t/60_new/html.init/dupsection.myhtml	                        (rev 0)
+++ trunk/prest/t/60_new/html.init/dupsection.myhtml	2010-10-01 21:43:16 UTC (rev 6437)
 <at>  <at>  -0,0 +1,22  <at>  <at> 
+<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<link rel="stylesheet" href="default.css" type="text/css" />
+</head>
+<body>
+<div class="document">
+<a id="addic-rt-ra-si-1"></a><div class="section" id="addic-rtrasi">
+<h1><a name="addic-rtrasi">addic. RT,RA,SI</a></h1>
+<p>Content</p>
+</div>
+<a id="addic-rt-ra-si-2"></a><div class="section" id="addic-rtrasi-0001">
+<h1><a name="addic-rtrasi">addic RT,RA,SI</a></h1>
(Continue reading)

mnodine | 1 Oct 23:43 2010
Picon

r6438 - in trunk/prest/t/60_new: directives.init/class01.dom directives.init/class01.rst html.init/class01.myhtml html.init/class01.rst

Author: mnodine
Date: 2010-10-01 23:43:37 +0200 (Fri, 01 Oct 2010)
New Revision: 6438

Added:
   trunk/prest/t/60_new/directives.init/class01.dom
   trunk/prest/t/60_new/directives.init/class01.rst
   trunk/prest/t/60_new/html.init/class01.myhtml
   trunk/prest/t/60_new/html.init/class01.rst
Log:
Added tests for :parent: option of class:: directive

Added: trunk/prest/t/60_new/directives.init/class01.dom
===================================================================
--- trunk/prest/t/60_new/directives.init/class01.dom	                        (rev 0)
+++ trunk/prest/t/60_new/directives.init/class01.dom	2010-10-01 21:43:37 UTC (rev 6438)
 <at>  <at>  -0,0 +1,128  <at>  <at> 
+<document source="test data">
+    <paragraph>
+        Check the new 
+        <literal>
+            :parent:
+         option to the class:: directive.
+    <system_message level="1" line="3" source="test data" type="INFO">
+        <paragraph>
+            No directive entry for "perl" in module "Text::Restructured::Directive".
+            Trying "perl" as canonical directive name.
+    <table>
+        <tgroup cols="3">
+            <colspec colwidth="33">
(Continue reading)

mnodine | 1 Oct 23:46 2010
Picon

r6439 - trunk/prest/doc/src/directives.rst

Author: mnodine
Date: 2010-10-01 23:46:37 +0200 (Fri, 01 Oct 2010)
New Revision: 6439

Modified:
   trunk/prest/doc/src/directives.rst
Log:
Documented :parent: flag for class:: directive

Modified: trunk/prest/doc/src/directives.rst
===================================================================
--- trunk/prest/doc/src/directives.rst	2010-10-01 21:43:37 UTC (rev 6438)
+++ trunk/prest/doc/src/directives.rst	2010-10-01 21:46:37 UTC (rev 6439)
 <at>  <at>  -1621,7 +1621,7  <at>  <at> 
 :Doctree Element: pending
 :Directive Arguments: One or more, required (class names / attribute
                       values).
-:Directive Options: None.
+:Directive Options: Possible.
 :Directive Content: None.

 The "class" directive sets the "classes" attribute value on
 <at>  <at>  -1670,6 +1670,12  <at>  <at> 
    the block quote text would be interpreted as the "class"
    directive's content, and the parser would complain.

+The following options are recognized:
+
+``parent`` : flag (empty)
+    Attach the class to the containing element rather than the next
(Continue reading)

mnodine | 1 Oct 23:55 2010
Picon

r6440 - in trunk/prest: ChangeLog MANIFEST

Author: mnodine
Date: 2010-10-01 23:55:19 +0200 (Fri, 01 Oct 2010)
New Revision: 6440

Modified:
   trunk/prest/ChangeLog
   trunk/prest/MANIFEST
Log:
Changes for 0.3.44

Modified: trunk/prest/ChangeLog
===================================================================
--- trunk/prest/ChangeLog	2010-10-01 21:46:37 UTC (rev 6439)
+++ trunk/prest/ChangeLog	2010-10-01 21:55:19 UTC (rev 6440)
 <at>  <at>  -5,6 +5,20  <at>  <at> 

 .. contents::

+Release 0.3.44
+--------------
+
+reStructuredText parsing:
+
+* Fixed an issue in recognizing a Roman numeral list beginning VI.
+* Added :parent: option to class:: directive
+* Propagate classes on list items in list tables to the table cells
+
+Writer 'html':
+
+* Force HTML ids to be unique
(Continue reading)

smerten | 2 Oct 14:55 2010
Picon

r6441 - in trunk/sandbox/rst2gxl: . global.log setup.py tag.log version.py

Author: smerten
Date: 2010-10-02 14:55:57 +0200 (Sat, 02 Oct 2010)
New Revision: 6441

Added:
   trunk/sandbox/rst2gxl/setup.py
   trunk/sandbox/rst2gxl/version.py
Modified:
   trunk/sandbox/rst2gxl/
   trunk/sandbox/rst2gxl/global.log
   trunk/sandbox/rst2gxl/tag.log
Log:
Added setup.

Property changes on: trunk/sandbox/rst2gxl
___________________________________________________________________
Modified: svn:ignore
   - doc
CVS
.*.gmk
*.gmk
Makefile

   + doc
CVS
.*.gmk
*.gmk
Makefile
build
*.tar.gz
(Continue reading)

smerten | 2 Oct 15:02 2010
Picon

r6442 - in trunk/sandbox/rst2outline: . global.log rst2outline.py setup.py tag.log version.py

Author: smerten
Date: 2010-10-02 15:02:21 +0200 (Sat, 02 Oct 2010)
New Revision: 6442

Added:
   trunk/sandbox/rst2outline/version.py
Modified:
   trunk/sandbox/rst2outline/
   trunk/sandbox/rst2outline/global.log
   trunk/sandbox/rst2outline/rst2outline.py
   trunk/sandbox/rst2outline/setup.py
   trunk/sandbox/rst2outline/tag.log
Log:
Added version.

Property changes on: trunk/sandbox/rst2outline
___________________________________________________________________
Modified: svn:ignore
   - build

   + doc
CVS
.*.gmk
*.gmk
Makefile
build
*.tar.gz
*.tgz

Modified: trunk/sandbox/rst2outline/global.log
(Continue reading)

milde | 11 Oct 14:32 2010
Picon

r6443 - in trunk/docutils: BUGS.txt HISTORY.txt docs/dev/todo.txt docs/user/config.txt docutils/writers/html4css1/__init__.py docutils/writers/latex2e/__init__.py docutils/writers/xetex/__init__.py test/functional/expected/standalone_rst_html4css1.html test/functional/expected/standalone_rst_latex.tex test/functional/expected/standalone_rst_pseudoxml.txt test/functional/expected/standalone_rst_xetex.tex test/functional/input/data/custom_roles.txt test/functional/input/data/custom_roles_latex.txt test/functional/input/data/standard.txt test/test_writers/test_latex2e.py

Author: milde
Date: 2010-10-11 14:32:33 +0200 (Mon, 11 Oct 2010)
New Revision: 6443

Modified:
   trunk/docutils/BUGS.txt
   trunk/docutils/HISTORY.txt
   trunk/docutils/docs/dev/todo.txt
   trunk/docutils/docs/user/config.txt
   trunk/docutils/docutils/writers/html4css1/__init__.py
   trunk/docutils/docutils/writers/latex2e/__init__.py
   trunk/docutils/docutils/writers/xetex/__init__.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/expected/standalone_rst_xetex.tex
   trunk/docutils/test/functional/input/data/custom_roles.txt
   trunk/docutils/test/functional/input/data/custom_roles_latex.txt
   trunk/docutils/test/functional/input/data/standard.txt
   trunk/docutils/test/test_writers/test_latex2e.py
Log:
Support language specification for document objects.

Class arguments in the form "language-<language tag>", e.g. 
``.. class:: language-el-polyton`` for a quote in polytonic Greek
are handled by the html and latex writers to set the language of the
"classified" object.

Modified: trunk/docutils/BUGS.txt
===================================================================
(Continue reading)


Gmane