calendar-generator/README.md

34 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

2018-08-09 13:00:13 +00:00
# Calendar Generator
A calendar generator, built in LaTeX. The main work is done by the `calpage`
command which is based on the [birthday calendar example](www.texample.net/tikz/examples/birthday-calendar/)
by Hakon Malmedal.
2015-08-20 11:33:59 +00:00
2018-08-09 13:00:13 +00:00
The images are licensed as [cc-by 4.0](ihttp://creativecommons.org/licenses/by/4.0/)
as is calpage.sty.
2015-08-20 11:33:59 +00:00
# Prerequisites
- [LuaTeX](http://www.luatex.org/)
2018-08-09 13:00:13 +00:00
- make
2015-08-20 11:33:59 +00:00
# Usage
2018-08-09 13:00:13 +00:00
Generate the following folder structure: `calendars/{year}/images`.
It is assumed that the images are named after the months of the year (in English)
and that there is one image called `title`.
Make a file `calendars/{year}/title` and write the calendar title into.
To build all run `make`.
To build only a specific year run for example `make 2015`.
2015-08-20 11:33:59 +00:00
2018-08-09 13:00:13 +00:00
# Configuration
Months and weekdays are in german, if you want to change that take a look at the
`pgfcalendarmonthname` definition in `calendar.tex` and the `day letter headings`
in `calpage.sty`. For holiday definitions, take a look at the end of `calpage.sty`.
2015-08-20 11:45:15 +00:00
I will make that easier to configure in a future version.
2018-08-09 13:00:13 +00:00
You'll find the generated pdfs in the `build` folder.
2015-08-20 11:33:59 +00:00
2015-08-20 11:49:53 +00:00
![a screenshot of december](screenshot.png)