Skip to content

Commit

Permalink
Removed ePub linear disabling to fix display.
Browse files Browse the repository at this point in the history
This helps the iBooks version, at least.
  • Loading branch information
chromatic committed Apr 4, 2011
1 parent d482d30 commit 43d7ea0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build/tools/build_epub.pl
Expand Up @@ -274,8 +274,7 @@ sub generate_ebook
system( qw( tidy -q -m -utf8 -asxhtml -wrap 0 ), $file );

$epub->copy_xhtml('./build/xhtml/' . $name,
'text/' . $name,
linear => 'no');
'text/' . $name );
}

# Add Pod headings to table of contents.
Expand Down Expand Up @@ -396,7 +395,7 @@ sub add_cover
close $cover_fh;

# Add the cover page to the ePub doc.
$epub->copy_xhtml($cover_filename, 'text/cover.xhtml', linear => 'no');
$epub->copy_xhtml($cover_filename, 'text/cover.xhtml' );

# Add the cover to the OPF guide.
my $guide_options = {
Expand Down

0 comments on commit 43d7ea0

Please sign in to comment.