.. | |||
teachingdates | 3 years ago | ||
.envrc | 3 months ago | ||
.gitignore | 3 months ago | ||
Makefile | 11 years ago | ||
README.md | 3 years ago | ||
calendar_schema.psql | 15 years ago | ||
flake.lock | 3 months ago | ||
flake.nix | 3 months ago | ||
generate_calendar.php | 5 years ago | ||
generate_lecturedates.php | 5 years ago | ||
requirements.txt | 7 months ago |
Copy teachingdates/config/config.yml
to ~/.config/generate_dates
and configure to suit.
For example:
python3 -m teachingdates --format latex --style calendar --teaching-period S1 > calendar_weeks.tex
or if you don’t want to type quite so much:
python3 -m teachingdates -f l -s c -t S1 > calendar_weeks.tex
Move calendar_weeks.tex
to somewhere sensible in your user texmf
tree.
python3 -m teachingdates --format xml --teaching-period S1 > paper-calendar-dates.xml
Move paper-calendar-dates.xml
into the modules
directory of the XML framework.
(Note: --teaching-period
isn’t actually required, but the configuration code hasn’t yet been fixed to ignore it.)
For example:
python3 -m teachingdates --format latex --style lecture --paper INFO201 --teaching-period S1 > lecturedates.tex
or if you don’t want to type quite so much:
python3 -m teachingdates -f l -s l -p INFO201 -t S1 > lecturedates.tex
Move lecturedates.tex
to wherever it’s needed.