Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page # support in HTML output #9

Open
onitreb opened this issue Jul 21, 2014 · 2 comments
Open

Page # support in HTML output #9

onitreb opened this issue Jul 21, 2014 · 2 comments

Comments

@onitreb
Copy link

onitreb commented Jul 21, 2014

Hi, screenplain is a terrific tool. Thank you.

I'm not sure if page breaks are the same as page #'s, but @ www.screenplain.com neither appear in the HTML output. Is it because it would be weird on a continuous HTML page?

One of the trickiest parts about writing in fountain is never knowing what TRUE page you are on. Personally, even if it looked funky, it would be useful to see page #'s in the HTML output.

I imagine you would implement page #'s when you get PDF export working, correct?

Thanks!

@vilcans
Copy link
Owner

vilcans commented Jul 22, 2014

Thanks for liking Screenplain! I guess it would be possible to include page numbers in HTML output, but that would be going a bit against how HTML works, as a page is just one single tall page. The tricky part is that to add page numbers to the HTML, Screenplain would have to know where each page begins and ends, and currently it doesn't. This is not trivial to solve in HTML, especially without adding browser-based Javascript to the page. For PDF output, it would be more natural though. Word wrapping and widow/orphan handling is one of the reasons I haven't implemented PDF output yet, but once that's solved it shouldn't be hard to add to the HTML output (although it may look ugly).

@onitreb
Copy link
Author

onitreb commented Jul 23, 2014

Excellent. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants