View Single Post
Old 03-07-2013, 02:05 AM   #1
brunobruno
Junior Member
brunobruno began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Mar 2013
Device: iPad3
Exclamation Start page on fixed layout epub3

Hello!

I am hand coding a EPUB 3 Fixed-Layout Document, everything is going pretty well but I canít get the file to open on the main content.

Iíve setup a guide in the OPF:

Code:
<guide>
    <reference type="cover" title="Cover" href="cover.xhtml" />
    <reference type="text" title="Start" href="pg_0003.xhtml" />
</guide>
Iíve added a landmark to the navigational doc:

Code:
<nav epub:type="landmarks">
    <h1>Guide</h1>
    <ol>
        <li><a epub:type="cover" href="cover.xhtml">Cover</a></li>
        <li><a epub:type="bodymatter" href="pg_0003.xhtml">Start</a></li>
    </ol>
</nav>
And also added a navPoint in the NCX:

Code:
<navMap>	
    <navPoint id="p1" playOrder="1">
        <navLabel>
            <text>Start</text>
        </navLabel>
        <content src="pg_0003.xhtml" />
    </navPoint>
</navMap>
Am I missing something?

Thanks!

Bruno
brunobruno is offline   Reply With Quote