Fixing problems with Isembourg
I've gradually been working my way through the markup issues in La Comtesse D'Isembourg, and I think it would be a good idea to list some of the obvious ones here so that if they're reproduced in other texts, they'll be easy to fix.
First, CSS issues. In @rend attributes, we use standard CSS code only; the Isembourg text had quite a few errors. Among them:
font-style: small-capsSHOULD BEfont-variant: small-capstext-align: top-centerSHOULD BEtext-align: center.text-alignonly handles horizontal alignment.rend="top-right"is not CSS. Mostly this error occurred in<fw type="pageNum>tags, where the intention was to float a page number to the right or left. This is how to do that:<fw type="pageNum" rend="float: right;">235</fw>. Remember that both right-floated (recto) and left-floated (verso) page numbers should appear IMMEDIATELY AFTER the<pb>tag, and BEFORE the (normally centred)<fw type="head">tag containing a running title.left-indent: 0emSHOULD BEtext-indent: 0em;. Thetext-indentproperty affects only the first line of a paragraph or other block element;margin-leftandpadding-leftproperties affect the entire block.
Other problems were caused by some very odd settings in the <tagsDecl> element in the header (where we specify the basic page layout, on which individual rendering instructions are based); there were negative top and bottom margins for page breaks, which meant that each page rendered partially over the top of the preceding page.
There were also many instances of page number tags which were encoded as @type="sig".
The most significant errors have been fixed, and the display now looks pretty good, but I think someone should take a closer look at the layout and rendering at some point.