Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 12-04-2014, 06:50 PM   #1
tosca30
Enthusiast
tosca30 began at the beginning.
 
Posts: 27
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, 07: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: 74,646
Karma: 130140792
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
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 online now   Reply With Quote
Advert
Old 12-04-2014, 07:25 PM   #3
KevinH
Sigil Developer
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: 7,736
Karma: 5446592
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, 07: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: 74,646
Karma: 130140792
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
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 online now   Reply With Quote
Old 12-04-2014, 07:30 PM   #5
BetterRed
null operator (he/him)
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: 20,681
Karma: 26966376
Join Date: Mar 2012
Location: Sydney 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 08:13 PM.
BetterRed is offline   Reply With Quote
Advert
Old 12-04-2014, 09: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: 74,646
Karma: 130140792
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
But unless you are using ePub 3 features that cannot be done in ePub 2, keep the ePub as ePub 2.
JSWolf is online now   Reply With Quote
Old 12-05-2014, 04:18 AM   #7
tosca30
Enthusiast
tosca30 began at the beginning.
 
Posts: 27
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, 04: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: 74,646
Karma: 130140792
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
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 online now   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 02:42 PM.


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