GithubHelp home page GithubHelp logo

Comments (8)

piersdeseilligny avatar piersdeseilligny commented on August 30, 2024 1

Fixed by the PDF Preview feature in 1.12.0

from betterfountain.

piersdeseilligny avatar piersdeseilligny commented on August 30, 2024

Hi @cyniphile, thanks for the feature request! Unfortunately this isn't really currently possible: all the page layout calculations are done as part of the PDF Rendering process - the live preview is designed to give a fast real-time approximation of the layout, at the cost of accuracy and more complex aspects of the layout, such as when to insert page breaks.

However to help you out a bit there's always the statistics panel, which includes page length as part of the stats:
image
It's not real-time, but you can quickly refresh it with the Refresh button in the bottom-left, which changes whenever the statistics are out of date, rather than re-rendering a PDF:
image

Hope this helps at least a little!

from betterfountain.

cyniphile avatar cyniphile commented on August 30, 2024

I feel like given this information, simple roughly accurate page breaks could be inserted, even if they are just dotted lines. For example, if you have a screenplay that's X lines long and is roughly Y pages, you could put a break every X/Y lines.

I use the stats panel for the overall screenplay, but sometimes I'm working on a scene and want to see how many pages it takes up.

from betterfountain.

piersdeseilligny avatar piersdeseilligny commented on August 30, 2024

I'm not sure how that would be from a UX perspective, because users might assume that's where the line breaks are definitely going to end up, rather than seeing them as an estimate, even if it's just dotted lines (and it also won't be great to figure out length if the scene starts in the middle of a page).

I do appreciate the need to be aware of the length of a scene though. What would you think of a hover, such as these?

Which could contain extra information like

Duration (estimate):
    - 3½ pages
    - 00:03:15 
Characters:
    - BOB (5 lines)
    - ALICE (2 lines)

from betterfountain.

cyniphile avatar cyniphile commented on August 30, 2024

That could work pretty well. This would pop up on the betterfountain outline sidebar?

Side note: so far I don't find much use for the live preview, as it slows down VSCode a bit and also doesn't really do formatting accurately enough (or show page breaks) to be useful for it's main purpose (showing formatting).

Side side note: I find the extension overall EXTREMELY useful so thanks again for making it!

from betterfountain.

piersdeseilligny avatar piersdeseilligny commented on August 30, 2024

It could pop up when you hover over a scene in the sidebar, or over a scene title in the screenplay :) and thank you for the kind words!!

from betterfountain.

cyniphile avatar cyniphile commented on August 30, 2024

from betterfountain.

piersdeseilligny avatar piersdeseilligny commented on August 30, 2024

That's actually wouldn't be a bad workflow, especially if the PDF Reader was integrated into betterfountain, without the need to save/read an actual pdf file. It could also be approximately synced to the current page (if the versions are up to date), and automated to refresh on save, just like the stats page is... Hopefully this should make it into the next release ;)
image

from betterfountain.

Related Issues (20)

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.