DOCBOOK to EPUB File Size

Paulb

Some eBook reading devices (like older Kindles) perform better with OEBPS/Text file sizes in the 350KB range. When you go over that, page load and scrolling can be a miserable user experience.

Question: If you have a large text, 4 MB for example---Will the DOCBOOK to EPUB publishing flow put that into OEBPS/Text that as a monolithic 4MB file, or will it split it into smaller files for you?

If it splits the file, does it repair the anchor IDs to reflect the new file name?

I couldn't find the answer to this at docbook.org.

mzjn

Question: If you have a large text, 4 MB for example---Will the DOCBOOK to EPUB publishing flow put that into OEBPS/Text that as a monolithic 4MB file, or will it split it into smaller files for you?

The "DocBook to EPUB publishing flow" (DocBook XSL) will split the input XML into smaller output files.

This process is called "chunking" and is described in detail here: http://www.sagehill.net/docbookxsl/Chunking.html (this is a section from the book DocBook XSL: The Complete Guide).

If it splits the file, does it repair the anchor IDs to reflect the new file name?

I am not completely sure what you mean by "repair the anchor IDs", but the chunking process does ensure that cross-references and entries that go in to *.opf and *.ncx files are correct.

EPUB is one of many output formats that can be created from DocBook sources. If you have never used DocBook XSL before, you should read "DocBook XSL: The Complete Guide" (see link above). This book does not cover EPUB output specifically (it was written before the EPUB stylesheets had been developed).

DocBook XSL provides stylesheets for both EPUB 2 and EPUB 3 (most of the effort goes into EPUB 3 these days):

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

Get file size in Swift

From Dev

RadAsyncUpload Maximum File Size

From Dev

DocBook tag for @since?

From Dev

DocBook-XML and webhelp

From Dev

unzipping ePub file doesn't work

From Dev

Xfs file size, inode size and block size

From Dev

Manual linebreak and formatting docbook

From Dev

Fixed Layout EPUB where each page has a different size

From Dev

Get epub-file from download link uri using ajax

From Dev

I downloaded an EPUB file, how can I get it from Ubuntu to my IPad?

From Dev

Create a file with limited file size

From Dev

Zipping Epub: Mimetype file should contain only the string "application/epub+zip"

From Dev

I downloaded an EPUB file, how can I get it from Ubuntu to my IPad?

From Dev

How can I remove the drm from an ePub file?

From Dev

open an epub file from android app

From Dev

Is it possible to read epub file without unzipping in iOS

From Dev

How to convert any format(.txt, .Doc) file into epub file in android application

From Dev

Manual linebreak and formatting docbook

From Dev

How do I convert a text file to the EPUB format?

From Dev

Same file, different file size

From Dev

Extract TOC of epub file

From Dev

Is there a way to convert a PDF file to ePUB format WITHOUT using Calibre

From Dev

need to extract set of 4 digit numbers from epub or text file in Batch

From Dev

Including image in text file when generating XSL-fo file using docbook toolchain

From Dev

How to integrate epub file in own ebook reader application using ExpressPlay sdk?

From Dev

Is it possible to convert an EPUB file to HTML?

From Dev

Can I use webpack to convert multiple .epub files at once using config file and how?

From Dev

Changing the xhtml topic file names in epub output using DITA OT Epub plugin

From Dev

How to determine whether my docbook file is valid?

Related Related

  1. 1

    Get file size in Swift

  2. 2

    RadAsyncUpload Maximum File Size

  3. 3

    DocBook tag for @since?

  4. 4

    DocBook-XML and webhelp

  5. 5

    unzipping ePub file doesn't work

  6. 6

    Xfs file size, inode size and block size

  7. 7

    Manual linebreak and formatting docbook

  8. 8

    Fixed Layout EPUB where each page has a different size

  9. 9

    Get epub-file from download link uri using ajax

  10. 10

    I downloaded an EPUB file, how can I get it from Ubuntu to my IPad?

  11. 11

    Create a file with limited file size

  12. 12

    Zipping Epub: Mimetype file should contain only the string "application/epub+zip"

  13. 13

    I downloaded an EPUB file, how can I get it from Ubuntu to my IPad?

  14. 14

    How can I remove the drm from an ePub file?

  15. 15

    open an epub file from android app

  16. 16

    Is it possible to read epub file without unzipping in iOS

  17. 17

    How to convert any format(.txt, .Doc) file into epub file in android application

  18. 18

    Manual linebreak and formatting docbook

  19. 19

    How do I convert a text file to the EPUB format?

  20. 20

    Same file, different file size

  21. 21

    Extract TOC of epub file

  22. 22

    Is there a way to convert a PDF file to ePUB format WITHOUT using Calibre

  23. 23

    need to extract set of 4 digit numbers from epub or text file in Batch

  24. 24

    Including image in text file when generating XSL-fo file using docbook toolchain

  25. 25

    How to integrate epub file in own ebook reader application using ExpressPlay sdk?

  26. 26

    Is it possible to convert an EPUB file to HTML?

  27. 27

    Can I use webpack to convert multiple .epub files at once using config file and how?

  28. 28

    Changing the xhtml topic file names in epub output using DITA OT Epub plugin

  29. 29

    How to determine whether my docbook file is valid?

HotTag

Archive