Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'PDF Live Preview' implementation #89

Open
vekuda opened this issue Mar 26, 2019 · 6 comments
Open

'PDF Live Preview' implementation #89

vekuda opened this issue Mar 26, 2019 · 6 comments

Comments

@vekuda
Copy link

vekuda commented Mar 26, 2019

Would it be possible to add a 'PDF Live Preview' feature like the one created for VS Code's Better Fountain?

@jrbostic
Copy link
Collaborator

How does that plugin's behavior differ from what atom-fountain package currently provides?

@vekuda
Copy link
Author

vekuda commented Mar 26, 2019

Well that plugin allows you to see side-by-side and in real time how your Fountain syntax is affecting the printed version of your work.

Instead Fountain for Atom only allows you to create a static PDF preview of your work with CTRL+ALT+SHIFT+M...

Am I right, or did I miss something?

@vekuda vekuda changed the title 'PDF Live Preview' implementatiom 'PDF Live Preview' implementation Mar 27, 2019
@vekuda
Copy link
Author

vekuda commented Mar 27, 2019

@superlou

Is this enhancement also related to the use of Afterwriting libraries, or is it possible to port something from the VS Code project?

@jrbostic
Copy link
Collaborator

Making live preview refresh on file change is more about how atom-fountain behaves on modification to the text editor with active preview. I had thought there was something like that on save... Or that a discussion was had at some point. Will have to scan previous threads and check the pdf preview logic to clarify.

@superlou
Copy link
Owner

Back with the old HTML preview generator, the preview was live, but it definitely had a lot of weaknesses. The Afterwriting renderer does a very good job of creating accurate PDFs, but the time required to generate them might become a usability issue. Also, I don't see a straightforward way to keep pages aligned between the markup and PDF for long documents.

One work-around for now is to highlight a section of your script, and use the render hotkey to quickly render just the highlighted portion.

@vekuda
Copy link
Author

vekuda commented Mar 28, 2019

I adopted fountain-atom since a couple of weeks, so I didn't know about the evolution of the package. Now I understand the reasons behind these design choices.

One work-around for now is to highlight a section of your script, and use the render hotkey to quickly render just the highlighted portion.

Wow, I didn't know that! It's not as perfect as live preview, but definitely very practical.

Many thanks for your efforts, the project is extremely useful even as it is!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants