![]() |
#31 | ||
Writer2ePub creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 354
Karma: 121129
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
|
Quote:
![]() 2) I still work on the internal links, external links are working 3) and 4) I know that issues, I still work on it. The crash in the tables was create by a bug, and will be solved in the next release. Quote:
If you can help me, W2E can dramatically improve the performance ![]() Luke |
||
![]() |
![]() |
![]() |
#32 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jan 2011
Location: Southampton, UK
Device: none
|
Hi Luke,
Thanks for your quick reply. I've been looking through the code in the plugin archive. I guess Traverse.xba and Functions.xba are the main files for my issues. There's a lot of rather distracting " , < etc in the files though. Does the file get passed into another form? could just writing the " ' < etc not work? Anyway, I don't have XSLT experience. Most of my programming has been in C++, Java (which I notice in the plugin), LAMP stack, Perl and others. But reading through http://www.w3schools.com/xsl/xsl_intro.asp I can see why you might want to use it. If you go down that road, I might be able to offer some assistance with debugging. re your questions: when you create headers (Header 1, Header 2 etc.) for chapter, section, sub-sections in writer, writer 'tags' those sections so you can reference them with cross-references (Insert -> Cross-reference...). The tags/ids are also used by the table of contents that writer can generate. I also use cross-references to Bookmarks (Insert -> Bookmark) for the book index and for the 'see page xx' references in the main book text. The epub source from your plugin for the table of contents writer generates for my book looks like this: Quote:
If I need to I'm prepared to fix the table of contents manually, but the other internal links, mainly bookmarks, would take a heck of a lot of labour to fix that way and I have the feeling that if I knew your code better there's probably a couple of lines that would allow the internal links ('see page xx' or, in the book index 'honesty xx-xx,xx,xx...') to be preserved. From the looks of the plugin code I think it will take me longer than I can spend at the moment to figure out for myself, but if you would like me to test or try out specific changes to the code, I'm happy to do that. cheers, Joe Last edited by clarity; 01-27-2011 at 05:28 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#33 | |
Member
![]() Posts: 18
Karma: 12
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Quote:
![]() W2E correctly fills out all the defined metadata fields -- if defined correctly. However, understanding that one took me a while. My ODT is saved as "Lorem Ipsum - Lady Mondegreen - 2011.odt" If in the W2E extension I define "T - A - Y" the fields contain the expected texts: Title="Lorem Ipsum", Author="Lady Mondegreen" and Year="2011". If I define just "T" everything's just left blank. To get the file name completely into the title field I have to define the metadata prefs as "T - -". (It was my imagination that with such a definition Title would only result in "Lorem Ipsum", cutting off Author and Year. Defining "T - A -" does exactly that: cutting off the year.) And the second issue was a misunderstanding as well. I thought Writer2EPUB would store all metadata somewhere into the source ODT. So whenever I open it another time and click the W2E metadata button all information would be there again ... which isn't the case obviously ![]() [EDIT] Hm, the behaviour is still quite puzzling. Defining "T - - Y" now also leads to the complete file name resting in the title field... [/EDIT] Last edited by Michael_ZZ; 01-28-2011 at 05:41 AM. |
|
![]() |
![]() |
![]() |
#34 | |
Writer2ePub creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 354
Karma: 121129
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
|
Quote:
About the metadata storage: all the fields filled in the metadata window will be stored in the original .odt file. You can find the fields when open File>Properties>Custom Properties. I will check also about missing storage. Thanks Luke |
|
![]() |
![]() |
![]() |
#35 | |
Member
![]() Posts: 18
Karma: 12
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Quote:
Thanks for leading me there ![]() ZZ P.S.: I just see that there are no w2e_... metadata names present in my (German) LO properties' names list. Is there a list with possible names anywhere? Last edited by Michael_ZZ; 02-04-2011 at 01:24 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#36 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44
Karma: 1590
Join Date: Oct 2010
Device: nook
|
Trying to convert an .odt file into an epub and pressed on the first of three buttons. I got slapped with an error message: BASIC runtime error. Object variable not set.
OS is Windows XP Service Pack 3. OpenOffice version 3.3.0 ![]() P.S. This .odt document is copy-paste from a web page, if it changes anything... |
![]() |
![]() |
![]() |
#37 | |
Writer2ePub creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 354
Karma: 121129
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
|
Quote:
can you send to me the original .odt file to writer2epub[at]gmail.com? Probably there are some objects in the document that crash the macro Thanks Luke |
|
![]() |
![]() |
![]() |
#38 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
|
Quote:
BobC |
|
![]() |
![]() |
![]() |
#39 |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Feb 2011
Device: none
|
Is writer2epub still not fully functional for LibreOffice? I do not get a response to preference button and the macro drops all mathematical formulae.
|
![]() |
![]() |
![]() |
#40 | |
Writer2ePub creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 354
Karma: 121129
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
|
Quote:
![]() About the response, please wait a bit after pressing the preference button. It need some time to build the font list. If you have a lot of fonts, the time will be longer. If you press again this button while it's worging, the time restarts. If you press another button, the process quits. About the formulae, there is no process at the moment. Epub doesn't supports natively formulas, but I'studiyng a method to render them. Luke |
|
![]() |
![]() |
![]() |
#41 |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Feb 2011
Device: none
|
Ahhhh, I am now informed that this is not a function of writer2epub, but of the failure of epub readers to read mathml islands.....
|
![]() |
![]() |
![]() |
#42 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
http://sourceforge.net/projects/svgmath/ DAle |
|
![]() |
![]() |
![]() |
#43 |
Member
![]() Posts: 10
Karma: 10
Join Date: Dec 2010
Device: sony prs 300
|
I have just been playing around with some documents, and notice that document metadata is not copied into the metadata dialogue in writer2epub. Looking at some of the previous comments, in this thread, it implies that this should happen.
Title is present in both the odt and epub so this would be useful if it would copy over. Author (as you have previously mentioned) in odt may not reflect the real author but how about owner? In LibreOffice this is an option under custom properties (as is publisher). Could creator be used as author with the option to use owner instead if wanted (or if not empty)? Tags (epub) and keywords (odt) are more or less the same and could be useful if copied Comments (odt) and description (epub) would also be potentially useful if copied across. Thanks |
![]() |
![]() |
![]() |
#44 | |
Writer2ePub creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 354
Karma: 121129
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
|
Quote:
I wish to improve the metadata handling in W2E, but I still need to understand what is better. We can get metadata from multiple source: 1) filename: the filename can contain author/title/other infos. 2) native document metadata: many document formats (.ost, rtf, .doc…) can store some metadata. The document title, the creator and other data can be available in such fles. 3) special W2E metadata fields: to better handle the metadata, W2E adds many user fields to the original documents. So, the document can embed some data difficult to fit in the field of naive documents (like original title, first publishing date, isbn and so on) Now I ask to all: what must I do when one or more of the data sorce are available? Must I replace 3) with 2) if 2) is present? Or 3) must overwrite 2)? Other suggestions? thanks Luke |
|
![]() |
![]() |
![]() |
#45 | |
Member
![]() Posts: 10
Karma: 10
Join Date: Dec 2010
Device: sony prs 300
|
Quote:
If it is a new .odt file then there will be no W2E metadata so use what is there. At this point a user may then add additional metadata, and if this document is now saved you could assume that is what the user would want next time. so use 2 if no 3 but 3 if 2 and 3 present. I guess the main area of conflict would be over owner/author and so for this 3 must be the right answer but other things like creation date may reflect when the work was written and not when typed into a computer. Certainly would be great to have the W2E metadata stored in the odt for future reference/use Peter |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
bug reports for the new firmware.. | bokjeid | iRex | 0 | 06-04-2010 09:35 AM |
Bug reports & advices for next versions (0.6.32 MacOS X) | neotheone | Calibre | 2 | 01-07-2010 02:14 PM |
Where to post enhancements for Calibre, plus Bug Reports? | icq70610 | Calibre | 1 | 03-29-2009 09:06 AM |
Need bug reports for Plucker 1.9 -- win software! | pruss | Reading and Management | 2 | 02-04-2008 12:05 AM |
PRS-500 Internal Bug Reports To Sony | scotty1024 | Sony Reader Dev Corner | 11 | 05-31-2007 07:05 PM |