Coder Social home page Coder Social logo

fountain-atom's People

Contributors

benthillerkus avatar chipgw avatar dependabot[bot] avatar jrbostic avatar kevinashworth avatar morekitsch avatar superlou avatar tilix4 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fountain-atom's Issues

Q: How to add custom class for each character dialog lines?

Hi,

I would love to be able to have dedicated color for each characters names over a dialog line, so I can apply custom style (like colors) to each one of these.

Eg:

JOHN
How are you?

JACK
I'm fine, thank you!

In this case, I could have JOHN in blue and JACK in orange.

How could I inject characters name into the class?
Do you see a better method for doing what I am looking for ?

Thanks !

Character not centered.

The character should be centered on a line of it's own with the dialogue centered under it. I glanced at the code and I didn't see a function for character next to dialogue or title. I'm guessing this got deleted on accident or something. I'd love to output to PDF but I know that's a whole different problem but I can't use this until that function works right. It's an absolute bedrock basic. Thanks for this package Superlou. I'd love to confer with you some more about the preview and hopefully someday the PDF output.

Goodluck

Contributing : first run error "Cannot find module 'underscore-plus'"

Hi, I'm starting to contribute to this project.
I've forked your repository and cloned it in : ~/.atom/dev/packages

Then I run atom -d and it displays this message :

Cannot find module 'underscore-plus'

Here is the stack trace :

Atom: 1.28.2 x64
Electron: 2.0.5
OS: Mac OS X 10.11.6
Thrown From: fountain package 0.7.3

Stack Trace

Failed to activate the fountain package

At Cannot find module 'underscore-plus'

Error: Cannot find module 'underscore-plus'
    at Module._resolveFilename (module.js:543:15)
    at Module._resolveFilename (/Applications/Atom.app/Contents/Resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._resolveFilename (/app.asar/src/module-cache.js:350:52)
    at Function.Module._load (module.js:473:25)
    at Module.require (module.js:586:17)
    at require (/app.asar/src/native-compile-cache.js:47:27)
    at /packages/fountain/lib/fountain-pdf-config-generator.coffee:3:5)
    at /packages/fountain/lib/fountain-pdf-config-generator.coffee:1:1)
    at /packages/fountain/lib/fountain-pdf-config-generator.coffee:1:1)
    at Module._compile (/app.asar/src/native-compile-cache.js:87:30)
    at /app.asar/src/compile-cache.js:235:23)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Module.require (module.js:586:17)
    at require (/app.asar/src/native-compile-cache.js:47:27)
    at /packages/fountain-atom/lib/fountain-pdf-converter.coffee:4:22)
    at /packages/fountain-atom/lib/fountain-pdf-converter.coffee:1:1)
    at /packages/fountain-atom/lib/fountain-pdf-converter.coffee:1:1)
    at Module._compile (/app.asar/src/native-compile-cache.js:87:30)
    at /app.asar/src/compile-cache.js:235:23)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Module.require (module.js:586:17)
    at require (/app.asar/src/native-compile-cache.js:47:27)
    at /packages/fountain-atom/lib/fountain.coffee:3:16)
    at /packages/fountain-atom/lib/fountain.coffee:1:1)
    at /packages/fountain-atom/lib/fountain.coffee:1:1)
    at Module._compile (/app.asar/src/native-compile-cache.js:87:30)

Commands

     -6:55 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)

Non-Core Packages

date 2.1.0 
fountain 0.7.3 
fountain 0.7.3 
markdown-pdf 2.2.0 
pandoc 0.2.2 
pdf-view 0.70.0 

Uncaught TypeError: Cannot read property 'split' of undefined

I'm trying to use the PDF output generator built into the Fountain package and it doesn't work at all. It'd rather throw an error.

Steps to reproduce:

  1. Make a Fountain document. Put some basic text into it. (Mine has a title page and some basic action and a scene header, but no dialogue.)
  2. Hit Ctrl-Shift-m.

Atom: 1.21.1 x64
Electron: 1.6.15
OS: Debian GNU/Linux 9
Thrown From: fountain package 0.6.0

