Hi,

This heads-up is of interest only if you write Remind back-ends (ie,
programs that consume the output of "remind -ppp")

I'm adding a new option that lets rem2pdf generate weekly calendars.
In the next release, this command:

    remind -p+1 ~/.reminders | rem2pdf -l > week.pdf

will generate a printed calendar for one week.  The "-p+" option
uses the same format as "-ppp" to talk to rem2pdf.

So I've added a new item in the monthly (and now weekly) descriptors:

   "caltype":"monthly"

means this is a traditional remind -ppp monthly calendar, and:

   "caltype":"weekly"

means this is a new remind -p+ weekly calendar.

Back-ends should look for the caltype entry and:

1) If it's missing, assume "monthly" for backward-compatibility.

2) Generate a weekly or monthly calendar as appropriate.  If you don't want
to support weekly calendars, just exit with an error message if
a caltype of weekly is found.

The main commit implementing this is here:

https://git.skoll.ca/Skollsoft-Public/Remind/commit/800a4b15b2497b96321fe53657851aa69ff411c5

Regards,

Dianne.

Attachment: pgp1zQjSCHtZA.pgp
Description: OpenPGP digital signature

_______________________________________________
Remind-fans mailing list
[email protected]
https://dianne.skoll.ca/mailman/listinfo/remind-fans
Remind is at https://dianne.skoll.ca/projects/remind/

Reply via email to