Next in thread → Next in month →

Re: [docbook-apps] HTML5 HR thematic break for docbook: how?

From
Robert Nagle <>
Date
2016-05-04T12:58:50+00:00
ID
Thread
Re: [docbook-apps] HTML5 HR thematic break for docbook: how?
You know,  I was thinking something similar (like, "bridgehead is a really useful and versatile element; why couldn't I use it for thematic breaks?").   

Thanks. 

Robert 

On Tue, May 3, 2016 at 8:36 PM, Bob Stayton <> wrote:
Given their definition, I would use DocBook's bridgehead to indicate such thematic shifts.  It comes with the advantage of telling the reader what the shift actually is.  I suppose if that is too much information, you could enter and empty bridgehead and render it with your stylesheet as an HR.

Bob Stayton

Sagehill Enterprises



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).

 

Robert Nagle
3000 Greenridge Dr #2204, Houston TX 77057-6037  
(Cell) 832-251-7522   Carbon Neutral Since Jan 2010
Next in thread → Next in month →