|
|
|
@ -10,7 +10,7 @@ import (
|
|
|
|
|
//optionally followed by a colon and space and the actual contents of that element.
|
|
|
|
|
//Special elements exist: newpage, titlepage and metasection.
|
|
|
|
|
//These elements trigger pdf creation instructions.
|
|
|
|
|
func Parse(file io.Reader) (out Screenplay) {
|
|
|
|
|
func Parse(file io.Reader) (out Document) {
|
|
|
|
|
f := bufio.NewReader(file)
|
|
|
|
|
var err error
|
|
|
|
|
var s string
|
|
|
|
|