[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] HTML5 HR thematic break for docbook: how?
Bob Stayton Sagehill Enterprises bobs@sagehill.net On 5/3/2016 4:00 PM, Robert Nagle wrote:
Hi, there, I noticed that in HTML 5 the semantic definition for HR has been changed to mean "thematic break." See: https://www.w3.org/TR/html-markup/hr.html "Some examples of thematic breaks that can be marked up using the hr element include a scene change in a story, or a transition to another topic within a section of a reference book." That is probably for the best because in many narratives you have informal breaks between paragraphs (sometimes with separators, sometimes not). When producing epub files, I have just attached a style class to a para and used that to format section breaks. That is not wrong, but it is not ideal. For the record, it seems unclear if the current ebook reading systems support css for HR well enough that would justify using it now. (In fact, I'm going to test that for my next ebook). But it doesn't seem that there is any equivalent element in docbook, and that I have enough instances where I'm yearning to have one. (I suppose I could use a processing instruction to insert an HR though). rj -- Robert Nagle 3000 Greenridge Dr #2204, Houston TX 77057-6037 (Cell) 832-251-7522 Carbon Neutral Since Jan 2010
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]