matt_harrison | 1 Mar 04:42 2009
Picon

r5880 - in trunk/sandbox/rst2odp: bin/rst2odp odplib/preso.py

Author: matt_harrison
Date: 2009-03-01 04:42:19 +0100 (Sun, 01 Mar 2009)
New Revision: 5880

Modified:
   trunk/sandbox/rst2odp/bin/rst2odp
   trunk/sandbox/rst2odp/odplib/preso.py
Log:
code cleanup, add line breaks between paragraphs, handle spaces more like OOo

Modified: trunk/sandbox/rst2odp/bin/rst2odp
===================================================================
--- trunk/sandbox/rst2odp/bin/rst2odp	2009-02-27 15:23:41 UTC (rev 5879)
+++ trunk/sandbox/rst2odp/bin/rst2odp	2009-03-01 03:42:19 UTC (rev 5880)
 <at>  <at>  -229,9 +229,10  <at>  <at> 
                 self.cur_slide.add_notes_frame()
             else:
                 self.cur_slide.cur_element = self.cur_slide.notes_frame
-                self.cur_slide.add_node('text:line-break', {})
-                self.cur_slide.pop_node() # close line-break
+                self.cur_slide.insert_line_break += 1
+                self.cur_slide.insert_line_breaks()

+
     def visit_paragraph(self, node):
         classes =  node.attributes.get('classes', [])
         self._push_handout(classes)
 <at>  <at>  -299,6 +300,8  <at>  <at> 

         self.bullet_depth += 1
(Continue reading)

dkuhlman | 2 Mar 04:37 2009
Picon

r5881 - in trunk: docutils/docs/user/odt.txt docutils/docs/user/tools.txt docutils/docutils/writers/odf_odt/__init__.py sandbox/OpenDocument/README.txt

Author: dkuhlman
Date: 2009-03-02 04:37:00 +0100 (Mon, 02 Mar 2009)
New Revision: 5881

Modified:
   trunk/docutils/docs/user/odt.txt
   trunk/docutils/docs/user/tools.txt
   trunk/docutils/docutils/writers/odf_odt/__init__.py
   trunk/sandbox/OpenDocument/README.txt
Log:
Fixes to wrapping of images and figures

Modified: trunk/docutils/docs/user/odt.txt
===================================================================
--- trunk/docutils/docs/user/odt.txt	2009-03-01 03:42:19 UTC (rev 5880)
+++ trunk/docutils/docs/user/odt.txt	2009-03-02 03:37:00 UTC (rev 5881)
 <at>  <at>  -8,7 +8,8  <at>  <at> 
 :Date: $Date$
 :Copyright: This document has been placed in the public domain.

-:abstract: This document describes the Docutils odtwriter.
+:abstract: This document describes the Docutils odtwriter
+    (rst2odt.py).

 .. sectnum::

 <at>  <at>  -113,8 +114,8  <at>  <at> 
                         end of document. (default)

 
(Continue reading)

milde | 2 Mar 14:21 2009
Picon

r5882 - in trunk/sandbox/stylesheets: palatino-helvetica-courier.sty times-helvetica-courier.sty

Author: milde
Date: 2009-03-02 14:21:21 +0100 (Mon, 02 Mar 2009)
New Revision: 5882

Modified:
   trunk/sandbox/stylesheets/palatino-helvetica-courier.sty
   trunk/sandbox/stylesheets/times-helvetica-courier.sty
