joshuagraff | 24 May 19:48
Picon

SF.net SVN: docutils:[7436] trunk/sandbox/rst2wiki/docutils/writers/wiki.py

Revision: 7436
          http://docutils.svn.sourceforge.net/docutils/?rev=7436&view=rev
Author:   joshuagraff
Date:     2012-05-24 17:48:15 +0000 (Thu, 24 May 2012)
Log Message:
-----------
Added support for escaping linked words. i.e. words which are
automatically linked in a Wiki. The option --escape-linked-words
takes a file of words to be escaped.

Updated Confluence translater to always escape '[]' and '{}' with
exception to literal blocks.

Modified Paths:
--------------
    trunk/sandbox/rst2wiki/docutils/writers/wiki.py

Modified: trunk/sandbox/rst2wiki/docutils/writers/wiki.py
===================================================================
--- trunk/sandbox/rst2wiki/docutils/writers/wiki.py	2012-05-12 04:35:29 UTC (rev 7435)
+++ trunk/sandbox/rst2wiki/docutils/writers/wiki.py	2012-05-24 17:48:15 UTC (rev 7436)
@@ -22,6 +22,7 @@
 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

 import os
+import re

 from docutils import nodes, writers, languages

@@ -40,6 +41,8 @@
(Continue reading)

joshuagraff | 12 May 06:35
Picon

SF.net SVN: docutils:[7435] trunk/sandbox

Revision: 7435
          http://docutils.svn.sourceforge.net/docutils/?rev=7435&view=rev
Author:   joshuagraff
Date:     2012-05-12 04:35:29 +0000 (Sat, 12 May 2012)
Log Message:
-----------
Initial checkin of RST to Wiki frontend

Added Paths:
-----------
    trunk/sandbox/rst2wiki/
    trunk/sandbox/rst2wiki/README.txt
    trunk/sandbox/rst2wiki/docutils/
    trunk/sandbox/rst2wiki/docutils/writers/
    trunk/sandbox/rst2wiki/docutils/writers/wiki.py
    trunk/sandbox/rst2wiki/tools/
    trunk/sandbox/rst2wiki/tools/rst2wiki.py

Added: trunk/sandbox/rst2wiki/README.txt
===================================================================
--- trunk/sandbox/rst2wiki/README.txt	                        (rev 0)
+++ trunk/sandbox/rst2wiki/README.txt	2012-05-12 04:35:29 UTC (rev 7435)
@@ -0,0 +1,90 @@
+========
+rst2wiki
+========
+
+.. contents::
+
+
(Continue reading)

milde | 11 May 23:06
Picon

SF.net SVN: docutils:[7434] trunk/docutils/docutils/writers/html4css1/ html4css1.css

Revision: 7434
          http://docutils.svn.sourceforge.net/docutils/?rev=7434&view=rev
Author:   milde
Date:     2012-05-11 21:06:27 +0000 (Fri, 11 May 2012)
Log Message:
-----------
Basic CSS rules for (source)code (margin, background, linenumbers).

Modified Paths:
--------------
    trunk/docutils/docutils/writers/html4css1/html4css1.css

Modified: trunk/docutils/docutils/writers/html4css1/html4css1.css
===================================================================
--- trunk/docutils/docutils/writers/html4css1/html4css1.css	2012-05-11 21:03:07 UTC (rev 7433)
+++ trunk/docutils/docutils/writers/html4css1/html4css1.css	2012-05-11 21:06:27 UTC (rev 7434)
@@ -240,10 +240,18 @@
   margin-top: 0 ;
   font: inherit }

