Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Writer2ePub

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 12-11-2010, 06:17 PM   #181
eBookLuke
Writer2ePub creator
eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.
 
eBookLuke's Avatar
 
Posts: 354
Karma: 121129
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
Quote:
Originally Posted by PeterMzizi View Post
My problem is that the paragraph formatting is not preserved in any way
As you can read somewhere in the post, W2E is not a format converter, but an ePub creator.
This means that W2E forces the formatting using the best traditional typographic rules, discarding all found formatting.

In a future release, I will add an option to preserve all formatting, but this is not a priority for me. This kind of job is available in all the format converters on the market (Calibre, Atlantis etc…)

Anyway, because the generated code is easy readable, you can edit the style001.css file in this way:

Code:
@namespace h "http://www.w3.org/1999/xhtml";
@page
    {
    margin: 5pt;
    }
body
    {
    font-family: Georgia, Garamond, serif, sansserif, monospace;
    }
p
    {
    margin:0pt;
    margin-bottom: 0.8em;
    text-indent:0em;
    text-align: justify;
    font-size: 3.00em;
    color:#000000;
    }
…
By adding "margin-bottom: 0.8em;" to the paragraph definition, you'll get a space after each paragraph. I suggest the value of 0.8em, just a bit less than a line, but you can modify this value

Luke
eBookLuke is offline  
Old 12-11-2010, 06:21 PM   #182
eBookLuke
Writer2ePub creator
eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.
 
eBookLuke's Avatar
 
Posts: 354
Karma: 121129
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
Quote:
Originally Posted by PeterMzizi View Post
Also an idea for another feature - how about an 'ignore TOC in .odt' as it looks rather silly in the epub
Nice idea… I hate the TOC inside the book…
Please send me an example .odt file with TOC and I will try to remove it during conversion.
The e-mail is writer2epub@gmail.com

Thanks

Luke
eBookLuke is offline  
Advert
Old 12-11-2010, 06:23 PM   #183
PeterMzizi
Member
PeterMzizi began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Dec 2010
Device: sony prs 300
Thanks for quick response - I will give that a try, sounds easy enough
PeterMzizi is offline  
Old 12-11-2010, 07:48 PM   #184
CazMar
Book Geek
CazMar ought to be getting tired of karma fortunes by now.CazMar ought to be getting tired of karma fortunes by now.CazMar ought to be getting tired of karma fortunes by now.CazMar ought to be getting tired of karma fortunes by now.CazMar ought to be getting tired of karma fortunes by now.CazMar ought to be getting tired of karma fortunes by now.CazMar ought to be getting tired of karma fortunes by now.CazMar ought to be getting tired of karma fortunes by now.CazMar ought to be getting tired of karma fortunes by now.CazMar ought to be getting tired of karma fortunes by now.CazMar ought to be getting tired of karma fortunes by now.
 
Posts: 596
Karma: 1499085
Join Date: Aug 2010
Location: Adelaide, Australia
Device: Kobo Touch, Asus MemPad 7" tablet, Nexus 5, Asus 10" tablet
I have just tried this and am very impressed! I have been converting my uni lecture notes etc to small size PDF's to fit on my Kobo screen (using Open Office and saving as a PDF) but this is much better. I don't mind doing all the reformatting to get a decent EPUB book but for lecture notes etc this will be much faster - more time to read the notes instead of processing them!
CazMar is offline  
Old 12-11-2010, 11:25 PM   #185
Ken Irving
Writer
Ken Irving has read every ebook posted at MobileReadKen Irving has read every ebook posted at MobileReadKen Irving has read every ebook posted at MobileReadKen Irving has read every ebook posted at MobileReadKen Irving has read every ebook posted at MobileReadKen Irving has read every ebook posted at MobileReadKen Irving has read every ebook posted at MobileReadKen Irving has read every ebook posted at MobileReadKen Irving has read every ebook posted at MobileReadKen Irving has read every ebook posted at MobileReadKen Irving has read every ebook posted at MobileRead
 
Posts: 86
Karma: 65586
Join Date: Aug 2010
Location: New York
Device: Nook "1st Edition" Wireless, Nook4PC, NookStudy, Kindle4PC
<<…to create an high quality ePub with just one click...>

