Quote:
Originally Posted by coneheadZombie
So is there any way i can make both the titles and Parts appear on the same page and yet have them on TOC.
|
The short answer is Yes. But only if they are both part of the same html file. If the Title is in one html file and the Part in another, then no. You can't do anything that would make a reading application or device "join" them.
As far as the ToC goes; you don't mention whether it's an html toc or the structural ncx type, but it shouldn't matter. As long as you give the Part heading an id, you can make the link in the ToC point to a "fragment":
Title
Code:
href="../Text/myhtmlfile.xhtml
and Part
Code:
href="../Text/myhtmlfile.xhtml#part1_id"
Also make sure there's no css being applied to either the Title or the Part (or their containing divs if they have any) that would trigger such a page break. Something like:
page-break-before="always" or page-break-after="always"
- will trigger a page-break even if both are part of the same html file.