engelbert gruber | 5 Oct 2003 18:40
Picon
Gravatar

docutils/tools/stylesheets style.tex,1.3,1.4

Update of /cvsroot/docutils/docutils/tools/stylesheets
In directory sc8-pr-cvs1:/tmp/cvs-serv8358/tools/stylesheets

Modified Files:
	style.tex 
Log Message:
How to not print LaTeX's section numbers.

Index: style.tex
===================================================================
RCS file: /cvsroot/docutils/docutils/tools/stylesheets/style.tex,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- style.tex	23 Sep 2003 07:19:12 -0000	1.3
+++ style.tex	5 Oct 2003 16:40:27 -0000	1.4
 <at>  <at>  -53,6 +53,14  <at>  <at> 
 %\geometry{a4paper,twoside,tmargin=1.5cm,
 %          headheight=1cm,headsep=0.75cm}

+% Do section number display
+% -------------------------
+%\makeatletter
+%\def\ <at> seccntformat#1{}
+%\makeatother
+% no numbers in toc
+%\renewcommand{\numberline}[1]{}
+

 % change maketitle
(Continue reading)

engelbert gruber | 5 Oct 2003 18:40
Picon
Gravatar

docutils/docs latex.txt,1.24,1.25

Update of /cvsroot/docutils/docutils/docs
In directory sc8-pr-cvs1:/tmp/cvs-serv8358/docs

Modified Files:
	latex.txt 
Log Message:
How to not print LaTeX's section numbers.

Index: latex.txt
===================================================================
RCS file: /cvsroot/docutils/docutils/docs/latex.txt,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- latex.txt	24 Sep 2003 10:48:13 -0000	1.24
+++ latex.txt	5 Oct 2003 16:40:26 -0000	1.25
 <at>  <at>  -125,6 +125,21  <at>  <at> 

 LaTeX also has a command ``\listoftables``.

+Section numbering
+-----------------
+
+If section numbering and LaTeX table of contents is used LaTeX and 
+docutils will number sections. To switch off displaying of LaTeX's
+numbers one has to add following lines to the stylesheet ::
+
+  % no section number display
+  \makeatletter
+  \def\ <at> seccntformat#1{}
(Continue reading)

David Goodger | 6 Oct 2003 04:42
Picon

docutils FAQ.txt,1.17,1.18

Update of /cvsroot/docutils/docutils
In directory sc8-pr-cvs1:/tmp/cvs-serv11079

Modified Files:
	FAQ.txt 
Log Message:
updated

Index: FAQ.txt
===================================================================
RCS file: /cvsroot/docutils/docutils/FAQ.txt,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- FAQ.txt	1 Sep 2003 22:24:37 -0000	1.17
+++ FAQ.txt	6 Oct 2003 02:42:05 -0000	1.18
 <at>  <at>  -283,6 +283,20  <at>  <at> 
   other programming/technical characters too; for example, []{}
   etc. are a bit awkward compared to US keyboards.

