Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 12-04-2014, 07:50 PM   #1
tosca30
Member
tosca30 began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jul 2012
Device: Kindle
<figure> and <figcaption> refused by Sigil

The HTML files I import in Sigil are automatically 'compiled' from Scrivener using a MultiMarkDown to HTML procedure. But Sigil doesn't seem to consider valid <figure> and <figcaption> tags.
Am I missing something? Do I need to replace all these tags by <div>s?

Thanks for helping.
tosca30 is offline   Reply With Quote
Old 12-04-2014, 08:15 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 38,536
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Quote:
Originally Posted by tosca30 View Post
The HTML files I import in Sigil are automatically 'compiled' from Scrivener using a MultiMarkDown to HTML procedure. But Sigil doesn't seem to consider valid <figure> and <figcaption> tags.
Am I missing something? Do I need to replace all these tags by <div>s?

Thanks for helping.
Those tags aren't valid tags in an ePub 2 eBook.
JSWolf is offline   Reply With Quote
Old 12-04-2014, 08:25 PM   #3
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 1,077
Karma: 444444
Join Date: Nov 2009
Device: many
Hi,
The current version of Sigil 0.8.2 has added those tags so that Tidy will recognize them and not try to remove them during cleaning.

But if you try running flightcrew or try to validate it as an epub2, Sigil will detect that they are not allowed in epub2 as JSWolf explained. They are html5 tags used by epub3 ebooks.

KevinH

Quote:
Originally Posted by tosca30 View Post
The HTML files I import in Sigil are automatically 'compiled' from Scrivener using a MultiMarkDown to HTML procedure. But Sigil doesn't seem to consider valid <figure> and <figcaption> tags.
Am I missing something? Do I need to replace all these tags by <div>s?

Thanks for helping.
KevinH is offline   Reply With Quote
Old 12-04-2014, 08:30 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 38,536
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
If you are going to validate your ePub from within Sigil 0.8.2, I highly suggest getting the epubcheck plugin as FlightCrew is seriously lacking.
JSWolf is offline   Reply With Quote
Old 12-04-2014, 08:30 PM   #5
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 3,983
Karma: 2925589
Join Date: Mar 2012
Location: NSW Australia
Device: none
Quote:
Originally Posted by tosca30 View Post
The HTML files I import in Sigil are automatically 'compiled' from Scrivener using a MultiMarkDown to HTML procedure. But Sigil doesn't seem to consider valid <figure> and <figcaption> tags.
Am I missing something? Do I need to replace all these tags by <div>s?

Thanks for helping.
@tosca30 - those are HTML5 tags, so they may be available EPUB3. As I understand it Sigil is actively being enhanced to be EPUB3 compliant.

To that end there's this plugin that you might want to consider ==>> epub3 output plugin for Sigil. Its author Kevin H did initially label as 'experimental', the intent is to eventually fold it into the Sigil core product.

You're ahead of the curve

BR

Last edited by BetterRed; 12-04-2014 at 09:13 PM.
BetterRed is online now   Reply With Quote
Old 12-04-2014, 10:43 PM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 38,536
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
But unless you are using ePub 3 features that cannot be done in ePub 2, keep the ePub as ePub 2.
JSWolf is offline   Reply With Quote
Old 12-05-2014, 05:18 AM   #7
tosca30
Member
tosca30 began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jul 2012
Device: Kindle
Thanks a lot for all the answers.
I guess I'll have to use Search-and-Replace in order to change it to some div, so I can style it properly. At least until epub3 is widely available.
tosca30 is offline   Reply With Quote
Old 12-05-2014, 05:27 AM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 38,536
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Even if ePub 3 becomes more popular then it is now, it will always be best to keep the ePub as ePub 2 when you are not using any ePub 3 features.
JSWolf is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connection Refused: K4 NT SSH ettescott Kindle Developer's Corner 11 11-15-2013 11:25 AM
Sell Pacebook Tablet PC--no reasonable offer refused! curtw Flea Market 1 10-15-2013 05:51 PM
K4 SSH - Connection Refused - Going Insane wemet Kindle Developer's Corner 4 02-01-2013 02:06 PM
New kindle 4 (FW 4.1.0): cannot SSH to device, connection refused, why? Jackie7 Kindle Developer's Corner 8 01-20-2013 12:33 PM
3.1 usbNetwork: Connection Refused ahonamous Kindle Developer's Corner 5 05-21-2011 03:24 AM


All times are GMT -4. The time now is 03:56 AM.


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