Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
screenwriter [2015/06/07 10:08]
slackermedia
screenwriter [2021/06/03 19:48] (current)
Line 1: Line 1:
-screenwriter.el 
  
-The most universal and simple ​solution ​is Screenwriter.el a fork of  + 
-Screenplay.el by Vance L. Simpson. ​This is an excellent screenplay ​(majormode +====== Screenwriter ====== 
-for GNU Emacs that is easy to use, efficient, and will work on any and every + 
-platform that the ubiquitous and revered GNU Emacs works on.+One of the most universal and simple ​solutions for writing screenplays ​is [[http://​www.nongnu.org/​screenwriter|Screenwriter]], ​a fork of  
 +Screenplay-Mode by Vance L. Simpson. ​Screenwriter ​is a plugin for the famous GNU Emacs text editor ​(or in Emacs terminology,​ it is a [major] "mode"). 
 + 
 +Screenwriter mode is easy to use, efficient, and works on any and every platform that the ubiquitous and revered GNU Emacs works on. 
 + 
 + 
 +<WRAP notice prewrap 50%> 
 +<WRAP rightalign>​ 
 +===== Strengths [Weaknesses] ===== 
 +</​WRAP>​ 
 + 
 +**WYSIWIG** 
 + 
 +<WRAP indent>​ 
 +Write screenplays with on-the-fly formatting, but in the universal format of plain text. This is not a markup language, so what you see is what you will get on the page. 
 +</​WRAP>​ 
 + 
 +**Plugin** 
 + 
 +<WRAP indent>​ 
 +Screenwriter is a plugin for an existing popular editor, meaning that there'​s nothing to install aside from one ''​.el''​ file. And if you're using Emacs on a daily basis anyway, this fits nicely in with your existing workflow. 
 +</​WRAP>​ 
 + 
 +**Simple** 
 +<WRAP indent>​ 
 +Emacs is a complex editor, with a high ceiling that frightens many tech-hesitant users, but Screenwriter mode is easy to use and involves only the simplest keyboard shortcuts. 
 +</​WRAP>​ 
 + 
 +<WRAP rightalign>​ 
 +===== Weaknesses [Strengths] ===== 
 +</​WRAP>​ 
 + 
 +**Formatted** 
 + 
 +<WRAP indent>​ 
 +Plain text is eternal, but Screenwriter //does// format the text, so the output is intended for print. It being plain text, the formatting can be easily reversed, but Screenwriter output is not as unstructured as [[fountain|Fountain]] markup. 
 +</​WRAP>​ 
 + 
 +**Emacs** 
 + 
 +<WRAP indent>​ 
 +There'​s no denying that the Emacs interface is unique. Even though Screenwriter uses only the most basic features of Emacs, it's common for users to find complexity in the most unexpected places. For a more familiar interface that acts more like a modern word processor, try [[trelby|Trelby]]. 
 +</​WRAP>​ 
 +</​WRAP>​ 
 + 
 +===== Install =====
  
 If you are running a default install of Slackware, as Slackermedia recommends, If you are running a default install of Slackware, as Slackermedia recommends,
 then you will have Emacs installed already. If you have not installed Emacs, then you will have Emacs installed already. If you have not installed Emacs,
-you will find it in the e package set.+you will find it in the ''​e'' ​package set and is available on your install media, Slackpkg, or directly from a [[http://​mirrors.slackware.com/​slackware|Slackware mirror]].
  
-Installing .el files for Emacs is as simple as placing the .el in a user-owned +Installing ​''​.el'' ​files for Emacs is as simple as placing the ''​.el'' ​in a user-owned 
-~/elisp directory, and then adding that ~/elisp directory into Emacs' load+''​~/elisp'' ​directory, and then adding that ''​~/elisp'' ​directory into Emacs'load
 directory if it is not already there: directory if it is not already there:
  
 <​code>​ <​code>​
 $ mkdir ~/elisp $ mkdir ~/elisp
-$ wget +$ wget http://nongnu.org/​screenwriter/​download/​screenwriter-X.Y.Z.tar.gz 
-http://cvs.savannah.gnu.org/​viewvc/​*checkout*/​screenwriter/​screenwriter/​screenwriter-1.5.tar.bz2 +$ tar -xf screenwriter-X.Y.Z.tar.gz
-$ tar -xf screenwriter-1.5.tar.bz2+
 $ mv ./​screenwriter-mode/​screenwriter.el ~/elisp $ mv ./​screenwriter-mode/​screenwriter.el ~/elisp
- echo "​(add-to-list '​load-path \"​~/​elisp\"​)"​ >> .emacs ​+$ echo "​(add-to-list '​load-path \"​~/​elisp\"​)"​ >> .emacs ​
 $ echo "​(require '​screenplay)"​ >> .emacs $ echo "​(require '​screenplay)"​ >> .emacs
 </​code>​ </​code>​
  
-Start emacs and press meta x, and type screenwriter-mode. You are now in  +===== Usage =====
-screenplay-mode and can start writing in proper screenplay format. Read the +
-comments in ~/​elisp/​screenplay.el for instructions on how to use the +
-application,​ or read on for use and optimization,​ Slackermedia style.+
  
-Using and Optimizing Screenwriter-mode+Start Emacs from either the **K Menu** or from a terminal. Once Emacs is open, press ''​alt''​ ''​x'', ​and type ''​screenwriter-mode''​. You are now in screenplay-mode and can write in proper screenplay format. 
 + 
 +[{{ screenwriter.jpg | Screenwriting in Emacs. }}]
  
 There are three elements in screenplays:​ There are three elements in screenplays:​
  
-  * Slug Lines (scene headings, such as INT. CAFE - NIGHT) +  * Slug Lines scene headings, such as INT. CAFE - NIGHT 
-  * Screen Direction (blocks of action text, wherein the screenwriter describes ​what a character is doing physically during a scene) +  * Screen Direction (or "action") - text describing ​what a character is doing physically during a scene 
-  * Dialogue ​(heavily indented blocks of text in which characters speak)+  * Dialogue ​heavily indented blocks of text in which characters speak 
 +  * Transitions - FADE IN, FADE OUT, DISSOLVE TO, and so on
  
-Accessing each element is done with keyboard commands that can be easily 
-remembered with the mnemonic SAD: 
  
-  * Control-c s Slugline +Accessing each element is done with keyboard commands that can be easily remembered with the mnemonic ​(more or less) **SAD**:
-  * Control-c a Action ​(Screen direction) +
-  ​Control-c d Dialogue+
  
-Additionallyyou can use Control-t to insert Transitions ​(indented and +  * ''​ctrl''​ ''​c''​''​s''​ Slugline 
-capitalized blocks for CUT TO:FADE IN, FADE OUT, and so on).+  * ''​ctrl''​ ''​c'',​ ''​a''​ Action ​(Screen direction) 
 +  * ''​ctrl''​ ''​c''​''​d''​ Dialogue
  
-Whitespace is handled for you, so there is no need to place a blank line 
-between the actor'​s lines, or between a slugline and the beginning of the 
-action, and so on. 
  
-Note+Plus the straggler, and infrequently used:
  
-Alternate keybindings for each element type centers around the tab key:+  * ''​ctrl''​ ''​c'',​ ''​t''​ Transition
  
-  * tab return Slugline 
-  * tab tab return Action 
-  * tab tab tab return Dialogue 
-  * tab tab tab tab return Transition 
  
-Streamlining Screenwriter-mode+Or for refugees of closed source screenwriting applications that used the ''​Tab''​ key for control:
  
-Make screenwriter-mode a quicker launch from within emacs by adding a global +  * ''​tab'',​ ''​return''​ Slugline 
-keyboard shortcut for it, and defining the expected file suffix:+  * ''​tab'',​ ''​tab'',​ ''​return''​ Action 
 +  * ''​tab'',​ ''​tab'',​ ''​tab'',​ ''​return''​ Dialogue 
 +  * ''​tab'',​ ''​tab'',​ ''​tab'',​ ''​tab'',​ ''​return''​ Transition 
 + 
 + 
 +Regardless of how you trigger different line types, whitespace is handled for you; there is no need to explicitly place a blank line between the actor'​s lines, or between a slugline and the beginning of the action, and so on. 
 + 
 +===== Streamlining Screenwriter ===== 
 + 
 +Make ''​screenwriter-mode'' ​a quicker launch from within emacs by adding a global 
 +keyboard shortcut for it, and defining the expected file suffix ​in your ''​~/​.emacs''​ file:
  
 <​code>​ <​code>​
-quick and easy way to enter screenplay-mode+; quick and easy way to enter screenwriter-mode
  
 (global-set-key (kbd "<​f5>"​) (global-set-key (kbd "<​f5>"​)
-'screenplay-mode)+'screenwriter-mode)
  
-; open any file with a .scp or .screenplay ​suffix ​in +; open .scp or .screenplay 
-screenplay-mode+; files in screenwriter-mode
  
-(setq auto-mode-alist (cons '​("​\\.scp"​ . screenplay-mode)+(setq auto-mode-alist (cons '​("​\\.scp"​ . screenwriter-mode)
 auto-mode-alist)) auto-mode-alist))
  
-(setq auto-mode-alist (cons '​("​\\.screenplay"​ . screenplay-mode)+(setq auto-mode-alist (cons '​("​\\.screenplay"​ . screenwriter-mode)
 auto-mode-alist)) auto-mode-alist))
 </​code>​ </​code>​
  
-Save your ''​.emacs''​ file and launch Emacs. Pressing ''​F5''​ should place you in  +Save your ''​.emacs''​ file and launch Emacs. ​ 
-**screenplay-mode**. Pressing ​''​control-c''​ ''​s''​ will start new slugline for you,  + 
-''​control-c''​ ''​a'' ​an action block, ​and ''​control-c''​ ''​d''​ a dialogue block.+Pressing ''​F5''​ should place you in Screenwriter mode.  
 + 
 +Save a sample screenplay (''​sample.scp'',​ for example), and then close Emacs. Open Emacs again and open a file via the **File** menu → **Open File** or by using the ''​ctrl''​ ''​x''​ ''​ctrl''​ ''​f''​ key sequenceOpen your ''​sample.scp''​ and note that Emacs opens it in  
 +''​screenwriter-mode''​
 + 
 +In Dolphin, right-click on ''​sample.scp'' ​and choose ''​Open With Emacs''​. 
 +The file will be opened in ''​screenwriter-mode''​ in Emacs. However, default KDE uses 
 +the much faster single-click method, so it would be nice if single click on any ''​.scp''​ or ''​.screenplay''​ file would open in Emacsand Emacs in turn would start Screenwriter mode. 
 + 
 +Emacs is already set for ''​.scp''​ and ''​.screenplay'',​ so only KDE needs to be configured:​ 
 + 
 +  ​Open ''​System Settings'' ​and click the ''​File Associations''​ icon. 
 +  - Click the **Add...** button on the left of the panel to add new file type. 
 +  - Place your new file type in the **Text** category. It will be placed at the bottom of the text list; select it and configure it on the right side of the panel. 
 +  - You may give your file type a custom icon or just use the default. 
 +  - Define the file extension as both ''​*.scp''​ and ''​*.screenplay''​ (or whatever custom extension you want to use, if neither of these appeal to you). 
 +  ​Give the **Application Preference Order** a sensible set of applications. The documents are in plain text, so they may be opened in any text editor; **Emacs** as the first is obvious, but **Kate** and **KWrite** are likely candidates for fallback applications. 
 +  - Click the **Apply** button in the lower right corner to save your configuration. 
 + 
 +Now if you click on ''​sample.scp'' ​from Dolphin, KDE will open the file in Emacs, and Emacs will enter screenwriter-mode upon detecting the ''​.scp''​ suffix. 
 + 
 +You now have screenplay authoring program for Slackermedia,​ and quite likely for any other platform you could possibly run. 
 + 
 +====== Screenplay-Tools ======
  
-Save sample screenplay (sample.scpfor example), and then close EmacsOpen  +The ''​screenplay-tools''​ suite is set of shell scripts to help with page breakdownsscheduling, and planning a shootThey are bundled with ''​screenwriter-mode''​ but do not run in Emacs. ​They run in a terminal.
-Emacs again and open a file via the File menu or by using the control-x  +
-control-f key sequenceOpen your sample.scp and note that Emacs opens it in  +
-screenplay-mode.+
  
-In Dolphin, you can right-click on sample.scp and choose to Open With Emacs, +Full documentation is included ​in the downloadand also on [[http://​www.nongnu.org/​screenwriter/​tools/​intro.html]].
-and it will be opened ​in screenplay-mode in Emacs. However, default KDE uses +
-the much faster single-click methodso it would be nice if a single click on +
-any .scp or .screenplay file would open prompt KDE to launch Emacs, and Emacs +
-in turn to open in screenplay mode.+
  
-Emacs is already set for .scp and .screenplay,​ so only KDE now needs to be +<WRAP tip> 
-configured:+**See Also** \\ 
 +[[trelby|Trelby]] \\ 
 +[[fountain|Fountain]] 
 +</​WRAP>​
  
-  -Open System Settings; open it and select the File Associations panel. 
-  -Click the Add... button on the left of the panel to add a new file type. 
-  -Place it in the Text category. It will be placed at the bottom of the text list; select it and configure it on the right side of the panel. 
-  -You may give it a custom icon, such as something from the Oxygen Icon set that suggests movies or the default Emacs Document icon, and define the file extension as both *.scp and *.screenplay. 
-  -Give the Application Preference Order a sensible set of applications. The documents are in plain text, so they may be opened in any text editor; Emacs as the first is obvious, Kate and KWrite are likely candidates for fallback applications. 
-  -Click the Apply button in the lower right corner to save your configuration. 
  
-Now if you click on sample.scp from Dolphin, KDE will open it in Emacs, and Emacs will enter screenwriter-mode.+<WRAP centeralign>​ 
 +<wrap fa>​[[screencapture|R]]</​wrap>​ <wrap fa>​[[start|S]]</​wrap>​ <wrap fa>​[[scribus|Q]]</​wrap>​ 
 +</​WRAP>​
  
-You now have a screenplay authoring program for Slackermedia,​ and quite likely for any other platform you possibly run.