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 04-10-2010, 03:06 AM   #46
Guns4Hire
Reading...Since 1970
Guns4Hire knows the square root of minus one.Guns4Hire knows the square root of minus one.Guns4Hire knows the square root of minus one.Guns4Hire knows the square root of minus one.Guns4Hire knows the square root of minus one.Guns4Hire knows the square root of minus one.Guns4Hire knows the square root of minus one.Guns4Hire knows the square root of minus one.Guns4Hire knows the square root of minus one.Guns4Hire knows the square root of minus one.Guns4Hire knows the square root of minus one.
 
Guns4Hire's Avatar
 
Posts: 610
Karma: 7819
Join Date: Jan 2010
Device: Nova Air C, Nova Pro, LifebookMars, BoyueT62+ Glowlight, NST, PB360
I use this quite often. Doesn't seem to be much development lately though. Which is to bad.
Guns4Hire is offline  
Old 04-10-2010, 03:35 AM   #47
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
New version 0.1.11

Quote:
Originally Posted by Guns4Hire View Post
I use this quite often. Doesn't seem to be much development lately though. Which is to bad.
Wrong:
look at http://luke.simplicissimus.it/writer2epub and you will find a new version 0.1.11

News:
- Working image export
- new code for future styles export
- new code for TOC generation (not yet working).

The ePub generated is readable by most readers and softwares, but is not yet validated.
To validate it (and to create the TOC and metadata) just open the epub with Sigil, and save it without modifications.

Instead, the xsl version has temporarely stopped (0.2.x) and is removed from download.

Any help about developement is appreciated!

Luke
eBookLuke is offline  
Advert
Old 04-10-2010, 11:44 AM   #48
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)
Smile

I tried the 0.1.11 and I have seen great progress.

I could nicely process text files. The extension requires the .odt suffix to be present if not it refuses to work.

It's pretty quick and precise for the text. You present an external stylesheet which is quite clean (uncluttered) and easy to modify which is quite useful. It's still incomplete though (some styles are missing).

As you said I've got no results for images.

Your proposal to complement it with Sigil for the time being makes a lot of sense. Sigil is excellent for inserting images, building TOC and filling up some meta-data, so...

Congratulations for your progresses. I think that, due to the existence of Sigil, the priority should be to focus on the missing "text-related" features, like footnotes, links and identification of some special styles like quotations, poetry, horizontal lines,..

I forgot to say that the automatic splitting and the creation of an external style sheet provided by your extension saves later a lot of time because these features do not exist yet in Sigil and have otherwise to be processed "manually".

As far as styles are concerned, I think a reasonable middle ground would be to provide first full support for what OpenOffice.org calls "html styles".

To go further, the user must be warned that he has to exercise some discipline and restraint before committing himself to produce an EPUB. Very often the multiplication of "automatic styles" comes from a user's bad practice (like using "select all" to modify text attributes) instead of strictly committing himself to the use of Stylist.

Very nice work.

Last edited by roger64; 04-10-2010 at 09:24 PM. Reason: complementary information
roger64 is offline  
Old 04-10-2010, 03:23 PM   #49
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
Thanks, Roger, for your testing.

There are a lot of work to do in this extension, the next step will be (probably):

- TOC creation
- Metadata editor (in advanced stage)
- Full styles support
- Full image and objects (tables?) support

In a couple of week I will release a new version

Luke
eBookLuke is offline  
Old 04-13-2010, 05:53 PM   #50
omk3
Wizard
omk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five words
 
omk3's Avatar
 
Posts: 1,454
Karma: 37243
Join Date: Dec 2009
Location: Europe
Device: pocketbook 360, kindle 4
eBookLuke, thank you for myTXTcleaner, it just saved me a lot of trouble! A very useful little tool.

From your description, myTXTcleaner "removes all of the paragraph marks following lowercase letters, commas and semicolons". I think it might be a good idea to add numbers to this list. I just used it on a text with a lot of times and sums, and paragraph marks following numbers were not deleted. Other than in mathematical texts, I don't think there are a lot of instances where a paragraph can end in a number.

Thank you for your work!
omk3 is offline  
Advert
Old 04-19-2010, 04:05 PM   #51
kiermel
Enthusiast
kiermel began at the beginning.
 
kiermel's Avatar
 
Posts: 43
Karma: 10
Join Date: Apr 2009
Location: Malaga - Spain
Device: Kindle Touch, iPad, iPhone
Wow! Thank you very much Luke

When the TOC works, will be almost perfect for me
kiermel is offline  
Old 04-19-2010, 05:23 PM   #52
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 omk3 View Post
I don't think there are a lot of instances where a paragraph can end in a number.
Chapter 1
Chapter 2
Chapter 3


this is because I choose do not include the numbers in the list.

I can make even a selection in the start dialog to choose or not to remove paragraph marks after the number, can be useful?

Luke
eBookLuke is offline  
Old 04-19-2010, 07:44 PM   #53
omk3
Wizard
omk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five words
 
