On 2011-12-06, Steve Litt wrote:
> On Tuesday, December 06, 2011 04:57:07 AM Guenter Milde wrote:
>> On 2011-12-04, Steve Litt wrote:

>> > So far I've discovered that LyX pagebreaks don't translate to
>> > Kindle page breaks (start at top of reader). 

Both, LyXHTML and eLyXer should transform "hard" (manual) page breaks
into a <div class=pagebreak /> or similar. (-> Test and report to the
authors if otherwise)

This could then be combined with a rule like

  .pagebreak {page-break-after: always;}

in the CSS style file.

>> > Therefore, to every <h1> should be added the property
>> > style="page-break-before: always;". That way every chapter starts at
>> > the top of the reader.

>> I think this could/should be done better in a global CSS rule.

> how do I write a CSS rule that makes all <h1> pagefeed before 
> printing?

My "CSS pocket reference" says::

  h1 {page-break-before: always;}

Günter

Reply via email to