OK, try again...
- Create the TXT file with XPDF's pdftotext.exe program
Code:
pdftotext -layout screenplay_in.pdf screenplay_out.txt
- Open the output TXT file in a text editor. Make sure the text visually resembles the PDF layout (leading spaces etc)
- Add this html code before the first line of the screenplay text
Code:
<html>
<head>
<title>Screenplay title</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<pre>
- Add this html code after the last line of the screenplay text
Code:
</pre>
</body>
</html>
- Save the file as screenplay.html
- Import screenplay.html into calibre (which will turn it into a ZIP file)
- Convert zip --> epub. No special conversion options required. The <pre> tags should make sure the epub displays in your monospace font.
- Send epub to PRST1 and display in landscape orientation for best results.
P.S. This is one way of doing it and should not be considered as the 'One True Way'