Felix Wiemann | 1 Sep 2004 17:43
Picon

docutils/docs/dev testing.txt,1.4,1.5

Update of /cvsroot/docutils/docutils/docs/dev
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8259

Modified Files:
	testing.txt 
Log Message:
added some documentation about unit tests

Index: testing.txt
===================================================================
RCS file: /cvsroot/docutils/docutils/docs/dev/testing.txt,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- testing.txt	29 Aug 2004 12:05:13 -0000	1.4
+++ testing.txt	1 Sep 2004 15:43:19 -0000	1.5
 <at>  <at>  -20,7 +20,14  <at>  <at> 

 Unit tests test single functions or modules (i.e. whitebox testing).

-XXX Some details to be written.
+If you are implementing a new feature, be sure to write a test case
+covering its functionality.  It happens very frequently that your
+implementation (or even only a part of it) doesn't work with an older
+(or even newer) Python version, and the only reliable way to detect
+those cases is using tests.
+
+Often, it's easier to write the test first and then implement the
+functionality required to make the test pass.

(Continue reading)

engelbert gruber | 5 Sep 2004 19:16
Picon
Gravatar

docutils/test/functional/expected standalone_rst_latex.tex,1.5,1.6

Update of /cvsroot/docutils/docutils/test/functional/expected
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28993/test/functional/expected

Modified Files:
	standalone_rst_latex.tex 
Log Message:
New option "font-encoding".

Index: standalone_rst_latex.tex
===================================================================
RCS file: /cvsroot/docutils/docutils/test/functional/expected/standalone_rst_latex.tex,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- standalone_rst_latex.tex	22 Aug 2004 15:57:38 -0000	1.5
+++ standalone_rst_latex.tex	5 Sep 2004 17:16:25 -0000	1.6
 <at>  <at>  -1,5 +1,6  <at>  <at> 
 \documentclass[10pt,a4paper,english]{article}
 \usepackage{babel}
+\usepackage{ae}
 \usepackage{shortvrb}
 \usepackage[latin1]{inputenc}
 \usepackage{tabularx}
 <at>  <at>  -274,13 +275,13  <at>  <at> 
 % DO NOT RE-WRAP THE FOLLOWING PARAGRAPH! 

 Let's test wrapping and whitespace significance in inline literals:
