-
Notifications
You must be signed in to change notification settings - Fork 36
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
combine output in a single sla #9
Comments
Some pseudo-code on how to do this from retro-engineering sla 1.4.3 format is below (mix of XPath predicates and procedural)
|
have a single sla generated, instead of many, is now fully working in Scribus 1.4.3 in branch "singleOutput", form command line (SLA only) and GUI (SLA and/or PDF output). Could you @garydale and @bjarnesvanberg please test and feed back? |
merged in master after satisfactory testing in 1.4.3 and 1.5.1svn Let me know if you find examples that don't work! |
for future reference: to update linked frames (as in bb183cf), add (in the loop):
where |
I've a problem with the single output (Scribus 1.4.6):
The result is a wrong SLA/PDF, where the content of the 3rd page starts at the 2nd and so on. Is this a bug? In shiftPagesAndObjects, does voffset has to be multiplied by pagescount? Kind reagrds |
Hello @StefanWerner23, The current implementation relies indeed on the number of pages announced in the document layout to compute the position of generated object in merged mode. So, if you have 2 single pages of content, kindly select a template with 2 pages (like double folded) before calling the script, and switch it back to single page template after the generation. This was done on purpose to accommodate the way scribus displays multiple pages of a single document easily... but as it is not flexible nor user friendly, if you want to propose a code change that covers your use case more accurately don't hesitate! Otherwise I'll put it on my to-do list, but with no close deadline. Thanks for the report. |
even less practical with new version of scribus where no 3 or 4 page document can be created easily... double-page seems to be the maximum. |
Hey there @berteh! |
indeed. thanks. |
To join the efforts on ScribusGenerator and Scribus-Data-Merger we need ScribusGenerator to generate a single sla.
The text was updated successfully, but these errors were encountered: