Git Product home page Git Product logo

fountainhead's People

Contributors

arikrupnik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fountainhead's Issues

Parse out scene headings

Break EXT. LOCATION - DAY into

<scene-heading>
  <type>EXT.</type>
  <location>LOCATION</location>
  <time>DAY</time>
</scene-heading>

Need to look into more complex cases--parenthesis, more than one dash, etc.

Double space at the end of a line to prevent line folding in semantic line mode

In semantic linebreak mode, Fountainhead follows the Markdown convention of treating adjacent lines as parts of the same paragraph. It is desirable to follow the Markdown feature that allows the author to force a linebreak if a line terminates in two spaces.

Here's an example from the Fountain spec. Note the two spaces after "long beat. " in the second line.

They drink long and well from the beers.

And then there's a long beat.  
Longer than is funny.
Long enough to be depressing.

The men look at each other.

With semantic linebreaks option, Fountainhead parses this so:

<fountain><action>They drink long and well from the beers.

And then there's a long beat.   Longer than is funny. Long enough to be depressing.

The men look at each other.</action></fountain>

The desirable interpretation is:

<fountain><action>They drink long and well from the beers.

And then there's a long beat.
Longer than is funny. Long enough to be depressing.

The men look at each other.</action></fountain>

Acceptance tests

Create tests/*ftx that contain correct parse results for tests/*fountain and tests/Makefile to verify automatically that fountainhead.py results match these expectations.

Empty <action/> elements

Empty elements appear where insignificant empty lines appear in the source .fountain.

Examples:

A file's last significant element is dialogue, and the file has a trailing new line. The new line becomes <action/>

From tests/character.fountain:

CHARACTER
Line


.dual dialogue

This becomes (note at the end of the first scene):

<fountain>
  <synopsis>character lines with extensions, dual dialogue</synopsis>
  <scene><scene-heading><location>regular dialogue</location></scene-heading>
    <dialogue><character><name>CHARACTER</name></character>
      <line>Line</line>
    </dialogue>
    <action/>
  </scene>
  <scene>
    <scene-heading><location>dual dialogue</location></scene-heading>

Add markup syntax for screenplay breakdown

It is desirable to designate words in Action elements as referring to specific props, characters, effects, etc. for breaking down a script. The goal is to have a list of props, actors, etc., for every scene.

Each of these props, characters, locations, etc., may have it's own page with descriptions, photos, notes. It may say whether the item is available or if the production is still looking for it. This requires specifying a format (and presumably directory layout) for these supplementary materials as well as for the output.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.