sf_code
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sf_code [2025/01/08 04:15] – [Subtitle] jeffd | sf_code [2025/01/08 22:42] (current) – jeffd | ||
---|---|---|---|
Line 3: | Line 3: | ||
SF (Stefano) is our language for writing scenes. | SF (Stefano) is our language for writing scenes. | ||
- | There is a proper spacing style, but the parser only cares whether or not some amount | + | This isn't the only language you should use while writing |
- | ------ | + | See: [[SF Code Syntax]] |
- | + | ||
- | ==== Script Title ==== | + | |
- | < | + | |
- | SCRIPT TITLE | + | |
- | ------ ----- | + | |
- | </ | + | |
- | + | ||
- | A Script Title is the first item on the Title Page of a script. | + | |
- | + | ||
- | ==== Subtitle ==== | + | |
- | + | ||
- | + | ||
- | < | + | |
- | SCRIPT TITLE | + | |
- | ------ ----- | + | |
- | + | ||
- | | + | |
- | + | ||
- | | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | Subtitle lines are any indented lines following the Script Title, and may begin with or include between them single blank lines. | + | |
- | + | ||
- | === Title Page Credit === | + | |
- | + | ||
- | In the following example, blank lines are counted in parenthesis. | + | |
- | < | + | |
- | (1 blank) | + | |
- | (2 blanks minimum) | + | |
- | (x=3 blanks) | + | |
- | Written by | + | |
- | (1 blank) | + | |
- | (y=2 blanks) | + | |
- | Jeff Day | + | |
- | (z=1 blank) | + | |
- | & | + | |
- | (1 blank) | + | |
- | | + | |
- | | + | |
- | (1 blank) | + | |
- | (2 blanks) | + | |
- | (3 blanks) | + | |
- | Directed by | + | |
- | (z=1 blank) | + | |
- | Jeff Day | + | |
- | (1 blank) | + | |
- | (2 blank) | + | |
- | (3 blank) | + | |
- | (4 blank, >Y and >Z, end!) | + | |
- | </ | + | |
- | + | ||
- | The first non-blank line in the **Title Page Credit** context is indented and contains the description of the role. It is followed by any number of blank lines, which are counted and become temporary value Y. | + | |
- | + | ||
- | Next are credited names assigned to the role. There may also be throw-away lines containing "&" | + | |
- | + | ||
- | If Y=Z, once the blank line counter is greater than Y, the next non-blank indented line begins a new **Title Page Credit**. | + | |
- | + | ||
- | If Z has been established, | + | |
----- | ----- | ||
- | === Title Page Footer === | + | When SF Code is processed |
- | + | ||
- | < | + | |
- | FIRST DRAFT | + | |
- | Jan 8, 2025 | + | |
- | (C) 2025 Jeffrey R. Day. | + | |
- | + | ||
- | ** | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | Any amount of additional indented or unindented text, including single or double blank lines, and including lines beginning with parenthesis, | + | |
- | + | ||
- | === End of Title Page === | + | |
- | + | ||
- | < | + | |
- | ** End of Title Page | + | |
- | </ | + | |
- | + | ||
- | The first line, whether indented or not, that begins with a non-parenthesis, | + | |
- | + | ||
- | ===== Left Margin (Scene Numbers or Labels) ===== | + | |
- | + | ||
- | Any text on the left margin is considered a Scene Number or Scene Label. | + | |
- | + | ||
- | In proper indentation, | + | |
- | + | ||
- | < | + | |
- | 1. EXT. COURTHOUSE | + | |
- | </ | + | |
- | + | ||
- | ----- | + | |
- | + | ||
- | ===== Indented Content ===== | + | |
- | + | ||
- | All regular content has at least one space of indentation preceding it. | + | |
- | + | ||
- | ==== Page Number ==== | + | |
- | + | ||
- | < | + | |
- | 2. | + | |
- | </ | + | |
- | + | ||
- | A number, higher than 1, with a period. | + | |
- | + | ||
- | In proper indentation, | + | |
- | + | ||
- | ----- | + | |
- | + | ||
- | ==== Scene Heading, Sub-Header, or Shot ==== | + | |
- | + | ||
- | < | + | |
- | 1. EXT. COURTHOUSE | + | |
- | </ | + | |
- | + | ||
- | ALL UPPERCASE. | + | |
- | + | ||
- | Once specified, | + | |
- | + | ||
- | If the text begins with either INT. or EXT, or INT/EXT. or EXT/INT.. it is a Scene Heading, otherwise it is a Sub-Header or Shot: | + | |
- | + | ||
- | < | + | |
- | HALLWAY | + | |
- | </ | + | |
- | + | ||
- | Sub-Headers and Shots are used for moving between locations, camera angles, or points | + | |
- | + | ||
- | In proper indentation, | + | |
- | + | ||
- | === Action === | + | |
- | + | ||
- | < | + | |
- | + | ||
- | The room is dimly lit with only a flickering candle. | + | |
- | </ | + | |
- | + | ||
- | Mixed case. When not jointly expressed with a Scene Heading, Sub-Header, or Shot, it always follows after a blank line. | + | |
- | + | ||
- | In proper indentation, | + | |
- | + | ||
- | When combined with a Section Heading, there is no blank line before it, and it looks like this: | + | |
- | + | ||
- | < | + | |
- | 1. EXT. COURTHOUSE - NIGHT: | + | |
- | </ | + | |
- | + | ||
- | As this continues after a Scene Heading, there is no associated indentation. | + | |
- | + | ||
- | ----- | + | |
- | + | ||
- | ==== Character ==== | + | |
- | + | ||
- | < | + | |
- | PHILIP MARLOWE (V.O.) | + | |
- | | + | |
- | </ | + | |
- | + | ||
- | Always follows after a blank line. Uppercase, but may optionally be followed by an extension in parenthesis. | + | |
- | + | ||
- | In proper indentation, | + | |
- | + | ||
- | === Parenthetical === | + | |
- | + | ||
- | < | + | |
- | PHILIP MARLOWE (V.O.) | + | |
- | | + | |
- | </ | + | |
- | + | ||
- | Part of the **Dialogue Context** only. May cross multiple lines, but always begins with an open parenthesis as the first non-space character on the line. | + | |
- | + | ||
- | In proper indentation, | + | |
- | + | ||
- | === Dialogue === | + | |
- | + | ||
- | < | + | |
- | PHILIP MARLOWE | + | |
- | Of all the office doors in all the back | + | |
- | alleys of all of west L. A., what | + | |
- | makes a broad like you come waltzing | + | |
- | into mine? | + | |
- | </ | + | |
- | + | ||
- | Part of the **Dialogue Context** only. May cross multiple lines. | + | |
- | + | ||
- | In proper indentation, | + | |
- | + | ||
- | ----- | + | |
- | + | ||
- | ==== Introduction of Quoted Material ==== | + | |
- | + | ||
- | Any mixed-case line ending in a colon. | + | |
- | + | ||
- | < | + | |
- | The sign reads: | + | |
- | + | ||
- | " | + | |
- | </ | + | |
- | + | ||
- | In proper indentation, | + | |
- | + | ||
- | === Quoted Material === | + | |
- | + | ||
- | While in **Quoted Material Context**, all lines are considered part of the Quoted Material. | + | |
- | + | ||
- | **Quoted Material Context** remains open until a line ends with a colon, or ends with punctuation including a colon, unless suspended by a page break (or another page break), or by a Scene Number or Label. | + | |
- | + | ||
- | < | + | |
- | " | + | |
- | | + | |
- | </ | + | |
- | + | ||
- | In proper indentation, | + | |
- | + | ||
- | ----- | + | |
- | + | ||
- | ==== Transition ==== | + | |
- | + | ||
- | All uppercase followed by a colon, such as "CUT TO:", or all uppercase enclosed in parenthesis, | + | |
- | + | ||
- | < | + | |
- | | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | In proper indentation, | + | |
- | + | ||
- | ==== Intercut ==== | + | |
- | + | ||
- | There are two ways of specifying an intercut. | + | |
- | + | ||
- | < | + | |
- | + | ||
- | INTERCUT PHILIP MARLOWE / MOTEL OWNER | + | |
- | </ | + | |
- | + | ||
- | Intercut may also be achieved as a Transition reading " | + | |
- | + | ||
- | ===== Outlying Concerns ===== | + | |
- | + | ||
- | < | + | |
- | Mixed caps: A THING. | + | |
- | (followed by blank line) | + | |
- | </ | + | |
- | + | ||
- | In the above case, "A THING." | + | |
- | < | + | INT. " |
- | Mixed caps. A THING: | + | |
- | (continues parsing as a normal transition) | + | |
- | </ | + | |
- | < | + | EXT. LUMBERDALE HIGH SCHOOL/FOOTBALL FIELD - DAY |
- | Mixed caps: A THING: | + | |
- | (continues parsing as a normal transition) | + | |
- | </code> | + | |
- | < | + | When a slash is used, it divides a primary location from a sub area which is part of or within the main area. |
- | Mixed caps. (A THING) | + | |
- | (continues parsing as a normal | + | |
- | </ | + | |
- | < | ||
- | Mixed caps: (A THING) | ||
- | (continues parsing as a normal transition) | ||
- | </ | ||
- | In the above four cases, "A THING:" |
sf_code.1736338540.txt.gz · Last modified: 2025/01/08 04:15 by jeffd