omk3's Avatar
 
Posts: 1,454
Karma: 37243
Join Date: Dec 2009
Location: Europe
Device: pocketbook 360, kindle 4
Quote:
Originally Posted by eBookLuke View Post
Chapter 1
Chapter 2
Chapter 3


this is because I choose do not include the numbers in the list.

I can make even a selection in the start dialog to choose or not to remove paragraph marks after the number, can be useful?

Luke
Oops, why didn't I think of that? Sorry... Obviously keeping the paragraph mark after the chapter heading is very important.

But yes, a selection might be useful, if you could do it. Even with chapter headings ending with numbers, it might be easier to do a search and replace afterwards to replace the erased paragraph marks, than to search through the whole text for all the other paragraph marks that remained.
omk3 is offline  
Old 04-20-2010, 01:32 AM   #54
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 omk3 View Post
Oops, why didn't I think of that?
tonight I think about a different approach:
a paragraph mark must be removed if:

the fisrt charachter of the NEXT line is lowercase
THEN
the last charachter of the PREVIOUS line in lowercase, comma, semicolon, colon

doing so I can remove:
in the last 5
years…


but not:
Chapter 5
Was a stormy night…


What do you think about?

Luke
eBookLuke is offline  
Old 04-20-2010, 01:45 AM   #55
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 Logseman View Post
I have received this error:
There is a limitation in this extention.
MyTXTcleaner works only with pure text documents!
If you open a document with images, frames, tables or other object, the macro can stop, as you noted.

I don't have enought time to find a solution to avoid this, but I will study the problem when possible.

But, because the main scope of this extension is to clean .txt files or text copied from a .pdf, this problem is not so important, because in these cases there is only text.

Luke
eBookLuke is offline  
Old 04-20-2010, 07:08 AM   #56
omk3
Wizard
omk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five wordsomk3 can name that ebook in five words
 
omk3's Avatar
 
Posts: 1,454
Karma: 37243
Join Date: Dec 2009
Location: Europe
Device: pocketbook 360, kindle 4
Quote:
Originally Posted by eBookLuke View Post
tonight I think about a different approach:
a paragraph mark must be removed if:

the fisrt charachter of the NEXT line is lowercase
THEN
the last charachter of the PREVIOUS line in lowercase, comma, semicolon, colon

doing so I can remove:
in the last 5
years…


but not:
Chapter 5
Was a stormy night…


What do you think about?

Luke
I think it's an excellent idea.
It would maybe cause problems for things like poetry and other special cases, but these need special treatment anyway.
omk3 is offline  
Old 04-20-2010, 03:15 PM   #57
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 omk3 View Post
I think it's an excellent idea.
It would maybe cause problems for things like poetry and other special cases, but these need special treatment anyway.

Maybe I can set a minimum paragraph lenght, to prevent poetry shrinking.

Other suggestion or potential problems?

Luke
eBookLuke is offline  
Old 04-25-2010, 02:07 PM   #58
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
New version 0.1.12

Hi all,

a new version of writer2epub is available on my blog Luke's Macros

This version can handle the footnotes.

Luke

Last edited by eBookLuke; 04-25-2010 at 02:11 PM.
eBookLuke is offline  
Old 04-25-2010, 05:22 PM   #59
McKGrif
Member
McKGrif began at the beginning.
 
McKGrif's Avatar
 
Posts: 17
Karma: 22
Join Date: Apr 2010
Location: New York, NY
Device: nook
Hi, I came across your macro the same time I did Atlantis 'save to epub'. As an OOo user I would love to see this wysiwyg feature fully developed for the writer. I was wondering if the developers of Open Office are being of any assistance to you, and if there is anything that can be done to get them on board.
McKGrif is offline  
Old 04-26-2010, 02:25 AM   #60
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 McKGrif View Post
Hi, I came across your macro the same time I did Atlantis 'save to epub'. As an OOo user I would love to see this wysiwyg feature fully developed for the writer. I was wondering if the developers of Open Office are being of any assistance to you, and if there is anything that can be done to get them on board.
I don't have enought time to ask to developer, can you ask it for me?


The right way to esport (and maybe import) an epub, is a xsl filter.
I can't write this kind of filter, I'm not a programmer, and my extension is based on other people's code.

My goal is not to make a 100% wisiwig converter, but a a tool to create a good epub even from a not-so-clean text.
So, I use a pre-write CSS, instead to build the CSS based on the real styles present along the text.

Why I chose this way? Based on my experience, most of the text to convert are very dirty, full of styles similar each other, but meaningless. Even the scanned text suffers of this dirtyness.

Converting a such text, generate a dirty ePub, difficult to read and to correct, and in worst cases the CSS dimension is 2 to 10 times bigger than the text itself!

To convert a file to ePub, Calibre makes a wonderful works. To edit an ePub, there is Sigil that promises to be a big tool.
But for the rest of us, everyone wants to create a well readeble ePub with minimum effort, I write my extension…


Thanks for your support

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 03:10 AM.


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