Print

Print


On 28 Jan 2013, at 13:50, John P. McCaskey <[log in to unmask]> wrote:

> 
> If I came upon a TEI file (with or without its ODD), and there were <lb>s inside the <p>s and I wanted to ascertain what the encoder saw on the page, I would assume that a <p> began a new line also, that the number of lines seen on the page was the number of <lb>s plus the number of <p> beginnings.

Sadly not. Tempting as it is to think that, it's never been true. The default assumption is that an <lb> is inserted at the start of each observed line on the page. <lb>  !=  <br>, however convenient it would be if that were so. 

> 
> Either way, where should an encoder announce whether a <p> was seen to begin on a new line? In the ODD? In encodingDesc? And which one should silence be taken to indicate?
> 
i think you're misunderstanding. <p> and <lb> operate independently. if you decide to mark lines, you do so with <lb/>. If you choose to mark paragraphs, you do so with <p>. The two do not interdepend.

> I'd guess the default is also different for different combinations, say <p> and <lb> vs. <p> and <gb> vs. <pb> and <cb>.
> 
no, it shouldn't be,

--
Sebastian Rahtz      
Director (Research Support) of Academic IT Services 
University of Oxford IT Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431