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

Incorrect variable image position in multiple paged template #83

Open
jessierevil04 opened this issue May 15, 2017 · 1 comment
Open
Assignees
Labels
Milestone

Comments

@jessierevil04
Copy link

When the template has multiple pages,
the positioning of variable images is incorrect.

I had to add the following line in ScribusGeneratorBackend.py line 287

voffset = (float(pageheight)+float(vgap)) * (index // recordsInDocument)
voffset *= pagescount  #added this
@berteh
Copy link
Owner

berteh commented May 18, 2017

thanks @jessierevil04.

This issue is indeed a nuisance, due to a former design choice to handle with pages of different sizes, explained in more details in#46.

But as the recent Scribus 1.5 does not support the display of more than 2 pages in a row anymore, this "feature" now becomes a nuisance, for your case of for others... so I'm looking into the best way to change it, and handle nicely documents with single page display as well as dual page display.

Your fix seems to work nice on documents displayed in a single pagem, thanks !

I still need to make it detect double page display, and either find a way to handle document with pages of different sizes or anounce I don't support it any longer (which is probably not a big loss).

@berteh berteh self-assigned this May 18, 2017
@berteh berteh added the bug label May 18, 2017
@berteh berteh added this to the 2.6 milestone May 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants