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

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 07-01-2011, 11:40 PM   #1
luczak
Junior Member
luczak began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2011
Device: All New Nook Touch
Question Help with proper dashed list formatting, desperate at this point

I am having the absolute hardest time trying to get my school notes working as an epub file with the proper formatting intact. I have tried a barrage of conversions to epub but to no avail, and honestly any help would be amazing.

my main problem: dashed bullet lists dont format properly and end up being on the next line or not even indented at all.

the attached .png file shows exactly how i need it to turn out, and the .pdf is the source for the text, and the .txt file is another source (just in case). Can anyone help me out?
Attached Thumbnails
Click image for larger version

Name:	epub_proper_formatting.png
Views:	103
Size:	125.0 KB
ID:	73655  
Attached Files
File Type: pdf example.pdf (40.0 KB, 87 views)
File Type: txt example.txt (2.2 KB, 63 views)

Last edited by luczak; 07-01-2011 at 11:43 PM.
luczak is offline   Reply With Quote
Old 07-02-2011, 02:26 AM   #2
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 63,223
Karma: 41342835
Join Date: Nov 2006
Location: UK
Device: PW2, iPad Retina Mini, iPhone 4, MS Surface Pro, Onyx T68, N7,
Converting PDF to anything else is rarely a good idea. I'm afraid you'll just have to edit the resulting ePub file to get it right.
HarryT is offline   Reply With Quote
Old 07-02-2011, 03:53 AM   #3
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: 1,418
Karma: 846401
Join Date: Jan 2009
Device: KoboGlo
Quote:
Originally Posted by luczak View Post
.../...

I have tried a barrage of conversions to epub but to no avail, and honestly any help would be amazing.

my main problem: dashed bullet lists dont format properly and end up being on the next line or not even indented at all.../....
Hi

You can use LibreOffice and its extension writer2xhtml (in short W2X) which exports comfortably and very precisely ordered lists in EPUB format from ODT files. It's free, opensource and multiplatform.

The dedicated tool for it in LibreOfice is called Puces et numérotation in French. I am afraid I don't know the English name. You can use levels like with any outliner. There is a special command panel menu to indent them like you wish at each level.

W2X transcribes very precisely all these values to your EPUB. The choice of bullets for the EPUB is more limited than the one offered by LibO but remains very convenient.



Here is for indent purposes


Last edited by roger64; 07-02-2011 at 06:08 AM. Reason: screenshots
roger64 is offline   Reply With Quote
Old 07-03-2011, 03:20 PM   #4
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,188
Karma: 727236
Join Date: Sep 2009
Device: PRS-505
The problem (as usual) actually lies in the fact that the PDF wasn't created with a consistent structure. It looked ok on the page, and whoever wrote it was satisfied with that.

I opened the PDF you gave in Acrobat X and exported it as XML (I'm sure there are other PDF editors that'll do the same).

I then opened the XML file in Notepad++, selected the actual text (between <?xpacket end='r'?> and </TaggedPDF-doc> and copied it. I then opened Sigil with a blank new document, changed to Code view and pasted this text into the body (i.e. select <p>&nbsp;</p> and hit paste), then saved the ePub.

The result is attached as example.epub. It's a lot better than the examples you show, but the poor structure of the source shows up in the lack of proper hierarchy and some paragraphs that are misplaced. It didn't need much editing to produce a corrected version, attached as example-Edited.epub. It'll require a reasonable amount of work to go through all the notes and check that the lists are ordered correctly, but I did this in about a minute, so it won't be too hard.

[Edit: If you aren't using Sigil to create ePubs, now's the time to start. You do need some rudimentary knowledge of xhtml and css (no css was used here, it's all pure default styles), but it gives you far better control than anything else]
Attached Files
File Type: epub example.epub (2.7 KB, 54 views)
File Type: epub example-Edited.epub (2.8 KB, 53 views)
File Type: xml example.xml (7.4 KB, 53 views)

Last edited by charleski; 07-03-2011 at 03:27 PM.
charleski is offline   Reply With Quote
Old 07-06-2011, 04:18 PM   #5
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: 1,418
Karma: 846401
Join Date: Jan 2009
Device: KoboGlo
Hi

Still desperate?

I just applied my advice.
I started from your text file converted in odt format and I reproduced the hierarchy I saw on the PDF.
Five to ten minutes.
Here are the odt and the epub made with writer2xhtml
1. Using LibreOffice
2. Exporting as EPUB (thirty seconds?)

Edit: If you aren't using LibreOffice to create ePubs, now's the time to start. It gives you pretty fine-grained control. Once your work is done, you can check it with Sigil.

Hope it helps.
Attached Files
File Type: epub acid base.epub (3.4 KB, 52 views)
File Type: zip acid base.odt.zip (11.1 KB, 57 views)

Last edited by roger64; 07-07-2011 at 01:01 AM.
roger64 is offline   Reply With Quote
Reply

Tags
bullet lists, conversion, dashed lists, lists

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting Floating Point # Custom Column GeekyGal Library Management 3 06-03-2011 05:34 PM
[KOBO] Strip existing formatting to apply my own default formatting to all books digital_steve Calibre 2 08-10-2010 06:34 PM
Calibre and FORMATTING how to stop it altering my formatting? nerys Calibre 37 07-23-2010 02:35 AM
Content Master List of Books with Known Formatting Issues whitearrow Amazon Kindle 52 04-25-2010 06:57 PM
Great article on ebook formatting and web standards (A List Apart) Prospect News 6 03-10-2010 01:14 AM


All times are GMT -4. The time now is 01:31 PM.


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