aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--screenplain/export/pdf.py10
-rwxr-xr-xsetup.py2
2 files changed, 6 insertions, 6 deletions
diff --git a/screenplain/export/pdf.py b/screenplain/export/pdf.py
index 81fe81b..a22b933 100644
--- a/screenplain/export/pdf.py
+++ b/screenplain/export/pdf.py
@@ -51,7 +51,7 @@ default_style = ParagraphStyle(
leftIndent=0,
rightIndent=0,
)
-default_centered_style = ParagraphStyle(
+centered_style = ParagraphStyle(
'default-centered', default_style,
alignment=TA_CENTER,
)
@@ -182,10 +182,10 @@ def get_title_page_story(screenplay):
title_story = []
title_height = sum((
add_lines(title_story, 'Title', title_style),
- add_lines(title_story, 'Credit', default_centered_style, space_before=12),
- add_lines(title_story, 'Author', default_centered_style),
- add_lines(title_story, 'Authors', default_centered_style),
- add_lines(title_story, 'Source', default_centered_style),
+ add_lines(title_story, 'Credit', centered_style, space_before=12),
+ add_lines(title_story, 'Author', centered_style),
+ add_lines(title_story, 'Authors', centered_style),
+ add_lines(title_story, 'Source', centered_style),
))
lower_story = []
diff --git a/setup.py b/setup.py
index 4d17941..e4ad1ab 100755
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ from distutils.core import setup
setup(
name='screenplain',
- version='0.3.2',
+ version='0.4.0',
description='Convert text file to viewable screenplay.',
author='Martin Vilcans',
author_email='screenplain@librador.com',