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

wish: pages/document size #1

Open
furter opened this issue Feb 18, 2015 · 3 comments
Open

wish: pages/document size #1

furter opened this issue Feb 18, 2015 · 3 comments

Comments

@furter
Copy link
Contributor

furter commented Feb 18, 2015

Could we have the pages/document size translated somewhere in the CSS?
And then, how could it be used/adapted?

@gimsieke
Copy link
Contributor

You mean, the page count? Which size do you mean? idml or html file size in bytes? Or just the page count?
The page count is not something that can be extracted from the IDML because it may only be calculated when the document is layouted.
We need to adapt the page name insertion script to InDesign files without a “main” story before we can more or less reliably insert the page names (= numbers, in most cases) into the text prior to exporting IDML. Then we may calculate a page count, but still not a reliable one.
What do you need it for?

@furter
Copy link
Contributor Author

furter commented Feb 18, 2015

I mean the dimensions of the page (the dimensions of the book), it could be useful to have a sense of scale.

@gimsieke
Copy link
Contributor

Yes, this should be feasible. There may be different page/spread dimensions for each (master) spread though, but I think we can ignore that. We can select the first spread and convert its dimensions to a @page at rule in CSS.

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

2 participants