GitBucket
4.21.2
Toggle navigation
Snippets
Sign in
Files
Branches
1
Releases
Issues
1
Pull requests
Labels
Priorities
Milestones
Wiki
Forks
nigel.stanger
/
Handbook
Browse code
Updated ISO LaTeX template
master
1 parent
8829821
commit
304d05b2aa35900c51a0f52e66c3173cc445522c
Nigel Stanger
authored
on 3 Feb 2021
Patch
Showing
1 changed file
calendar/teachingdates/templates/iso.tex.j2
Ignore Space
Show notes
View
calendar/teachingdates/templates/iso.tex.j2
% ISO-8601 calendar weeks for \VAR{year}. \BLOCK{for week, date in weeks.items()} \newcommand{ISOWeek\VAR{week|num2words}}{\VAR{date.isoformat()}--\VAR{(date + eow_offset).isoformat()}} \BLOCK{endfor}
% ISO-8601 calendar weeks for \VAR{year}. \BLOCK{for week, date in data.items()} \BLOCK{set eow = date|eow(end_of_week)} \newcommand{ISOWeek\VAR{week|num2words}}{\VAR{date.isoformat()}--\VAR{eow.isoformat()}} \BLOCK{endfor}
Show line notes below