Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 01-05-2015, 12:33 PM   #1
morganvont
Junior Member
morganvont began at the beginning.
 
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.
morganvont is offline   Reply With Quote
Old 01-05-2015, 12:54 PM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
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.
DiapDealer is online now   Reply With Quote
Advert
Old 01-05-2015, 12:59 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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:
Originally Posted by morganvont View Post
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.
No
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.
IMHO only use the WYSIWYG to locate (Click to place the insert point) , then switch to code view. Remove/edit what is needed there (surrounding tags and code).

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
theducks is offline   Reply With Quote
Old 01-05-2015, 01:21 PM   #4
rubeus
Banned
rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.
 
Posts: 272
Karma: 1224588
Join Date: Sep 2014
Device: Sony PRS 650
-----

Last edited by rubeus; 01-06-2015 at 03:08 AM.
rubeus is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 05:45 AM.


MobileRead.com is a privately owned, operated and funded community.