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
Show Page Breaks on Source Sheets #74
Comments
With jquery you can pull the screen dimensions easily, and then it is just a matter of scaling it with some math and then displaying the lines. On my 1600 by 900, each page is about 133% of the screen. |
I believe unfortunately it's a bit more involved than this. Try printing the same sheet from Chrome and from Firefox -- I've seen a number of inconsistencies that lead to text being laid out on different lines, which is important if you want to display line breaks exactly across browsers. It may be that there is just some extra CSS that needs to be set to make the two consistent, but I haven't looked into enough yet to know. |
Would love to leave a comment on this, reemphasizing the importance of this feature for those creating source sheets. |
Thanks for the vote. We're starting to think through Print issues around source sheets a bit more now, but it still remains the case that this is difficult to do perfectly across browsers. Hopefully we'll know more about the options soon in any case! |
I'll try to look into this issue after Shabbat. It should definitely be possible, as I've seen other sites correctly implement this feature. @blockspeiser mentioned that printing the same sheet from different browsers often results in different page breaks. I wonder if this problem can be mitigated with good CSS resets/normalizations for print media queries. If not, perhaps we can force page breaks with the |
@blockspeiser @shman or, you have seen this for instance: https://www.w3schools.com/CSSref/pr_print_pagebb.asp |
1 similar comment
@blockspeiser @shman or, you have seen this for instance: https://www.w3schools.com/CSSref/pr_print_pagebb.asp |
It can currently be difficult to design source sheets for print because you don't know where pages will break.
I think it may be very difficult to get this information exactly, but perhaps it is possible to make some estimations. An option for "Show page breaks" could simply show a set of lines across the page which may make it easier to chunk up sources across pages neatly.
Not sure if this would be able to handle alternations to page margins.
The text was updated successfully, but these errors were encountered: