-
Notifications
You must be signed in to change notification settings - Fork 30
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
format dual dialog #77
base: master
Are you sure you want to change the base?
Conversation
Thank you! That's been needed! I think that dual dialog needs a different style, instead of I also notice that the two table columns are bottom-aligned, so if the two lines of dialogue are of different length, the shortest one will start lower on the page than the other one. BTW, have you checked what happens if one of the lines is very long, so it doesn't fit on the page? |
Thanks for your response and I made some changes. Added With If one of the lines is long, they will waste the remaining space on the page, showing at the top of a new page; if it's too long, then error occurs. Another thing is that the name of the characters in dual dialog seems a little right. I guess Finally, evil thoughts: why not offer an option to export to pdf by converting html? |
I can confirm that there's an error if the dual dialog is so long that it doesn't fit on a page:
I don't know how common it is for dual dialog to be very long so I thought about having a limit on the number of lines in a dual dialog, and render them as normal dialog as a workaround. But it's Platypus that does the line wrapping, so our code doesn't even know the number of lines, so it's not that simple. There is the BTW, another thing: There's less space between the action paragraph above and the character name on dual dialog than on normal dialog. Looks like half a line only. |
Sorry for the late response, as this is quite beyond my scope. Here's a table for the tools I can come up wit. Maybe it's up to you to weigh and decide which path to explore:
As for the So, as long as you make a decision, giving up the keep-with-next feature, contributing to reportlab, etc., I'll follow that and try my best. |
Enabled dual dialog support for pdf export