-pre.literal-block, pre.doctest-block, pre.math {
+pre.literal-block, pre.doctest-block, pre.math, pre.code {
   margin-left: 2em ;
   margin-right: 2em }

+pre.code .ln { /* line numbers */
+  color: grey;
+}
+
+.code {
(Continue reading)

milde | 11 May 23:03
Picon

SF.net SVN: docutils:[7433] trunk/docutils

Revision: 7433
          http://docutils.svn.sourceforge.net/docutils/?rev=7433&view=rev
Author:   milde
Date:     2012-05-11 21:03:07 +0000 (Fri, 11 May 2012)
Log Message:
-----------
Fix [ 3525847 ] UnicodeEncodeError with locale == C 
and 8-bit char in path argument of `include` directive.

Modified Paths:
--------------
    trunk/docutils/HISTORY.txt
    trunk/docutils/docutils/parsers/rst/directives/misc.py
    trunk/docutils/test/alltests.py
    trunk/docutils/test/test_parsers/test_rst/test_directives/test_include.py

Modified: trunk/docutils/HISTORY.txt
===================================================================
--- trunk/docutils/HISTORY.txt	2012-05-09 15:16:51 UTC (rev 7432)
+++ trunk/docutils/HISTORY.txt	2012-05-11 21:03:07 UTC (rev 7433)
@@ -16,7 +16,11 @@
 Changes Since 0.9
 =================

+* docutils/parsers/rst/directives/misc.py

+  - Fix [ 3525847 ] UnicodeEncodeError with locale == C and 8-bit char
+    in path argument of `include` directive.
+
 Release 0.9 (2012-05-02)
(Continue reading)

milde | 9 May 17:16
Picon

SF.net SVN: docutils:[7432] trunk/sandbox/code-block-directive/tools/

Revision: 7432
          http://docutils.svn.sourceforge.net/docutils/?rev=7432&view=rev
Author:   milde
Date:     2012-05-09 15:16:51 +0000 (Wed, 09 May 2012)
Log Message:
-----------
Cleanup code-block-directive sandbox project, part 3.

Removed Paths:
-------------
    trunk/sandbox/code-block-directive/tools/

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
milde | 9 May 16:07
Picon

SF.net SVN: docutils:[7431] trunk/sandbox/stylesheets

Revision: 7431
          http://docutils.svn.sourceforge.net/docutils/?rev=7431&view=rev
Author:   milde
Date:     2012-05-09 14:07:41 +0000 (Wed, 09 May 2012)
Log Message:
-----------
Stylesheets update.

Modified Paths:
--------------
    trunk/sandbox/stylesheets/bold-definition-terms.css
    trunk/sandbox/stylesheets/index.txt

Added Paths:
-----------
    trunk/sandbox/stylesheets/pygments_css2sty.py

Modified: trunk/sandbox/stylesheets/bold-definition-terms.css
===================================================================
--- trunk/sandbox/stylesheets/bold-definition-terms.css	2012-05-09 13:42:58 UTC (rev 7430)
+++ trunk/sandbox/stylesheets/bold-definition-terms.css	2012-05-09 14:07:41 UTC (rev 7431)
@@ -1,22 +1,27 @@
-/* transiton-stars.css: Style a Docutils transition */
+/* Bold definition list terms */
+/* ************************** */
+
 /* :Author:    Günter Milde */
 /* :Copyright: © 2008 Günter Milde. */
-/*             Released  without warranties or conditions of any kind */
-/*             under the terms of the Apache License, Version 2.0 */
(Continue reading)

milde | 9 May 15:42
Picon

SF.net SVN: docutils:[7430] trunk/sandbox/code-block-directive

Revision: 7430
          http://docutils.svn.sourceforge.net/docutils/?rev=7430&view=rev
Author:   milde
Date:     2012-05-09 13:42:58 +0000 (Wed, 09 May 2012)
Log Message:
-----------
Clean up code-block-directive sandbox project.

Modified Paths:
--------------
    trunk/sandbox/code-block-directive/README.txt
    trunk/sandbox/code-block-directive/docs/myfunction.py.pdf
    trunk/sandbox/code-block-directive/docs/myfunction.py.pseudoxml
    trunk/sandbox/code-block-directive/docs/myfunction.py.tex
    trunk/sandbox/code-block-directive/docs/myfunction.py.txt
    trunk/sandbox/code-block-directive/docs/syntax-highlight.txt

Removed Paths:
-------------
    trunk/sandbox/code-block-directive/data/
    trunk/sandbox/code-block-directive/pygments_code_block_directive.py
    trunk/sandbox/code-block-directive/rst2html-highlight.py
    trunk/sandbox/code-block-directive/rst2latex-highlight.py
    trunk/sandbox/code-block-directive/tools/makesty.py
    trunk/sandbox/code-block-directive/tools/pygments-docutilsroles.sty
    trunk/sandbox/code-block-directive/tools/pygments-enhanced-front-ends/
    trunk/sandbox/code-block-directive/tools/test_pygments_code_block_directive.py

Modified: trunk/sandbox/code-block-directive/README.txt
===================================================================
(Continue reading)

milde | 9 May 12:41
Picon

SF.net SVN: docutils:[7429] trunk/sandbox/stylesheets

Revision: 7429
          http://docutils.svn.sourceforge.net/docutils/?rev=7429&view=rev
Author:   milde
Date:     2012-05-09 10:41:38 +0000 (Wed, 09 May 2012)
Log Message:
-----------
Example stylesheets for syntax highlight of code snippets.

Modified Paths:
--------------
    trunk/sandbox/stylesheets/index.txt

Added Paths:
-----------
    trunk/sandbox/stylesheets/pygments-default.css
    trunk/sandbox/stylesheets/pygments-default.sty
    trunk/sandbox/stylesheets/pygments-long.css
    trunk/sandbox/stylesheets/pygments-long.sty

Modified: trunk/sandbox/stylesheets/index.txt
===================================================================
--- trunk/sandbox/stylesheets/index.txt	2012-05-09 10:32:30 UTC (rev 7428)
+++ trunk/sandbox/stylesheets/index.txt	2012-05-09 10:41:38 UTC (rev 7429)
@@ -38,9 +38,11 @@

   Replaces the horizontal line with three stars as often seen in novels.

-.. _transition: ../../docutils/docs/ref/rst/restructuredtext.html#transitions

+* `<pygments-default.css>`_, `<pygments-long.css>`_:
(Continue reading)

milde | 9 May 12:32
Picon

SF.net SVN: docutils:[7428] trunk/sandbox/code-block-directive/tools/ makesty.py

Revision: 7428
          http://docutils.svn.sourceforge.net/docutils/?rev=7428&view=rev
Author:   milde
Date:     2012-05-09 10:32:30 +0000 (Wed, 09 May 2012)
Log Message:
-----------
Update skript to convert Pygments styles from CSS to LaTeX.

Bugfix: do not fail at lines without comment.
Support for digits in role names.
``\\\\providecommand`` instead of ``\\\\newcommand``.

Modified Paths:
--------------
    trunk/sandbox/code-block-directive/tools/makesty.py

Modified: trunk/sandbox/code-block-directive/tools/makesty.py
===================================================================
--- trunk/sandbox/code-block-directive/tools/makesty.py	2012-05-06 19:10:43 UTC (rev 7427)
+++ trunk/sandbox/code-block-directive/tools/makesty.py	2012-05-09 10:32:30 UTC (rev 7428)
@@ -1,27 +1,37 @@
 #! /usr/bin/env python
+# coding: utf8
 # Copyright: Raphael 'kena' Poss <r.c.poss <at> uva.nl>
 # this file is placed in the public domain.
+#
+# Convert a CSS stylesheet into one for Docutils' LaTeX output.
+#
+# Usage example::
+#
(Continue reading)

milde | 6 May 21:10
Picon

SF.net SVN: docutils:[7427] trunk/sandbox/code-block-directive/tools

Revision: 7427
          http://docutils.svn.sourceforge.net/docutils/?rev=7427&view=rev
Author:   milde
Date:     2012-05-06 19:10:43 +0000 (Sun, 06 May 2012)
Log Message:
-----------
Stylesheet converter and example stylesheet for syntax highlight with LaTeX.

Added Paths:
-----------
    trunk/sandbox/code-block-directive/tools/makesty.py
    trunk/sandbox/code-block-directive/tools/pygments-docutilsroles.sty

Added: trunk/sandbox/code-block-directive/tools/makesty.py
===================================================================
--- trunk/sandbox/code-block-directive/tools/makesty.py	                        (rev 0)
+++ trunk/sandbox/code-block-directive/tools/makesty.py	2012-05-06 19:10:43 UTC (rev 7427)
@@ -0,0 +1,53 @@
+#! /usr/bin/env python
+# Copyright: Raphael 'kena' Poss <r.c.poss <at> uva.nl>
+# this file is placed in the public domain.
+
+# Use with: pygmentize -S default -f html | python makesty.py >pygments-DUroles.sty
+
+import sys
+import re
+
+d = re.compile(r'.*[0-9]')
+
+print r'%% Stylesheet generated by %s' % sys.argv[0]
(Continue reading)

grubert | 5 May 13:23
Picon
Gravatar

SF.net SVN: docutils:[7426] trunk/sandbox/grubert/rllicense.txt

Revision: 7426
          http://docutils.svn.sourceforge.net/docutils/?rev=7426&view=rev
Author:   grubert
Date:     2012-05-05 11:23:03 +0000 (Sat, 05 May 2012)
Log Message:
-----------
remove reportlab license

Removed Paths:
-------------
    trunk/sandbox/grubert/rllicense.txt

Deleted: trunk/sandbox/grubert/rllicense.txt
===================================================================
--- trunk/sandbox/grubert/rllicense.txt	2012-05-03 16:30:55 UTC (rev 7425)
+++ trunk/sandbox/grubert/rllicense.txt	2012-05-05 11:23:03 UTC (rev 7426)
@@ -1,29 +0,0 @@
-#####################################################################################
-#
-#	Copyright (c) 2000-2001, ReportLab Inc.
-#	All rights reserved.
-#
-#	Redistribution and use in source and binary forms, with or without modification,
-#	are permitted provided that the following conditions are met:
-#
-#		*	Redistributions of source code must retain the above copyright notice,
-#			this list of conditions and the following disclaimer. 
-#		*	Redistributions in binary form must reproduce the above copyright notice,
-#			this list of conditions and the following disclaimer in the documentation
-#			and/or other materials provided with the distribution. 
(Continue reading)


Gmane