View Single Post
Old 06-20-2011, 05:28 PM   #13
feralicious
total n00b
feralicious began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jun 2011
Location: City of Angels
Device: Kindle 3
Okay. I followed these steps to create an HTML. Three actually since I didn't know which I needed:


1. Convert PDF file to text file using Acrobat Reader or any program similiar. Just save it as a text file, no need for pro or extended versions of reader.

2. Open TextEdit.app, open up the text file you've created, copy/paste whole thing to a new document window.
- Open Preferences in TextEdit
- Go to the "Open/Save" Tab
- Change Document Type to HTML Strict or XHTML strict depending on your needs. In Styling, select No CSS.
- Go back and save the new document now as a html file.

http://forums.macrumors.com/showthread.php?t=326146


I made the following versions:
- no css
- embedded css
- inline css

Also, when I open these in Firefox they all have lost the screenplay formatting so that everything is justified left, just as it looks when it is converted to MOBI using Calibre. Should they have proper formatting when opened in Firefox? According to this article it looks like they should.
http://booksprung.com/how-to-format-...for-the-kindle

In which case it seems I need to get an HTML using a different process.

Okay... I just took the txt file I got from the PDF using Acrobat and imported that into Celtx and it isn't completely correct. Most of it is but some of the dialogue isn't centered and some of the "CUT TO" type stuff is centered as if it were dialogue. I exported it as HTML anyway, just in case, and it looks the same as in Celtx.

I'm lost. How do I edit and enter the CSS to the HTML file?

Sorry for being such a n00b, believe me, I hate it more than you do!

Last edited by feralicious; 06-21-2011 at 10:10 PM.
feralicious is offline   Reply With Quote