View Single Post
Old 11-05-2010, 02:25 PM   #8
alanjay
Member
alanjay began at the beginning.
 
Posts: 16
Karma: 42
Join Date: Oct 2010
Device: kindle
Quote:
Originally Posted by Scurzuzu View Post
I briefly experimented with something similar last summer. However, in my experiment I used an HTML screenplay, not a PDF document, so I don't know if it will work for you.

http://booksprung.com/how-to-format-...for-the-kindle

The short version: import your HTML screenplay into Celtx (or maybe Final Draft, I dunno), export and clean up any bad tags, swap out the CSS, and then import into Calibre and use that program to convert to a Kindle-friendly .mobi format. Good luck.
Very interesting and thanks - that definitely is an improvement the trick is definitely using celtx which does a good job on the HTML output which you can then use CSS to format.

Code:
body {
font-family: "Courier New", Monospace;}

p.character {
margin-left: 30%;
}

p.parenthetical {
margin-left: 24%; margin-right: 20%;
}

p.dialog {
margin-left: 12%; margin-right: 20%px;
}

p.sceneheading:before {
margin-bottom: -16px ! important;
}

p.sceneheading:after {
margin-top: -16px ! important;
}
Also you can just add this into Calibres "Look and Feel" css section. I need to have a bit more of a play but the current version of celtx seems to format HTML with a number of CSS elements:


Code:
action
 - sceneheading
 - character
 - dialog
 - parenthetical
And so probably adding an action element might work better but overall if you have a text / html script version this works well.

Now to work out how to do the same with a PDF
alanjay is offline   Reply With Quote