Author Topic: Monthly Calendar script  (Read 650 times)

rafferty

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
  • Scribus User
Monthly Calendar script
« on: November 01, 2019, 05:22:45 pm »
Hello,

During the past weeks I reworked the CalendarWizard script for my own purposes and I want to share it. The resulting script generates a classic monthly calendar with many layout options. A manual which explains the menu items of the script is included in the zip download.

One of the options is to import a text file with the holidays for your country. You are free to post your local holidays files in this thread.


Please enjoy.

note: Unfortunately this script only works with Windows 10 and Scribus 1.5.5. I could not integrate the various codepages for the languages on an easy way in Linux. I am sorry for that.

rafferty

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
  • Scribus User
Re: Monthly Calendar script
« Reply #1 on: November 02, 2019, 05:13:43 pm »
Monthly Calendar options:

1) You can choose between many (European) languages (default is English). You may add, change or delete entries in the localization list in the script. Please respect the python syntax.

2) You can choose a font from the list of fonts available on your system (default is set to Lato Bold, which is provided with my version of Scribus). Please check if all special characters for your language are available in the chosen font!

3) Calendar year and week starting day are to be given. Saturdays and Sundays will be printed in grey.

4) Option to show week numbers with (or without) a week numbers heading in your local language. Week numbers will be printed in grey.

5) Option to import holidays from a 'holiday.txt' file for your country. Holidays will be printed in red.

6) Select one or more months or the whole year.

7) You have the possibility to determine where on the page the calender month will be drawn with the offsets from top and / or left margin. Option to draw an empty image frame within the top and / or left 'offset' area and to get an 'inner' margin between this frame and the calendar grid.
« Last Edit: November 02, 2019, 05:15:16 pm by rafferty »

rafferty

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
  • Scribus User
Re: Monthly Calendar script
« Reply #2 on: December 03, 2019, 09:12:49 pm »
Version 2 of the Monthly Calendar script.

Changes:
- now works also in Linux.
- added option to draw moon phase symbols.
- added option draw mini calendars for previous and next months in the calendar month heading.

RodneyLee

  • Full Member
  • ***
  • Posts: 156
  • Karma: 2
  • Scribus User
Re: Monthly Calendar script
« Reply #3 on: December 04, 2019, 04:55:32 pm »
very cool, thanks

mnawij

  • Sr. Member
  • ****
  • Posts: 271
  • Karma: 2
  • Scribus User
Re: Monthly Calendar script
« Reply #4 on: December 04, 2019, 07:34:47 pm »
Thank you, this will be useful!

mnawij

 

palmate