Humboldring 9 D 01189 Dresden
Abstract
Sample text demonstrating the features of the html4strict writer.
See the docs dir for layout variants.
Simple table with borders [1]:
| Inputs | Output | |
|---|---|---|
| A | B | A or B |
| False | False | False |
| True | False | True |
| False | True | True |
| True | True | True |
Borderless table:
| Inputs | Output | |
|---|---|---|
| A | B | A or B |
| False | False | False |
| True | False | True |
| False | True | True |
| True | True | True |
| [1] | However, other doctree elements using a table for layout should not be given a border. |
The html4strict writer exports field lists as definition lists (with class docutils field-list) and uses CSS to render it "field-list-like".
The various style sheets in the sandbox/html4strict/data/ dir provide styling examples.
This list demonstrates the alternatives for the display of field lists highlighting problems with the handling of long field names:
is considered "long" in the html table rendering. by the html4css1 with the default setting of --field-name-limit=14
Therefore, it spans 2 table columns and the field body is pushed to the next line (you can suppress this behaviour with the --field-name-limit=0 option).