Please enable JavaScript to view this site.

 

Property of the script line: Inserts.

 

Use this property to set complex rules for the occurrence of Inserts.

 

The Variable Dates property has the same structure as the aeiou-Holidays, and is a list of Holidays Sets.

 

This affords you the flexibility and power of holidays rules and/or one-time-dates into which a long list of arbitrary dates can easily be imported from Excel.

 

Skipping occurrences

 

Additionally, at the bottom of this property editor, there are options to specify that the very first and/or very last occurrence of an insertion should be skipped.

 

The possible values for these 2 options can be Never (the default), Always, or limited to when the first/last occurrence is on a particular month.

 

Consider, for example, a diary whose main grid is a weekly with monthly plan-ahead pages inserted as close as possible to the 1st of the month (ie. before the 4th of the following month as shown above)

 

The Skip First Occurrence option is needed if that diary is designed so that it begins with a monthly insert regardless of the first normal weekly pages, so that we do not have 2 weekly pages followed by the first monthly insert and then other weekly pages. In such a case, you would set the Skip First Occurrence option to Always and then place a single occurrence of the monthly insert pages at the end of the front pages section of the script.

The Skip Last Occurrence option would be needed in cases when there should be no monthly insert of the following year at the end of the weekly grid. In such a case, you would set the Skip Last Occurrence option to January to ensure that there is no last January monthly insert. You would not want to use Always because in the example above there is a possibility that the weekly grid would stop on Sunday, December 31, meaning that no Insert would be triggered by January 4, and therefore the last Insert being skipped would be that of December of the diary year, something that we do not want.

 

Insertions based on an ISO week number

 

To insert based on a specific ISO week number, see the section on ISO week number recurrence rules.

 

See also: February 28, March 1st, dates (specific), dates (repeating), ignore sidedness, insert first page, insertion rule, skip insert.

 


Topic 066000, last updated on 14-May-2025