Problems registering, no confirmation email - see http://wiki.scribus.net/canvas/Forums_Registration
import os.path
import string
try:
import scribus
except ImportError:
pass
def main():
try:
scribus # pylint: disable=pointless-statement
except NameError:
return
#get base filename and subdirectory so we save to the right folder
fileName = scribus.getDocName()
entry = fileName.rsplit('.sla', 1)[0]
#make pdf file object, set any PDF export settings here
pdf = scribus.PDFfile()
pdf.info = "Invitation"
pdf.version = 14
#example exporting three times with different page ranges
pdf.pages = [1,4]
pdf.file = entry+'Attendees.pdf'
pdf.save()
pdf.pages = [2,4]
pdf.file = entry+'Virtual.pdf'
pdf.save()
pdf.pages = [3,4]
pdf.file = entry+'VIP.pdf'
pdf.save()
return
if __name__ == '__main__':
main()Quote from: a.l.e on March 05, 2026, 08:47:51 AMI gave it a try:Yep, that's exactly the one. I can import colors as many times as I want, and they just won't stay. They'll be there in that moment, when I try to access them in a document, or when I open the program again, they're gone.
- I've created a Scribus document.
- In "Edit > Colors and Fills", I've removed the unused colors.
- I've created a couple of colors.
- Saved the .sla document as "colors.sla" and closed it.
- I've created another new document
- In "Edit > Colors and Fills", I've removed the unused colors, then used the "Import" button to select the "colors.sla" file I've previously saved and imported the colors.
- Now I have the colors I've defined in the first few steps in the second document.
On the other hand, I could not get the "Colors Sets" feature in the "Colors and Fills" dialog to work.
Are you using this one?
<?xml version="1.0" encoding="UTF-8"?>
<ScribusColors>
<Color Name="Base Color" Space="RGB" R="0" G="106" B="255"/>
<Color Name="Black" Space="CMYK" C="0" M="0" Y="0" K="100"/>
<Color Name="Complementary" Space="RGB" R="255" G="149" B="0"/>
<Color Name="Registration" Space="CMYK" C="100" M="100" Y="100" K="100" Register="1"/>
<Color Name="White" Space="CMYK" C="0" M="0" Y="0" K="0"/>
</ScribusColors><SCRIBUSCOLORS Name="Expanded Printers Colors">
<COLOR Spot="0" Register="0" NAME="Black" CMYK="#000000ff"/>
<COLOR Spot="0" RGB="#0000ff" Register="0" NAME="Blue"/>
<COLOR Spot="0" Register="0" NAME="Cool Black" CMYK="#990000ff"/>
<COLOR Spot="0" Register="0" NAME="Cyan" CMYK="#ff000000"/>
<COLOR Spot="0" RGB="#00ff00" Register="0" NAME="Green"/>
<COLOR Spot="0" Register="0" NAME="Magenta" CMYK="#00ff0000"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® 12-0851 TPG Minion Yellow™" CMYK="#00289c01"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® 3514 C" CMYK="#0045ff00"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® 3596 C" CMYK="#0d428503"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Black C" CMYK="#a19e96f0"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Blue 072 C" CMYK="#fff20008"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Bright Red C" CMYK="#00c7bd00"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Dark Blue C" CMYK="#fad10000"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Green C" CMYK="#ed00b000"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Medium Purple C" CMYK="#e8f70000"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Orange 021 C" CMYK="#00a6ff00"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Pink C" CMYK="#2ede0000"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Process Blue C" CMYK="#ff210305"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Purple C" CMYK="#66e50000"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Red 032 C" CMYK="#00dba100"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Reflex Blue C" CMYK="#ffe30000"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Rhodamine Red C" CMYK="#17de0000"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Rubine RED C" CMYK="#00ff3808"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Violet C" CMYK="#e5fc0000"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Warm Red C" CMYK="#00d4cc00"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Yellow 012 C" CMYK="#0005fa00"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Yellow C" CMYK="#0003ff00"/>
<COLOR Spot="0" RGB="#ff0000" Register="0" NAME="Red"/>
<COLOR Spot="0" Register="1" NAME="Registration" CMYK="#ffffffff"/>
<COLOR Spot="0" Register="0" NAME="Rich Black" CMYK="#996666ff"/>
<COLOR Spot="0" Register="0" NAME="Warm Black" CMYK="#00994cff"/>
<COLOR Spot="0" Register="0" NAME="White" CMYK="#00000000"/>
<COLOR Spot="0" Register="0" NAME="Yellow" CMYK="#0000ff00"/>
</SCRIBUSCOLORS>
Again, it was generated originally by Scribus. Open your favorite text editor, copy-n-paste, save it as an .xml file, and give it a shot.