[tei-council] errors in rendering of TEI Guidelines examples in PH

Martin Holmes mholmes at uvic.ca
Tue May 21 11:10:33 EDT 2013


I've more or less given up on using <p> in a lot of my XHTML rendering; 
I use <div type="para"> instead. It gets around this. Would that be 
practical, or is it too big a change with too many repercussions?

Cheers,
Martin

On 13-05-20 01:07 AM, Sebastian Rahtz wrote:
> ah. i think I know what that is.
>
> When you find in TEI a construct like <p><list>, it turns naturally into <p><ul> in HTML. However, that is illegal HTML,
> so I process the HTML in a second pass to turn it into <p></p><ul></ul><p> etc. Which all works well. However, that
> verbatim stuff is done using a bad trick of disable-output-escaping, which does not survive a second pass.
>
> in the short term, redoing the TEI markup to avoid <p><list> will solve the problem. in the longer term I have to somehow
> rewrite verbatim. I have no idea how :-{ :-{   (obviously anyone else is welcome to try....)
> --
> Sebastian Rahtz
> Director (Research) of Academic IT
> University of Oxford IT Services
> 13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
>
>

-- 
Martin Holmes
University of Victoria Humanities Computing and Media Centre
(mholmes at uvic.ca)


More information about the tei-council mailing list