+  According to Axel Kollmorgen,
+
+      Under Windows, you can use the Microsoft Keyboard Layout Creator
+      (available at
+      http://www.microsoft.com/globaldev/tools/msklc.mspx) to easily
+      map the backtick key to a real backtick (no dead key). took me
+      five minutes to load my default (german) keyboard layout, untick
+      "Dead Key?" from the backtick key properties ("in all shift
+      states"), "build dll and setup package", install the generated
+      .msi, and add my custom keyboard layout via Control Panel >
(Continue reading)

Dave Kuhlman | 9 Oct 2003 22:38
Picon

sandbox/dkuhlman/docutils/test DocutilsTestSupport.py,1.1,1.2

Update of /cvsroot/docutils/sandbox/dkuhlman/docutils/test
In directory sc8-pr-cvs1:/tmp/cvs-serv18485/test

Modified Files:
	DocutilsTestSupport.py 
Log Message:
updates for python_latex

Index: DocutilsTestSupport.py
===================================================================
RCS file: /cvsroot/docutils/sandbox/dkuhlman/docutils/test/DocutilsTestSupport.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- DocutilsTestSupport.py	14 Aug 2003 20:24:18 -0000	1.1
+++ DocutilsTestSupport.py	9 Oct 2003 20:38:18 -0000	1.2
 <at>  <at>  -658,6 +658,7  <at>  <at> 
             for target in targetList:
                 if line.find(target) > -1:
                     remove = True
+                    break
             if not remove:
                 outLines.append(line)
         outStr = '\n'.join(outLines)

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
(Continue reading)

Dave Kuhlman | 9 Oct 2003 22:38
Picon

sandbox/dkuhlman/docutils/docutils/writers python_latex.py,1.4,1.5

Update of /cvsroot/docutils/sandbox/dkuhlman/docutils/docutils/writers
In directory sc8-pr-cvs1:/tmp/cvs-serv18485/docutils/writers

Modified Files:
	python_latex.py 
Log Message:
updates for python_latex

Index: python_latex.py
===================================================================
RCS file: /cvsroot/docutils/sandbox/dkuhlman/docutils/docutils/writers/python_latex.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- python_latex.py	13 Aug 2003 22:25:41 -0000	1.4
+++ python_latex.py	9 Oct 2003 20:38:17 -0000	1.5
 <at>  <at>  -35,6 +35,8  <at>  <at> 

 COMMENT_RE_SUB = re.compile('\n').sub
 PROGRAMOPT_RE = re.compile('(--[_\-a-zA-Z0-9]+)')
+EMAILADDR_RE = re.compile(r'[_\-a-zA-Z0-9.]+ <at> [_\-a-zA-Z0-9.]+')
+WEBADDR_RE = re.compile(r'http://[_\-a-zA-Z0-9./~]+')

 TABLE_MODE_NONE = 0
 TABLE_MODE_HEAD = 1
 <at>  <at>  -194,6 +196,23  <at>  <at> 
         """Cleanse, encode, and return attribute value text."""
         return self.encode(whitespace.sub(' ', text))

+    def replace_email_addr(self, mo):
(Continue reading)

Cherniavsky Beni | 10 Oct 2003 00:04

sandbox/cben/rolehack imgmathhack.py,1.2,1.3 mathhack.py,1.2,1.3 rolehack.py,1.1,1.2

Update of /cvsroot/docutils/sandbox/cben/rolehack
In directory sc8-pr-cvs1:/tmp/cvs-serv2444

Modified Files:
	imgmathhack.py mathhack.py rolehack.py 
Log Message:
The usage of an inline role to generate display math was misguided.  Added
ability to preprocess simple directives and replaced the ``texdisplay`` role
with a ``texmath::`` directive.

Fixed some bugs with role parsing (the regexps now closely follow the spec).

Index: imgmathhack.py
===================================================================
RCS file: /cvsroot/docutils/sandbox/cben/rolehack/imgmathhack.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- imgmathhack.py	22 Sep 2003 16:30:07 -0000	1.2
+++ imgmathhack.py	9 Oct 2003 22:04:56 -0000	1.3
 <at>  <at>  -1,11 +1,16  <at>  <at> 
 #!/usr/bin/env python
 """
-Treat the default, ``texmath`` and ``texdisplay`` as LaTeX math and convert to
-images.  It sets the ``:align:`` image parameter differently on
-``texdisplay``.
+Convert latex math to images.  Treats the default and ``texmath`` roles as
+inline LaTeX math and the ``texmath::`` directive as display latex math.

 .. note::
(Continue reading)

Cherniavsky Beni | 10 Oct 2003 00:37
Picon

docutils/docutils/writers html4css1.py,1.93,1.94

Update of /cvsroot/docutils/docutils/docutils/writers
In directory sc8-pr-cvs1:/tmp/cvs-serv8018/docutils/writers

Modified Files:
	html4css1.py 
Log Message:
Propogate align attribute of a non-inline image to the surrounding <p> tag
(otherwise the image's horizontal alignment has no effect).

Index: html4css1.py
===================================================================
RCS file: /cvsroot/docutils/docutils/docutils/writers/html4css1.py,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- html4css1.py	20 Sep 2003 17:30:24 -0000	1.93
+++ html4css1.py	9 Oct 2003 22:37:50 -0000	1.94
 <at>  <at>  -761,7 +761,11  <at>  <at> 
         if isinstance(node.parent, nodes.TextElement):
             self.context.append('')
         else:
-            self.body.append('<p>')
+            if atts.has_key('align'):
+                self.body.append('<p align="%s">' %
+                                 (self.attval(atts['align'],)))
+            else:
+                self.body.append('<p>')
             self.context.append('</p>\n')
         self.body.append(self.emptytag(node, 'img', '', **atts))

(Continue reading)

engelbert gruber | 13 Oct 2003 15:47
Picon
Gravatar

sandbox/grubert/man - New directory

Update of /cvsroot/docutils/sandbox/grubert/man
In directory sc8-pr-cvs1:/tmp/cvs-serv12636/man

Log Message:
Directory /cvsroot/docutils/sandbox/grubert/man added to the repository

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
engelbert gruber | 13 Oct 2003 15:48
Picon
Gravatar

sandbox/grubert man.py,NONE,1.1 check,1.2,1.3

Update of /cvsroot/docutils/sandbox/grubert
In directory sc8-pr-cvs1:/tmp/cvs-serv12878

Modified Files:
	check 
Added Files:
	man.py 
Log Message:
Modify check for use with man.
First ManPageWriter.

--- NEW FILE: man.py ---
#!/usr/bin/env python

# Author: 
# Contact: grubert <at> users.sf.net
# Copyright: This module has been placed in the public domain.

"""
man.py
======

This module provides a simple command line interface that uses the
man page writer to output from ReStructuredText source.
"""

import locale
try:
    locale.setlocale(locale.LC_ALL, '')
except:
(Continue reading)

engelbert gruber | 13 Oct 2003 15:48
Picon
Gravatar

sandbox/grubert/man ManPageWriter.py,NONE,1.1 __init__.py,NONE,1.1

Update of /cvsroot/docutils/sandbox/grubert/man
In directory sc8-pr-cvs1:/tmp/cvs-serv12878/man

Added Files:
	ManPageWriter.py __init__.py 
Log Message:
Modify check for use with man.
First ManPageWriter.

--- NEW FILE: ManPageWriter.py ---
# Author: 
# Contact: grubert <at> users.sf.net
# Copyright: 2003 - engelbert grubet - All Rights Reserved
# License: This module is put into the public domain.

"""
Man page formatting for reStructuredText.

See http://www.tldp.org/HOWTO/Man-Page for a start.

Man pages have no subsection only parts.
Standard parts
  NAME ,
  SYNOPSIS ,
  DESCRIPTION ,
  OPTIONS ,
  FILES ,
  SEE ALSO ,
  BUGS ,
and
(Continue reading)


Gmane