Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 03-03-2021, 08:35 AM   #196
Ashjuk
Fanatic
Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.
 
Ashjuk's Avatar
 
Posts: 500
Karma: 3498633
Join Date: May 2011
Location: Surrey, UK
Device: Kobo Aura One, Sony PRS 600/650
Thanks for the information Kevin.

With my limited knowledge of EPUBs I will stick with what Sigil shows me by default. With my luck if I started to play with file locations I would end up in an horrendous mess.
Ashjuk is offline   Reply With Quote
Old 03-03-2021, 09:47 AM   #197
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: 8,859
Karma: 6120478
Join Date: Nov 2009
Device: many
Thanks! I will do my best to incorporate it. FYI, since Sigil is cross-platform, we want to mainly focus on cross-platform approaches to reading in from docx files as opposed to MS only apps. I will make that part a footnote or aside so it is there but downplayed a bit.


Quote:
Originally Posted by Ashjuk View Post
I have taken a look at this chapter.

It is something I have not done before using Sigil but it all seemed fairly obvious to me. I have added some links to websites that are tutorials on converting Word documents to html, and also a link to a MS app that does the conversion.

I also installed the DOCXImport plugin and successfully imported a docx file into a new EPUB, so I have written a brief explanation - along with some new images - of its operation.

Hopefully it will be OK for you.

https://www.mobileread.com/forums/at...1&d=1614773661

Last edited by KevinH; 03-03-2021 at 10:13 AM.
KevinH is offline   Reply With Quote
Old 03-03-2021, 09:57 AM   #198
Ashjuk
Fanatic
Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.
 
Ashjuk's Avatar
 
Posts: 500
Karma: 3498633
Join Date: May 2011
Location: Surrey, UK
Device: Kobo Aura One, Sony PRS 600/650
Quote:
Originally Posted by KevinH View Post
Thanks! I will do my best to incorporate it. FYI, since Sigil is cross-platform, we want to manly focus on cross-platform approaches to reading in from docx files as opposed to MS only apps. I will make that part a footnote or aside so it is there but downplayed a bit.
No problem.

I stumbled across the app whilst searching for tutorials on converting MS Word docx to html and thought it might be useful note it.

I will have a look and see if there is anything similar for Mac and Linux.

Edit:
I have found a Mac document converter app that seems to work in converting docx files to html. Despite searching I could not find anything similar for Linux.

I have edited the tutorial_convert_to_html.html file to add some text and a link to the app.

https://www.mobileread.com/forums/at...1&d=1614784845
Attached Files
File Type: zip tutorial_convert_to_html.zip (123.3 KB, 147 views)

Last edited by Ashjuk; 03-03-2021 at 10:20 AM.
Ashjuk is offline   Reply With Quote
Old 03-03-2021, 12:05 PM   #199
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,834
Karma: 8006102
Join Date: Mar 2015
Device: Kindle, iOS
Quote:
Originally Posted by Ashjuk View Post
... I'm not sure you can alter the folder structure of an epub - is it not part of the standard?
Yes, you can indeed alter the folder structure and no, there is no standard.

Quote:
Originally Posted by Ashjuk View Post
I have tried moving a file to an existing folder, and also to a new folder, but nothing happens when I do that.
That's because the folders in the Book Browser aren't "real" folders. They are virtual folders by file-type for organizational purposes only.

For example, a few weeks ago I came across an epub with the xhtml files in a "text" folder, but the nav.xthml in the parent folder along with the .opf. I used the "Move" command in the context menu to move the file into the "text" folder along with the other xhtml files (to make the links to TOC simpler).

In another of my books, all of the html files are loose in the OEBPS folder, which also contains a separate folder named "css" for stylesheets and "images" for jpgs.

But the Book Browser will not show all of these internal workings unless you change the setting in Prefs to show full filepaths. Even then the files are grouped in virtual folders by file type and not the actual internal folders. So the files in the Book Browsers' virtual "Text" folder can actually exist in multiple different actual real internal folders, even though Book Browser shows them all in a single "Text" folder. (You can also hover over individual files to see filepath via tooltip.)

I know this is confusing. It threw me for a loop when Sigil 1.0 first came out

Quote:
Originally Posted by KevinH View Post
... you can use Move in Book Browser to specify a new folder via the pulldown menu or enter a completely new path by typing.
I had figured out how to move to an existing folder via the pulldown menu. I didn't realize creating a new folder was as simple as typing a new folder name into the box I kept looking for explicit commands, like a "new folder" option at the bottom of the pulldown. I will include step-by-step instructions in the Book Browser chapter (which is ending up being overhauled given the changes from 0.9.x to 1.x. Thanks for the detailed explanation, btw. I feel better having my fuzzy understanding of Book Browser confirmed).
odamizu is offline   Reply With Quote
Old 03-03-2021, 12:31 PM   #200
Ashjuk
Fanatic
Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.
 
