Skip to content

8-pages mini-zines directly from Scribus#38

Open
hvfrancesco wants to merge 2 commits into
aoloe:masterfrom
hvfrancesco:master
Open

8-pages mini-zines directly from Scribus#38
hvfrancesco wants to merge 2 commits into
aoloe:masterfrom
hvfrancesco:master

Conversation

@hvfrancesco

Copy link
Copy Markdown

I made a quick and simple script to produce 8-pages folding mini-zines directly from inside a Scribus session.

@JLuc

JLuc commented Aug 18, 2022

Copy link
Copy Markdown

Interesting project !

base.py is OK when no document is open ; but zinezine.py produces the following error (on Linux Ubuntu 22.10, with Scribus 1.5.8, 2022/01/22 version) :

Traceback (most recent call last):
  File "<string>", line 11, in <module>
  File "<string>", line 8, in <module>
ModuleNotFoundError: No module named 'PyPDF2'

( exact line numbers might vary because I added a comment line as a 4th line so as to source these scripts )

@aoloe

aoloe commented Aug 18, 2022

Copy link
Copy Markdown
Owner

@JLuc , did you install PyPDF2?

@aoloe

aoloe commented Aug 18, 2022

Copy link
Copy Markdown
Owner

ciao francesco

thanks for your pull request.

i've made some comments in the code (as you see above)... what do you think about them?

on top of it:

  • i would like to see the base.py file renamed to something like create-scribus-document.py
  • you should name your variables with underscores, not with camel case (make_zine instead of makeZine). that's a pretty strong convention in python (which, of course, the Scribus API does not follow...)

i wish you a wonderful evening
a.l.e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants