Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Writer2ePub

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 04-26-2010, 02:56 AM   #61
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)
It's a handy and nice solution and everytime getting closer from your goal.

I tried it with a big odt file and I looked at the output in Sigil (we still need to use it).

1. It was splitted in 14 xhtml files with an external file sheet. Wonderful. The only problem was that these files were in presented in random order. It was easy with Sigil to restore the legible arithmetical order using drag and drop but it seems this should not happen.

2. You choose to pre-set Georgia Garamond font. Why not? I think the font-family shoudl be written only once in your sheet-file, so as to allow a quick change if your user wishes it.

I did not have time to test more thoroughly. I'll try to do better next time. Congratulations for your steady progress.
roger64 is offline  
Old 04-26-2010, 09:34 AM   #62
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
Testing

Quote:
Originally Posted by roger64 View Post
1. It was splitted in 14 xhtml files with an external file sheet. Wonderful. The only problem was that these files were in presented in random order. It was easy with Sigil to restore the legible arithmetical order using drag and drop but it seems this should not happen.
What do you mean with "random order"? The content files are numbered from content001.xhtml to contentxxx.xhtml. They are create in the same order, ono after other. Moreover, the zip routine (should) zip it in the same order.
Can you send me an example?

Quote:
2. You choose to pre-set Georgia Garamond font. Why not? I think the font-family shoudl be written only once in your sheet-file, so as to allow a quick change if your user wishes it.
I like Garamond
But:
1) thanks to your note, I discover that I can't change this font using the Cybook menu...
Can you suggest to me how to improve the CSS to make possibile font changes? I don't know xhtml and css
2) In the future, I will add a simple control panel to choose some preferences, the base font will be one of these.


Quote:
I did not have time to test more thoroughly. I'll try to do better next time. Congratulations for your steady progress.
Thank to you for your testing!

Every suggestions about macros improvement is well accepted!
Please send me all kind of modification to the generated ePub, and I will implement it...

Luke
eBookLuke is offline  
Advert
Old 04-26-2010, 11:09 AM   #63
McKGrif
Member
McKGrif began at the beginning.
 
McKGrif's Avatar
 
Posts: 17
Karma: 22
Join Date: Apr 2010
Location: New York, NY
Device: nook
If it's OK with you, I can send them an email with your macro, and perhaps let them know what the people at Atlantis are doing(which imho is pretty great).

I use Sigil now to polish my epubs, as well as manipulating the epub file itself. It works fine, but after trying Atlantis I immediately saw the value of a simple wysiwyg save feature as a part of a document preparation program.

If I knew anything at all about programing or writing macros, I'd be all in on participating in such a feature. Ah well....
McKGrif is offline  
Old 04-26-2010, 12:49 PM   #64
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)
Well, random order is just random order. I used your macro twice with the same odt file, and obtained twice the same result when looking with Sigil without any processing (see attachment below)

I am not a CSS specialist too. I produced working EPUB with this, placed at the top of the CSS file.
body {
font-family:"Times New Roman", Times, serif;
}


Would be better though to take other advice.
Attached Thumbnails
Click image for larger version

Name:	sigil.png
Views:	768
Size:	6.4 KB
ID:	50534  

Last edited by roger64; 04-26-2010 at 12:51 PM.
roger64 is offline  
Old 04-27-2010, 01:17 AM   #65
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
Well, random order is just random order.
Very strange… Using Sigil for Mac the files are listed in the correct order.
Even opening the epub file with winrar the order is correct.
Anyway, the file order is determined by the content.opf file, regardless of the name of the xhtml files…

I can't understand…

Luke
eBookLuke is offline  
Advert
Old 04-27-2010, 07:04 AM   #66
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)
It's not a major problem.

It's already better than with Sigil, where splitting a big book, creating a style sheet, can waste a lot of time. Reordering them is quite quick in fact.

i will follow on testing with other files and report back.
roger64 is offline  
Old 05-03-2010, 03:38 PM   #67
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.14

Hi all,

new version available on:
Luke's Macros

news: Small Caps handling

Luke
eBookLuke is offline  
Old 05-05-2010, 06:05 AM   #68
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
Looking for Beta Testers

Hi all,

I'm looking for beta tester for the following OpenOffice's extensions:

MyTXTcleaner:
this extension try to remove all the unwanted carriage return along the text.
I need testers to find wrong behaviours in this process, an dto suggest improvements

writer2epub:
this extension creates an ePub file from any OOo openable text file, with just one click.
I need tester to:
1) find documents that cause crashes or hangs to the macro
2) look for problems in the generated ePub file
3) suggest improvements and needs for the generated file

