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

Command line flag to toggle page numbers #46

Open
rnkn opened this issue Nov 23, 2020 · 2 comments
Open

Command line flag to toggle page numbers #46

rnkn opened this issue Nov 23, 2020 · 2 comments

Comments

@rnkn
Copy link

rnkn commented Nov 23, 2020

Is your feature request related to a problem? Please describe.

There are scenarios where it may be preferable not to include page numbers in the PDF instead of including incorrect page numbers, e.g. when exporting a subset of scenes/pages to replace outdated pages.

Describe the solution you'd like

The addition of a command line boolean flag to toggle page numbers e.g.

$ wrap pdf My-Screenplay.fountain --no-page-numbers

Describe alternatives you've considered

I think the main alternative is afterwriting CLI , which uses the format:

$ afterwriting [FLAGS] --setting show_page_numbers=false

Additional context

The prospect of exporting replacement pages from Fountain implies the notion of page-locking, something which Fountain is supposedly incapable of achieving. Some years ago I suggested a small extension of the page break specification to enable "forced page numbers", which, in theory, would allow page locking. The thread is here: https://groups.google.com/g/fountain-dev/c/W_cAivCNhIk

Although the suggestion was well received, it was never implemented, and the development of the Fountain specification seems to have then fragmented between Fountain 1.1 and the (now quite separate) Highland format.

So page-locking remains in a kind of limbo.

@eprovst
Copy link
Owner

eprovst commented Nov 23, 2020

There is indeed no way of forcing page numbers.

We could add some syntax for this to the Wrap format (probably best to follow suit with Highland or other popular tools if they have something like this) and use the same kind of logic for pagenumbers as we do for scene numbers. 🙂

@rnkn
Copy link
Author

rnkn commented Nov 23, 2020

The syntax I suggested to force page numbers is just the existing page break syntax plus an alphanumeric string, with any right-side = ignored (for aesthetic purposes only), e.g.

===  12
===20===
==== 76A ====

But this is a bit off-topic for the initial feature of a --no-page-numbers type flag.

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