Stack Trace

Uncaught TypeError: Cannot read property 'split' of undefined

At /home/alexander/.atom/packages/fountain/lib/fountain.coffee:85

TypeError: Cannot read property 'split' of undefined
    at Object.pdfPreview (/packages/fountain/lib/fountain.coffee:85:84)
    at /packages/fountain/lib/fountain.coffee:32:31)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:381:36)
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:621:22)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:412:28)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/usr/share/atom/resources/app/src/window-event-handler.js:100:42)
    at HTMLDocument.<anonymous> (/usr/share/atom/resources/app/src/window-event-handler.js:3:65)

Commands

  2x -0:35 fountain:preview (input.hidden-input)
  2x -0:04.1.0 editor:newline (input.hidden-input)

Non-Core Packages

fountain 0.6.0 
language-latex 1.1.1 
language-racket 0.4.0 
language-scala 1.1.9 
language-scheme 1.4.0 
pdf-view 0.59.0 
python-tools 0.6.9 

Fr: Resizable and Positionable Outline Preview

Hi,

Currently, Outline Preview width can't be adjusted via click and drag on a edge.

It would be nice if it could.

Also, being able to set it to the left would be nice,

Thanks for listening !

Need to apm publish patch

Something has gotten fouled up with my git or apm or a combination (again). It refuses to use my stored token, and 2-factor auth is preventing me from publishing. @morekitsch, can you check out the trunk, and apm publish patch?

Can't give "synopsis" a syntax highlight in the stylesheet.

I been changing the colors of my fountain syntax highlights but hit a bit of a problem with the "synopsis" as the fountain grammer identify it is "meta.paragraph.text" which is the same as my business. Would like to change the color of the synopsis to be the same as that color of the synopsis text in the Outline View but don't know how to do that now.
In a future update, could "synopsis" have its own syntax highlight?

P.S
Thanks to everyone that are contributing to this amazing project. It has changed my life and made screenwriting more fun and a lot less hassle. Thank you.

Dual Dialog Rendering

Upon further inspection, Dual Dialog appears normally on the PDF output unless the second/right piece of dialog is longer than the first/left... then the second/right dialog overlaps the element below. I found this when using a parenthetical. It appears that the length of the dialog on the right is not factored into the spacing on the PDF output. See the image below for examples.

JILL
Jill Line 1

JACK ^
(tipping his hat politely)
Jack Line 1

JILL
Jill Line 2

JACK ^
Jack Line 2

JILL
Jill Line 3

JACK ^
(tipping his hat)
Jack Line 3

JILL
Jill Line 4

JACK ^
Jack Line 4

JILL
(tipping his hat politely)
Jill Line 5

JACK ^
Jack Line 5

JILL
Jill Line 6

JACK ^
Jack Line 6

JILL
(tipping his hat)
Jill Line 7

JACK ^
Jack Line 7

JILL
Jill Line 8

JACK ^
Jack Line 8

screen shot 2017-11-06 at 21 05 15

Unwanted Text in PDF Preview/Output

I just went to use the PDF preview function and noticed that on the first page of content, after the title page, it inserted the words "Format: Screenplay" at the top of the page.

The text immediate proceeding it was my contact info of the title page:

Contact:
  [email protected]
  4XX.XXX.2XXX

The text immediately following it was a forced transition:

>FADE IN:

A screenshot of the text is attached.

bad text

PDF Export/Print to Pdf

If you could add PDF export that would really streamline the fountain workflow on Linux.
There is a pretty great web app already (MIT License) for this called Afterwriting which you may be able pull from.

Outline view from Sections/Synopsis/notes

Hi superlou,

Thank so much for writing this fountain package it's great to have it in Atom.

