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

Image placement #54

Open
mrombout opened this issue Aug 1, 2023 · 1 comment
Open

Image placement #54

mrombout opened this issue Aug 1, 2023 · 1 comment

Comments

@mrombout
Copy link
Owner

mrombout commented Aug 1, 2023

The Fighting Fantasy novels sometimes uses images to go along with passages, sometimes just to spruce the page up a little (as it appears).
It would be nice to have a bit more control of image placement in AsciiHero to associate an image with a segment (so that it always appears at least on the same page or spread).

In some cases, it uses the entire verso page to show an image related to the segment on recto, sometimes with a caption denoting that segment.

I wonder if it's possible to have this much control on image floats in Paged.js.

@mrombout
Copy link
Owner Author

mrombout commented Aug 1, 2023

It appears it's a no, Paged.js - Paged Media approaches : page floats explains some approaches, but the ultimate conclusion is:

Paged.js is not yet supporting page-float, this article is there to help define the implementation and the future work.

In particular the following are interesting:


In conclusion, Paged.js might not be appropriate for the more advanced styling and instead we might want to look at other tools later it we think it's worth investing time in.

Vivliostyle is mentioned by Paged.js as having a good implementation.
It might be interesting to browse PrintCSS to learn more about the current landscape.

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

1 participant