Re: format error? Boy is that confusing!

Robin Becker <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <[email protected]>
Glenn,

in latest bitbucket there's an adjustment to the code which allows the behaviour 
you want or sorts according to all labels being equal.

The rl_settings.py file contains

errorOnDuplicatePageLabelPage= 0
       #if True will cause repeated PageLabel page numbers to raise an error.

so you can set to 1/True to get a suitable message when the PageLabel sort takes 
place.

Best place to do the change is documented in rl_config.py ie

	reportlab.rl_settings.py
	reportlab.local_rl_settings.py
	reportlab_settings.py or ~/.reportlab_settings

so leave the rl_settings.py file alone and create a reportlab_settings.py on the 
python path etc etc; not that the ~/.rl_settings file has no extension.
-- 
Robin Becker
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.