Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 04-09-2019, 08:38 AM   #1
nirosan
Member
nirosan began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jul 2017
Device: epub
MS Word Table not visible on Sigil

Hi,

I have created tables in MS word and exported this file as an HTML file. When I open the HTML file in Sigil the following is displayed:
Click image for larger version

Name:	Table_in_sigil.PNG
Views:	291
Size:	14.2 KB
ID:	170630
Table not visible.

But If I save it and open the epub-file in online reader like: https://www.ofoct.com/viewer/epub-reader-online.html
then the following is displayed:
Click image for larger version

Name:	Table_in_online_reader.PNG
Views:	295
Size:	22.3 KB
ID:	170631
Table is visible.

My question:
Is it possible to display the Table on Sigil?
Or Is there any workarounds to do that?

Thank you
nirosan is offline   Reply With Quote
Old 04-09-2019, 09:14 AM   #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,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Tables will display fine in Sigil if there's no coding errors (though using tables in epub is absolutely fraught with hazards in general). But no one has a prayer of being able to help you diagnose what might be going wrong without seeing the coding of the html table in question (including any relevant css). The Word part doesn't really matter, only the exported html being added to Sigil does.
DiapDealer is offline   Reply With Quote
Advert
Old 04-09-2019, 10:11 AM   #3
nirosan
Member
nirosan began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jul 2017
Device: epub
Thank you for your quick reply.
Here is the HTML-File:
https://drive.google.com/open?id=1jL...056AlH35prdCXE

I added this HTML-File into Sigil but no error has appeared.
If there are errors why is the reader able to display it correctly?

Thank you
nirosan is offline   Reply With Quote
Old 04-09-2019, 11:35 AM   #4
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,762
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
I would have been surprised if Sigil had showed that table without issues. The least you need to do is to export/save the .doc(x) file as "filtered web page". And even so, you'll need to polish the .html in order to get a decent epub. Your best bet is to use the Toxaris Word add-in:

https://www.mobileread.com/forums/sh...d.php?t=213372
RbnJrg is offline   Reply With Quote
Old 04-09-2019, 11:40 AM   #5
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,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
That's not "real" xhtml. That's Microsoft's hybrid exported xml nonsense. I have no idea why the online epub reader has chosen to support it, but it's highly unlikely that many epub rendering devices/apps will. You need to export filtered html from Word if you want to have any hope of your code passing any epub validation, let alone work on a multitude of readers/apps.

Sigil doesn't give any errors when adding the file because the code is technically "well formed." That's all Sigil checks for. But that doesn't make it suitable for epub. Run the EpubCheck validator if you want to see all the epub-specific errors generated by your code.

Last edited by DiapDealer; 04-09-2019 at 01:02 PM.
DiapDealer is offline   Reply With Quote
Advert
Old 04-09-2019, 05:16 PM   #6
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: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by RbnJrg View Post
<snip>
Your best bet is to use the Toxaris Word add-in:

https://www.mobileread.com/forums/sh...d.php?t=213372
↑ ↑ ↑ ✔️

Or Sigil's DOCX Import plugin, or Calibre's DOCX->Epub Conversion, or the Import DOCX feature of the calibre EPUB editor.

BR
BetterRed is offline   Reply With Quote
Old 04-12-2019, 06:47 AM   #7
nirosan
Member
nirosan began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jul 2017
Device: epub
Thank you.
I will try with that plugins.
nirosan is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy-Paste table from Word = Errors User7 Sigil 7 12-29-2015 01:18 PM
Visible Table of Contents arjaybe Writers' Corner 19 07-04-2015 12:01 PM
Newbie Question: How to enable word wrapping in a table cell ? drdtyc Conversion 1 12-08-2013 11:59 PM
Sigil to Kindlegen -- No Table of Contents paul-b Sigil 70 05-03-2012 04:57 PM
Anyone know how to convert a pdf table into a table in Word or HTML? BasilC Workshop 7 06-25-2010 01:02 AM


All times are GMT -4. The time now is 03:59 PM.


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