View Single Post
Old 05-09-2013, 07:48 AM   #5
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
Quote:
Originally Posted by JSWolf View Post
Don't use H tags.
Agreed. H tags can be triggers for special treatment, such as page breaks. Check your XPath expressions on the Structure Detection tab of the conversion dialogue.

I generally use: Insert page breaks before: //*[name()='h1' or name()='h2'] to ensure that I do get breaks on every H1 and H2.

Alternatively you may be able to use something like:

Code:
<h1 id="sigil_toc_id_1" title="Title Page">Berger's 7mm VLD Bullets
<br/>&nbsp;
<br/>Part 1: Properties and Test Results
<br/>&nbsp;
<br/>Bryan Litz</h1>
but this feels a bit clunky.

So I would go with:

Code:
<h1 id="sigil_toc_id_1" title="Title Page">Berger's 7mm VLD Bullets</h1>
<p class="hdr1">Part 1: Properties and Test Results</p>
<p class="hdr1">Bryan Litz</p>
where .hdr1 is something like:

Code:
.hdr1 { font-size:2em; margin-top:0.5em; margin-bottom:0.5em }
or whatever sizes you need to match your h1 tags.
Agama is offline   Reply With Quote