This is very nice and just the right approach as far as I'm concerned. It produces a nice, clean, valid epub file with a straightforward style sheet. As long as I keep my input file equally straightforward, essentially all I have to do to make things exactly the way I like them is to drop in my version of your style sheet and I'm done. Thanks for this.
Ken Irving is offline  
Advert
Old 12-12-2010, 12:08 AM   #186
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Hi Luke

I unsuccessfully try to download your latest W2E 1.1.7 from OpenOffice.org repository (I am not in Europe). No way to get it from your site ?
http://extensions.services.openoffice.org/node/4615
roger64 is offline  
Old 12-12-2010, 12:39 AM   #187
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,867
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by roger64 View Post
I unsuccessfully try to download your latest W2E 1.1.7 from OpenOffice.org repository (I am not in Europe). No way to get it from your site ?
http://extensions.services.openoffice.org/node/4615
I'm not sure what not being in Europe as to do with anything. I'm in North Carolina and it downloaded fine for me. You might want to try again later or a different browser.
DoctorOhh is offline  
Old 12-12-2010, 06:18 AM   #188
eBookLuke
Writer2ePub creator
eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.
 
eBookLuke's Avatar
 
Posts: 354
Karma: 121129
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
Quote:
Originally Posted by roger64 View Post
Hi Luke

I unsuccessfully try to download your latest W2E 1.1.7 from OpenOffice.org repository (I am not in Europe). No way to get it from your site ?
http://extensions.services.openoffice.org/node/4615
Maybe you tried to DL version 1.1.7 while I update it to 1.1.9
Try again, or write to me at writer2epub@gmail.com and I will send the latest version to you

Luke
eBookLuke is offline  
Old 12-12-2010, 06:32 AM   #189
eBookLuke
Writer2ePub creator
eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.
 
eBookLuke's Avatar
 
Posts: 354
Karma: 121129
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
Christmas, time to move?

Hi all,

W2E is now an extension officially available on the OpenOffice.org repository.
It works quite fine, and make a different job from Calibre, Sigil and Atlantis.

Do you think that the correct place for the topics regarding W2E can be
eBook Software section of Mobileread?

If you think so, and moderators agree, I kindly ask to moderators to create a topic for Writer2ePub in the eBook Software section

Thanks to all, and Happy Christmas!

Luke
eBookLuke is offline  
Old 12-12-2010, 01:29 PM   #190
superanima
W2E & ePub freak
superanima began at the beginning.
 
Posts: 38
Karma: 10
Join Date: May 2009
Device: cybook gen3 + boox60
Quote:
Originally Posted by Adjust View Post
I just tested this out with openoffice MAC version. And it works ok, except it didn't bring any of my premade styles across into the CSS file.
Thanks to a Luke's tip I'm using some custom style for my epubs.
You can easily force W2E to export custom styles of your choice, just go into the macro (tools-macro-organize), then in traverse sheet, where you can find the list of all supported styles, like this:

Code:
		Case "Title" , "title" 
			sStr = "<p class=""title"">" & sStr & "</p>"
you can add your own styles, like MyOwnStyle:

Code:
		Case "MyOwnStyle" , "MyOwnStyle" 
			sStr = "<p class=""MyOwnStyle"">" & sStr & "</p>"
after that add the style in the css sheet and you're good.

Just remember that after each upgrade you have to redo the stuff.
superanima is offline  
Old 12-12-2010, 03:54 PM   #191
PeterMzizi
Member
PeterMzizi began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Dec 2010
Device: sony prs 300
Quote:
Originally Posted by eBookLuke View Post
Do you think that the correct place for the topics regarding W2E can be
eBook Software section of Mobileread?
Luke
Sounds like an ideal place.
Great this is now on the OOo repository site, should get more exposure there I should think
PeterMzizi is offline  
Old 12-12-2010, 07:45 PM   #192
CazMar
Book Geek
CazMar ought to be getting tired of karma fortunes by now.CazMar ought to be getting tired of karma fortunes by now.CazMar ought to be getting tired of karma fortunes by now.CazMar ought to be getting tired of karma fortunes by now.CazMar ought to be getting tired of karma fortunes by now.CazMar ought to be getting tired of karma fortunes by now.CazMar ought to be getting tired of karma fortunes by now.CazMar ought to be getting tired of karma fortunes by now.CazMar ought to be getting tired of karma fortunes by now.CazMar ought to be getting tired of karma fortunes by now.CazMar ought to be getting tired of karma fortunes by now.
 
