From 03bac000f4725ce6bb06f4c9428d6632233a8f08 Mon Sep 17 00:00:00 2001 From: milde Date: Mon, 18 May 2009 09:40:42 +0000 Subject: Better explain optional wrapping around images and figures in the test document. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@5949 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- .../expected/standalone_rst_html4css1.html | 18 ++++++++------- .../expected/standalone_rst_pseudoxml.txt | 27 ++++++++-------------- docutils/test/functional/input/data/standard.txt | 18 ++++++++------- 3 files changed, 30 insertions(+), 33 deletions(-) (limited to 'docutils') diff --git a/docutils/test/functional/expected/standalone_rst_html4css1.html b/docutils/test/functional/expected/standalone_rst_html4css1.html index 9518ac2de..5f1acb9ec 100644 --- a/docutils/test/functional/expected/standalone_rst_html4css1.html +++ b/docutils/test/functional/expected/standalone_rst_html4css1.html @@ -554,11 +554,13 @@ document (a document-wide

This paragraph might flow around the image. -If it does or not, depends on the output format and the viewer.

+The specific behavior depends upon the style sheet and +the browser or rendering software used.

A right-aligned image:

../../../docs/user/rst/images/biohazard.png

This paragraph might flow around the image. -If it does or not, depends on the output format and the viewer.

+The specific behavior depends upon the style sheet and +the browser or rendering software used.

For inline images see Substitution Definitions.

Image size:

An image 2 em wide:

@@ -605,8 +607,8 @@ layout.

The legend may consist of several paragraphs.

-

This paragraph might flow around the figure if the figwidth -argument is set and smaller than the text width.

+

This paragraph might flow around the figure. The specific behavior depends +upon the style sheet and the browser or rendering software used.

A centered figure:

../../../docs/user/rst/images/biohazard.png @@ -616,8 +618,8 @@ argument is set and smaller than the text width.

The legend may consist of several paragraphs.

-

This paragraph might flow around the figure if the figwidth -argument is set and smaller than the text width.

+

This paragraph might flow around the figure. The specific behavior depends +upon the style sheet and the browser or rendering software used.

A right-aligned figure:

../../../docs/user/rst/images/biohazard.png @@ -627,8 +629,8 @@ argument is set and smaller than the text width.

The legend may consist of several paragraphs.

-

This paragraph might flow around the figure if the figwidth -argument is set and smaller than the text width.

+

This paragraph might flow around the figure. The specific behavior depends +upon the style sheet and the browser or rendering software used.

2.14.3   Admonitions

diff --git a/docutils/test/functional/expected/standalone_rst_pseudoxml.txt b/docutils/test/functional/expected/standalone_rst_pseudoxml.txt index 84820e46e..1f95a38cd 100644 --- a/docutils/test/functional/expected/standalone_rst_pseudoxml.txt +++ b/docutils/test/functional/expected/standalone_rst_pseudoxml.txt @@ -1168,13 +1168,15 @@ This paragraph might flow around the image. - If it does or not, depends on the output format and the viewer. + The specific behavior depends upon the style sheet and + the browser or rendering software used. A right-aligned image: This paragraph might flow around the image. - If it does or not, depends on the output format and the viewer. + The specific behavior depends upon the style sheet and + the browser or rendering software used. For inline images see @@ -1246,11 +1248,8 @@ The legend may consist of several paragraphs. - This paragraph might flow around the figure if the - - figwidth - - argument is set and smaller than the text width. + This paragraph might flow around the figure. The specific behavior depends + upon the style sheet and the browser or rendering software used. A centered figure:
@@ -1263,11 +1262,8 @@ The legend may consist of several paragraphs. - This paragraph might flow around the figure if the - - figwidth - - argument is set and smaller than the text width. + This paragraph might flow around the figure. The specific behavior depends + upon the style sheet and the browser or rendering software used. A right-aligned figure:
@@ -1280,11 +1276,8 @@ The legend may consist of several paragraphs. - This paragraph might flow around the figure if the - - figwidth - - argument is set and smaller than the text width. + This paragraph might flow around the figure. The specific behavior depends + upon the style sheet and the browser or rendering software used.
<generated classes="sectnum"> diff --git a/docutils/test/functional/input/data/standard.txt b/docutils/test/functional/input/data/standard.txt index 1f71e0473..7e8e626d5 100644 --- a/docutils/test/functional/input/data/standard.txt +++ b/docutils/test/functional/input/data/standard.txt @@ -450,7 +450,8 @@ A left-aligned image: :align: left This paragraph might flow around the image. -If it does or not, depends on the output format and the viewer. +The specific behavior depends upon the style sheet and +the browser or rendering software used. A right-aligned image: @@ -458,7 +459,8 @@ A right-aligned image: :align: right This paragraph might flow around the image. -If it does or not, depends on the output format and the viewer. +The specific behavior depends upon the style sheet and +the browser or rendering software used. For inline images see `Substitution Definitions`_. @@ -522,8 +524,8 @@ A left-aligned figure: The legend may consist of several paragraphs. -This paragraph might flow around the figure if the ``figwidth`` -argument is set and smaller than the text width. +This paragraph might flow around the figure. The specific behavior depends +upon the style sheet and the browser or rendering software used. A centered figure: @@ -537,8 +539,8 @@ A centered figure: The legend may consist of several paragraphs. -This paragraph might flow around the figure if the ``figwidth`` -argument is set and smaller than the text width. +This paragraph might flow around the figure. The specific behavior depends +upon the style sheet and the browser or rendering software used. A right-aligned figure: @@ -552,8 +554,8 @@ A right-aligned figure: The legend may consist of several paragraphs. -This paragraph might flow around the figure if the ``figwidth`` -argument is set and smaller than the text width. +This paragraph might flow around the figure. The specific behavior depends +upon the style sheet and the browser or rendering software used. Admonitions -- cgit v1.2.1