Aqueduct is a python program designed to convert screenplays written in Fountain markup language (http://fountain.io/) into XML, LaTeX or XML. Other Formats can be implemented creating new AqueductDrivers.
From command line
aqueduct.py <inputfile.funtain> <output format>
It will print on standard output result XML
- XML (format=xml)
- LaTeX (format=latex)
- HTML print-friendly (format=html)
Test as much you can. Report bugs. Aqueduct is free under GPL v3 license.