-
Notifications
You must be signed in to change notification settings - Fork 1
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
Error when splitting without closing reference tag #3
Comments
Let me know what you think of this Gist |
+1 for optional closing tags. |
In the example in this ticket's description, you have However, in the gist, the entire This seems inconsistent to me, and it's one of a few examples in the file where it's not clear to me what the correct behaviour should be. I also don't like auto-numbered files because they don't play nice with source control (and even if you aren't using proper source control for your screenplay, if you're using Dropbox or something like it, you get file history for free, which this would interfere with). There's also the matter of not being able to look at the "joined" screenplay file and determine which smaller file to edit, without first opening the manifest, which feels wrong to me. I also think that you end up with a better, more useful manifest file if you need to be deliberate about placing closing tags. I know that this would be an optional feature, but I'm still not convinced that it adds more value than the complexity it introduces. |
Ah yeah I tried to make the gist complicated to try cover all bases. Probably wasn't a good idea because I appear to have confused myself. My examples are indeed inconsistent. The upper part of the gist was supposed to be the very messy way a very messy writer might attempt to use the syntax. I don't now what I was thinking with the lower gist section (so I've now removed it). I think the crux of my somewhat fractured thinking was two separate but related ideas. The first is optional closing tags; the second is optional filename specification. Considering I managed to easily confuse myself with optional filename specification, and the the source control issues it presents, let's dismiss that idea outright. To simplify, what if an opening
....becomes...
In this way, opening directives still need to be closed, but can be closed in a simpler fashion. |
This sounds a lot more sane to me. Does this introduce any issues with going in the reverse direction? (And back-and-forth-and-back-again?) If anyone wants to take a stab at implementing this, feel free :) |
I'd only propose that the writer can be lazy in adding closing I guess this means a user can
would be equivalent to
I can take a stab at implementing, although fair warning, my python skills are weak, the stabs wounds may be messy and ineffectual. |
Great idea -- having |
Sorry to dust off something from the distant past; I actually use Makefiles for joining projects these days, so for the sake of housekeeping you can close this if you like. |
I wanted to push Mountain to breaking point, because I'm a jerk, sorry.
I feel like the syntax for splitting a screenplay should allow the writer not to need closing tags, e.g. the following throws an error:
Ideally, I'd like the writer to be able to think "I'll just split this monster into smaller chunks" and go through pasting a stupidly simple tag. Even something like...
And Mountain would chug on through, splitting into three *.fountain files, automatically numbered:
screenplay-ref1.fountain
:screenplay-ref2.fountain
:the-end.fountain
:(Where
split
is an alias forreference
.)I have some ideas about how to make the above syntax compatible with the rather genius way that Mountain can run
join
andsplit
back and forth over the same files, but I figure my above ideas are annoying enough already!The text was updated successfully, but these errors were encountered: