derickc / fountainhead Goto Github PK
View Code? Open in Web Editor NEWContextual Sublime Text screenwriting environment using the Fountain screenplay syntax.
Home Page: http://classicblunders.com/fountainhead/
License: Other
Contextual Sublime Text screenwriting environment using the Fountain screenplay syntax.
Home Page: http://classicblunders.com/fountainhead/
License: Other
I see no changes in years and many issues not solved.
Thanks
The transition that doesn't work is ">CUT VERS:". The weird thing is that it is recognized as a transition if i remove the ":".
I noticed that the built in character and scene list also does not work probably. It shows the characters / scenes, but if I press enter, it puts in the last selected character / scene (or non, if it was opened the first time). This happens in Linux only, like it seems. In windows it works well.
Sublime Text 3 package that provides a screenwriting environment using the Fountain markup syntax.
Inspired by Jonathan Poritsky's Fountain for Sublime Text package.
Note: Works best with Sublime Text 3.
Tools > Command Palette
(⇧⌘P).View > Syntax > Open all with current extension as >Fountainhead
.Spell checking happens for incomplete words as you type them, thus everything you enter is marked in red until the word is complete. This is very distracting.
In other word processors, spell checking does not occur until the word is actually finished (ie. after you type the word plus a non-alphabetic character.)
Suggest to do the same here.
Shift+Space creates a newline with Fountainhead. This happens if you are holding down Shift to write a headline, or if you're simply a bit slow with releasing Shift after writing an uppercase word.
This happens to me all the time and is very annoying. I see no reason why Shift+Space should create a newline, then you can simply press Enter, right? Can this please be changed soon so Shift+Space simply inserts a space like any other mode (or text editor for that matter)?
Good evening. Can I set a background only at transitions (text starting with ">")? I tried to change certain values in the color scheme files, but if I change the action centered one, the whole background changes. Thank you.
Lots of sublime users might be using base16 color based themes like spacegray. I hope there will be base16 ocean dark, ocean light, or eighties so fountain syntax highlighting will blend smoothly with the theme.
After upgrading to Sublime build 3103, I cannot change colour schemes anymore, neither from the Preferences menu or with the colour cycling plugin "Schemr".
Open tabs with other syntaxes change color just fine, while Fountainhead tabs are locked to blue background, character names in red, and scene headings in red with yellow background.
Thank you for creating this! I use it on a daily basis.
It might be a bit overkill, but have you taken a look at this?: https://github.com/vilcans/screenplain
Today I found out that there is an
auto-completion feature. That's really great. You will wonder: "Why just
yet and not earlier?" Because: the auto completion window will only pop
up automatically when there is text AFTER the actual cursor. Otherwise I
have to press the combination for bringing up the auto completion list.
I have a .txt
file containing some text notes under uppercase headings. This is not a screenplay, still it is opened in Fountainhead mode, though it doesn't have the .fountain
extension.
The default settings say "extensions": ["fountain"]
, thus I would assume that only files with the .fountain
extension should be opened with Fountainhead syntax.
Or is there some kind of file content recognition that guesses the file to be a screenplay because of the uppercase headings and other similarities? If so, I would like to turn this off.
It seems best if only files with a .fountain
extension are opened in Fountain mode, without any fancy content guessing going on.
Seems like when writing in Cyrillic characters autocomplete function doesn't work.
When switching to a .fountain
file which has several thousand lines (not uncommon for a screenplay), there is a noticeable delay of about a second when switching to the tab containing the screenplay.
Can performance please be improved so switching is instant for any reasonable screenplay length (up to 10.000 lines which corresponds to 3 hours of film.)
In lists:
Character names with accented letters get ignored, but char. list works.
EDIT: If I force a character using @ the char. list will break like the scene list.
Scene names with accented letters stop the script from working, scene list doesn't work at all.
(the generated .sublime-completions files are broken)
Formatting:
Character formatting doesn't work if name contains accented letter, name is ignored, and con't is appended to the previous character when doing dialog. Forcing with @ is a viable workaround.
Scene formatting works with accented letters.
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 303, in on_activated
callback.on_activated(v)
File ".../Sublime Text 3/Packages/Fountainhead/characters.py", line 179, in on_activated
completions.write('"%s",' % character)
UnicodeEncodeError: 'ascii' codec can't encode character '\xc1' in position 9: ordinal not in range(128)
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 303, in on_activated
callback.on_activated(v)
File ".../Sublime Text 3/Packages/Fountainhead/scenes.py", line 147, in on_activated
completions.write('"%s",' % scene)
UnicodeEncodeError: 'ascii' codec can't encode character '\xe1' in position 12: ordinal not in range(128)
Error loading completion: Error trying to parse file: Expected character in Packages/User/Fountainhead/Characters.sublime-completions:5:4
Error loading completion: Error trying to parse file: Expected character in Packages/User/Fountainhead/Scenes.sublime-completions:5:4
Truly appreciate you making this. Having used most implementations of Fountain, yours is the one I return to time and again.
So here's the ask, would you consider adding folding by #Heading and Slugline? Not asking simply for aesthetics, although it is pretty. It's provides a very useful overview of a long draft and helps to gauge structure, rhythm, and pace.
Thank you for considering this request.
Hi,
I recently installed the Fountainhead plugin for Sublime 3 and I love it! I also discovered that whenever I open a text file from Finder, it will open it with Fountainhead encoding.
I checked both default and user settings and under "Extension", it only lists "fountain". I'm not sure why Fountainhead is registering ".txt".
Any help is very appreciated and thank you for the great work!
Best,
-Wey
For some .fountain
files, the status line updates frenetically every time I type a character. This is very distracting.
Normally, it says something "Line 5, Column 1", then when I type a character, this text is indented maybe 100 pixels, and there is some text in front for a blink of a second, so it's impossible to read.
It does not happen for all .fountain
files. I have not been able to see any pattern as to which files that provoke the error. I also think this started happening after the new 3103 release.
I copy-pasted material from Final Draft, which uses "(CONT’D)" with a fancy apostrophe:
PERSON (CONT’D)
When editing the line, it ended up like this:
PERSON (CONT’D) (CONT'D)
Should be easily solvable by adding variants of the apostrophe to the pattern matching.
Sublime Text 3 was updated yesterday to build 3103. After this, Fountainhead stopped working. The following error message occur in my console. How can this be fixed?
no such context .lyrics in Packages/Fountainhead/Fountainhead.tmLanguage
error: Error loading syntax file "Packages/Fountainhead/Fountainhead.tmLanguage": Error in regex: unmatched close parenthesis in regex )
When checking the Ctrl
+Space
list of autocompletions, characters and scenes are fine; but when autocompleting a character name with Tab
key, it only completes the word in question, but not the character's full name.
To reproduce set a character as CAPTAIN AMERICA and write a dialog. Then try to write another dialog by starting with CAPT
and press Tab
. It will autocomplete CAPTAIN
but won't add AMERICA
after it (note the space before AMERICA
). Pressing Tab
again will cycle among words that are similar to the written one that are present in the script (eg: CAPTAIN
→ Capable
→ capybara
).
I'm getting the following warning in Sublime Text 3 console:
warning: mnemonic f not found in menu caption Fountainhead
I'm not sure if it breaks some functionality of Fountainhead though.
Hi there.
First off, thanks for this! I'm monkeying around with sublime and with atom and trying to land on which I'll use most and your package may be swinging things.
I was wondering if there was a way to specify a different color for actions vs dialogue? Thanks very much!
First let me say congrats on the great tool! I read through the docs, but didnt see an option to render the fountain markup created? Is a separate processor app of some kind required?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.