View Single Post
Old 05-20-2016, 11:29 AM   #1
jcsalomon
Zealot
jcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheese
 
jcsalomon's Avatar
 
Posts: 100
Karma: 1204
Join Date: Jun 2012
Device: Bookari (née Mantano Reader) on Android; Kindle Fire HD
Quirk: toc.ncx reformats itself

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?
jcsalomon is offline   Reply With Quote