|
From: Ray L. <mai...@es...> - 2002-11-27 07:14:32
|
Working by running html.py on tools/test.txt, and checking the results (
visually / manually ) versus what I get when I transform tools/test.txt
with docutils-xml.py, and apply xsl stylesheet to the resulting test.xml
documnt. In some cases there are disparaties, what is the best way to
determing what it *should* be?
For instance in the examples below I believe my interpretation to be
more correct, but I may be wrong please let me know.
Specifically on the enumerated lists samples :
test.html from running html.py on tools/test.txt :
2.3 Enumerated Lists
1.
Arabic numerals.
1. lower alpha)
1. (lower roman)
1. upper alpha.
1. upper roman)
2.
Lists that don't start at 1:
3. Three
4. Four
3. C
4. D
3. iii
4. iv
test.txt -> docutils-xml.py = test.xml -> my xsl stylesheet:
2.3 Enumerated Lists
1. Arabic numerals.
a. lower alpha)
i. (lower roman)
A. upper alpha.
I. upper roman)
2. Lists that don't start at 1:
Enumerated list start value not ordinal-1: "3" (ordinal 3)
3. Three
4. Four
Enumerated list start value not ordinal-1: "C" (ordinal 3)
C. C
D. D
Enumerated list start value not ordinal-1: "iii" (ordinal 3)
iii. iii
iv. iv
Which is a better representation?
Thanks,
Ray
PS: I've inundated David Goodger with multiple replies that I was
sending directly to him, when I thought that I was sending to the list.
Mea culpa. I'll be more careful in the future.
On Tue, 2002-11-26 at 22:50, eng...@ss... wrote:
> On 26 Nov 2002, Ray Leyva wrote:
>
> > 3) Is there a single test document that uses everything in rst (
> > section indentation, tables, etc ... )?
>
> i'd say tools/test.txt
>
>
> --
> BINGO: Think outside the box
> --- Engelbert Gruber -------+
> SSG Fintl,Gruber,Lassnig /
> A6410 Telfs Untermarkt 9 /
> Tel. ++43-5262-64727 ----+
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Get the new Palm Tungsten T
> handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
> _______________________________________________
> Docutils-develop mailing list
> Doc...@li...
> https://lists.sourceforge.net/lists/listinfo/docutils-develop
|