-
Notifications
You must be signed in to change notification settings - Fork 16
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
Suggestion: Implement a non breaking way for page locking. #143
Comments
Something like this? https://groups.google.com/g/fountain-dev/c/W_cAivCNhIk |
How would that work with fountain-mode? |
At the moment the only implementation is that the page break regular expression allows for the forced page break:
So calling There are two functionalities yet to be implemented:
The reason I haven't implemented this is that although I feel like we reached a consensus for the syntax on the fountain-dev mailing list, the syntax was never officially adopted. And John seems to have moved away from an official spec with Highland. I'm not sure what the story is here and I don't really want to push. If the response I get from #144 is positive I will try again to get forced page numbering adopted in other Fountain apps. I've added the original suggestion and relevant feedback here: #145 The question of how this will permit page locking, I think if X- headers are adopted, we simple insert forced page breaks then add one of the following:
|
Interesting, if this does go through, does that mean revision colors are also a possibility? |
Kinda depends on how you see that working. Do you mean just syntax highlighting or something semantic to the content? Btw upon a closer read of the spec it turns out the X- header idea is redundant; any unknown header is supposed to be ignored. |
I realise I didn't really respond to this. The pagination logic is already there, it's how the (goto-char (point-min))
(while (< (point) (point-max))
(fountain-move-forward-page)
(unless (eobp)
(fountain-insert-page-break))) It's just a matter of me implementing the user-facing parts. |
If I could add to the revision marks discussion, textplay uses diff files for adding in what to consider a revision mark and when converting to HTML or PDF, it colorizes that. |
@sattelitecr as far as the internal PDF export via Troff goes, Troff has the request |
I have a proposal. There is no built in means in the spec for page locking, but what if we allowed pages to be 'locked' that won't break things in other editors. Any page that needs to be locked, add a boneyard directly next to the page break
===
or the scene such as/*Locked*/
literally spelt that, and it can renumber everything following scene 2 as 2A, 2B, 2C.The text was updated successfully, but these errors were encountered: