Quantcast
Channel: MobileRead Forums - Reading and Management
Viewing all articles
Browse latest Browse all 23789

Quirk: toc.ncx reformats itself

$
0
0
I’m using Sigil for EPUB3 books, and using Git to track changes (by unzipping, and re-zipping with a batch file that does the right thing; see elsewhere on this site). I’ve noticed that toc.ncx takes any opportunity to reformat itself from the for generated by “Tools » Epub3 Tools » Generate NCX from Nav”—nothing substantial, just changing the indentation between
Code:

<?xml version="1.0" encoding="utf-8" ?>
<ncx version="2005-1" xmlns="http://www.daisy.org/z3986/2005/ncx/">
  <head>
    <meta content="401e6912-cfe6-4cb7-8e02-f6ddea0d6467" name="dtb:uid"/>
    <meta content="1" name="dtb:depth"/>
    <meta content="0" name="dtb:totalPageCount"/>
    <meta content="0" name="dtb:maxPageNumber"/>
  </head>

and
Code:

<?xml version="1.0" encoding="utf-8" ?>
<ncx version="2005-1" xmlns="http://www.daisy.org/z3986/2005/ncx/">
<head>
  <meta content="401e6912-cfe6-4cb7-8e02-f6ddea0d6467" name="dtb:uid"/>
  <meta content="1" name="dtb:depth"/>
  <meta content="0" name="dtb:totalPageCount"/>
  <meta content="0" name="dtb:maxPageNumber"/>
</head>

—but adding a useless and confusing delta in my repository.

Very low priority, but why is this happening?

Viewing all articles
Browse latest Browse all 23789

Trending Articles