Inkscape.org
Beginners' Questions Inkscape calendar
  1. #1
    nobeja nobeja @nobeja

    Is it possible to choose different colors for Saturdays and Sundays (weekend name and day color) when rendering calendar?

    Example:

    Blue color for Saturdays and red color for Sundays.

  2. #2
    inklinea inklinea @inklinea⛰️

    Not without editing the extension python code.

  3. #3
    inklinea inklinea @inklinea⛰️

    I found a workaround to do it without coding :)

    -New document
    -Choose Saturday as weekend in the extension dropdown.
    -Set desired colour
    -Left click one of the coloured numbers repeatedly until you have the number selected
    -Edit>Select Same>Fill Colour

    -New document (you should have a 2nd blank Inkscape canvas)
    -Edit>Paste in Place
    -You should then have just the Saturdays on the new canvas in exactly the same position

    -Close the orginal calendar canvas and open a new one

    -Choose Sunday as weekend in the extension dropdown.
    -Set desired colour
    -Left click one of the coloured numbers repeatedly until you have the number selected
    -Edit>Select Same>Fill Colour
    -Switch to the canvas with just the Saturdays
    -Edit>Paste in Place
    -You now have a canvas with the two coloured Sat and Sun on it.

    -Close the orginal calendar canvas and open a new one

    -Choose Saturday *and* Sunday as weekend in the extension dropdown.
    -Choose a random unique colour for this weekend which we are going to delete
    -Left click one of the coloured numbers repeatedly until you have the number selected
    -Edit>Select Same>Fill Colour
    -Hit delete
    -We now have a calendar missing the weekends.

    -Go to the canvas we made with just the weekends (two colours)
    -Edit>Select all in all layers
    -Copy

    -Switch to the calendar with no weekends.
    -Edit>Paste in Place

    **** Done :)

    I have attached the calendar I made
     

    Two Colour Weekend Calendar
  4. #4
    COD COD @COD

    Looks like the workflow I am doing now 🤣

    COPY FILE TO DESKTOP
    SET DOCUMENT TO PX, GRIDS
    ELIMINATE ALL OBJECT NOT NEEDED IN LAYER 1
    ELIMINATE ALL OBJECT NOT NEEDED IN LAYER 2
    HIDE LAYER 2
    SELECT EVERYTHING IN LAYER 1
    APPLY REMOVE TRANSFORM EXTENSION
    GROUP EVERYTHING 
    SCALE BY 75%
    REMOVE TRANSLATE ON LAYER 1 IN XML EDITOR
    MOVE EVERYTHING TO 0,0
    RESET GRID TO 0,0
    ALIGN ALL TO GRID
    UNGROUP
    USE XML EDITOR TO ROUND ALL OBJECTS
    MAKE SURE EVERY THING IS AT 0,0
    HIDE LAYER 1
    UNHIDE LAYER 2
    SELECT EVERYTHING IN LAYER 2
    SCALE 75%
    UNHIDE LAYER1
    ALIGN LAYER 2 TO LAYER 1
    SET DOCUMENT TO SIZE
    RESET GRID ORIGIN
    CHANGE FONT AND ALIGN TO PAGE
    SAVE
    COPY FROM DESKTOP TO KEY DIRECTORY

    Really - I had to write the steps!

     

    Why? Becase in 1776 I used the PT units (very popular in the 90's for desktop publishing) in an OS that went bankrupt in the late 90's (I was orphaned).

    Imported into Corel.

    Discovered Inkscape in 1849 - imported into Inkscape v0.48
    Discovered Autodesk Fusion in 2022.
    Discovered the PT units not cool for precision CAD/CAM.
    I should be finished by 2112. 

  5. #5
    nobeja nobeja @nobeja

    Thank you for your solutions. Here is another work around solution (image in attachment).
    (Note: I went with detailed descriptions in case someone need step by step instructions).

     

    Calendar   Different Colors For Weekend
  6. #6
    inklinea inklinea @inklinea⛰️

    It looks like you have learnt some useful skills with the workaround :)

    Thanks for posting.