Skip to content
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

8-pages mini-zines directly from Scribus #38

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hvfrancesco
Copy link

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

@JLuc
Copy link

JLuc commented Aug 18, 2022

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
Copy link
Owner

aoloe commented Aug 18, 2022

@JLuc , did you install PyPDF2?

@aoloe
Copy link
Owner

aoloe commented Aug 18, 2022

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