![]() |
#1 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jan 2015
Device: Apple, Kindle, Kobo
|
Text edits invalidate epub file
Hi,
My production editor and I are running into a problem editing and validating ebooks. We work with an outside conversion company, and the files we receive are correct and validated. We have then been using Sigil to make small edits to the main text and notes. But when the file is resaved, it no longer passes validation (CoreSource). There appears to be an error saying that a referenced resource is missing in the package (the resource in question was OEBPS/Text/Notes-1.html). As far as we know, the changes we made in the WSIWYG editor mean that the Notes-1.html file is deleted, and references elsewhere to that file cause errors. Aside from making edits in html, is there anything we can do in the WSIWYG editor to ensure that deleting or editing an html file one place in the text also changes it elsewhere? I'd be happy to provide more detail if needed. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
If you delete an html file, any links in other files that may have pointed to the now deleted file will have to manually found and deleted (perhaps using Search & Replace to save time). Finding/deleting links is probably going to be easier in Code View than in Book View.
Renaming a file will result in links to it being updated throughout the epub, but deleting a file won't delete any links. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,909
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
WYSIWYG only applies to visible words, not the structure. Code view edits can still leave linked remnants. eg. You deleted a TEXT (linked?) reference in WYSIWYG. The link may remain with no visible text. ![]() These next will show in flightcrew, but not always, 'where' : Deleting from the file browser: occasionally does not clean the OPF entry. Does not clean the NCX Does not clean the inline (HTML) TOC |
|
![]() |
![]() |
![]() |
#4 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 272
Karma: 1224588
Join Date: Sep 2014
Device: Sony PRS 650
|
-----
Last edited by rubeus; 01-06-2015 at 03:08 AM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Android) Is there a reader app where you can export file with your edits preserved | automa | Android Devices | 6 | 10-14-2013 06:10 PM |
How do you edit as Epub file, the text in Word? | automa | Sigil | 13 | 06-13-2013 07:02 PM |
Reducing file size for straight-text epub? | Christi H | ePub | 5 | 01-10-2013 10:09 PM |
Basic epub edits: Free html wysiwyg editor | Visuddhi | Calibre | 0 | 01-27-2011 03:08 AM |
How best to handle multiple edits to original text | KAM | Calibre | 2 | 02-08-2009 11:09 AM |