-\texttt{This is an example of --inline-literal --text, --including some--
-strangely--hyphenated-words.  Adjust-the-width-of-your-browser-window
-to see how the text is wrapped.  -- ---- --------  Now note    the
(Continue reading)

engelbert gruber | 5 Sep 2004 19:16
Picon
Gravatar

docutils/test/test_writers test_latex2e.py,1.30,1.31

Update of /cvsroot/docutils/docutils/test/test_writers
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28993/test/test_writers

Modified Files:
	test_latex2e.py 
Log Message:
New option "font-encoding".

Index: test_latex2e.py
===================================================================
RCS file: /cvsroot/docutils/docutils/test/test_writers/test_latex2e.py,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- test_latex2e.py	22 Aug 2004 16:56:57 -0000	1.30
+++ test_latex2e.py	5 Sep 2004 17:16:26 -0000	1.31
 <at>  <at>  -21,6 +21,7  <at>  <at> 
 latex_head = """\
 \\documentclass[10pt,a4paper,english]{article}
 \\usepackage{babel}
+\\usepackage{ae}
 \\usepackage{shortvrb}
 \\usepackage[latin1]{inputenc}
 \\usepackage{tabularx}

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
(Continue reading)

engelbert gruber | 5 Sep 2004 19:16
Picon
Gravatar

docutils/docs/user latex.txt,1.53,1.54

Update of /cvsroot/docutils/docutils/docs/user
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28993/docs/user

Modified Files:
	latex.txt 
Log Message:
New option "font-encoding".

Index: latex.txt
===================================================================
RCS file: /cvsroot/docutils/docutils/docs/user/latex.txt,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- latex.txt	29 Aug 2004 20:04:52 -0000	1.53
+++ latex.txt	5 Sep 2004 17:16:24 -0000	1.54
 <at>  <at>  -136,6 +136,9  <at>  <at> 
   \usepackage[scaled=.90]{helvet}
   \usepackage{courier}

+*font encoding* can be selected with option "font-encoding". Default
+uses package "ae" for old style font encoding use "OT1". 
+
 Hyphenation
 -----------

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
(Continue reading)

engelbert gruber | 5 Sep 2004 19:16
Picon
Gravatar

docutils/docutils/writers latex2e.py,1.126,1.127

Update of /cvsroot/docutils/docutils/docutils/writers
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28993/docutils/writers

Modified Files:
	latex2e.py 
Log Message:
New option "font-encoding".

Index: latex2e.py
===================================================================
RCS file: /cvsroot/docutils/docutils/docutils/writers/latex2e.py,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -d -r1.126 -r1.127
--- latex2e.py	29 Aug 2004 13:01:18 -0000	1.126
+++ latex2e.py	5 Sep 2004 17:16:25 -0000	1.127
 <at>  <at>  -130,6 +130,12  <at>  <at> 
            'Default is no option.',
            ['--graphicx-option'],
            {'default': ''}),
+          ('LaTeX font encoding.'
+           'Possible values are "T1", "OT1", "" or some other fontenc option.'
+           'The font encoding influences available symbols, e.g. "<<" as one '
+           'character. Default is "" which leads to package "ae". ',
+           ['--font-encoding'],
+          {'default': ''}),
           ),)

     settings_defaults = {'output_encoding': 'latin-1'}
 <at>  <at>  -539,7 +545,7  <at>  <at> 
(Continue reading)

engelbert gruber | 5 Sep 2004 19:16
Picon
Gravatar

sandbox/grubert/test characters.txt,1.3,1.4

Update of /cvsroot/docutils/sandbox/grubert/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28993/sandbox/grubert/test

Modified Files:
	characters.txt 
Log Message:
New option "font-encoding".

Index: characters.txt
===================================================================
RCS file: /cvsroot/docutils/sandbox/grubert/test/characters.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- characters.txt	16 Jun 2004 07:37:55 -0000	1.3
+++ characters.txt	5 Sep 2004 17:16:25 -0000	1.4
 <at>  <at>  -58,3 +58,19  <at>  <at> 

 with pdflatex.

+fontencodings
+-------------
+
+In T1 literal text double hyphens and angle bracketts need help
+to remain two characters::
+
+  << -- >>
+
+non literal "<< -- >>".
+
(Continue reading)

engelbert gruber | 5 Sep 2004 19:16
Picon
Gravatar

sandbox/grubert runtest,1.29,1.30

Update of /cvsroot/docutils/sandbox/grubert
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28993/sandbox/grubert

Modified Files:
	runtest 
Log Message:
New option "font-encoding".

Index: runtest
===================================================================
RCS file: /cvsroot/docutils/sandbox/grubert/runtest,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- runtest	25 Jun 2004 19:09:25 -0000	1.29
+++ runtest	5 Sep 2004 17:16:25 -0000	1.30
 <at>  <at>  -56,6 +56,21  <at>  <at> 
     do_diff $REFF $OUTF 
 done

+# font encoding
+CMD="../../tools/rst2latex.py"
+for FONTENC in "" T1 OT1 ; do
+  for INF in `ls test/characters.txt` ; do
+    OUTF="$INF-$FONTENC.tex"
+    REFF="$OUTF.ref"
+    if [ -z $FONTENC ] ; then
+      $CMD $2 $3 $INF > $OUTF
+    else
+      $CMD --font-encoding=$FONTENC $2 $3 $INF > $OUTF
(Continue reading)

David Goodger | 7 Sep 2004 03:13
Picon

sandbox/davidg/infrastructure docutils-update,1.36,1.37

Update of /cvsroot/docutils/sandbox/davidg/infrastructure
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32669

Modified Files:
	docutils-update 
Log Message:
added -v (verbose) option

Index: docutils-update
===================================================================
RCS file: /cvsroot/docutils/sandbox/davidg/infrastructure/docutils-update,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- docutils-update	28 Jul 2004 21:04:56 -0000	1.36
+++ docutils-update	7 Sep 2004 01:13:27 -0000	1.37
 <at>  <at>  -12,6 +12,7  <at>  <at> 
 #   -p    Run from the project directory.
 #   -t    Run the script in trace mode ("set -o xtrace").
 #   -u    Regenerate .html unconditionally.
+#   -v    Run verbosely.

 # exit on error
 set -e
 <at>  <at>  -32,20 +33,22  <at>  <at> 

 trace=0
 unconditional=0
+verbose=0

(Continue reading)

engelbert gruber | 7 Sep 2004 08:53
Picon
Gravatar

docutils HISTORY.txt,1.250,1.251

Update of /cvsroot/docutils/docutils
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17824

Modified Files:
	HISTORY.txt 
Log Message:
Latex writer option font-encoding.

Index: HISTORY.txt
===================================================================
RCS file: /cvsroot/docutils/docutils/HISTORY.txt,v
retrieving revision 1.250
retrieving revision 1.251
diff -u -d -r1.250 -r1.251
--- HISTORY.txt	25 Aug 2004 08:04:18 -0000	1.250
+++ HISTORY.txt	7 Sep 2004 06:53:01 -0000	1.251
 <at>  <at>  -23,6 +23,7  <at>  <at> 

   - Add ``\PreloadUnicodePage{n}`` to the header if in LaTeX code
     uses unicode.
+  - Add option "font-encoding".

 Release 0.3.5 (2004-07-29)
 ==========================

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
(Continue reading)

Felix Wiemann | 7 Sep 2004 13:11
Picon

docutils/test/functional/input/data latex.txt,NONE,1.1

Update of /cvsroot/docutils/docutils/test/functional/input/data
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32312/data

Added Files:
	latex.txt 
Log Message:
added LaTeX tests

--- NEW FILE: latex.txt ---
Tests for the LaTeX writer
==========================

Monospaced non-alphanumeric characters
--------------------------------------

These are all ASCII characters except a-zA-Z0-9 and space:

``!!!"""###$$$%%%&&&'''((()))***+++,,,---...///:::``

``;;;<<<===>>>??? <at>  <at>  <at> [[[\\\]]]^^^___```{{{|||}}}~~~``

``xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx``

The two lines of non-alphanumeric characters should both have the same
width as the third line.

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
(Continue reading)


Gmane