Thanks

Luke
eBookLuke is offline  
Old 05-07-2010, 02:13 AM   #69
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.15

Hi all,

new version 0.1.15 available on my blog, look in my signature for the download link

news: full footnotes handling
Thanks to all testers!

Next release will handle even the TOC, so the estension will be almost complete…

Luke
eBookLuke is offline  
Old 05-07-2010, 02:23 PM   #70
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
Quote:
Originally Posted by eBookLuke View Post
Hi all,

new version 0.1.15 available on my blog, look in my signature for the download link

news: full footnotes handling
Thanks to all testers!

Next release will handle even the TOC, so the estension will be almost complete…

Luke
Thank you very much Luke.
kiermel is offline  
Old 05-07-2010, 03:00 PM   #71
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 kiermel View Post
Thank you very much Luke.
I wait feedbacks from you, Kiermel

Luke
eBookLuke is offline  
Old 05-08-2010, 03:09 AM   #72
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)
I had a try with a basic text, with one image and four footnotes.

I looked at the result on Sigil.We are not there yet.

+ the text is split according to TOC
+ a unique external and orderly stylesheet is created
+ processing is ultra-quick


- the text is split in random order
- the image is detected but not processed.
- the footnotes are detected. However, they are processed one by one, each footnote adding a split text part -in random order too-, instead of being put all together in a single footnote text part at the end of the book.
- the stylesheet has probably too many occurences of Georgia Garamond.

These are for the time being the main points.
roger64 is offline  
Old 05-08-2010, 03:32 AM   #73
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
Roger64!

+ the text is split according to TOC
The text is split every time a page break is found. In the future will be a check for huge file, and a forced split if necessary.

+ a unique external and orderly stylesheet is created
Is what I want Helps to edit the file…

+ processing is ultra-quick
I will improve a bit in the future.
If I will be able to implement a xslt conversion, there will be a huge speedup…


- the text is split in random order
I still don't understand this point. The split is done sequentially from the begin of the file, and making a split every page break found. So, all the files are sequenced by name, by creation date and to zip adding.
I look it with Sigil, but in my files are in the right order…

- the image is detected but not processed.
What do you mean? Can you send to me your test file to check it?

- the footnotes are detected. However, they are processed one by one, each footnote adding a split text part -in random order too-, instead of being put all together in a single footnote text part at the end of the book.
This is wanted, because when you can read a note in a whole pege, and come back to the note pointer thanks to the link at the end of the note.
If you have a better solution, please eave me an example

- the stylesheet has probably too many occurences of Georgia Garamond.
I don't know anything about HTML and CSS, if you can suggest a better CSS to use, you're welcome…
I have a problem with current CSS: I cannot change the font in my Cybook, and I want to correct it.
I wish to set Georgia (in the future this font will be selectable in a control panel) as predefinited font, but I wish also to change it in the reader.
Some suggestions?
eBookLuke is offline  
Old 05-08-2010, 12:13 PM   #74
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)
Here are the odt file and your corresponding epub. I use OpenOffice.org 3.2 with Linux Ubuntu. I view the result with Sigil 0.2 RC1 Linux.

As I had reordered the text, I did a second trial and did not try to correct anything. Just to give you a raw result.

+ Good news, the image has been well processed!! I can't explain why it did not work the first time. Sorry for that.

All other remarks standing.

- I get consistently text xhtml blocks in random order.

- You'll see that if you have more than, say, twenty footnotes, it will soon become unmanageable...

- I think many people use a Title style for the main title, not a heading 1. They would deserve to get one from you..
Attached Files
File Type: zip Trial.zip (68.2 KB, 630 views)

Last edited by roger64; 05-08-2010 at 12:17 PM.
roger64 is offline  
Old 05-09-2010, 02:44 PM   #75
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!


+ Good news, the image has been well processed!! I can't explain why it did not work the first time. Sorry for that.
I noticed that "sometimes" the first conversion fails. It fails only if there are images in the file. I suppose that the problem is related to the image detection routine, but anyway I must totally rewrite it.

- I get consistently text xhtml blocks in random order.
Very strange, I will try under Linux…

- You'll see that if you have more than, say, twenty footnotes, it will soon become unmanageable...
I use a book with 96 footnotes for testing, with very good results.
Why do you say that that becomes unamanageable? Because so many footnotes files?

- I think many people use a Title style for the main title, not a heading 1. They would deserve to get one from you..
I too If you look the macro and the CSS you will find that recognizes the "Title" style and apply it if found

In the fututre I will implement a full management of the styles, in option to the "use Luke's styles" option…

Luke
eBookLuke is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 02:32 AM.


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