[scribus-dev] a bug about Page Type
jluc at no-log.org
Wed Nov 9 08:15:00 UTC 2016
Le 09/11/2016 à 00:47, Gregory Pittman a écrit :
> I think you're right.
possibily accept these sorts of masterpage,
but scribus should not restrict to these.
Even on a facing page document,
a document might have various sets of Left / Right matches.
When i have 10 possible left masterpages for this document,
and also 10 possible right masterpages
i dont want to create 100 couples of left+right masterpages.
> On 11/08/2016 12:04 PM, ale rimoldi wrote:
>> hi greg
>> imo, rightness and leftness of master pages are simply wrong in scribus.
>> (well, it's not really "imo"...)
>> facing master pages should be defined as one master page and the left /
>> right version should automatically be picked (depending on the page
>> where it is applied).
>> it's not a hard fix, but someone has to do that. and, first, there
>> should be some awareness that the current situation is screwed.
>> and adding workarounds in the scripter is imo not the way to go.
>> On 08/11/16 16:50, Gregory Pittman wrote:
>>> A bug was created asking for a new Scripter command, setPageType().
>>> The filer is writing a script that seemingly might be doing some
>>> imposition too, judging from his comments.
>>> At any rate, he is bothered by the fact that when he goes to make a PDF,
>>> he gets feedback that there is a mismatch between the page type of his
>>> created Master Page and the page that it's on.
>>> As I looked into this, for one thing it seems that whenever you create a
>>> Master Page with Scripter, it will be a Right Page (the Left parameter
>>> is always "0").
>>> It also looked to me that getPageType() checks the type of the actual
>>> page, not the Master Page, but now I'm not so sure. I just made a facing
>>> pages file, and the Master Pages had the page type set, but all the
>>> document pages had LEFT = "0". If you edit the SLA and change the
>>> setting in actual pages, Scribus doesn't seem to care, but if you change
>>> it in a Master Page, you get the warning.
>>> About the only solution I can think of would be to add a parameter in
>>> createMasterPage() for the page type (since you can set this when you
>>> create a new Master Page in the main window), but that wouldn't help a
>>> situation when you might apply that Master Page to both right and left
>>> pages, since you would still get the warning. I did suggest he could
>>> edit the SLA file, though that seems more work than it's worth.
>>> So in the end, it seems to me one of these situations where you may have
>>> to note but ignore a warning. It's certainly not the only kind of error
>>> we might ignore on a routine basis.
>>> scribus-dev mailing list
>>> scribus-dev at lists.scribus.net
>> scribus-dev mailing list
>> scribus-dev at lists.scribus.net
More information about the scribus-dev