|07-01-2011, 11:40 PM||#1|
Join Date: Jun 2011
Device: All New Nook Touch
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?
Last edited by luczak; 07-01-2011 at 11:43 PM.
|07-02-2011, 02:26 AM||#2|
Join Date: Nov 2006
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.
|07-02-2011, 03:53 AM||#3|
Join Date: Jan 2009
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
|07-03-2011, 03:20 PM||#4|
Join Date: Sep 2009
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> </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]
Last edited by charleski; 07-03-2011 at 03:27 PM.
|07-06-2011, 04:18 PM||#5|
Join Date: Jan 2009
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.
Last edited by roger64; 07-07-2011 at 01:01 AM.
|bullet lists, conversion, dashed lists, lists|
|Thread Tools||Search this Thread|
|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|