![]() |
#61 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,613
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. ![]() |
![]() |
![]() |
#62 | |||
Writer2ePub creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 354
Karma: 121129
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
|
Testing
Quote:
Can you send me an example? Quote:
![]() 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:
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 |
|||
![]() |
Advert | |
|
![]() |
#63 |
Member
![]() 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.... |
![]() |
![]() |
#64 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,613
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. ![]() Last edited by roger64; 04-26-2010 at 01:51 PM. |
![]() |
![]() |
#65 |
Writer2ePub creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 354
Karma: 121129
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
|
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 |
![]() |
Advert | |
|
![]() |
#66 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,613
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. |
![]() |
![]() |
#67 |
Writer2ePub creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
![]() |
![]() |
#68 |
Writer2ePub creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
#69 |
Writer2ePub creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
#70 |
Enthusiast
![]() Posts: 43
Karma: 10
Join Date: Apr 2009
Location: Malaga - Spain
Device: Kindle Touch, iPad, iPhone
|
|
![]() |
![]() |
#71 |
Writer2ePub creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 354
Karma: 121129
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
|
|
![]() |
![]() |
#72 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,613
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. |
![]() |
![]() |
#73 |
Writer2ePub creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 354
Karma: 121129
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
|
![]() + 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 ![]() + 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? |
![]() |
![]() |
#74 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,613
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.. ![]() Last edited by roger64; 05-08-2010 at 01:17 PM. |
![]() |
![]() |
#75 |
Writer2ePub creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 ![]() ![]() In the fututre I will implement a full management of the styles, in option to the "use Luke's styles" option… Luke |
![]() |
![]() |
|
![]() |
||||
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 |