Ashjuk's Avatar
 
Posts: 500
Karma: 3498633
Join Date: May 2011
Location: Surrey, UK
Device: Kobo Aura One, Sony PRS 600/650
Thanks odamizu

I have to admit all this 'not real folders' is a bit confusing for my old brain - I think I will leave all this to the experts.
Ashjuk is offline   Reply With Quote
Old 03-03-2021, 04:26 PM   #201
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: 8,859
Karma: 6120478
Join Date: Nov 2009
Device: many
I have incorporated Ashjuk's edited tutorial_convert_to_html with no changes needed.
I have updated the first post in this thread with the latest epub version named:

src_updated_20210303_01.epub

So all files have now been claimed. Thank you everyone!

As soon as all edited chapters are in place I will update the repo and this thread.
KevinH is offline   Reply With Quote
Old 03-04-2021, 04:22 AM   #202
Ashjuk
Fanatic
Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.
 
Ashjuk's Avatar
 
Posts: 500
Karma: 3498633
Join Date: May 2011
Location: Surrey, UK
Device: Kobo Aura One, Sony PRS 600/650
Apologies to everyone involved with the update but I completely missed a post from BeckyEbook a few days ago requesting some image changes.

I have now redone the images as per her request and attached them to this message. The Google Drive repository has also been updated.

Kevin would you please replace them in the master copy.

Sorry my bad.


https://www.mobileread.com/forums/at...1&d=1614849654
Attached Files
File Type: zip updated-images.zip (19.3 KB, 164 views)
Ashjuk is offline   Reply With Quote
Old 03-04-2021, 04:27 AM   #203
Ashjuk
Fanatic
Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.
 
Ashjuk's Avatar
 
Posts: 500
Karma: 3498633
Join Date: May 2011
Location: Surrey, UK
Device: Kobo Aura One, Sony PRS 600/650
Quote:
Originally Posted by KevinH View Post
I have incorporated Ashjuk's edited tutorial_convert_to_html with no changes needed.
I have updated the first post in this thread with the latest epub version named:

src_updated_20210303_01.epub

So all files have now been claimed. Thank you everyone!

As soon as all edited chapters are in place I will update the repo and this thread.
Well done everyone!

I was only too pleased to be able to help out in some small way.

I am looking forward to reading the final version - perhaps then I won't have to keep asking you all stupid questions.
Ashjuk is offline   Reply With Quote
Old 03-04-2021, 08:10 AM   #204
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: 8,859
Karma: 6120478
Join Date: Nov 2009
Device: many
Will do.

Thanks.

KevinH

Quote:
Originally Posted by Ashjuk View Post
Apologies to everyone involved with the update but I completely missed a post from BeckyEbook a few days ago requesting some image changes.

I have now redone the images as per her request and attached them to this message. The Google Drive repository has also been updated.

Kevin would you please replace them in the master copy.

Sorry my bad.


https://www.mobileread.com/forums/at...1&d=1614849654
KevinH is offline   Reply With Quote
Old 03-04-2021, 10:24 AM   #205
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: 8,859
Karma: 6120478
Join Date: Nov 2009
Device: many
Hi All,

Updated src_updated_20210304_01.epub with the updated images (Thank you Ashjuk) and some minor editorial changes to make it pass epubcheck again.

We have 4 claimed chapters that still need to be edited and updated but that should come over the next week or two, which is just fine. After that I will pass it along to BeckyEbook as she volunteered to do a final cleanup. And finally I will update the repo version and release epub version.

Hopefully we can keep it up to date this time!
KevinH is offline   Reply With Quote
Old 03-04-2021, 02:27 PM   #206
Banjo
Zealot
Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!
 
Banjo's Avatar
 
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
Quote:
Originally Posted by Ashjuk View Post
No problem.

I stumbled across the app whilst searching for tutorials on converting MS Word docx to html and thought it might be useful note it.

I will have a look and see if there is anything similar for Mac and Linux.

Edit:
I have found a Mac document converter app that seems to work in converting docx files to html. Despite searching I could not find anything similar for Linux.

I have edited the tutorial_convert_to_html.html file to add some text and a link to the app.

