[tei-council] errors in rendering of TEI Guidelines examples in PH
Martin Holmes
mholmes at uvic.ca
Tue May 21 11:16:03 EDT 2013
On 13-05-20 06:35 AM, David Sewell wrote:
> Along with the tagging issues, would there be any advantage to modifying the CSS
> so that long eg/egXML examples use white-space:pre-wrap instead of
> white-space:pre? That way extra-long single lines won't expand beyond the
> boundaries of the div box.
That might be worth experimenting with.
> On the other hand, if whitespace in the example XML is semantically significant,
> adding linebreaks isn't good. So I assume that as an editorial matter, we try to
> keep line length inside the egXML samples at a reasonable length so that lines
> will display properly?
That's exactly what we do at the moment. It's a bit hacky, but for any
given example, the ideal in terms of spacing and wrapping may be
different. I usually end up tweaking my examples once or twice once I
see what the stylesheets do with them.
Cheers,
Martin
>
> David
>
> On Sun, 19 May 2013, James Cummings wrote:
>
>>
>> Can you confirm that something seems to be going wrong with the
>> examples at:
>>
>> http://www.tei-c.org/release/doc/tei-p5-doc/en/html/PH.html#PHCOMB
>>
>> and a number of other places in that chapter as least?
>>
>> (search for <span class="element" )
>>
>> I couldn't see anything wrong in the source file though.
>>
>> Suggestions?
>>
>> -James
>>
>>
>
--
Martin Holmes
University of Victoria Humanities Computing and Media Centre
(mholmes at uvic.ca)
More information about the tei-council
mailing list