Log:
sandbox/stylesheets/*-helvetica-courier.sty: update and fixes.
Proper scaling of Helvetica for Times,
osf/lf options for Palatino, 
Package identification.

Modified: trunk/sandbox/stylesheets/palatino-helvetica-courier.sty
===================================================================
--- trunk/sandbox/stylesheets/palatino-helvetica-courier.sty	2009-03-02 03:37:00 UTC (rev 5881)
+++ trunk/sandbox/stylesheets/palatino-helvetica-courier.sty	2009-03-02 13:21:21 UTC (rev 5882)
 <at>  <at>  -1,21 +1,44  <at>  <at> 
+% palatino-helvetica-courier.sty
+% ==============================
 % Recommended Font Settings for Palatino, Helvetica, and Courier
-% ==============================================================
+% --------------------------------------------------------------
 % 
-% :Author:    Günter Milde
-% :Contact:   milde <at> users.berlios.de
+% :Author:    Günter Milde <milde <at> users.berlios.de>
 % :Revision:  $Revision: 5534 $
 % :Date:      $Date: 2005-06-28$
-% :Copyright: © 2007, 2009 G. Milde,
(Continue reading)

milde | 4 Mar 08:55 2009
Picon

r5883 - trunk/docutils/docs/user/links.txt

Author: milde
Date: 2009-03-04 08:55:55 +0100 (Wed, 04 Mar 2009)
New Revision: 5883

Modified:
   trunk/docutils/docs/user/links.txt
Log:
links.txt: odtwriter is now in the Docutils core

Modified: trunk/docutils/docs/user/links.txt
===================================================================
--- trunk/docutils/docs/user/links.txt	2009-03-02 13:21:21 UTC (rev 5882)
+++ trunk/docutils/docs/user/links.txt	2009-03-04 07:55:55 UTC (rev 5883)
 <at>  <at>  -89,7 +89,9  <at>  <at> 

 * odtwriter_ the Open Document Format writer developed by Dave Kuhlman
   produces files that can be processed with OpenOffice and Abiword.
+  In versions > 0.5, the odtwriter_ it is part of the Docutils_ core.

+
 HTML variants
 """""""""""""

 <at>  <at>  -258,7 +260,7  <at>  <at> 
 .. _ReportLabs/PDF Writer: http://docutils.sf.net/sandbox/dreamcatcher/rlpdf/
 .. _DocBook Writer: http://docutils.sf.net/sandbox/oliverr/docbook/
 .. _DocFactory: http://docutils.sf.net/sandbox/gschwant/docfactory/doc/
-.. _odtwriter: http://docutils.sf.net/sandbox/dkuhlman/OpenDocument/README.html
+.. _odtwriter: http://docutils.sf.net/docs/user/odt.html
 .. _simple HTML writer: http://docutils.sf.net/sandbox/bbum/DocArticle/
(Continue reading)

milde | 4 Mar 11:34 2009
Picon

r5884 - trunk/sandbox/README.txt

Author: milde
Date: 2009-03-04 11:34:23 +0100 (Wed, 04 Mar 2009)
New Revision: 5884

Modified:
   trunk/sandbox/README.txt
Log:
sandbox:README.txt: Add a note that the Python documentation uses rst now,
add link to LaTeX math project, 
strip-trailing whitespace

Modified: trunk/sandbox/README.txt
===================================================================
--- trunk/sandbox/README.txt	2009-03-04 07:55:55 UTC (rev 5883)
+++ trunk/sandbox/README.txt	2009-03-04 10:34:23 UTC (rev 5884)
 <at>  <at>  -10,11 +10,11  <at>  <at> 

 It's OK to make a mess in the Sandbox! But please, play nice.

-A project-specific subdirectory should be created for each new project. 
+A project-specific subdirectory should be created for each new project.
 Any developer who wants to play in the sandbox may create their own
 subdirectory (suggested name: SourceForge ID, or given name + family
 initial), but project directories are recommended over personal directories,
-which discourage collaboration. 
+which discourage collaboration.

 For more information, please see the `Docutils Project Policies`_. The
 Sandbox_ is mirrored at the Docutils web site, so the `Docutils Web Site`_
 <at>  <at>  -59,7 +59,7  <at>  <at> 
(Continue reading)

milde | 9 Mar 15:00 2009
Picon

r5885 - in trunk/docutils/test/functional: expected/multistyle_path_rst_html4css1.html tests/multistyle_path_rst_html4css1.py

Author: milde
Date: 2009-03-09 15:00:35 +0100 (Mon, 09 Mar 2009)
New Revision: 5885

Modified:
   trunk/docutils/test/functional/expected/multistyle_path_rst_html4css1.html
   trunk/docutils/test/functional/tests/multistyle_path_rst_html4css1.py
Log:
multistyle_path_rst_html4css1.py: removed test for absolute path
as this fails under Windows under certain conditions 
(a drive letter might be added if source and target drives differ).

Modified: trunk/docutils/test/functional/expected/multistyle_path_rst_html4css1.html
===================================================================
--- trunk/docutils/test/functional/expected/multistyle_path_rst_html4css1.html	2009-03-04
10:34:23 UTC (rev 5884)
+++ trunk/docutils/test/functional/expected/multistyle_path_rst_html4css1.html	2009-03-09
14:00:35 UTC (rev 5885)
 <at>  <at>  -7,7 +7,6  <at>  <at> 
 <title></title>
 <link rel="stylesheet" href="../../ham.css" type="text/css" />
 <link rel="stylesheet" href="../../path/to/spam.css" type="text/css" />
-<link rel="stylesheet" href="/eggs.css" type="text/css" />
 </head>
 <body>
 <div class="document">

Modified: trunk/docutils/test/functional/tests/multistyle_path_rst_html4css1.py
===================================================================
--- trunk/docutils/test/functional/tests/multistyle_path_rst_html4css1.py	2009-03-04
(Continue reading)

matt_harrison | 23 Mar 18:30 2009
Picon

r5886 - in trunk/sandbox/rst2odp/odplib: meta.py preso.py

Author: matt_harrison
Date: 2009-03-23 18:30:45 +0100 (Mon, 23 Mar 2009)
New Revision: 5886

Modified:
   trunk/sandbox/rst2odp/odplib/meta.py
   trunk/sandbox/rst2odp/odplib/preso.py
Log:
don't reuse style nodes if node.tail exists, bump version

Modified: trunk/sandbox/rst2odp/odplib/meta.py
===================================================================
--- trunk/sandbox/rst2odp/odplib/meta.py	2009-03-09 14:00:35 UTC (rev 5885)
+++ trunk/sandbox/rst2odp/odplib/meta.py	2009-03-23 17:30:45 UTC (rev 5886)
 <at>  <at>  -2,7 +2,7  <at>  <at> 
 # Copyright 2008 Matt Harrison
 # Licensed under Apache License, Version 2.0 (current)

-__version__ = "0.2.2"
+__version__ = "0.2.3"
 __author__ = "matt harrison"
 __email__ = "matthewharrison <at> gmail.com"

Modified: trunk/sandbox/rst2odp/odplib/preso.py
===================================================================
--- trunk/sandbox/rst2odp/odplib/preso.py	2009-03-09 14:00:35 UTC (rev 5885)
+++ trunk/sandbox/rst2odp/odplib/preso.py	2009-03-23 17:30:45 UTC (rev 5886)
 <at>  <at>  -873,7 +873,9  <at>  <at> 
                 if children:
                     # if we already are using this text style, reuse the last one
(Continue reading)

milde | 30 Mar 17:16 2009
Picon

r5887 - in trunk/docutils: HISTORY.txt RELEASE-NOTES.txt docutils/writers/latex2e/__init__.py test/functional/expected/standalone_rst_latex.tex test/functional/input/data/custom_roles_latex.txt

Author: milde
Date: 2009-03-30 17:16:40 +0200 (Mon, 30 Mar 2009)
New Revision: 5887

Modified:
   trunk/docutils/HISTORY.txt
   trunk/docutils/RELEASE-NOTES.txt
   trunk/docutils/docutils/writers/latex2e/__init__.py
   trunk/docutils/test/functional/expected/standalone_rst_latex.tex
   trunk/docutils/test/functional/input/data/custom_roles_latex.txt
Log:
latex2e writer: sub- and superscript as text, custom roles based on standard roles.

Modified: trunk/docutils/HISTORY.txt
===================================================================
--- trunk/docutils/HISTORY.txt	2009-03-23 17:30:45 UTC (rev 5886)
+++ trunk/docutils/HISTORY.txt	2009-03-30 15:16:40 UTC (rev 5887)
 <at>  <at>  -63,6 +63,7  <at>  <at> 
   - Merge adjacent citations into one latex cite command.
   - Failsave implementation of custom roles. LaTeX compilation now ignores
     unknown classes instead of aborting with an error.
+  - Support custom roles based on standard roles.
   - Smaller document preamble: use fallback definitions, include only if
     needed in the document.
   - LaTeX packages can be used as ``--stylesheet`` arguments without
 <at>  <at>  -71,8 +72,10  <at>  <at> 
   - Add ``bp`` to lenghts without unit (prevents LaTex errors).
   - Do not convert ``px`` to ``pt`` (``px`` is supported by pdfTeX since
     2005-02-04 as a configurable length unit).
-  - Do not use the obsolete 'ae' and 'aeguill' packages
(Continue reading)


Gmane