I have a feature request for you: an outline view based upon section/synopsis/notes entries in fountain (#section one, ## section two, =synopsis, [[note under symposis]] [[second note]], etc).

This page gives a good example:
http://slugline.co/blog/outlinefromfountain

I don't expect a rendered outline like in the example (right side of the image in the example), more of a working outline navigator (left side of the image in the example) similar to the work you have done with the scene list navigator except containing sections, synopsis, and notes maybe).

I'm trying to write my own version/branch, but I'll be honest I'm not sure I fully understand how things are rendered in Atom(spacepen is depreciated, or it isn't.. I cant tell!! I've also written a few loops that froze Atom :p) I'll keep taking stabs at it, but you'd probably do a better job so I'm tossing this up to you if you feel inclined. A foldable combo of sections+synopsis+notes+scenelists would be amazing (using a tree-view navigator) anyway I'll leave considerations and methods to you if you get inclined to pursue this.

If you really wanted to get crazy you'd look into rearranging order by dragging sections up/down in the tree-view and reflect in the source as block moves, thereby turning the view into a sortable 'index card' like system and making all the other fountain implementations jealous.

PDF Preview does not support Unicode

Fountain is a plain text format, it supports Unicode. But in PDF preview every Cyrillic character is ignored, the output is nothing but punctuation.

Outline is wrong

Scenes can be marked by a leading dot: .INT? SCENE but the outline view ignores that.

Atom switches to pdf preview tab every time fountain file is saved

If someone likes to habitually save often but keep editing the script this can break up the flow, especially since the generation of the pdf takes a second or so everytime.

I would propose that automatic generation should perhaps be a user config option for those crazy kids that save infrequently. Alternatively the pdf preview could be generated but prevent Atom from switching focus to it somehow.

Adding more "diversity" of color to the syntax highlights.

Hi Everybody.
I have felt that having different colors in the fountain syntax highlights has made it so much easier and faster to identify different elements of the screenplay and move around swiftly.
I added a bunch of colors to my stylesheet that I wanted to put forward as proposal for future updates of the Fountain package.

Fully understand that everybody wouldn't choose the same colors as me but by shipping the package with diverse set of colors as a default, the option and benefit of such visual distinction can be apparent and utilized by more users.

What do you guys think?

Here are my injections. See screenshot below.
`*/
atom-text-editor.editor .syntax--entity.syntax--name.syntax--character.syntax--fountain {
color: #6187C3;
font-weight: normal !important;
}
atom-text-editor.editor .syntax--keyword.syntax--other.syntax--heading.syntax--scene.syntax--fountain {
color: #94ba8d;
}
atom-text-editor.editor .syntax--entity.syntax--name.syntax--heading.syntax--scene.syntax--fountain {
color: #94ba8d;
}
atom-text-editor.editor .syntax--string.syntax--other.syntax--dialogue.syntax--parenthetical.syntax--fountain {
color: #75b0b1;
}
atom-text-editor.editor .syntax--string.syntax--other.syntax--dialogue.syntax--fountain{
color: #ad92ad;
}
atom-text-editor.editor .syntax--entity.syntax--other.syntax--transition.syntax--fountain{
color: #c68a75;
}
atom-text-editor.editor .syntax--comment.syntax--note.syntax--fountain {
color: #d0a851;
}
atom-text-editor.editor .syntax--comment.syntax--block.syntax--fountain {
color: #bf616a;
}

atom-text-editor.editor .syntax--string.syntax--other.syntax--title-page.syntax--fountain {
color: #adad92;
}

atom-text-editor.editor .syntax--meta.syntax--paragraph.syntax--text {
color: #b8c0d4;
}
`
screen shot 2018-01-20 at 9 48 29 pm

Fr: Outline preview for all .fountain in a atom project

Hi,

Currently, the outline preview is just for the current .fountain file being edited. So far so good.

However, it could be interested to have such Outline Preview with all sequences of all .fountain files (or at least current file folder). This will help with series writing: you have a .fountain file per episodes, and an outline preview for the whole series. Clicking on sequence could open the related episode into atom, at the sequence position.

I assume this is not a small Fr, but I wanted to share this idea with you. It might interest other people 🐈

Cheers !

fountain package fails to install

Greetings!
I cannot get the fountain package to install on Atom on Windows 10. I had completely uninstalled Atom with IObit Uninstaller, and thus (presumably) removed any files from an old (non-git) version of Atom; then I installed the latest version of Atom.

However, I was able to install the symbols-view package---it installed immediately, without an error.

I'm new to GitHub but I've installed the Windows GitHub desktop app and am able to log onto GitHub with my ID and PW.

The gist of the problem, reported in the messsages, seems to be:

npm ERR! Command failed: git -c core.longpaths=true clone --template=C:\Users\Dave the K.atom.apm_git-remotes_templates --mirror [email protected]:requirejs/text.git C:\Users\Dave the K.atom.apm_git-remotes\git-github-com-requirejs-text-git-e7ab515b

npm ERR! Cloning into bare repository 'C:\Users\Dave the K.atom.apm_git-remotes\git-github-com-requirejs-text-git-e7ab515b'...

npm ERR! Host key verification failed.

npm ERR! fatal: Could not read from remote repository.

npm ERR! Please make sure you have the correct access rights

npm ERR! and the repository exists.

=====================================

Thanks in advance for any help/insight into this problem!

Atom Failed-Install Error Messages.txt

Evaluate appropriateness of Atom-IDE

There are a decent number of features that might overlap Atom-IDE like a filterable outline, context based autocomplete, and syntax errors. Is it crazy to think about making a Fountain language server and letting Atom-IDE handle the GUI aspects?

Special characters are currently unsupported in syntax highlighting

The syntax for Fountain includes special characters to force a syntactic meaning to a line (so . at the beginning of a line forces a scene header, @ forces a character name, ! forces a line to be normal action, etc).

If you could implement those in the highlighting, that would be great.

Thanks.

Uncaught TypeError: Cannot read property '1' of null

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.15.0 x64
Electron: 1.3.13
OS: Mac OS X 10.12.4
Thrown From: fountain package 0.5.3

Stack Trace

Uncaught TypeError: Cannot read property '1' of null

At /Users/aaronmccloud/.atom/packages/fountain/lib/fountain-outline-view.coffee:101

TypeError: Cannot read property '1' of null
    at FountainOutlineView.module.exports.FountainOutlineView.getNestedChildren (/packages/fountain/lib/fountain-outline-view.coffee:101:20)
    at FountainOutlineView.module.exports.FountainOutlineView.findScenes (/packages/fountain/lib/fountain-outline-view.coffee:89:15)
    at FountainOutlineView.module.exports.FountainOutlineView.updateList (/packages/fountain/lib/fountain-outline-view.coffee:41:15)
    at /packages/fountain/lib/fountain-outline-view.coffee:1:1
    at Function.module.exports.Emitter.simpleDispatch (/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
    at /app.asar/node_modules/text-buffer/lib/text-buffer.js:1371:25

Commands

     -5:49.1.0 core:move-up (input.hidden-input)
     -5:48.8.0 core:move-down (input.hidden-input)
     -5:48 core:move-up (input.hidden-input)
     -5:47.5.0 core:move-left (input.hidden-input)
  6x -5:47.3.0 core:select-down (input.hidden-input)
  6x -5:46 core:backspace (input.hidden-input)
     -5:40.5.0 core:save (input.hidden-input)
  4x -4:23 fountain:toggleOutlineView (input.hidden-input)
  2x -3:32.6.0 bracket-matcher:go-to-matching-bracket (input.hidden-input)
  2x -2:41.1.0 fountain:toggleOutlineView (input.hidden-input)
  2x -0:26.6.0 editor:newline (input.hidden-input)
     -0:25.8.0 core:move-up (input.hidden-input)
  3x -0:23.8.0 core:backspace (input.hidden-input)
     -0:17.1.0 core:save (input.hidden-input)
     -0:08.3.0 editor:newline (input.hidden-input)
     -0:06.6.0 core:backspace (input.hidden-input)

Non-Core Packages

cobalt2-syntax 0.5.1 
fountain 0.5.3 
indent-guide-improved 1.4.12 
minimap 4.27.0 
open-recent 5.0.0 
sync-settings 0.8.1 

Feature Request: Setting to Specify Font Used in PDF Preview/Export

This setting was the first thing I looked for after installing the package, before I even began writing. I wanted to set the PDF font to Courier Prime, assuming the package would default to Courier or Courier New. Not being able to find such a setting, and being curious, I exported a test PDF and inspected it (Acrobat: File → Properties → Fonts) to learn it uses Courier Prime by default. Cool for my purposes, but that was just a lucky coincidence.

While the Hollywood standard is 12-point Courier or adjacent, some people might like to:

  • Specify the flavor of Courier they’re used to reading, or that’s required by whomever they’re sending the screenplay to
  • Deviate from the Courier family entirely as a matter of personal taste, as the Coen Brothers do
  • Address accessibility use cases, e.g. a larger font for a vision-impaired actor

So it would be nice if we could specify at least font and font size, and possibly line height.

Menu Toggle Doesn't Work

I'm not sure if the menu Toggle doesn't work or what's up... But I can't get it to do anything obvious. Confused me when I first installed the package. IMO, it should be clarified and/or fixed, or removed. It diminishes user confidence in the package. As a user, I'd like to see two or three items there that initialize the fountain panels.

Outline not working on Ubuntu Linux

I've just installed Atom and Fountain-Atom on Ubuntu 16.10 on an Asus Zenbook. The preview works fine, but the outline has no response from the keyboard.

To confirm, it's ctrl-alt-o with 'o' as in 'opera'?

Using # as Chapter Marker

I love this package, I use fountain for typing up prose & it used to be that a # would denote a Chapter Title, now it removes the line from the pdf output?

Bug: "Failed to activate the fountain package"

Hi,

I got a bug on activating the fountain-atom package.

Note that deactivated all the community module for testing, and also tested in a fresh atom install, so it is likely to be a problem in the module.

[Enter steps to reproduce:]

  1. Fresh atom install
  2. Install fountain-aom

Atom: 1.26.0 x64
Electron: 1.7.11
OS: Unknown Windows version
Thrown From: fountain package 0.7.2

Stack Trace

Failed to activate the fountain package

At Cannot read property 'isEqual' of undefined

TypeError: Cannot read property 'isEqual' of undefined
    at editorsWithMaintainedConfig.forEach (~/AppData/Local/atom/app-1.26.0/resources/app/src/text-editor-registry.js:261:56)
    at Set.forEach (native)
    at subscriptions.add.config.onDidChange (~/AppData/Local/atom/app-1.26.0/resources/app/src/text-editor-registry.js:260:52)
    at emitter.on (~/AppData/Local/atom/app-1.26.0/resources/app/src/config.js:1290:15)
    at Function.module.exports.Emitter.simpleDispatch (~/AppData/Local/atom/app-1.26.0/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (~/AppData/Local/atom/app-1.26.0/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at Config.emitChangeEvent (~/AppData/Local/atom/app-1.26.0/resources/app/src/config.js:1226:62)
    at Config.setRawScopedValue (~/AppData/Local/atom/app-1.26.0/resources/app/src/config.js:1255:23)
    at Config.set (~/AppData/Local/atom/app-1.26.0/resources/app/src/config.js:713:18)
    at ScopedProperties.module.exports.ScopedProperties.activate (~/AppData/Local/atom/app-1.26.0/resources/app/src/scoped-properties.js:31:27)
    at Package.activateResources (~/AppData/Local/atom/app-1.26.0/resources/app/src/package.js:326:24)
    at measure (~/AppData/Local/atom/app-1.26.0/resources/app/src/package.js:202:24)
    at Package.measure (~/AppData/Local/atom/app-1.26.0/resources/app/src/package.js:88:25)
    at activationPromise.Promise (~/AppData/Local/atom/app-1.26.0/resources/app/src/package.js:200:20)
    at Promise (<anonymous>)
    at Package.activate (~/AppData/Local/atom/app-1.26.0/resources/app/src/package.js:198:38)
    at PackageManager.activatePackage (~/AppData/Local/atom/app-1.26.0/resources/app/src/package-manager.js:695:42)
    at packagesToEnable.forEach.name (~/AppData/Local/atom/app-1.26.0/resources/app/src/package-manager.js:440:51)
    at Array.forEach (native)
    at disabledPackagesSubscription.config.onDidChange (~/AppData/Local/atom/app-1.26.0/resources/app/src/package-manager.js:440:30)
    at emitter.on (~/AppData/Local/atom/app-1.26.0/resources/app/src/config.js:1067:22)
    at Function.module.exports.Emitter.simpleDispatch (~/AppData/Local/atom/app-1.26.0/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (~/AppData/Local/atom/app-1.26.0/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at Config.emitChangeEvent (~/AppData/Local/atom/app-1.26.0/resources/app/src/config.js:1226:62)
    at Config.setRawValue (~/AppData/Local/atom/app-1.26.0/resources/app/src/config.js:1052:23)
    at Config.set (~/AppData/Local/atom/app-1.26.0/resources/app/src/config.js:715:18)
    at Config.removeAtKeyPath (~/AppData/Local/atom/app-1.26.0/resources/app/src/config.js:905:16)
    at Package.enable (~/AppData/Local/atom/app-1.26.0/resources/app/src/package.js:75:30)
    at PackageManager.enablePackage (~/AppData/Local/atom/app-1.26.0/resources/app/src/package-manager.js:246:18)
    at HTMLButtonElement.enablementButtonClickHandler (~/AppData/Local/atom/app-1.26.0/resources/app/node_modules/settings-view/lib/package-card.js:362:31)

Commands

Non-Core Packages

animated-page-scroll 1.2.0 
atom-beautify 0.32.2 
atom-html-preview 0.2.5 
atom-lupa 0.7.43 
autoupdate-packages 1.3.1 
browser-plus 0.0.98 
busy-signal 1.4.3 
click-link 1.0.11 
color-tabs 0.1.8 
compare-files 0.8.1 
docblockr 0.13.7 
file-icons 2.1.19 
fountain 0.7.2 
git-diff-details 1.4.0 
git-time-machine 1.5.9 
highlight-bad-chars 1.0.7 
highlight-nbsp 0.1.1 
intentions 1.1.5 
language-generic-config 1.4.0 
language-lua 0.9.11 
language-reaperlangpack 0.0.1 
language-srt 0.1.1 
linter 2.2.0 
linter-js-standard 5.0.0 
linter-ui-default 1.7.1 
markdown-scroll-sync 2.1.2 
minimap 4.29.8 
minimap-pigments 0.2.2 
open-in-browsers 0.0.30 
pane-browser 1.6.0 
pdf-view 0.69.0 
pigments 0.40.2 
quick-highlight 0.13.0 
script 3.18.0 
snippet-generator 0.3.2 
sort-lines 0.18.0 
source-preview 0.5.3 
space-tab 0.4.2 
split-diff 1.5.2 
standard-formatter 2.8.0 
symbols-tree-view 0.14.0 
tab-control 0.6.10 
tab-smart-sort 0.3.0 
teletype 0.13.1 
todo-show 2.3.0 
trailing-spaces 0.4.0 
tree-view-filter 0.5.3 
vtt-helper 0.1.1 
wordcount 2.10.4 
wordpress-api 1.2.2 

This 'isEqual' message error also happen when the package is installed and activated you try to set Settings->Editor->Past scroll ends.

It also causes interactions with other packages like todo-show which is unable to close right when fountain-atom is active.

Thanks for taking a look :)

Fr: Smooth scroll on outline preview click

Hi !

I think it could be very nice to have smooth scroll when clicking on Outline Preview link (optional of course).

This is a nice an efficient way to see how much pages before or after is the desired sequence.

This is how it is done in the Kint screenplay editor, and I find it very easy user friendly.

Cheers ! 🌴

Note: I currently use this package https://github.com/halohalospecial/atom-animated-page-scroll but it doesn't work with Outline Preview.

Configure PDF Output

Afterwriting uses a configuration file to determine the format of its PDF output. This could be integrated into the package configuration UI to allow users to determine the format of both their PDF preview and export files. Also, pdf generation from text selection should not generate whitespace title page unless title page is included in selected text.

See https://github.com/ifrost/afterwriting-labs/blob/master/docs/clients.md for list of config options.

Setup CI Test Runner

It would be cool if we had the tests running against PR branches. Get one of those sweet little icons that tells you if the master build is passing. Afterwriting project has a couple cool ones... one is for code quality... not sure if there's something like that for coffeescript.

Promise.done is deprecated.

Atom now uses ES6 Promises instead of Q. Call promise.then instead of promise.done

Promise.done (C:\Users\Ram\AppData\Local\atom\app-1.14.3\resources\app.asar\src\atom-environment.js:1203:5)
Object.addPreviewForEditor (C:\Users\Ram\.atom\packages\fountain\lib\fountain.coffee:133:48)
Object.preview (C:\Users\Ram\.atom\packages\fountain\lib\fountain.coffee:120:19)
atom-workspace.subscriptions.add.atom.commands.add.fountain:preview (C:\Users\Ram\.atom\packages\fountain\lib\fountain.coffee:51:26)
CommandRegistry.handleCommandEvent (C:\Users\Ram\AppData\Local\atom\app-1.14.3\resources\app.asar\src\command-registry.js:259:29)
<unknown> (C:\Users\Ram\AppData\Local\atom\app-1.14.3\resources\app.asar\src\command-registry.js:3:59)

Spaces/Tabs Not Recognized in Action Lines for PDF Preview/Export

Hey folks,

In fountain, I can start an action with spaces and tabs that should carry over into the interpreted document; however, the current PDF preview and export in Atom does not include this feature. Is it possible to support this?

Quote from fountain.io::

Tabs and spaces are retained in Action elements, allowing writers to indent a line. Tabs are converted to four spaces.

I use this writing technique in quite a few screenplays so exporting directly from Atom with it included would be awesome.

Thank you!

source: https://fountain.io/syntax#section-action

Incorrect parsing of non-ASCII character names and the dialogue thereafter

If a character name contains some non-ascii characters (like German Ä or Ü for instance), the dialogue text after the character name and the text thereafter are not properly highlighted. Also, when compiled for the preview, the character name and its dialogue are out of justification. Please see the attached file for the character I named GÜNTHER.
screen shot 2016-03-27 at 09 41 50

Settings are not working at export

Hi,

I've tried some settings for the export, and appart from "Print Profile" they seem not working.
Some I've tested : "Show page numbers"/ "Each Scene on new page" / "Footer" / "Header" / "Watermark".

Why is package.json so long?

It looks like every dependency was baked into package.json which doesn't seem typical. This should be cleaned up.

Deprecated selector in `fountain/styles/fountain.less`

In fountain/styles/fountain.less:

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

  • atom-text-editor::shadow .fountain.scene => atom-text-editor.editor .syntax--fountain.syntax--scene

  • atom-text-editor::shadow .fountain.character => atom-text-editor.editor .syntax--fountain.syntax--character

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

Feedback: Setting Atom for Fountain Editing

Hi,

Not a issue or a feature request,
I just wanted to show you how I use Atom (with this Fountain plugin) to write scripts (the other package I have installed, the custom codes I made, the workaround I found for some non-optimized features implementation - like the current outline view which can't be resized, the outline view which only works on current active file (#57) etc) and other reports I opened there).

(Note: @superlou I don't want to spam your issue board with that, but I have no way to contact you privately. I hope that you are ok for me contacting you this way. Don't hesitate to delete the post if you think it does not belong here).

Showcasing Fountain related work in Atom outside of this package can give you detailed feedback about how your package is used, inspire you to implement some feature, or just help other fountain-atom editor who want to extend the screenwriting related features possibilities of Atom.

I show all that in the article: Screenwritng in Fountain Format: Using and Customizing Atom Editor.

All these Fountain editing capabilities have been brought thanks to your plugin, so again thanks you very much for it !

Cheers !

List Navigation Reorder

Allowing for reorder of scenes from list navigation window. I'm willing to look into it myself, but I haven't done any Atom package work before... So, looking for a complexity rating and feasibility assessment.

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.