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

Go Back   MobileRead Forums > E-Book Software > Writer2ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 02-21-2011, 02:20 PM   #1
cel4145
Junior Member
cel4145 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2011
Device: nook
bullet and numbered lists

Very exciting extension for OO/LO. I was just at the O'Reilly TOC digital publishing conference last week where epub and how to create an efficient workflow that results in epub and can be used in InDesign was the talk of the conference. Your extension with OO/LO, Luke, could be the solution for some projects, particularly the one I am working with.

However, I've tried the current version with both OO 3.30 and LO 3.3.0, and bullet and numbered lists items are being formatted as p tags. If this just an unsupported conversion item, or is there some trick to setting styles to get this to work?

Thanks for any assistance

Charlie Lowe
Writing Spaces Co-Editor
http://writingspaces.org/
cel4145 is offline   Reply With Quote
Old 02-22-2011, 03:41 AM   #2
kreti
Member
kreti doesn't litterkreti doesn't litter
 
Posts: 19
Karma: 194
Join Date: Nov 2010
Location: Spain
Device: energy system 1060 / Avant XL / Boyue g10 2
You can add the next lines in 'Sub TraverseText', in the Traverse Macro, between the lines:
'sParEx = fnExportParagraph(oPar)' and
'CountLength = CountLength + Len (sParEx)'
to see the list numbering.
....
sParEx = fnExportParagraph(oPar)
'proper code.
if oPar.NumberingIsNumber = true then
if oPar.ListLabelString = "" then
sParEx = "<p>" & "- " & right(sParEx, len(sParEx) - 3)
else
sParEx = "<p>" & oPar.ListLabelString & right(sParEx, len(sParEx) - 3)
end if
end if
' end proper code

CountLength = CountLength + Len (sParEx)
.....
kreti is offline   Reply With Quote
Old 02-24-2011, 01:40 PM   #3
cel4145
Junior Member
cel4145 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2011
Device: nook
Thanks. But I'n not familiar with the Traverse Macro or the coding of this extension. So I guess the answer to my question is that lists are not currently supported in the extension?
cel4145 is offline   Reply With Quote
Old 05-06-2011, 12:49 PM   #4
eBookLuke
Writer2ePub creator
eBookLuke is the king of the Divan.eBookLuke is the king of the Divan.eBookLuke is the king of the Divan.eBookLuke is the king of the Divan.eBookLuke is the king of the Divan.eBookLuke is the king of the Divan.eBookLuke is the king of the Divan.eBookLuke is the king of the Divan.eBookLuke is the king of the Divan.eBookLuke is the king of the Divan.eBookLuke is the king of the Divan.
 
eBookLuke's Avatar
 
Posts: 341
Karma: 106889
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
Thanks Kreti, tonight I will try to implement your code

I will release soon a new version of W2E with some improvement about images, tables and (maybe) lists

Luke

[EDIT]: done, the next version will have lists support, thanks to Kreti.
Your code is quite simple but very functional

Luke

Last edited by eBookLuke; 05-06-2011 at 03:06 PM.
eBookLuke is offline   Reply With Quote
Old 05-07-2011, 06:29 AM   #5
kreti
Member
kreti doesn't litterkreti doesn't litter
 
Posts: 19
Karma: 194
Join Date: Nov 2010
Location: Spain
Device: energy system 1060 / Avant XL / Boyue g10 2
I changed the code because I needed it, and it is a pleasure to share with others.
kreti is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
EPUB to MOBI - Extra Space on Bullet Lists squiggy Conversion 2 01-31-2011 11:50 AM
Continuing numbered lists (ol) in ADE EricDP ePub 13 09-07-2010 09:30 AM
numbered lists, but with a text break soup Sigil 1 07-30-2010 05:27 AM
Numbered list continuation bhuvana786 ePub 4 05-26-2010 02:17 AM
Are Papers Days Numbered? andyafro News 23 11-21-2008 03:58 PM


All times are GMT -4. The time now is 03:41 AM.


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