https://www.mobileread.com/forums/at...1&d=1614784845
FYI, on Linux you can convert the docx format into html using LibreOffice, which is installed by default on most distros. Open the docx file in LibreOffice, then save it out using one of:

File => Save a Copy... setting the filter to "HTML Document (Writer) (.html) "

or

File => Export... setting the filter to XHTML (.html;.xhtml) "


"Save a Copy" creates a cleaner output than Export. It puts less formatting trash in the document. It also links to any images, whereas Export embeds the image data in the file. I suspect that "Save a Copy" would be preferable for use in an ePub.
Banjo is offline   Reply With Quote
Old 03-04-2021, 03:27 PM   #207
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: 8,859
Karma: 6120478
Join Date: Nov 2009
Device: many
Thanks,

I will try to add that to the tutorial_convert_to_html chapter. Since LibreOffice isfully cross-platform it could help all users and not just Linux users.

KevinH


Quote:
Originally Posted by Banjo View Post
FYI, on Linux you can convert the docx format into html using LibreOffice, which is installed by default on most distros. Open the docx file in LibreOffice, then save it out using one of:

File => Save a Copy... setting the filter to "HTML Document (Writer) (.html) "

or

File => Export... setting the filter to XHTML (.html;.xhtml) "


"Save a Copy" creates a cleaner output than Export. It puts less formatting trash in the document. It also links to any images, whereas Export embeds the image data in the file. I suspect that "Save a Copy" would be preferable for use in an ePub.
KevinH is offline   Reply With Quote
Old 03-04-2021, 11:47 PM   #208
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,737
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by KevinH View Post
I will try to add that to the tutorial_convert_to_html chapter. Since LibreOffice isfully cross-platform it could help all users and not just Linux users.
FYI: the current LibreOffice versions come with an Epub export filter that allows users to export both epub2 and epub3 books.
Unfortunately, the epubs that it generates will fail EPUBCheck and not all LibreOffice document properties are supported.
Doitsu is offline   Reply With Quote
Old 03-05-2021, 03:57 AM   #209
Ashjuk
Fanatic
Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.
 
Ashjuk's Avatar
 
Posts: 500
Karma: 3498633
Join Date: May 2011
Location: Surrey, UK
Device: Kobo Aura One, Sony PRS 600/650
Quote:
Originally Posted by Banjo View Post
FYI, on Linux you can convert the docx format into html using LibreOffice, which is installed by default on most distros. Open the docx file in LibreOffice, then save it out using one of:

File => Save a Copy... setting the filter to "HTML Document (Writer) (.html) "

or

File => Export... setting the filter to XHTML (.html;.xhtml) "


"Save a Copy" creates a cleaner output than Export. It puts less formatting trash in the document. It also links to any images, whereas Export embeds the image data in the file. I suspect that "Save a Copy" would be preferable for use in an ePub.
I had a feeling that the process of saving to html would be very similar to that of MS Word seeing how aligned they are in other matters, but not having LibreOffice installed I could not be sure.

What I was actually looking for was a stand-alone program that would take a pre-saved docx (odt?) file a convert it to html similar to the ones I have linked to for Windows and Mac.

Thanks for the information.

@Kevin.

When I was looking at that chapter in the latest release I spotted a small change that I would like to make to my editing. It was probably not worth changing for just that, but now there is this information regarding LibreOffice to add would you like me to look at the chapter again?
Ashjuk is offline   Reply With Quote
Old 03-05-2021, 04:29 AM   #210
Ashjuk
Fanatic
Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.
 
Ashjuk's Avatar
 
Posts: 500
Karma: 3498633
Join Date: May 2011
Location: Surrey, UK
Device: Kobo Aura One, Sony PRS 600/650
I have edited the tutorial_convert_to_html file to include the LibreOffice information provided by Banjo (thanks) and the small change I wanted to make.

Hope it is OK.

https://www.mobileread.com/forums/at...1&d=1614936507
Attached Files
File Type: zip tutorial_convert_to_html-5-03-21 .zip (3.0 KB, 226 views)
Ashjuk is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wanted: Volunteers to Update the Sigil User's Guide KevinH Sigil 55 05-18-2018 02:52 AM
Sigil Improvement Projects for Developers/Volunteers KevinH Sigil 19 06-27-2016 06:19 PM
Sigil and chapters. p3aul Sigil 5 11-29-2012 09:23 PM
Sigil + Adobe Digital Editions + chapters wkuiper Sigil 6 11-23-2012 10:58 AM
Sigil and epub (can I delete empty chapters?) desaderal Sigil 3 03-24-2011 07:57 AM


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


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