Posts: 596
Karma: 1499085
Join Date: Aug 2010
Location: Adelaide, Australia
Device: Kobo Touch, Asus MemPad 7" tablet, Nexus 5, Asus 10" tablet
Quote:
Originally Posted by eBookLuke View Post
Hi all,

W2E .....

Do you think that the correct place for the topics regarding W2E can be
eBook Software section of Mobileread?

If you think so, and moderators agree, I kindly ask to moderators to create a topic for Writer2ePub in the eBook Software section

Thanks to all, and Happy Christmas!

Luke
Yes, a special topic would be a good idea - that way any feedback or new ideas are in one place.
And a happy Christmas to you, Luke.
CazMar is offline  
Old 12-14-2010, 09:39 AM   #193
Ken Irving
Writer
Ken Irving has read every ebook posted at MobileReadKen Irving has read every ebook posted at MobileReadKen Irving has read every ebook posted at MobileReadKen Irving has read every ebook posted at MobileReadKen Irving has read every ebook posted at MobileReadKen Irving has read every ebook posted at MobileReadKen Irving has read every ebook posted at MobileReadKen Irving has read every ebook posted at MobileReadKen Irving has read every ebook posted at MobileReadKen Irving has read every ebook posted at MobileReadKen Irving has read every ebook posted at MobileRead
 
Posts: 86
Karma: 65586
Join Date: Aug 2010
Location: New York
Device: Nook "1st Edition" Wireless, Nook4PC, NookStudy, Kindle4PC
I'm with those who think a separate topic in ebook software on this would be a good idea. This is major stuff, and people who are using other tools (and may not use Openoffice and friends) should be aware of it.
Ken Irving is offline  
Old 12-16-2010, 06:19 AM   #194
gertblij
Enthusiast
gertblij has learned how to buy an e-book online
 
Posts: 44
Karma: 85
Join Date: Oct 2010
Location: Cape Town, South Africa
Device: Kindle 3
"Basic run time error" and BOOM!

Downloaded OOo Writer today with Epub extension.

Works fine on small odt file, but on large file, with pictures, epub conversion bombs out with "Basic run time error. Object variable not set".

OK button clears Macro screen, but then OOo Writer completely frozen. Need to kill it using End Process in System Explorer. UGLY!!!

Any suggestions?
gertblij is offline  
Old 12-16-2010, 09:58 AM   #195
eBookLuke
Writer2ePub creator
eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.
 
eBookLuke's Avatar
 
Posts: 354
Karma: 121129
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
Quote:
Originally Posted by gertblij View Post
Downloaded OOo Writer today with Epub extension.

Works fine on small odt file, but on large file, with pictures, epub conversion bombs out with "Basic run time error. Object variable not set".

OK button clears Macro screen, but then OOo Writer completely frozen. Need to kill it using End Process in System Explorer. UGLY!!!

Any suggestions?
Hi,

the problem maybe the presence in the file of some unsupported (at the moment) "blobs". For instance, frames can cause a similar hang as you describe.

The freeze of OOo is only apparent. The only frozen object in this case is the document window that ends with "_W2E". Just close it BY OOo MENU (not by window button) and all other feature of OOo are enabled.

To help me to better understand the cause of the crash, please send me the original file to writer2epub[at]gmail.com

I will try to solve the crash in the next version.

Thank for your feedback

Luke
eBookLuke is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LaTeX and OpenOffice -> EPUB ? (Professional solution) Randy11 ePub 22 11-11-2010 12:03 AM
EPUB Expert Needed: Cant properly export epub from InDesign crottmann ePub 17 08-27-2010 11:23 AM
OpenOffice to Palm eReader export macro poxi1023 Other formats 29 02-28-2009 06:49 PM
OpenOffice PDF Import and Hybrid Export wallcraft Workshop 0 06-06-2008 09:15 PM
OpenBerg FireFox extension for ePub wallcraft Reading and Management 20 10-05-2007 12:24 PM


All times are GMT -4. The time now is 09:11 PM.


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