summaryrefslogtreecommitdiff
path: root/macros/luatex/latex/wallcalendar
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/luatex/latex/wallcalendar
Initial commit
Diffstat (limited to 'macros/luatex/latex/wallcalendar')
-rw-r--r--macros/luatex/latex/wallcalendar/LICENSE.txt7
-rw-r--r--macros/luatex/latex/wallcalendar/README.md29
-rw-r--r--macros/luatex/latex/wallcalendar/doc/Makefile10
-rw-r--r--macros/luatex/latex/wallcalendar/doc/auto/wallcalendar-code.el243
-rw-r--r--macros/luatex/latex/wallcalendar/doc/auto/wallcalendar.el71
-rw-r--r--macros/luatex/latex/wallcalendar/doc/doc-setup.org9
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/Makefile61
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-plain-01.pdfbin0 -> 246084 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-plain-02.pdfbin0 -> 246072 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-plain-03.pdfbin0 -> 245527 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showframe-01.pdfbin0 -> 9581 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showframe-02.pdfbin0 -> 9561 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showframe-03.pdfbin0 -> 9561 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showtrims-01.pdfbin0 -> 253986 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showtrims-02.pdfbin0 -> 253952 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showtrims-03.pdfbin0 -> 253425 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-varnishmask-01.pdfbin0 -> 9088 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-varnishmask-02.pdfbin0 -> 9076 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-varnishmask-03.pdfbin0 -> 9077 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-marks.pdfbin0 -> 413256 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-marks.tex50
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-plain.pdfbin0 -> 248558 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-plain.tex7
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-showframe.pdfbin0 -> 10259 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-showframe.tex9
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-showtrims.pdfbin0 -> 256061 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-showtrims.tex8
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-thumbnails.pdfbin0 -> 192915 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-thumbnails.tex200
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-translations-english.pdfbin0 -> 422090 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-translations-english.tex16
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-translations-hungarian.pdfbin0 -> 422049 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-translations-hungarian.tex16
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-translations-japanese.pdfbin0 -> 573551 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-translations-japanese.tex18
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-varnishmask.pdfbin0 -> 9215 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-varnishmask.tex9
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-year-planner.pdfbin0 -> 18924 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/cal-year-planner.tex75
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/data/astro-2018.json1
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/data/holidays.csv10
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/data/mark_defaults.csv3
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/data/moonphases.csv51
-rwxr-xr-xmacros/luatex/latex/wallcalendar/doc/examples/diff-cal.sh40
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/forest.tex116
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/frog-english.tex16
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/frog-hungarian.tex16
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/frog-japanese.tex16
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/frog.tex19
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/local-english.sty6
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/local-hungarian.sty6
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/local-japanese.sty23
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/photos/frog-crop-thumb.jpgbin0 -> 184006 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/photos/frog-crop.jpgbin0 -> 399868 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/photos/frog.jpgbin0 -> 630222 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/examples/photos/obscure-crop.jpgbin0 -> 219675 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/doc/frontpage.tex103
-rw-r--r--macros/luatex/latex/wallcalendar/doc/latexmkrc4
-rw-r--r--macros/luatex/latex/wallcalendar/doc/local.sty70
-rw-r--r--macros/luatex/latex/wallcalendar/doc/memoir-article.cls401
-rw-r--r--macros/luatex/latex/wallcalendar/doc/wallcalendar-code.fdb_latexmk315
-rw-r--r--macros/luatex/latex/wallcalendar/doc/wallcalendar-code.fls1072
-rw-r--r--macros/luatex/latex/wallcalendar/doc/wallcalendar-code.org2238
-rw-r--r--macros/luatex/latex/wallcalendar/doc/wallcalendar-code.tex2371
-rw-r--r--macros/luatex/latex/wallcalendar/doc/wallcalendar.org1125
-rw-r--r--macros/luatex/latex/wallcalendar/doc/wallcalendar.tex1190
-rw-r--r--macros/luatex/latex/wallcalendar/i18n/wallcalendar-czech.tex36
-rw-r--r--macros/luatex/latex/wallcalendar/i18n/wallcalendar-dutch.tex36
-rw-r--r--macros/luatex/latex/wallcalendar/i18n/wallcalendar-english.tex36
-rw-r--r--macros/luatex/latex/wallcalendar/i18n/wallcalendar-french.tex36
-rw-r--r--macros/luatex/latex/wallcalendar/i18n/wallcalendar-german.tex36
-rw-r--r--macros/luatex/latex/wallcalendar/i18n/wallcalendar-hungarian.tex36
-rw-r--r--macros/luatex/latex/wallcalendar/i18n/wallcalendar-italian.tex36
-rw-r--r--macros/luatex/latex/wallcalendar/i18n/wallcalendar-japanese.tex35
-rw-r--r--macros/luatex/latex/wallcalendar/i18n/wallcalendar-norwegian.tex36
-rw-r--r--macros/luatex/latex/wallcalendar/i18n/wallcalendar-portuguese.tex35
-rw-r--r--macros/luatex/latex/wallcalendar/i18n/wallcalendar-romanian.tex36
-rw-r--r--macros/luatex/latex/wallcalendar/i18n/wallcalendar-serbian.tex36
-rw-r--r--macros/luatex/latex/wallcalendar/i18n/wallcalendar-slovakian.tex36
-rw-r--r--macros/luatex/latex/wallcalendar/i18n/wallcalendar-slovenian.tex36
-rw-r--r--macros/luatex/latex/wallcalendar/i18n/wallcalendar-spanish.tex36
-rw-r--r--macros/luatex/latex/wallcalendar/i18n/wallcalendar-swedish.tex36
-rw-r--r--macros/luatex/latex/wallcalendar/i18n/wallcalendar-thai.tex36
-rw-r--r--macros/luatex/latex/wallcalendar/wallcalendar-code.pdfbin0 -> 182922 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/wallcalendar-csv.lua557
-rw-r--r--macros/luatex/latex/wallcalendar/wallcalendar-date.lua747
-rw-r--r--macros/luatex/latex/wallcalendar/wallcalendar-helpers.lua279
-rw-r--r--macros/luatex/latex/wallcalendar/wallcalendar-layouts.pngbin0 -> 704910 bytes
-rw-r--r--macros/luatex/latex/wallcalendar/wallcalendar.cls1714
-rw-r--r--macros/luatex/latex/wallcalendar/wallcalendar.pdfbin0 -> 2896302 bytes
90 files changed, 13957 insertions, 0 deletions
diff --git a/macros/luatex/latex/wallcalendar/LICENSE.txt b/macros/luatex/latex/wallcalendar/LICENSE.txt
new file mode 100644
index 0000000000..4913054404
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/LICENSE.txt
@@ -0,0 +1,7 @@
+Wallcalendar Document Class
+
+(c) Gambhiro Bhikkhu, 2017
+gambhiro.bhikkhu.85@gmail.com
+
+LPPL LaTeX Public Project License
+
diff --git a/macros/luatex/latex/wallcalendar/README.md b/macros/luatex/latex/wallcalendar/README.md
new file mode 100644
index 0000000000..f603f05c50
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/README.md
@@ -0,0 +1,29 @@
+# Wallcalendar LaTeX documentclass
+
+A wall calendar class with custom layouts and support for internationalization.
+
+The documentclass comes with the following layouts:
+
+- Full page photo, the calendar days overlaid with opacity
+- Full page photo, the photo above the calendar days
+- Small landscape photo, with a calendar grid
+- Year planner
+- Thumbnails and captions
+- Varnish mask
+
+There is also support for loading event marks from a CSV file.
+
+See `wallcalendar.pdf` for the user manual, and `wallcalendar-code.pdf` for the
+commented code documentation.
+
+The manual includes examples and tutorials, but you may also want to see the [doc/examples][examples] folder on Github.
+
+![wallcalendar layouts](./wallcalendar-layouts.png)
+
+Github: https://github.com/profound-labs/wallcalendar
+
+[examples]: https://github.com/profound-labs/wallcalendar/tree/master/doc/examples
+
+Contact: Gambhiro Bhikkhu <gambhiro.bhikkhu.85@gmail.com>
+
+LPPL LaTeX Public Project License
diff --git a/macros/luatex/latex/wallcalendar/doc/Makefile b/macros/luatex/latex/wallcalendar/doc/Makefile
new file mode 100644
index 0000000000..3bc42f78d7
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/Makefile
@@ -0,0 +1,10 @@
+all: wallcalendar wallcalendar-code
+
+wallcalendar:
+ latexmk wallcalendar.tex
+
+wallcalendar-code:
+ latexmk wallcalendar-code.tex
+
+clean:
+ rm -v *.dvi *.ps *.aux *.log *.bbl *.blg *.bcf *.toc
diff --git a/macros/luatex/latex/wallcalendar/doc/auto/wallcalendar-code.el b/macros/luatex/latex/wallcalendar/doc/auto/wallcalendar-code.el
new file mode 100644
index 0000000000..6f04500ee6
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/auto/wallcalendar-code.el
@@ -0,0 +1,243 @@
+(TeX-add-style-hook
+ "wallcalendar-code"
+ (lambda ()
+ (TeX-add-to-alist 'LaTeX-provided-class-options
+ '(("memoir-article" "11pt" "oneside") ("memoir" "11pt" "oneside")))
+ (TeX-add-to-alist 'LaTeX-provided-package-options
+ '(("xcolor" "cmyk") ("microtype" "final" "babel=true")))
+ (TeX-run-style-hooks
+ "latex2e"
+ "memoir-article"
+ "memoir-article11"
+ "local"
+ "pgfopts"
+ "calc"
+ "memoir"
+ "memoir11"
+ "nag"
+ "xcolor"
+ "graphicx"
+ "eso-pic"
+ "ccicons"
+ "multicol"
+ "wasysym"
+ "pdftexcmds"
+ "etoolbox"
+ "luacode"
+ "xcoffins"
+ "microtype"
+ "tikz")
+ (TeX-add-symbols
+ '("parseYearEvents" ["argument"] 0)
+ '("parseMonthEvents" ["argument"] 0)
+ '("MonthPage" ["argument"] 1)
+ '("SetEvents" ["argument"] 3)
+ '("SetQuote" ["argument"] 2)
+ '("SetCalendar" ["argument"] 1)
+ '("SetPhoto" ["argument"] 1)
+ '("placeholder" ["argument"] 2)
+ '("monthName" 1)
+ '("monthToNum" 1)
+ '("plannerLandscapeDateDayFormat" 1)
+ '("parseMonthMarksNoteUsing" 1)
+ '("parseMonthMarksDayTextMonthUsing" 2)
+ '("parseMonthMarksDayTextUsing" 1)
+ '("parseMonthMarksDayTextMonth" 1)
+ '("txt" 1)
+ '("SetTxt" 2)
+ '("plannerMoonFormat" 1)
+ '("strcmpblank" 3)
+ "theMonthName"
+ "StarMark"
+ "NoteStarMark"
+ "KiteMark"
+ "NoteKiteMark"
+ "NewMoon"
+ "FirstQuarter"
+ "FullMoon"
+ "LastQuarter"
+ "plannerMoonSize"
+ "monthMarkFmt"
+ "symbolSpace"
+ "symbolSeparator"
+ "parseMonthMarksDayText"
+ "parseMonthMarksNote"
+ "monthFmt"
+ "yearFmt"
+ "dayLetterFmt"
+ "dayTextFmt"
+ "quoteFmt"
+ "headingFmt"
+ "calendarFmt"
+ "eventsFmt"
+ "fullPageFmt"
+ "tikzMonthCalendar"
+ "smallLandscapeFmt"
+ "gridRows"
+ "gridLines"
+ "n"
+ "plannerPortraitMonthFmt"
+ "plannerPortraitDayFmt"
+ "plannerLandscapeDateDayFont"
+ "plannerLandscapeDayFont"
+ "plannerLandscapeMonthFont"
+ "plannerLandscapeMonthFmt"
+ "plannerLandscapeDayFmt"
+ "plannerLandscapeBeginDayScopeHook"
+ "plannerGridMonthFont"
+ "plannerGridDateDayFont"
+ "plannerGridNotesFont"
+ "plannerGridDayFont"
+ "plannerGridYearNumberFont"
+ "plannerGridYearNumberFmt"
+ "plannerGridMonthFmt"
+ "plannerGridDayFmt"
+ "plannerGridDateDayFmt"
+ "plannerGridNotesFmt"
+ "plannerGridBeginDayScopeHook"
+ "plannerMarksDayTextCSV"
+ "plannerMarksNoteCSV"
+ "plannerMarkDefaultsCsv"
+ "plannerEvents"
+ "YearPlannerPortrait"
+ "YearPlannerLandscape"
+ "YearPlannerLandscapeGrid"
+ "YearPlannerLandscapeGridPage"
+ "LoadTranslations"
+ "eIdx"
+ "eMaxIdx"
+ "eMark"
+ "eIsoDate"
+ "eYear"
+ "eMonth"
+ "eMonthShort"
+ "eDay"
+ "eDayText"
+ "eNote"
+ "dayLetterColor"
+ "l"
+ "daylabelcolor")
+ (LaTeX-add-labels
+ "sec:org96389a7"
+ "sec:org45bc02b"
+ "sec:org29781fd"
+ "sec:org2ebd68a"
+ "sec:orgf63949e"
+ "sec:org1544dc5"
+ "sec:org2d3abb2"
+ "sec:orge07ee5a"
+ "sec:orgd636a69"
+ "sec:org281ee7a"
+ "sec:orgf70f7fe"
+ "sec:org215fe38"
+ "sec:org4c3f5ae"
+ "sec:orge5d42f4"
+ "sec:org198eca9"
+ "sec:orgbfbfe40"
+ "sec:orgfc6858a"
+ "sec:orgd6a2f68"
+ "sec:org9996966"
+ "sec:org412e39a"
+ "sec:orgab06397"
+ "sec:org3b4e036"
+ "sec:org9c1a6a1"
+ "sec:orgb28c6c4"
+ "sec:org711444c"
+ "sec:orgcb9bf42"
+ "sec:org8981ab6"
+ "sec:org4aef638"
+ "sec:org6c9c7a1"
+ "sec:orgde29618"
+ "sec:org6cd54c1"
+ "sec:org5f9e367"
+ "sec:org396a316"
+ "sec:org3b370cc"
+ "sec:orgb89e36b"
+ "sec:org24e0024"
+ "sec:orgcf04e30"
+ "sec:orga2e07dc"
+ "sec:org2e41aed"
+ "sec:orga58446b"
+ "sec:orgbe4e6d6"
+ "sec:orgab25392"
+ "sec:org7522fd9"
+ "sec:orge4db85d"
+ "sec:orge713968"
+ "sec:org28b2a27"
+ "sec:orge5a9400"
+ "sec:orgf5b7748"
+ "sec:orgf57fc27"
+ "sec:org4335a91"
+ "sec:org66a8015"
+ "sec:orgec90d96"
+ "sec:org19590f3"
+ "sec:org11161c1"
+ "sec:orgcdfd5b1"
+ "sec:orgfa049f6"
+ "sec:orgd581032"
+ "sec:orgcdcedfd"
+ "sec:orgf62996c"
+ "sec:orga66f8a7"
+ "sec:org8b1a47f"
+ "sec:orgfa12564"
+ "sec:org4ba160c"
+ "sec:org20ae9c5"
+ "sec:org9d1f8e2"
+ "sec:org7b7858d"
+ "sec:org3b7f33a"
+ "sec:orgf40f335"
+ "sec:orge85789c"
+ "sec:orga6a744a"
+ "sec:orgdf6c24d"
+ "sec:org69cdabb"
+ "sec:orgdfb1023"
+ "sec:org64a6ea5"
+ "sec:orgf7b001f"
+ "sec:orgce2473c"
+ "sec:org772519b"
+ "sec:org9ce89e8"
+ "sec:org3563e80"
+ "sec:org8f36044")
+ (LaTeX-add-counters
+ "verticalCount")
+ (LaTeX-add-lengths
+ "calPaperWidth"
+ "calPaperHeight"
+ "dayTextXshift"
+ "dayTextYshift"
+ "markNumberAbove"
+ "markNumberRight"
+ "markDayTextAbove"
+ "markDayTextRight"
+ "plannerLandscapeDayXShift"
+ "plannerLandscapeMonthYShift"
+ "plannerGridColXShift"
+ "plannerGridRowYShift"
+ "plannerGridCalendarWidth"
+ "plannerGridCalendarHeight"
+ "plannerGridDayHeadingsHeight"
+ "plannerGridMonthNamesWidth"
+ "plannerGridNotesHeight")
+ (LaTeX-add-xcolor-definecolors
+ "textbody"
+ "gold"
+ "darkgold"
+ "orangegold"
+ "gridcolor"
+ "weekday"
+ "weekend"
+ "mooncolor"
+ "datenum"
+ "plannerdatenum"
+ "quote"
+ "notes"
+ "pagebgcolor"
+ "photo-frame"
+ "quote-frame"
+ "heading-frame"
+ "calendar-frame"
+ "events-frame"
+ "calendarbg"
+ "varnishmask"))
+ :latex)
+
diff --git a/macros/luatex/latex/wallcalendar/doc/auto/wallcalendar.el b/macros/luatex/latex/wallcalendar/doc/auto/wallcalendar.el
new file mode 100644
index 0000000000..ac1461482c
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/auto/wallcalendar.el
@@ -0,0 +1,71 @@
+(TeX-add-style-hook
+ "wallcalendar"
+ (lambda ()
+ (TeX-add-to-alist 'LaTeX-provided-class-options
+ '(("memoir-article" "11pt" "oneside") ("wallcalendar" "year=2018" "language=english" "imageFolder=./photos/" "" "language=japanese" "translationsInputFile=frog-japanese.tex" "translationsInputFile=frog-english.tex" "language=hungarian" "translationsInputFile=frog-hungarian.tex" "eventsCsv=./data/holidays.csv" "markDefaultsCsv=./data/mark_defaults.csv")))
+ (TeX-run-style-hooks
+ "latex2e"
+ "frontpage"
+ "./frog"
+ "memoir-article"
+ "memoir-article11"
+ "local"
+ "wallcalendar10"
+ "fontspec"
+ "local-japanese"
+ "local-english"
+ "local-hungarian")
+ (TeX-add-symbols
+ '("ThumbWithCaptionRightSide" 1)
+ '("ThumbWithCaptionLeftSide" 1)
+ "SeptMarks"
+ "plannerYearFmt"
+ "preYearPlannerPageHook"
+ "postYearPlannerPageHook"
+ "printPlannerTitle"
+ "YearPlannerPage"
+ "thumbFmt"
+ "thumbMonthFmt"
+ "thumbCaptionFmt"
+ "ThumbsPage")
+ (LaTeX-add-labels
+ "sec:org9e1c3d1"
+ "sec:orgbba6dea"
+ "sec:org30e28c2"
+ "sec:org6815f95"
+ "sec:orgda955cc"
+ "sec:org522c828"
+ "sec:org80f370d"
+ "sec:org28303a7"
+ "sec:orga8965a9"
+ "sec:org2adcd24"
+ "sec:org736afc3"
+ "sec:org12d351e"
+ "sec:orgba9e3f8"
+ "sec:orgbf5aa37"
+ "sec:orgb56123b"
+ "sec:org24663e1"
+ "sec:org85fac7e"
+ "sec:org0124cf4"
+ "sec:org70f504f"
+ "sec:org0431559"
+ "sec:orgc4970c9"
+ "sec:orge74d943"
+ "sec:org7af4bd6"
+ "sec:org9571a13"
+ "sec:org1bdd209"
+ "sec:org23c0fca"
+ "sec:org5024f18"
+ "sec:org02a2f80"
+ "sec:org2801ae6"
+ "sec:orgc9e6d1d")
+ (LaTeX-add-lengths
+ "plannerNotesSep"
+ "thumbColumnWidth"
+ "thumbColumnHeight"
+ "thumbSep")
+ (LaTeX-add-fontspec-newfontcmds
+ "dejaVuSans"
+ "mincho"))
+ :latex)
+
diff --git a/macros/luatex/latex/wallcalendar/doc/doc-setup.org b/macros/luatex/latex/wallcalendar/doc/doc-setup.org
new file mode 100644
index 0000000000..c40a23c91c
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/doc-setup.org
@@ -0,0 +1,9 @@
+#+LATEX_CLASS: memoir-article
+#+LATEX_HEADER: \usepackage{local}
+#+LATEX_HEADER: \renewcommand{\docVersion}{v1.3.1}
+#+LATEX_HEADER: \renewcommand{\docUrl}{\href{https://github.com/profound-labs/wallcalendar/}{link}}
+#+LATEX_HEADER: \hypersetup{ pdfauthor={Gambhīro Bhikkhu}, }
+#+OPTIONS: toc:nil tasks:nil ':t H:4
+#+SOURCES_URL: https://github.com/profound-labs/wallcalendar/
+#+AUTHOR: Gambhīro Bhikkhu
+#+EMAIL: gambhiro.bhikkhu.85@gmail.com
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/Makefile b/macros/luatex/latex/wallcalendar/doc/examples/Makefile
new file mode 100644
index 0000000000..51e413300d
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/Makefile
@@ -0,0 +1,61 @@
+LATEX=lualatex
+LATEX_OPTS=-interaction=nonstopmode -halt-on-error
+
+all: calendars bursts
+
+test: ./diff-cal.sh
+
+calendars: cal-plain cal-showtrims cal-showframe cal-varnishmask cal-translations cal-marks cal-year-planner cal-thumbnails
+
+bursts: cal-plain-burst cal-showtrims-burst cal-showframe-burst cal-varnishmask-burst
+
+cal-plain:
+ $(LATEX) $(LATEX_OPTS) cal-plain.tex
+
+cal-plain-burst:
+ pdftk cal-plain.pdf burst output ./cal-burst/cal-plain-%02d.pdf
+
+cal-showtrims:
+ $(LATEX) $(LATEX_OPTS) cal-showtrims.tex
+
+cal-showtrims-burst:
+ pdftk cal-showtrims.pdf burst output ./cal-burst/cal-showtrims-%02d.pdf
+
+cal-showframe:
+ $(LATEX) $(LATEX_OPTS) cal-showframe.tex
+
+cal-showframe-burst:
+ pdftk cal-showframe.pdf burst output ./cal-burst/cal-showframe-%02d.pdf
+
+cal-varnishmask:
+ $(LATEX) $(LATEX_OPTS) cal-varnishmask.tex
+
+cal-varnishmask-burst:
+ pdftk cal-varnishmask.pdf burst output ./cal-burst/cal-varnishmask-%02d.pdf
+
+cal-translations-japanese:
+ $(LATEX) $(LATEX_OPTS) cal-translations-japanese.tex
+
+cal-translations-english:
+ $(LATEX) $(LATEX_OPTS) cal-translations-english.tex
+
+cal-translations-hungarian:
+ $(LATEX) $(LATEX_OPTS) cal-translations-hungarian.tex
+
+cal-translations: cal-translations-japanese cal-translations-english cal-translations-hungarian
+
+cal-marks:
+ $(LATEX) $(LATEX_OPTS) cal-marks.tex
+
+cal-year-planner:
+ $(LATEX) $(LATEX_OPTS) cal-year-planner.tex
+
+cal-thumbnails:
+ $(LATEX) $(LATEX_OPTS) cal-thumbnails.tex
+
+# For developing snippets in isolation.
+mwe:
+ $(LATEX) $(LATEX_OPTS) mwe.tex
+
+clean:
+ rm -v *.dvi *.ps *.aux *.log *.bbl *.blg *.bcf *.toc
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-plain-01.pdf b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-plain-01.pdf
new file mode 100644
index 0000000000..b069f4cc5b
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-plain-01.pdf
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-plain-02.pdf b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-plain-02.pdf
new file mode 100644
index 0000000000..43ff48fd05
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-plain-02.pdf
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-plain-03.pdf b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-plain-03.pdf
new file mode 100644
index 0000000000..50072a5416
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-plain-03.pdf
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showframe-01.pdf b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showframe-01.pdf
new file mode 100644
index 0000000000..b49ca920ff
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showframe-01.pdf
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showframe-02.pdf b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showframe-02.pdf
new file mode 100644
index 0000000000..b1110979de
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showframe-02.pdf
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showframe-03.pdf b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showframe-03.pdf
new file mode 100644
index 0000000000..cb535bdc9a
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showframe-03.pdf
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showtrims-01.pdf b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showtrims-01.pdf
new file mode 100644
index 0000000000..b0db97dabf
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showtrims-01.pdf
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showtrims-02.pdf b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showtrims-02.pdf
new file mode 100644
index 0000000000..2e6f248898
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showtrims-02.pdf
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showtrims-03.pdf b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showtrims-03.pdf
new file mode 100644
index 0000000000..fcef54e452
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-showtrims-03.pdf
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-varnishmask-01.pdf b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-varnishmask-01.pdf
new file mode 100644
index 0000000000..00fc6638d0
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-varnishmask-01.pdf
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-varnishmask-02.pdf b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-varnishmask-02.pdf
new file mode 100644
index 0000000000..260f773b65
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-varnishmask-02.pdf
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-varnishmask-03.pdf b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-varnishmask-03.pdf
new file mode 100644
index 0000000000..0d37c6070b
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-burst/cal-varnishmask-03.pdf
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-marks.pdf b/macros/luatex/latex/wallcalendar/doc/examples/cal-marks.pdf
new file mode 100644
index 0000000000..eadb9f7d39
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-marks.pdf
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-marks.tex b/macros/luatex/latex/wallcalendar/doc/examples/cal-marks.tex
new file mode 100644
index 0000000000..d041ceab81
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-marks.tex
@@ -0,0 +1,50 @@
+\documentclass[
+ year = 2018,
+ eventsCsv = ./data/holidays.csv,
+ markDefaultsCsv = ./data/mark_defaults.csv,
+ imageFolder = ./photos/,
+]{wallcalendar}
+
+\makeatletter
+
+\colorlet{mooncolor}{darkgold}
+
+\usepackage{fontspec}
+\defaultfontfeatures{Ligatures={TeX}}
+\setmainfont{TeX Gyre Pagella}
+\newfontfamily\dejaVuSans{DejaVu Sans}
+
+\SetPhoto[bleed=3mm, file={frog-crop}]{September}
+
+\SetQuote[xOffset=0pt, yOffset=-140mm]{September}{%
+\raggedleft\setlength{\parskip}{10pt}\HUGE\color{white}%
+silent new lake\\
+let the frog jump\\
+not even a sound
+
+\textit{-- Ryokan}%
+}
+
+\SetCalendar[bg/.style={opacity=0.4}]{September}
+
+\SetEvents{September}{%
+\parseMonthMarksDayTextUsing{./data/moonphases.csv}%
+\parseMonthMarksDayText%
+\parseMonthMarksNote%
+}{%
+\raggedright
+\parseMonthEvents[%
+ format cmd = {%
+ \textsuperscript{\eMark}~\eMonthShort~\eDay:\space%
+ \eNote\ifnumless{\eIdx}{\eMaxIdx}{,\space}{.}%
+ },
+]%
+}
+
+\makeatother
+
+\begin{document}
+
+\MonthPage[layout=full page, put photo=full page]{September}
+
+\end{document}
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-plain.pdf b/macros/luatex/latex/wallcalendar/doc/examples/cal-plain.pdf
new file mode 100644
index 0000000000..6c5be0df5e
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-plain.pdf
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-plain.tex b/macros/luatex/latex/wallcalendar/doc/examples/cal-plain.tex
new file mode 100644
index 0000000000..7c02e1e8b6
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-plain.tex
@@ -0,0 +1,7 @@
+\documentclass[
+ year=2018,
+ language=english,
+ imageFolder=./photos/,
+]{wallcalendar}
+
+\input{./forest.tex} \ No newline at end of file
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-showframe.pdf b/macros/luatex/latex/wallcalendar/doc/examples/cal-showframe.pdf
new file mode 100644
index 0000000000..cf3872c1b9
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-showframe.pdf
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-showframe.tex b/macros/luatex/latex/wallcalendar/doc/examples/cal-showframe.tex
new file mode 100644
index 0000000000..5f7ea0499a
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-showframe.tex
@@ -0,0 +1,9 @@
+\documentclass[
+ year=2018,
+ language=english,
+ imageFolder=./photos/,
+ showtrims,
+ showframe,
+]{wallcalendar}
+
+\input{./forest.tex} \ No newline at end of file
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-showtrims.pdf b/macros/luatex/latex/wallcalendar/doc/examples/cal-showtrims.pdf
new file mode 100644
index 0000000000..23f9a9ce6c
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-showtrims.pdf
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-showtrims.tex b/macros/luatex/latex/wallcalendar/doc/examples/cal-showtrims.tex
new file mode 100644
index 0000000000..3e57a536b8
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-showtrims.tex
@@ -0,0 +1,8 @@
+\documentclass[
+ year=2018,
+ language=english,
+ imageFolder=./photos/,
+ showtrims,
+]{wallcalendar}
+
+\input{./forest.tex} \ No newline at end of file
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-thumbnails.pdf b/macros/luatex/latex/wallcalendar/doc/examples/cal-thumbnails.pdf
new file mode 100644
index 0000000000..1e8fad0769
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-thumbnails.pdf
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-thumbnails.tex b/macros/luatex/latex/wallcalendar/doc/examples/cal-thumbnails.tex
new file mode 100644
index 0000000000..510c38885f
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-thumbnails.tex
@@ -0,0 +1,200 @@
+\documentclass[
+ year = 2018,
+ imageFolder = ./photos/,
+]{wallcalendar}
+
+\makeatletter
+
+\usepackage{fontspec}
+\defaultfontfeatures{Ligatures={TeX}}
+\setmainfont{TeX Gyre Pagella}
+\newfontfamily\dejaVuSans{DejaVu Sans}
+
+\newlength\@wall@tmp@a
+\newlength\@wall@tmp@b
+
+\newlength\@wall@thumbWidth
+\newlength\@wall@thumbHeight
+\newlength\@wall@thumbCaptionWidth
+\setlength{\@wall@thumbWidth}{0.1749\calPaperWidth}% 30mm at the 6.75in page width, 0.1749 = 1/5.715
+\setlength{\@wall@thumbHeight}{\@wall@thumbWidth}
+\setlength{\@wall@thumbCaptionWidth}{0.2333\calPaperWidth}% 40mm at 6.75in page width
+
+\newcommand\thumbFmt{}
+\newcommand\thumbMonthFmt{\fontsize{10}{13}\selectfont\bfseries}
+\newcommand\thumbCaptionFmt{\fontsize{10}{13}\selectfont}
+
+\def\@wall@thumbFile{}
+\def\@wall@photoCaption{}
+
+\newcommand\ThumbWithCaptionLeftSide[1]{%
+\pgfkeys{/Photo/#1/thumbFile/.get=\@wall@thumbFile}%
+\ifx\@wall@thumbFile\empty
+ \pgfkeys{/Photo/#1/file/.get=\@wall@thumbFile}%
+\fi
+\pgfkeys{/Photo/#1/caption/.get=\@wall@photoCaption}%
+% Thumbnail caption
+\ifvarnishmask%
+\hspace*{\@wall@thumbWidth}
+\else%
+\begin{minipage}[b][\@wall@thumbHeight][t]{\@wall@thumbCaptionWidth}%
+\raggedleft
+\thumbFmt
+{\thumbMonthFmt \@tr@monthNumName{\monthToNum{#1}}}\par
+{\thumbCaptionFmt \@wall@photoCaption}%
+\end{minipage}%
+\fi%
+\hspace*{3mm}
+% Thumbnail photo
+\begin{minipage}[b][\@wall@thumbHeight]{\@wall@thumbWidth}%
+% FIXME placeholder
+%\placeholder{%
+\includegraphics[ keepaspectratio, height=\@wall@thumbHeight ]{\@wall@thumbFile}%
+%}%
+\end{minipage}%
+}
+
+\newcommand\ThumbWithCaptionRightSide[1]{%
+\pgfkeys{/Photo/#1/thumbFile/.get=\@wall@thumbFile}%
+\ifx\@wall@thumbFile\empty
+ \pgfkeys{/Photo/#1/file/.get=\@wall@thumbFile}%
+\fi
+\pgfkeys{/Photo/#1/caption/.get=\@wall@photoCaption}%
+% Thumbnail photo
+\begin{minipage}[b][\@wall@thumbHeight]{\@wall@thumbWidth}%
+% FIXME placeholder
+%\placeholder{%
+\includegraphics[ keepaspectratio, height=\@wall@thumbHeight ]{\@wall@thumbFile}%
+%}%
+\end{minipage}%
+\hspace*{3mm}
+% Thumbnail caption
+\ifvarnishmask%
+\hspace*{\@wall@thumbWidth}
+\else%
+\begin{minipage}[b][\@wall@thumbHeight][t]{\@wall@thumbCaptionWidth}%
+\raggedright
+\thumbFmt
+{\thumbMonthFmt \@tr@monthNumName{\monthToNum{#1}}}\par
+{\thumbCaptionFmt \@wall@photoCaption}%
+\end{minipage}%
+\fi%
+}
+
+\newlength{\thumbColumnWidth}
+\newlength{\thumbColumnHeight}
+\newlength{\thumbSep}
+\newlength{\@t@a}
+\newlength{\@t@b}
+
+% vertical spacing
+\setlength{\@t@a}{0.2\textheight}
+
+% horizontal spacing
+\setlength{\@t@b}{0.2\@wall@thumbCaptionWidth}% 8mm at 40mm caption width
+
+\ifdimcomp{\@t@a}{<}{\@t@b}{
+ \setlength{\thumbSep}{\@t@a}
+}{
+ \setlength{\thumbSep}{\@t@b}
+}
+
+\setlength{\thumbColumnWidth}{0.5\calPaperWidth - \thumbSep}
+\setlength{\thumbColumnHeight}{\textheight}
+
+\newcommand\ThumbsPage{%
+\clearpage
+
+\hspace*{-\@wall@leftMargin}%
+\hspace*{-1pt}% small correction, space gets in somewhere
+% Wrap
+\begin{minipage}[t][\thumbColumnHeight]{\calPaperWidth}%
+\centering%
+\setlength{\parindent}{0pt}%
+\setlength{\parskip}{0pt}%
+
+% NOTE: multicols will not \vfill
+% Left Column
+\begin{minipage}[t][\thumbColumnHeight]{\thumbColumnWidth}%
+\raggedleft
+
+\ThumbWithCaptionLeftSide{January}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionLeftSide{March}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionLeftSide{May}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionLeftSide{July}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionLeftSide{September}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionLeftSide{November}
+
+% End of left column
+\end{minipage}%
+%
+\hspace*{\thumbSep}%
+%
+% Right column
+\begin{minipage}[t][\thumbColumnHeight]{\thumbColumnWidth}%
+\raggedright
+
+\ThumbWithCaptionRightSide{February}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionRightSide{April}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionRightSide{June}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionRightSide{August}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionRightSide{October}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionRightSide{December}
+
+% End of right column
+\end{minipage}%
+
+% End of wrap
+\end{minipage}%
+}
+
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{January}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{February}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{March}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{April}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{May}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{June}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{July}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{August}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{September}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{October}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{November}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{December}
+
+\makeatother
+
+\begin{document}
+
+\ThumbsPage
+
+\end{document}
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-translations-english.pdf b/macros/luatex/latex/wallcalendar/doc/examples/cal-translations-english.pdf
new file mode 100644
index 0000000000..3ce0981c4c
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-translations-english.pdf
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-translations-english.tex b/macros/luatex/latex/wallcalendar/doc/examples/cal-translations-english.tex
new file mode 100644
index 0000000000..4dc56ec10d
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-translations-english.tex
@@ -0,0 +1,16 @@
+\documentclass[
+ year = 2018,
+ language = english,
+ translationsInputFile = frog-english.tex,
+ imageFolder = ./photos/,
+]{wallcalendar}
+
+\usepackage{local-english}
+
+\input{./frog.tex}
+
+\begin{document}
+
+\MonthPage[layout=full page, put photo=full page]{September}
+
+\end{document}
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-translations-hungarian.pdf b/macros/luatex/latex/wallcalendar/doc/examples/cal-translations-hungarian.pdf
new file mode 100644
index 0000000000..1c5404d2d2
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-translations-hungarian.pdf
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-translations-hungarian.tex b/macros/luatex/latex/wallcalendar/doc/examples/cal-translations-hungarian.tex
new file mode 100644
index 0000000000..9626ab3c23
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-translations-hungarian.tex
@@ -0,0 +1,16 @@
+\documentclass[
+ year = 2018,
+ language = hungarian,
+ translationsInputFile = frog-hungarian.tex,
+ imageFolder = ./photos/,
+]{wallcalendar}
+
+\usepackage{local-hungarian}
+
+\input{./frog.tex}
+
+\begin{document}
+
+\MonthPage[layout=full page, put photo=full page]{September}
+
+\end{document}
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-translations-japanese.pdf b/macros/luatex/latex/wallcalendar/doc/examples/cal-translations-japanese.pdf
new file mode 100644
index 0000000000..e88c290060
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-translations-japanese.pdf
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-translations-japanese.tex b/macros/luatex/latex/wallcalendar/doc/examples/cal-translations-japanese.tex
new file mode 100644
index 0000000000..5b89d1bf9c
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-translations-japanese.tex
@@ -0,0 +1,18 @@
+\documentclass[
+ year = 2018,
+ language = japanese,
+ translationsInputFile = frog-japanese.tex,
+ imageFolder = ./photos/,
+]{wallcalendar}
+
+\usepackage{local-japanese}
+
+% Content is the same across translations
+\input{./frog.tex}
+
+\begin{document}
+
+% Just one month
+\MonthPage[layout=full page, put photo=full page]{September}
+
+\end{document}
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-varnishmask.pdf b/macros/luatex/latex/wallcalendar/doc/examples/cal-varnishmask.pdf
new file mode 100644
index 0000000000..2ae0cb6e49
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-varnishmask.pdf
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-varnishmask.tex b/macros/luatex/latex/wallcalendar/doc/examples/cal-varnishmask.tex
new file mode 100644
index 0000000000..37b5d89d6b
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-varnishmask.tex
@@ -0,0 +1,9 @@
+\documentclass[
+ year=2018,
+ language=english,
+ imageFolder=./photos/,
+ showtrims,
+ varnishmask,
+]{wallcalendar}
+
+\input{./forest.tex} \ No newline at end of file
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-year-planner.pdf b/macros/luatex/latex/wallcalendar/doc/examples/cal-year-planner.pdf
new file mode 100644
index 0000000000..773acbc296
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-year-planner.pdf
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/cal-year-planner.tex b/macros/luatex/latex/wallcalendar/doc/examples/cal-year-planner.tex
new file mode 100644
index 0000000000..a9738309f7
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/cal-year-planner.tex
@@ -0,0 +1,75 @@
+\documentclass[
+ year = 2018,
+ eventsCsv = ./data/holidays.csv,
+ markDefaultsCsv = ./data/mark_defaults.csv,
+ imageFolder = ./photos/,
+]{wallcalendar}
+
+\makeatletter
+
+\usepackage{fontspec}
+\defaultfontfeatures{Ligatures={TeX}}
+\setmainfont{TeX Gyre Pagella}
+\newfontfamily\dejaVuSans{DejaVu Sans}
+
+% Use two CSV files for day text input to include the moon phases
+\renewcommand\@wall@plm[1]{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksDayText(\luastring{#1}, nil, \luastring{\plannerMarksDayTextCSV})
+monthMarksDayText(\luastring{#1}, nil, \luastring{./data/moonphases.csv})
+tex.sprint(';')
+}}
+
+\newcommand\plannerYearFmt{\fontsize{26}{26}\selectfont\color{orangegold}}
+
+\newlength\plannerNotesSep
+\setlength{\plannerNotesSep}{3mm}
+
+\newcommand\preYearPlannerPageHook{%
+ \setlength{\markNumberAbove}{-9pt}%
+ \setlength{\markNumberRight}{-6pt}%
+ \setlength{\markDayTextAbove}{-11pt}%
+ \setlength{\markDayTextRight}{-6pt}%
+}
+
+\newcommand\postYearPlannerPageHook{%
+ \setlength{\markNumberAbove}{-10pt}%
+ \setlength{\markNumberRight}{-3pt}%
+ \setlength{\markDayTextAbove}{-10pt}%
+ \setlength{\markDayTextRight}{-3pt}%
+}
+
+\newcommand\printPlannerTitle{\plannerYearFmt \CalendarYear}
+
+\newcommand\YearPlannerPage{%
+\newpage
+\ifvarnishmask
+\mbox{}
+\else
+\preYearPlannerPageHook
+{\centering
+
+{\printPlannerTitle}
+
+\vspace*{7mm}
+
+\YearPlannerPortrait
+
+\vspace*{\plannerNotesSep}
+
+\plannerEvents
+
+}
+\postYearPlannerPageHook
+
+\fi
+}
+
+\makeatother
+
+\begin{document}
+
+\YearPlannerPage
+
+\end{document}
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/data/astro-2018.json b/macros/luatex/latex/wallcalendar/doc/examples/data/astro-2018.json
new file mode 100644
index 0000000000..4a5633ed07
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/data/astro-2018.json
@@ -0,0 +1 @@
+{"success":true,"error":null,"response":[{"timestamp":1514859929,"dateTimeISO":"2018-01-02T02:25:29+00:00","code":2,"name":"full moon"},{"timestamp":1515450393,"dateTimeISO":"2018-01-08T22:26:33+00:00","code":3,"name":"last quarter"},{"timestamp":1516155498,"dateTimeISO":"2018-01-17T02:18:18+00:00","code":0,"name":"new moon"},{"timestamp":1516832433,"dateTimeISO":"2018-01-24T22:20:33+00:00","code":1,"name":"first quarter"},{"timestamp":1517405266,"dateTimeISO":"2018-01-31T13:27:46+00:00","code":2,"name":"full moon"},{"timestamp":1518018949,"dateTimeISO":"2018-02-07T15:55:49+00:00","code":3,"name":"last quarter"},{"timestamp":1518728811,"dateTimeISO":"2018-02-15T21:06:51+00:00","code":0,"name":"new moon"},{"timestamp":1519373361,"dateTimeISO":"2018-02-23T08:09:21+00:00","code":1,"name":"first quarter"},{"timestamp":1519951930,"dateTimeISO":"2018-03-02T00:52:10+00:00","code":2,"name":"full moon"},{"timestamp":1520594574,"dateTimeISO":"2018-03-09T11:22:54+00:00","code":3,"name":"last quarter"},{"timestamp":1521292459,"dateTimeISO":"2018-03-17T13:14:19+00:00","code":0,"name":"new moon"},{"timestamp":1521905752,"dateTimeISO":"2018-03-24T15:35:52+00:00","code":1,"name":"first quarter"},{"timestamp":1522499867,"dateTimeISO":"2018-03-31T13:37:47+01:00","code":2,"name":"full moon"},{"timestamp":1523172061,"dateTimeISO":"2018-04-08T08:21:01+01:00","code":3,"name":"last quarter"},{"timestamp":1523843993,"dateTimeISO":"2018-04-16T02:59:53+01:00","code":0,"name":"new moon"},{"timestamp":1524433610,"dateTimeISO":"2018-04-22T22:46:50+01:00","code":1,"name":"first quarter"},{"timestamp":1525049954,"dateTimeISO":"2018-04-30T01:59:14+01:00","code":2,"name":"full moon"},{"timestamp":1525745494,"dateTimeISO":"2018-05-08T03:11:34+01:00","code":3,"name":"last quarter"},{"timestamp":1526384989,"dateTimeISO":"2018-05-15T12:49:49+01:00","code":0,"name":"new moon"},{"timestamp":1526961039,"dateTimeISO":"2018-05-22T04:50:39+01:00","code":1,"name":"first quarter"},{"timestamp":1527603648,"dateTimeISO":"2018-05-29T15:20:48+01:00","code":2,"name":"full moon"},{"timestamp":1528310048,"dateTimeISO":"2018-06-06T19:34:08+01:00","code":3,"name":"last quarter"},{"timestamp":1528919104,"dateTimeISO":"2018-06-13T20:45:04+01:00","code":0,"name":"new moon"},{"timestamp":1529491954,"dateTimeISO":"2018-06-20T11:52:34+01:00","code":1,"name":"first quarter"},{"timestamp":1530161675,"dateTimeISO":"2018-06-28T05:54:35+01:00","code":2,"name":"full moon"},{"timestamp":1530863569,"dateTimeISO":"2018-07-06T08:52:49+01:00","code":3,"name":"last quarter"},{"timestamp":1531450175,"dateTimeISO":"2018-07-13T03:49:35+01:00","code":0,"name":"new moon"},{"timestamp":1532030037,"dateTimeISO":"2018-07-19T20:53:57+01:00","code":1,"name":"first quarter"},{"timestamp":1532722939,"dateTimeISO":"2018-07-27T21:22:19+01:00","code":2,"name":"full moon"},{"timestamp":1533406790,"dateTimeISO":"2018-08-04T19:19:50+01:00","code":3,"name":"last quarter"},{"timestamp":1533981547,"dateTimeISO":"2018-08-11T10:59:07+01:00","code":0,"name":"new moon"},{"timestamp":1534578594,"dateTimeISO":"2018-08-18T08:49:54+01:00","code":1,"name":"first quarter"},{"timestamp":1535284704,"dateTimeISO":"2018-08-26T12:58:24+01:00","code":2,"name":"full moon"},{"timestamp":1535942350,"dateTimeISO":"2018-09-03T03:39:10+01:00","code":3,"name":"last quarter"},{"timestamp":1536516161,"dateTimeISO":"2018-09-09T19:02:41+01:00","code":0,"name":"new moon"},{"timestamp":1537139765,"dateTimeISO":"2018-09-17T00:16:05+01:00","code":1,"name":"first quarter"},{"timestamp":1537844089,"dateTimeISO":"2018-09-25T03:54:49+01:00","code":2,"name":"full moon"},{"timestamp":1538473635,"dateTimeISO":"2018-10-02T10:47:15+01:00","code":3,"name":"last quarter"},{"timestamp":1539056870,"dateTimeISO":"2018-10-09T04:47:50+01:00","code":0,"name":"new moon"},{"timestamp":1539712949,"dateTimeISO":"2018-10-16T19:02:29+01:00","code":1,"name":"first quarter"},{"timestamp":1540399654,"dateTimeISO":"2018-10-24T17:47:34+01:00","code":2,"name":"full moon"},{"timestamp":1541004147,"dateTimeISO":"2018-10-31T16:42:27+00:00","code":3,"name":"last quarter"},{"timestamp":1541606572,"dateTimeISO":"2018-11-07T16:02:52+00:00","code":0,"name":"new moon"},{"timestamp":1542293669,"dateTimeISO":"2018-11-15T14:54:29+00:00","code":1,"name":"first quarter"},{"timestamp":1542951686,"dateTimeISO":"2018-11-23T05:41:26+00:00","code":2,"name":"full moon"},{"timestamp":1543537278,"dateTimeISO":"2018-11-30T00:21:18+00:00","code":3,"name":"last quarter"},{"timestamp":1544167302,"dateTimeISO":"2018-12-07T07:21:42+00:00","code":0,"name":"new moon"},{"timestamp":1544874577,"dateTimeISO":"2018-12-15T11:49:37+00:00","code":1,"name":"first quarter"},{"timestamp":1545501027,"dateTimeISO":"2018-12-22T17:50:27+00:00","code":2,"name":"full moon"},{"timestamp":1546076202,"dateTimeISO":"2018-12-29T09:36:42+00:00","code":3,"name":"last quarter"}]} \ No newline at end of file
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/data/holidays.csv b/macros/luatex/latex/wallcalendar/doc/examples/data/holidays.csv
new file mode 100644
index 0000000000..1143a5a389
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/data/holidays.csv
@@ -0,0 +1,10 @@
+date;day_text;note
+2018-09-10;G;Gandalf escapes from Orthanc
+2018-09-14;F;Frodo \& Bilbo's birthday
+2018-09-15;;Black riders enter the Shire
+2018-09-18;;Frodo and company rescued by Bombadil
+2018-09-25;;Full Moon
+2018-09-28;W;Wraith attack
+2018-10-05;F;Frodo crosses bridge of Mitheithel
+2018-10-16;B;Boromir reaches Rivendell
+2018-10-17;E;Council of Elrond
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/data/mark_defaults.csv b/macros/luatex/latex/wallcalendar/doc/examples/data/mark_defaults.csv
new file mode 100644
index 0000000000..8ead82c8b5
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/data/mark_defaults.csv
@@ -0,0 +1,3 @@
+number_symbol;day_text_symbol;note_symbol;number_above_offset;number_right_offset;day_text_above_offset;day_text_right_offset
+\StarMark;\StarMark;\StarMark;-13pt;-3pt;-13pt;-3pt
+\KiteMark;\KiteMark;\NoteKiteMark;-13pt;-2pt;-13pt;-2pt \ No newline at end of file
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/data/moonphases.csv b/macros/luatex/latex/wallcalendar/doc/examples/data/moonphases.csv
new file mode 100644
index 0000000000..4f31c2222c
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/data/moonphases.csv
@@ -0,0 +1,51 @@
+date;day_text;note
+2018-01-02;\FullMoon;
+2018-01-08;\LastQuarter;
+2018-01-17;\NewMoon;
+2018-01-24;\FirstQuarter;
+2018-01-31;\FullMoon;
+2018-02-07;\LastQuarter;
+2018-02-15;\NewMoon;
+2018-02-23;\FirstQuarter;
+2018-03-02;\FullMoon;
+2018-03-09;\LastQuarter;
+2018-03-17;\NewMoon;
+2018-03-24;\FirstQuarter;
+2018-03-31;\FullMoon;
+2018-04-08;\LastQuarter;
+2018-04-16;\NewMoon;
+2018-04-22;\FirstQuarter;
+2018-04-30;\FullMoon;
+2018-05-08;\LastQuarter;
+2018-05-15;\NewMoon;
+2018-05-22;\FirstQuarter;
+2018-05-29;\FullMoon;
+2018-06-06;\LastQuarter;
+2018-06-13;\NewMoon;
+2018-06-20;\FirstQuarter;
+2018-06-28;\FullMoon;
+2018-07-06;\LastQuarter;
+2018-07-13;\NewMoon;
+2018-07-19;\FirstQuarter;
+2018-07-27;\FullMoon;
+2018-08-04;\LastQuarter;
+2018-08-11;\NewMoon;
+2018-08-18;\FirstQuarter;
+2018-08-26;\FullMoon;
+2018-09-03;\LastQuarter;
+2018-09-09;\NewMoon;
+2018-09-17;\FirstQuarter;
+2018-09-25;\FullMoon;
+2018-10-02;\LastQuarter;
+2018-10-09;\NewMoon;
+2018-10-16;\FirstQuarter;
+2018-10-24;\FullMoon;
+2018-10-31;\LastQuarter;
+2018-11-07;\NewMoon;
+2018-11-15;\FirstQuarter;
+2018-11-23;\FullMoon;
+2018-11-30;\LastQuarter;
+2018-12-07;\NewMoon;
+2018-12-15;\FirstQuarter;
+2018-12-22;\FullMoon;
+2018-12-29;\LastQuarter;
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/diff-cal.sh b/macros/luatex/latex/wallcalendar/doc/examples/diff-cal.sh
new file mode 100755
index 0000000000..92e141b26a
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/diff-cal.sh
@@ -0,0 +1,40 @@
+#!/bin/bash
+
+# TODO get the list of calendar name from listing the .pdf in doc/examples/
+
+for i in marks plain showframe showtrims thumbnails translations-english translations-hungarian translations-japanese varnishmask year-planner; do
+ name="cal-$i"
+ git checkout "$name".pdf
+ pdftk "$name".pdf burst output ./diff-old/"$name"-%02d.pdf
+ make "$name" > out.log 2>&1
+ if [[ $? -ne 0 ]]; then
+ echo "ERROR: compiling '$name.pdf' failed. See out.log"
+ exit 2
+ fi
+ pdftk "$name".pdf burst output ./diff-new/"$name"-%02d.pdf
+done
+
+for i in ./diff-old/*.pdf; do
+ name=`basename $i`
+
+ echo -n "Compare $name, AE: ... "
+
+ compare \
+ -metric AE \
+ ./diff-old/"$name" \
+ ./diff-new/"$name" \
+ -compose src \
+ -alpha off \
+ ./diff-compare/`basename -s .pdf $i`.jpg
+
+ if [[ $? -eq 1 ]]; then
+ echo -e "\nDIFFER: $name\n"
+ else
+ echo -e "\n"
+ fi
+done
+
+for i in plain showframe showtrims varnishmask; do
+ name="cal-$i"
+ git checkout "$name".pdf
+done
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/forest.tex b/macros/luatex/latex/wallcalendar/doc/examples/forest.tex
new file mode 100644
index 0000000000..03f93b8993
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/forest.tex
@@ -0,0 +1,116 @@
+\makeatletter
+
+\usepackage{fontspec}
+\defaultfontfeatures{Ligatures={TeX}}
+\setmainfont{TeX Gyre Pagella}
+\newfontfamily\dejaVuSans{DejaVu Sans}
+
+\SetPhoto[bleed=3mm, file={obscure-crop}]{June}
+
+\SetQuote[xOffset=-5mm, yOffset=-20mm]{June}{%
+\raggedright
+\setlength{\parskip}{10pt}%
+\Large
+\color{white}
+
+I shall set forth for somewhere,\\
+I shall make the reckless choice\\
+Some day when they are in voice\\
+And tossing so as to scare\\
+The white clouds over them on.\\
+I shall have less to say,\\
+But I shall be gone.
+
+\textit{The Sound of the Trees} by Robert Frost
+}
+
+\ifshowframe
+ \SetCalendar[bg/.style={opacity=0.5, fill=white}]{June}
+\else
+ \SetCalendar[bg/.style={opacity=0.8}]{June}
+\fi
+
+\SetEvents{June}{%
+ if (equals=2018-06-21)
+ [day text={\dejaVuSans\char"263C}];% U+263C white sun with rays
+}{%
+\raggedleft
+{\dejaVuSans\char"263C} June 21: Summer Solstice
+}
+
+\SetPhoto[bleed=3mm, file={obscure-crop}]{July}
+
+\SetQuote[%
+ xOffset=0.5\linewidth - 0.5\paperwidth -3mm,
+ yOffset=-20mm,
+]{July}{%
+\begin{tikzpicture}%
+\node [
+ fill=white, opacity=0.6, minimum width={\paperwidth + 3mm},
+ minimum height=30mm] {};%
+\node [] {%
+\begin{minipage}{\paperwidth + 3mm}%
+\centering
+\Large
+\color{white}
+
+I shall have less to say,\\
+But I shall be gone.
+
+\textit{The Sound of the Trees} by Robert Frost
+\end{minipage}%
+};
+\end{tikzpicture}%
+}
+
+\ifshowframe
+ \SetCalendar[bg/.style={opacity=0.5}]{July}
+\else
+ \SetCalendar[bg/.style={opacity=1}]{July}
+\fi
+
+\SetEvents{July}{
+ if (equals=2018-07-27) [day text={\dejaVuSans\char"263C}];
+}{%
+\raggedleft
+{\dejaVuSans\char"263C} July 27: Mars at Opposition
+}
+
+\SetPhoto[bleed=3mm, file={obscure-crop}, yOffset=-150mm]{August}
+
+\SetQuote[yOffset=-3mm]{August}{%
+\centering
+\setlength{\parskip}{10pt}%
+\Large
+\color{black!80}
+
+I shall have less to say,\\
+But I shall be gone.
+
+\textit{The Sound of the Trees} by Robert Frost
+}
+
+\ifshowframe
+ \SetCalendar[bg/.style={opacity=0.5}]{August}
+\else
+ \SetCalendar[bg/.style={opacity=1}]{August}
+\fi
+
+\SetEvents{August}{
+ if (equals=2018-08-12) [day text={\dejaVuSans\char"263C}];
+}{%
+\raggedleft
+{\dejaVuSans\char"263C} August 12, 13: Perseids Meteor Shower
+}
+
+\makeatother
+
+\begin{document}
+
+\MonthPage[layout=full page, put photo=full page]{June}
+
+\MonthPage[layout=full page, put photo=full width above calendar]{July}
+
+\MonthPage[layout=small landscape, put photo=full width]{August}
+
+\end{document}
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/frog-english.tex b/macros/luatex/latex/wallcalendar/doc/examples/frog-english.tex
new file mode 100644
index 0000000000..92500dbf1a
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/frog-english.tex
@@ -0,0 +1,16 @@
+\SetTxt{September Quote}{%
+silent new lake\\
+let the frog jump\\
+not even a sound
+
+\textit{-- Ryokan}%
+}
+
+\newcommand\SeptMarks{%
+ if (equals=2018-09-21)
+ [day text={\dejaVuSans\char"263C}];% U+263C white sun with rays
+}
+
+\SetTxt{Sept Events}{%
+{\dejaVuSans\char"263C} Sept 21: September 21
+}
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/frog-hungarian.tex b/macros/luatex/latex/wallcalendar/doc/examples/frog-hungarian.tex
new file mode 100644
index 0000000000..b1feb00444
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/frog-hungarian.tex
@@ -0,0 +1,16 @@
+\SetTxt{September Quote}{%
+hallgat az új tó\\
+ugorhat béka belé\\
+vize se csobban
+
+\textit{-- Rjókan}%
+}
+
+\newcommand\SeptMarks{%
+ if (equals=2018-09-21)
+ [day text={\dejaVuSans\char"263C}];% U+263C white sun with rays
+}
+
+\SetTxt{Sept Events}{%
+{\dejaVuSans\char"263C} Szept 21: Szeptember 21
+}
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/frog-japanese.tex b/macros/luatex/latex/wallcalendar/doc/examples/frog-japanese.tex
new file mode 100644
index 0000000000..b98bd8d9d9
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/frog-japanese.tex
@@ -0,0 +1,16 @@
+\SetTxt{September Quote}{%
+{\mincho 新池や蛙とびこむ音もなし}
+
+{\Large\textit{araike ya / kawazu tobikomu / oto mo nashi}}
+
+{\mincho 良寛}%
+}
+
+\newcommand\SeptMarks{%
+ if (equals=2018-09-21)
+ [day text={\dejaVuSans\char"263C}];% U+263C white sun with rays
+}
+
+\SetTxt{Sept Events}{%
+{\dejaVuSans\char"263C} {\mincho 9月 21日: まことに 9月 21日}
+}
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/frog.tex b/macros/luatex/latex/wallcalendar/doc/examples/frog.tex
new file mode 100644
index 0000000000..0041921bdf
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/frog.tex
@@ -0,0 +1,19 @@
+\makeatletter
+
+\SetPhoto[bleed=3mm, file={frog-crop}]{September}
+
+\SetQuote[xOffset=0pt, yOffset=-140mm]{September}{%
+\raggedleft\setlength{\parskip}{10pt}\HUGE\color{white}%
+\txt{September Quote}%
+}
+
+\SetCalendar[bg/.style={opacity=0.4}]{September}
+
+\SetEvents{September}{%
+\SeptMarks%
+}{%
+\raggedleft
+\txt{Sept Events}
+}
+
+\makeatother
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/local-english.sty b/macros/luatex/latex/wallcalendar/doc/examples/local-english.sty
new file mode 100644
index 0000000000..24b4238b04
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/local-english.sty
@@ -0,0 +1,6 @@
+\ProvidesPackage{local-english}
+
+\usepackage{fontspec}
+\defaultfontfeatures{Ligatures={TeX}}
+\setmainfont{TeX Gyre Pagella}
+\newfontfamily\dejaVuSans{DejaVu Sans}
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/local-hungarian.sty b/macros/luatex/latex/wallcalendar/doc/examples/local-hungarian.sty
new file mode 100644
index 0000000000..d63edb10ed
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/local-hungarian.sty
@@ -0,0 +1,6 @@
+\ProvidesPackage{local-hungarian}
+
+\usepackage{fontspec}
+\defaultfontfeatures{Ligatures={TeX}}
+\setmainfont{TeX Gyre Pagella}
+\newfontfamily\dejaVuSans{DejaVu Sans}
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/local-japanese.sty b/macros/luatex/latex/wallcalendar/doc/examples/local-japanese.sty
new file mode 100644
index 0000000000..dfe1af5a14
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/local-japanese.sty
@@ -0,0 +1,23 @@
+\ProvidesPackage{local-japanese}
+
+\usepackage{fontspec}
+\defaultfontfeatures{Ligatures={TeX}}
+\setmainfont{TeX Gyre Pagella}
+\newfontfamily\dejaVuSans{DejaVu Sans}
+% Japanese font
+\newfontfamily\mincho{IPAPMincho}
+
+% Renew formatting hooks to use the \mincho font
+\renewcommand\fullPageFmt{%
+ \renewcommand*\monthFmt{\LARGE\mincho}%
+ \renewcommand*\yearFmt{\LARGE\mincho}%
+ \renewcommand*\dayLetterColor{}%
+ \renewcommand*\dayLetterFmt{\tiny\mincho}%
+ \renewcommand*\dayTextFmt{\small}%
+ \renewcommand*\quoteFmt{}%
+ \renewcommand*\headingFmt{\centering}%
+ \renewcommand*\calendarFmt{\centering}%
+ \renewcommand*\eventsFmt{%
+ \setlength{\parindent}{0pt}\raggedleft\footnotesize%
+ }%
+}
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/photos/frog-crop-thumb.jpg b/macros/luatex/latex/wallcalendar/doc/examples/photos/frog-crop-thumb.jpg
new file mode 100644
index 0000000000..1786521952
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/photos/frog-crop-thumb.jpg
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/photos/frog-crop.jpg b/macros/luatex/latex/wallcalendar/doc/examples/photos/frog-crop.jpg
new file mode 100644
index 0000000000..e02e07bf4e
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/photos/frog-crop.jpg
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/photos/frog.jpg b/macros/luatex/latex/wallcalendar/doc/examples/photos/frog.jpg
new file mode 100644
index 0000000000..d91cc82add
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/photos/frog.jpg
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/examples/photos/obscure-crop.jpg b/macros/luatex/latex/wallcalendar/doc/examples/photos/obscure-crop.jpg
new file mode 100644
index 0000000000..98d26552ee
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/examples/photos/obscure-crop.jpg
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/doc/frontpage.tex b/macros/luatex/latex/wallcalendar/doc/frontpage.tex
new file mode 100644
index 0000000000..8b18f4267b
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/frontpage.tex
@@ -0,0 +1,103 @@
+\bigskip
+
+\thispagestyle{empty}
+
+This is the \textbf{User Manual} for the \texttt{wallcalendar} class.
+\textbf{Source documentation} is in \texttt{wallcalendar-code.pdf}. Clone or
+download from Github:
+
+\href{https://github.com/profound-labs/wallcalendar/}{https://github.com/profound-labs/wallcalendar/}
+
+The documentclass comes with the following layouts:
+
+\bigskip
+
+\makeatletter
+\newlength\exampleWidth
+\setlength{\exampleWidth}{45mm}
+\makeatother
+
+\begin{extrafullwidth}
+
+\hfill
+\begin{minipage}{0.31\linewidth}
+\centering
+
+Full page photo, the calendar days\\
+overlaid with opacity
+
+\bigskip
+
+\frame{\includegraphics[width=\exampleWidth]{cal-plain-01}}
+
+\end{minipage}%
+\begin{minipage}{0.31\linewidth}
+\centering
+
+Full page photo, the photo above\\
+the calendar days
+
+\bigskip
+
+\frame{\includegraphics[width=\exampleWidth]{cal-plain-02}}
+
+\end{minipage}%
+\begin{minipage}{0.31\linewidth}
+\centering
+
+Small landscape photo, with a\\
+calendar grid
+
+\bigskip
+
+\frame{\includegraphics[width=\exampleWidth]{cal-plain-03}}
+
+\end{minipage}
+\hfill\mbox{}
+
+\end{extrafullwidth}
+
+\bigskip
+
+\begin{extrafullwidth}
+
+\hfill
+\begin{minipage}{0.31\linewidth}
+\centering
+
+Load event marks from CSV file
+
+\bigskip
+
+\frame{\includegraphics[width=\exampleWidth]{./examples/cal-marks.pdf}}
+
+\end{minipage}%
+\begin{minipage}{0.31\linewidth}
+\centering
+
+Year planner
+
+\bigskip
+
+\frame{\includegraphics[width=\exampleWidth]{./examples/cal-year-planner.pdf}}
+
+\end{minipage}%
+\begin{minipage}{0.31\linewidth}
+\centering
+
+Thumbnails and captions
+
+\bigskip
+
+\frame{\includegraphics[width=\exampleWidth]{./examples/cal-thumbnails.pdf}}
+
+\end{minipage}
+\hfill\mbox{}
+
+\end{extrafullwidth}
+
+\clearpage
+
+\tableofcontents*
+\clearpage
+
diff --git a/macros/luatex/latex/wallcalendar/doc/latexmkrc b/macros/luatex/latex/wallcalendar/doc/latexmkrc
new file mode 100644
index 0000000000..cc8e5bd5c9
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/latexmkrc
@@ -0,0 +1,4 @@
+$pdf_mode = 4;
+$postscript_mode = $dvi_mode = 0;
+$lualatex = 'lualatex -shell-escape -interaction=nonstopmode -halt-on-error %O %S';
+$pdf_previewer = 'evince %O %S';
diff --git a/macros/luatex/latex/wallcalendar/doc/local.sty b/macros/luatex/latex/wallcalendar/doc/local.sty
new file mode 100644
index 0000000000..d57f87f567
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/local.sty
@@ -0,0 +1,70 @@
+\ProvidesPackage{local}
+
+\maxtocdepth{chapter}
+
+\definecolor{base03}{HTML}{002B36}
+\definecolor{base02}{HTML}{073642}
+\definecolor{base01}{HTML}{586E75}
+\definecolor{base00}{HTML}{657B83}
+\definecolor{base0}{HTML}{839496}
+\definecolor{base1}{HTML}{93A1A1}
+\definecolor{base2}{HTML}{EEE8D5}
+\definecolor{base3}{HTML}{FDF6E3}
+\definecolor{yellow}{HTML}{B58900}
+\definecolor{orange}{HTML}{CB4B16}
+\definecolor{red}{HTML}{DC322F}
+\definecolor{magenta}{HTML}{D33682}
+\definecolor{violet}{HTML}{6C71C4}
+\definecolor{blue}{HTML}{268BD2}
+\definecolor{cyan}{HTML}{2AA198}
+\definecolor{green}{HTML}{859900}
+
+\colorlet{background}{base3}
+\colorlet{primary-content}{base00}
+\colorlet{bg-highlight}{base2}
+\colorlet{secondary-content}{base1}
+%\colorlet{list-content}{base0}
+\colorlet{list-content}{primary-content}
+\colorlet{list-bullets}{orange}
+\colorlet{lvl1-color}{primary-content}
+\colorlet{lvl2-color}{primary-content}
+\colorlet{lvl3-color}{yellow}
+\colorlet{lvl4-color}{green}
+
+\colorlet{code-bg}{base3}
+
+\usepackage{minted}
+
+\setminted{bgcolor=code-bg, fontsize=\footnotesize}
+\setmintedinline{bgcolor={}}
+
+\newminted{tex}{frame=single}
+
+\renewenvironment{verbatim}{%
+ \VerbatimEnvironment%
+ \begin{texcode}%
+}{%
+ \end{texcode}%
+}
+
+\newcommand{\twocol}[2]{%
+\begin{minipage}[b][8.7cm][c]{0.5\linewidth}%
+\centering
+#1%
+\end{minipage}%
+\begin{minipage}[b][8.7cm][c]{0.5\linewidth}%
+\centering
+#2%
+\end{minipage}%
+}
+
+\newcommand{\twocolcaption}[2]{%
+\begin{minipage}{0.5\linewidth}%
+\centering
+#1%
+\end{minipage}%
+\begin{minipage}{0.5\linewidth}%
+\centering
+#2%
+\end{minipage}%
+} \ No newline at end of file
diff --git a/macros/luatex/latex/wallcalendar/doc/memoir-article.cls b/macros/luatex/latex/wallcalendar/doc/memoir-article.cls
new file mode 100644
index 0000000000..5e73997d69
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/memoir-article.cls
@@ -0,0 +1,401 @@
+% Memoir Article Class
+%
+% A memoir-based documentclass for org-mode exports.
+%
+% (c) Gambhiro Bhikkhu, 2016
+% gambhiro.bhikkhu.85@gmail.com
+%
+% LPPL LaTeX Pubic Project Licence
+%
+
+% ==============
+% Identification
+% ==============
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{memoir-article}[2016/08/13 v0.2 A memoir-based documentclass for org-mode exports.]
+
+% ========================
+% Preliminary Declarations
+% ========================
+
+% =======
+% Options
+% =======
+
+\RequirePackage{pgfopts}
+\RequirePackage{calc}
+
+\pgfkeys{
+ /BOOK/.cd,
+}
+
+% Pass all unknown options to memoir
+\DeclareOption*{%
+ \PassOptionsToClass{\CurrentOption}{memoir}
+}
+
+\ProcessPgfOptions{/BOOK}
+\ProcessOptions\relax
+
+% ======================
+% All Other Declarations
+% ======================
+
+\LoadClass{memoir}
+
+\RequirePackage[british]{babel}
+
+%\RequirePackage{amssymb}% Does any symbol need it?
+\RequirePackage{amsmath}
+\RequirePackage[bitstream-charter]{mathdesign}
+
+\RequirePackage{fontspec}
+\defaultfontfeatures{Ligatures={TeX}}
+\setmainfont[
+ ItalicFont = Crimson Italic,
+ BoldFont = Crimson Bold,
+ BoldItalicFont = Crimson BoldItalic,
+ Numbers = Lining,
+]{Crimson Roman}
+
+\newfontfamily\crimsonRomanFont[
+ ItalicFont = Crimson Italic,
+ BoldFont = Crimson Bold,
+ BoldItalicFont = Crimson BoldItalic,
+ Numbers = Lining,
+]{Crimson Roman}
+
+\newfontfamily\crimsonRomanFontOldNum[
+ ItalicFont = Crimson Italic,
+ BoldFont = Crimson Bold,
+ BoldItalicFont = Crimson BoldItalic,
+ Numbers = OldStyle,
+]{Crimson Roman}
+
+\newfontfamily\logicFont[
+ SmallCapsFont = Crimson Bold,
+ SmallCapsFeatures= { Ligatures = TeX, Letters = SmallCaps, Scale = 0.8, LetterSpace = 0.2 },
+]{Crimson Roman}
+
+\RequirePackage{xcolor}
+\RequirePackage{graphicx}
+\RequirePackage{enumitem}
+\RequirePackage{multicol}
+\RequirePackage{hyperref}
+\RequirePackage{titletoc}
+\RequirePackage{eso-pic}
+
+\graphicspath{{./includes/}}
+
+\hypersetup{
+ colorlinks=true,
+ linkcolor=link,
+ citecolor=link,
+ filecolor=link,
+ urlcolor=link,
+ unicode=true,
+}
+
+\RequirePackage[
+ open,
+ openlevel=2
+]{bookmark}
+
+\setlist[itemize]{
+ itemindent=0pt,
+ leftmargin=15pt,
+ rightmargin=0pt,
+ itemsep=3pt,
+ topsep=0pt,
+ parsep=0pt,
+ partopsep=0pt,
+}
+
+\hyphenation{under-lying astron-o-mer}
+
+% === penalties ===
+
+\midsloppy
+
+% === normalsize ===
+
+\definecolor{textbody}{gray}{0}
+\definecolor{linkred}{HTML}{DC322F}
+% Red is better for printing than blue or dark blue
+\colorlet{link}{linkred}
+
+\definecolor{tocleftside}{gray}{0.5}
+\definecolor{tocleftsidepart}{gray}{0.2}
+\definecolor{partname}{gray}{0.5}
+\definecolor{parttitle}{gray}{0.5}
+
+\def\BOOK@apt{11}
+\def\BOOK@bpt{14}
+
+\renewcommand{\normalsize}{%
+ \@setfontsize\normalsize\BOOK@apt\BOOK@bpt
+ \abovedisplayskip 11\p@ \@plus3\p@ \@minus6\p@
+ \abovedisplayshortskip \z@ \@plus3\p@
+ \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@
+ \belowdisplayskip \abovedisplayskip
+ \color{textbody}
+ \let\@listi\@listI}
+\normalsize
+
+% === indentations ===
+
+\setlength{\parskip}{5pt}
+\setlength{\parindent}{0pt}
+
+\setlength{\columnsep}{18pt}
+\setlength{\columnseprule}{0pt}
+%\setlength{\columnseprule}{0.1pt}
+%\flushcolumns
+\raggedcolumns
+
+%\columnseprulecolor
+
+% === setup page layout ===
+
+\stockaiv
+\settrimmedsize{\stockheight}{\stockwidth}{*}
+\settrims{0pt}{0pt}
+\setlrmarginsandblock{0.1\paperwidth}{*}{3}
+\setulmarginsandblock{0.1\paperheight}{0.1\paperheight - 2\baselineskip}{*}
+\setheadfoot{\baselineskip}{\baselineskip}
+\setheaderspaces{*}{15pt}{*}
+\setfootins{2\baselineskip}{\bigskipamount}
+
+\setmarginnotes{17pt}{45mm}{20pt}
+%\addtolength{\marginparsep}{10pt}
+%\addtolength{\marginparwidth}{-18mm}
+
+\checkandfixthelayout
+
+\setcounter{secnumdepth}{4}
+
+%% abstract
+
+\setlength{\absparindent}{0pt}
+%\setlength{\absleftindent}{0.15\linewidth}
+%\setlength{\absrightindent}{0.15\linewidth}
+\setlength{\absleftindent}{2em}
+\setlength{\absrightindent}{2em}
+
+%% summary
+
+\newenvironment{summary}%
+ {\list{}{\listparindent 0pt%
+ \itemindent \listparindent
+ \rightmargin \leftmargin
+ \parsep \z@ \@plus\p@}%
+ \item[]}%
+ {\endlist}
+
+% === TOC settings ===
+
+\maxtocdepth{subsection}
+
+% Fixes Undefined control sequence error for \@chapapp@head
+\renewcommand\chapternumberline[1]{\numberline{#1}}
+\renewcommand\partnumberline[1]{\numberline{#1}}
+
+% Fixes Missing number error when chapter number is not numeric, as in
+% Appendix A
+\let\ttll@appendix\ttll@chapter
+
+% the right TOC margin
+\contentsmargin{0pt}
+
+\newlength\tocLeftWidth
+\setlength\tocLeftWidth{6pc}
+
+\titlecontents{chapter}[\tocLeftWidth]
+{\addvspace{10pt}%
+\Large\crimsonRomanFont}%
+{%
+ \contentsmargin{0pt}%
+ \makebox[0pt][r]{%
+ {\color{tocleftside}%
+ \Large Section~{\crimsonRomanFont\thecontentslabel}}%
+ \hspace*{0.5em}$\cdot$\hspace*{0.5em}%
+ }%
+}
+{\contentsmargin{0pt}%
+\vspace*{-10pt}%
+\itshape}
+{\enspace\hfill\normalsize\crimsonRomanFont\thecontentspage}
+[\addvspace{5pt}]
+
+\titlecontents{section}[\tocLeftWidth]
+{\addvspace{2pt}%
+\normalsize\crimsonRomanFont}
+{%
+ \contentsmargin{0pt}%
+ \makebox[0pt][r]{%
+ {\color{tocleftside}%
+ \normalsize {\crimsonRomanFont\thecontentslabel}}%
+ \hspace*{1.53em}%
+ }%
+}
+{}
+{\hfill\normalsize\crimsonRomanFont\thecontentspage}
+
+\titlecontents{subsection}[\tocLeftWidth]
+{\addvspace{2pt}%
+\normalsize\crimsonRomanFont}
+{%
+ \contentsmargin{0pt}%
+ \makebox[0pt][r]{%
+ {\color{tocleftside}%
+ \normalsize {\crimsonRomanFont\thecontentslabel}}%
+ \hspace*{1.53em}%
+ }%
+}
+{}
+{\hfill\normalsize\crimsonRomanFont\thecontentspage}
+
+% === end of TOC settings ===
+
+%\setmarginfloatcaptionadjustment{figure}{\captionstyle{\mpjustification}}
+\captionnamefont{\footnotesize}
+\captiontitlefont{\footnotesize}
+
+\newenvironment{fullwidth}{%
+ \begin{minipage}{\textwidth + \marginparsep + \marginparwidth}%
+}{%
+ \end{minipage}%
+}
+
+\newenvironment{extrafullwidth}{%
+ \hskip -\spinemargin
+ \hskip 5mm
+ \begin{minipage}{\paperwidth - 10mm}%
+}{%
+ \end{minipage}%
+}
+
+\newlength\marginDiff
+\newcommand\includemap[1]{%
+ {\centering
+ \setlength\marginDiff{0.98\paperwidth - \linewidth}
+ \hspace*{-0.5\marginDiff}
+ \includegraphics[width=0.98\paperwidth]{#1}
+ \par}
+}
+
+\usepackage[normalem]{ulem}
+
+\newcommand\secunderline[1]{%
+ \begingroup%
+ \renewcommand{\ULdepth}{4pt}%
+ \renewcommand{\ULthickness}{0.5pt}%
+ \uline{#1}%
+ \endgroup%
+}
+
+\newcommand{\sectionFmt}[1]{%
+ \normalfont\memRTLraggedright\scshape
+ \secunderline{#1}%
+}
+
+\newcommand\mA\textasteriskcentered
+
+\newcommand\docVersion{v0.1}
+\newcommand\docUrl{\href{http://github.com/profound-labs/}{download}}
+
+\newif\ifshowdocinfo
+\showdocinfotrue
+
+\def\@maketitle{%
+ \begin{minipage}{\linewidth}%
+ \raggedright
+ \LARGE\scshape\MakeTextLowercase{\thetitle}
+ \vskip\onelineskip \hrule
+ \ifshowdocinfo
+ \vskip 5pt
+ {\upshape\footnotesize \docVersion\ $\cdot$ \today\ $\cdot$ \docUrl}
+ \fi
+ \vskip\onelineskip
+ \end{minipage}%
+}
+
+\renewcommand{\backmatter}{%
+ \@mainmatterfalse
+ \setcounter{secnumdepth}{-10}
+ \ifartopt\else
+ \@memback@floats
+ \fi}
+
+\hangsecnum
+
+\gdef\clearforchapter{\par\bigskip}
+
+\makechapterstyle{vinaya-class}{%
+ \chapterstyle{default}
+ \renewcommand*{\chaptitlefont}{\LARGE\scshape}
+ \renewcommand*{\chapnumfont}{\chaptitlefont}
+ \settowidth{\chapindent}{\normalsize 999}
+ \renewcommand*{\chapterheadstart}{}
+ \renewcommand*{\printchaptername}{}
+ \renewcommand*{\chapternamenum}{}
+ \renewcommand*{\printchapternum}{%
+ \noindent\llap{\makebox[\chapindent][l]{\chapnumfont \MakeTextLowercase{\thechapter}}}}
+ \renewcommand*{\afterchapternum}{}
+ \renewcommand*{\printchaptertitle}[1]{%
+ \memRTLraggedright\chaptitlefont\MakeTextLowercase{##1}}
+ \renewcommand*{\afterchaptertitle}{}}
+
+\makeheadstyles{vinaya-class}{%
+\chapterstyle{vinaya-class}
+ \setbeforesecskip{1\onelineskip
+ \@plus -0.5\onelineskip \@minus -.5\onelineskip}%
+ \setaftersecskip{1\onelineskip \@plus 0.1\onelineskip}%
+ \setsecheadstyle{\sectionFmt}%
+ \setbeforesubsecskip{-1.0\onelineskip
+ \@plus -0.25\onelineskip \@minus -0.25\onelineskip}%
+ \setaftersubsecskip{1.0\onelineskip \@plus 0.1\onelineskip}%
+ \setsubsecheadstyle{\sethangfrom{\noindent ####1}\normalfont\itshape\memRTLraggedright}%
+ \setbeforesubsubsecskip{1.0\onelineskip
+ \@plus 0.5\onelineskip \@minus 0.2\onelineskip}%
+ \setaftersubsubsecskip{-1em}%
+ \setsubsubsecheadstyle{\normalfont\normalsize\scshape\MakeTextLowercase}%
+ \setbeforeparaskip{1.0\onelineskip
+ \@plus 0.5\onelineskip \@minus 0.2\onelineskip}%
+ \setafterparaskip{-1em}%
+ \setparaheadstyle{\normalfont\normalsize\itshape\addperiod}%
+ \setsubparaindent{\parindent}%
+ \setbeforesubparaskip{1.0\onelineskip
+ \@plus 0.5\onelineskip \@minus 0.2\onelineskip}%
+ \setaftersubparaskip{-1em}%
+ \setsubparaheadstyle{\normalfont\normalsize\itshape\addperiod}}
+
+%% Based on bringhurst from memoir.
+\headstyles{vinaya-class}
+\aliaspagestyle{chapter}{empty}
+
+\makepagestyle{normalpage}
+ \makeevenhead{normalpage}{\thepage}{}{}
+ \makeoddhead{normalpage}{}{}{\thepage}
+
+\pagestyle{normalpage}
+
+\newcommand\fullpage[1]{%
+\clearpage
+\pagestyle{empty}
+\mbox{}
+\AddToShipoutPictureFG*{\put(0,0)%
+{\begin{minipage}[b][\paperheight][t]{\paperwidth}%
+#1
+\end{minipage}%
+}}%
+}
+
+\newfontfamily\articleThaiFont{Kinnari}
+
+\newcommand*\thai[1]{{\articleThaiFont #1}}
+
+\newcommand*\logic[1]{\textsc{\logicFont \MakeTextUppercase{#1}}}
+
+\RequirePackage[final,babel=true]{microtype}
diff --git a/macros/luatex/latex/wallcalendar/doc/wallcalendar-code.fdb_latexmk b/macros/luatex/latex/wallcalendar/doc/wallcalendar-code.fdb_latexmk
new file mode 100644
index 0000000000..c57a7c6582
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/wallcalendar-code.fdb_latexmk
@@ -0,0 +1,315 @@
+# Fdb version 3
+["lualatex"] 1508557085 "wallcalendar-code.tex" "wallcalendar-code.pdf" "wallcalendar-code" 1508557092
+ "/home/yume/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmr10.tfm" 1480098701 1296 45809c5a464d5f32c8f98ba97c1bb47f ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/tfm/public/latex-fonts/lasy6.tfm" 1480098711 520 4889cce2180234b97cad636b6039c722 ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7m.tfm" 1480098713 1096 439ec4b98c555f12eea982637b110636 ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7t.tfm" 1480098713 824 e84dc8fd7ce1699c13a4cf301fc14b98 ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7v.tfm" 1480098713 1716 e946b26d80be2b9854dce098cc7d4fd7 ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7y.tfm" 1480098713 1292 7fc44b79287974dee41abfbedfb7865b ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr8t.tfm" 1480098713 992 b635bd892c5f064cc4c7d172e94c7fc9 ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr8y.tfm" 1480098713 1604 95b3dfa8282f3b7807ebdf0f30ea7999 ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chri7m.tfm" 1480098713 1224 9850779b08ad329e12c2833d0dafbe70 ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chri8y.tfm" 1480098713 1756 3d33d9b711f92f3b1d172cbde87d8eb9 ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chrma.tfm" 1480098713 1556 c4bf54c8a83dd5442e3b71832eaeadb9 ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chrmb.tfm" 1480098713 952 1926e68757e9e379908f2c92702ff79e ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7m.tfm" 1480098713 1912 3774e5b1985837341ac15e2fbf989d37 ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7t.tfm" 1480098713 2432 cf1427228b6c296ea72c1f8156ad979e ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7v.tfm" 1480098713 1704 f91561740916e2d61a9058a84b4d9fc1 ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7y.tfm" 1480098713 1572 3fc0444ad8dd329928c5ca8defbcf7a6 ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr8t.tfm" 1480098713 8360 341689117e63b5758239dd13e95d159f ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchri7m.tfm" 1480098713 2368 27f64c6ef12e9897228332e172c5c52e ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchrma.tfm" 1480098713 1540 0350be4ad7ceeb70ba36a7382ef56de3 ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchrmb.tfm" 1480098713 952 664d6d6cf6e32bba3afae5d25cb251fa ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/type1/public/mathdesign/mdbch/md-chr7y.pfb" 1480098742 26162 bd4b2cdc5229167b72fc13a07768bc17 ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7m.vf" 1480098768 976 49b9aa83c3e7a1ac811f7895854cc7a4 ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7t.vf" 1480098768 976 862fa3ae193f69aabcce6a8c0b3499c2 ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7v.vf" 1480098768 1612 6fe703a6a685d4c4f84414e8687e1785 ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7y.vf" 1480098768 836 7c23d0fba34243bfaba30e51eed87f22 ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr8t.vf" 1480098768 2224 103bf0af1df04f28e57b118a8f5d1915 ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchri7m.vf" 1480098768 1148 f010126386d8bba99c9c766ac714b8b8 ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchrma.vf" 1480098768 1408 9effdb6efbd1999b4c7c1e048c3f8d4c ""
+ "/home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchrmb.vf" 1480098768 472 a41d9bc80344ccff0e35bfcc60398f89 ""
+ "/home/yume/texlive/2017/texmf-dist/scripts/oberdiek/oberdiek.luatex.lua" 1480098773 1972 1fb7c07d88e23d4594015b8b0aa21544 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/context/base/mkii/supp-pdf.mkii" 1480098806 71627 94eb9990bed73c364d7f53f960cc8c5b ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/babel-english/british.ldf" 1496785618 2764 33eb54e29f49ae828edec697cf357f2c ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/babel-english/english.ldf" 1496785618 7008 9ff5fdcc865b01beca2b0fe4a46231d4 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/babel/babel.def" 1495227874 56906 5fe966833cc01ad71361044f6df6de8f ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/babel/babel.sty" 1495227874 15289 de2791ae2b2b7f83883060d1307dfea0 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/babel/luababel.def" 1493414436 12715 d432e759d832bd2bbb3d7c3c4b471ddc ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-en-gb.tex" 1480098814 632 24008d5464e24adac94ddcaefe61e6c3 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/hyph-utf8/patterns/tex/hyph-en-gb.tex" 1480098814 57395 a8d3e207a4c0880029ff8d88d96aa7de ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/ifxetex/ifxetex.sty" 1480098815 1458 43ab4710dc82f3edeabecd0d099626b2 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/luatex85/luatex85.sty" 1480098815 5870 5c4dd54f0f0c0983167985107b28c800 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/oberdiek/catchfile.sty" 1480098815 8493 e586100f117d095256a1a5c630c3fa25 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/oberdiek/gettitlestring.sty" 1480098815 8237 3b62ef1f7e2c23a328c814b3893bc11f ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty" 1490564930 185082 1fb09d7d24834377f95006300bc91fd2 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty" 1480098815 70864 bcd5b216757bd619ae692a151d90085d ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/oberdiek/ifluatex.sty" 1480098815 7324 2310d1247db0114eb4726807c8837a0e ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/oberdiek/ifpdf.sty" 1490564930 1251 d170e11a3246c3392bc7f59595af42cb ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex" 1480098816 36194 e194ef4e0b396b531a3891feb4b1cc22 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex" 1480098816 33377 af391d6ad1bfcbe2278e191f48e43ba8 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/ulem/ulem.sty" 1480098819 23756 854c01b779030ff5b2aad88ba7a119f2 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/unicode-data/CaseFolding.txt" 1480098819 78161 e3fbf2f626f10070000fe66f3a2ff5ef ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/unicode-data/SpecialCasing.txt" 1480098819 16830 fea30f45a2f81ffa474fd984d297e2ea ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/unicode-data/UnicodeData.txt" 1480098819 1686443 dde25b1cf9bbb4ba1140ac12e4128b0b ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/xkeyval/xkeyval.tex" 1480098819 19231 26434a5656c684f5ffb1f26f98006baa ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/xkeyval/xkvutils.tex" 1480098819 7677 6f5ce7c1124cad7ec57d05b2562bd8fe ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/xstring/xstring.sty" 1480098819 144 0ca8d67b000b795a4d9ec000e0fd09c7 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/generic/xstring/xstring.tex" 1480098819 54373 fd4487ae3e45d4074bc89aea1d2b6807 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/amsmath/amsbsy.sty" 1480098820 2210 5c54ab129b848a5071554186d0168766 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/amsmath/amsgen.sty" 1480098820 4160 c115536cf8d4ff25aa8c1c9bc4ecb79a ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/amsmath/amsmath.sty" 1485129665 84329 81aa65c5042562f79cb421feff9b8bdc ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/amsmath/amsopn.sty" 1480098820 4115 318a66090112f3aa3f415aeb6fe8540f ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/amsmath/amstext.sty" 1480098820 2431 fe3078ec12fc30287f568596f8e0b948 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/base/fontenc.sty" 1492297155 4571 13977df0eda144b93597fc709035ad1f ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/base/ifthen.sty" 1480098821 5159 a08c9bbd48fc492f15b22e458bef961f ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/base/t1enc.def" 1492297155 10006 a90ba4035cf778f32f424e297d92e235 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/base/textcomp.sty" 1492297155 16154 f2c73e20ca771d534a8516c62c6b0eae ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/base/ts1cmr.fd" 1480098821 2217 d274654bda1292013bdf48d5f720a495 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/base/ts1enc.def" 1480098821 7767 aa88823823f5e767d79ea1166ab1ae74 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/base/tuenc.def" 1492297155 27166 081ef1345bf363faf81b61c2450b871f ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/enumitem/enumitem.sty" 1480098827 42666 6fa770e3485520a6a5f2ea7d259c8f8d ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/eso-pic/eso-pic.sty" 1480098827 11954 3abdeb9fbc956bcd048295dd83dd5e7c ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/etoolbox/etoolbox.sty" 1483484472 42324 d951db30d0cb2b811f084fa3f92aec16 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty" 1480098827 45360 a0833d32f1b541964596b02870342d5a ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/float/float.sty" 1480098828 6749 16d2656a1984957e674b149555f1ea1d ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty" 1491002578 133545 96f02df61cf9a85971280bdcd04d4cac ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/fontspec/fontspec.cfg" 1491002578 549 e7553134efaf62922106a54300834ab9 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/fontspec/fontspec.sty" 1491002578 1704 f155bd31324526584df93d8880629e82 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/framed/framed.sty" 1480098829 22449 7ec15c16d0d66790f28e90343c5434a3 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/fvextra/fvextra.sty" 1480098829 47730 6185e4a6ef29955beffed43ff00f29f2 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/graphics-cfg/color.cfg" 1480098830 1213 620bba36b25224fa9b7e1ccb4ecb76fd ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/graphics-cfg/graphics.cfg" 1480098830 1224 978390e9c2234eab29404bc21b268d1e ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/graphics-def/luatex.def" 1498170935 15753 2523b785bfc0cfc8d314c17b8a4e7fdc ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/graphics/graphics.sty" 1497474997 15252 cc34a2eaf7d6619154fcdb710437d969 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/graphics/graphicx.sty" 1497303813 9009 1d5a6dabcb8a84c292887f6216d2e358 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/graphics/keyval.sty" 1480098830 2594 d18d5e19aa8239cf867fa670c556d2e9 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/graphics/trig.sty" 1480098830 3980 0a268fbfda01e381fa95821ab13b6aee ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/hyperref/hluatex.def" 1489964469 51673 195795251fcdb21aa9ed776b343cb613 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/hyperref/hyperref.sty" 1489964469 233808 b63d91422c362e723c6e8b1a2fffcba5 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/hyperref/nameref.sty" 1480098831 12949 81e4e808884a8f0e276b69410e234656 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/hyperref/pd1enc.def" 1489964469 14098 7631f11156e5f9cd76010dbd230aa268 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/hyperref/puenc.def" 1489964469 122411 7c1f7e015c7fc4bfb7dc052d55755ce3 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/ifetex/ifetex.sty" 1480098831 1571 45d3cd316bdf45071542b57b1784c273 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/ifplatform/ifplatform.sty" 1480098831 3847 7836cfc12cc39575e0ea1f4b4bc16b1a ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/l3kernel/expl3-code.tex" 1496704628 814030 ad0edaa2c394049a04bca4a0710c7645 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/l3kernel/expl3.sty" 1496704628 9344 6ab2e01e9c1ab6ce737738fc1114e67c ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/l3kernel/l3pdfmode.def" 1496704628 12430 d675b0ae6b2df644da3a987c178c95b3 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/l3packages/xparse/xparse.sty" 1496704628 76757 b04b2093556b41ac7708c6010bf0b6b6 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg" 1480098833 678 4792914a8f45be57bb98413425e4c7af ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/latexconfig/hyperref.cfg" 1480098833 235 6031e5765137be07eed51a510b2b8fb7 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/lineno/lineno.sty" 1480098833 151738 8cd767481920f0eb785302dacfc87057 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mathdesign.sty" 1480098833 9111 d865fc87f99dbc5273fb00f1d7091d76 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdacmr.fd" 1480098833 579 116e648415099e5e059da594ef56c9f0 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/mdamdbch.fd" 1480098833 466 324e7624bf5a1f058d84a000f896be0e ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/mdbch.cfg" 1480098833 3290 abec71f631daf0a248e163831a11c44a ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/mdbch.sty" 1480098833 44904 3ab78ef74bc1c8fe8dfba974db6c0530 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/mdbmdbch.fd" 1480098833 466 5beaec62907c8aeedee3450e356ef2b0 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/omlmdbch.fd" 1480098833 874 5a879826c52b0deec25c4c5a08bf428f ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/omsmdbch.fd" 1480098833 485 0da1597752b6fe9df95c05be6167a1d2 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/omxmdbch.fd" 1480098833 466 4c44b6662bc4833f3658bac38cfff58c ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/ot1mdbch.fd" 1480098833 895 2fc6be6e6eeeac5bb6ad0987e5118413 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/t1mdbch.fd" 1480098833 1576 ef5fa780517f1888ed11274c3aff9276 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbcmr.fd" 1480098833 579 ddcbed007a246f2b5a98aedc86efeed0 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdfont.def" 1480098833 5878 bba53c9220a1555c41919107cf6f41c3 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdsffont.def" 1480098833 16973 0d74f58659233f7bbf4e2551e5c1b6ba ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdttfont.def" 1480098833 9718 378a12581d907c0af4433a9e908339df ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/memoir/mem11.clo" 1480098834 4077 2f2af8e7cb6e684fbd08a4498608691a ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/memoir/memhfixc.sty" 1480098834 11285 dbd4440be337fece041abdf4e6e17516 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/memoir/memoir.cls" 1480098834 403550 cf3b1268347cbf0206bbe925178c9579 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/memoir/mempatch.sty" 1480098834 1325 61d651ec19190481219253f142256d58 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/microtype/microtype-luatex.def" 1480098834 39150 722d307664351328b536ba38404a0f79 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/microtype/microtype.cfg" 1480098834 23387 9deaa7c030891bce421bba5f9c5433a7 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/microtype/microtype.sty" 1480098834 69336 602ce3b04d564c4a68a410d44eb7653e ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/microtype/mt-bch.cfg" 1480098834 8928 53d515d1f327f48b6b4d06ca2e798a43 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/minted/minted.sty" 1480098835 47560 318a27606ddee4b82123bf3746fcc8a8 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/oberdiek/auxhook.sty" 1480098836 3834 4363110eb0ef1eb2b71c8fcbcdb6c357 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/oberdiek/bkm-pdftex.def" 1480098836 8382 d027b9fab7440aa0716d4a2e9455eeca ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/oberdiek/bookmark.sty" 1480098836 18920 32621f3a02f5d05b1e35f55abc232aab ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty" 1480098836 12095 5337833c991d80788a43d3ce26bd1c46 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/oberdiek/grfext.sty" 1480098836 7075 2fe3d848bba95f139de11ded085e74aa ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/oberdiek/kvoptions.sty" 1480098836 22417 1d9df1eb66848aa31b18a593099cf45c ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty" 1480098836 9581 023642318cef9f4677efe364de1e2a27 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty" 1480098837 274 4cad6e665cc93ac2ac979039a94fa1e1 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/pgfopts/pgfopts.sty" 1480098837 5540 d5c60cf09c59da351aa4023ed084e4eb ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/titlesec/titletoc.sty" 1480098841 18361 6f2961ec45ee4ad03439efe5de257c61 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/tools/calc.sty" 1480098841 10214 d03d065f799d54f6b7e9b175f8d84279 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/tools/multicol.sty" 1492297155 30180 4d723b83c66873ba53f72c4a8730d6d3 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/tools/shellesc.sty" 1480098841 3270 e11dab94d1e3fce5344c1b70f2af4abd ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/upquote/upquote.sty" 1480098842 1048 517e01cde97c1c0baf72e69d43aa5a2e ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/url/url.sty" 1480098842 12796 8edb7d69a20b857904dd0ea757c14ec9 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/xcolor/xcolor.sty" 1480098843 55589 34128738f682d033422ca125f82e5d62 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/latex/xkeyval/xkeyval.sty" 1480098843 4962 9c1069474ff71dbc47d5006555e352d3 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/ctablestack/ctablestack.sty" 1480098844 1510 9c109bd1f6a9fc69b2f6096ee416d958 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-basic.lua" 1486339267 2685 01cf68c81eccdf10366f3f84158d2bc8 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-boolean.lua" 1480098844 1850 abe28515dd33e8f6c416c09bca351cf8 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-compat.lua" 1480098844 603 398583cb619d20952d67edcedae41608 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-dir.lua" 1486339267 17703 9ea92204a66366c1e44e5616f84f46a2 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-extended.lua" 1486339267 4826 f09108bac11f85bb9fa04d868d666e63 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-file.lua" 1486339267 20997 32d9ba0a5cdd3509a3847bb050bfb800 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-function.lua" 1480098844 361 a7e68a9703c35238729da41a474e951b ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-gzip.lua" 1480098844 1211 9cdb8f316bdef565fb312b1099590701 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-io.lua" 1486339267 10014 ee77e357f5965196f9559b8fcccc6e71 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-lpeg.lua" 1480098845 37012 93b90b22d7d3600ddd9def9f3ad9a7bb ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-lua.lua" 1486339267 4535 5466b2db6d8cc3b9786a398bb4230ea1 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-math.lua" 1480098845 974 51275e81c652e3fbd7d02b1c383d3049 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-md5.lua" 1480098845 3248 8cad752e187261eabf9cde462a1eef81 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-number.lua" 1486339267 5358 bacbf8f2ff767e317d6ac2ba5930ec6a ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-os.lua" 1480098845 15832 a5a96e495876a7ccea203ac3cdcac40b ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-package.lua" 1480098845 10587 ecf99777107151998d886199ef5589dd ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-set.lua" 1480098845 1923 17868172ce396e1c5d0e9a672b8bdcb9 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-string.lua" 1486339267 5863 2ca01eeb225c09e73ff4f3a2d101827a ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-table.lua" 1486339267 37480 92978e5ea9ca13dae04fb606f5be4a1c ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-trac-inf.lua" 1486339267 6844 aeb4a209d048a47dc0526a1915da2258 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-unicode.lua" 1480098845 37427 eb7ac141175e74f69b1f303064ed91f8 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-url.lua" 1480098845 12531 555c5d1e1134654b5e5a679150cf11d2 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-util-deb.lua" 1480098845 3898 dedc408152fed20d666d41b93124de05 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-util-dim.lua" 1480098845 13522 456eee0716ac9758c73a82b638b97ef4 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-util-fil.lua" 1486339267 5548 0573e91847e722ffe0fcdb465ba89e6b ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-util-jsn.lua" 1486339267 5291 07fff8fbc3b6542771b6f5ee9ce8c8c3 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-util-lua.lua" 1486339267 5396 03f3d11a20846a41f46e89c4aebb457d ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-util-prs.lua" 1486339267 22883 9246f0f89dc599d472ce1b0b5ee9baee ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-util-sta.lua" 1480098845 9178 4840e537d4ecc144f7058d768e93715b ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-util-sto.lua" 1480098845 3926 bea61790df64287215ffa7dd1759a63f ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-util-str.lua" 1486339267 35499 513836cfea6a8027c1451a95bc74649f ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-util-tab.lua" 1486339267 28471 cb1ae792cb08c524e4bc09b4f005f7f8 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-util-tpl.lua" 1480098845 7100 ccfb5023bc761673396964848d85b5e2 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/luaotfload/luaotfload-characters.lua" 1485820867 1548690 99578c3eff8b68cae3da45a4a7cbfcf2 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/luatex/luatexbase/luatexbase.sty" 1480098845 10170 b1a2248f43cab899e3fe36f676176865 ""
+ "/home/yume/texlive/2017/texmf-dist/tex/plain/ifetex/ifetex.tex" 1480098846 1166 4b66ad073c6073cb1bde651c18b7dbb2 ""
+ "/home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/crimson-bold.luc" 1508251106 319783 6ffc6c1fee4a015e0b5a6dd2c3fdc243 ""
+ "/home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/crimson-bolditalic.luc" 1508251107 213421 1b5e8536d6177dea5765d3d87d038a8a ""
+ "/home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/crimson-italic.luc" 1508557082 288097 802201147b4e94b494251c27f2630e12 ""
+ "/home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/crimson-roman.luc" 1508557082 406209 bd9fdb0c47bc81217f60e967e6f2f30a ""
+ "/home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/kinnari-bold.luc" 1498655042 56575 5b99cf655cccc7b71b1c414b343a6345 ""
+ "/home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/kinnari-bolditalic.luc" 1498655042 56897 4b2503dbbb116959342e677dd7a2b2bf ""
+ "/home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/kinnari-oblique.luc" 1498655042 56893 2a7601c463cf9e701f6b375233cbf6f3 ""
+ "/home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/kinnari.luc" 1508557082 56510 a1b595a01399b6181080d04fc7e014e2 ""
+ "/home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/lmmono10-italic.luc" 1508251110 88435 8e7ae4209415f0980a6f82af03bb0f68 ""
+ "/home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/lmmono12-regular.luc" 1500201767 87231 829b8f4073311294fee80ecce2b1fcca ""
+ "/home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/lmmono9-regular.luc" 1499615145 87334 66dfd2bfed1ade9b3382ceafd2c1028e ""
+ "/home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/lmmonolt10-bold.luc" 1508251109 87535 5e7f3f8496d49e104342ba9b7cc94506 ""
+ "/home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/lmroman10-italic.luc" 1498655029 136748 2938cfabc4958f3102c65f9fdbb50dfa ""
+ "/home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/lmroman10-regular.luc" 1498655028 134930 21ae8e5ca4a670444e1c1eec7381dfc4 ""
+ "/home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/lmroman9-regular.luc" 1498655028 134723 b975b3691dd65fd7eceeefcc075110e0 ""
+ "/home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/lmromandemi10-regular.luc" 1508251104 135615 e9d81af70133f198d15d11c8b3bcf072 ""
+ "/home/yume/texlive/2017/texmf-var/tex/generic/config/language.dat" 1498457149 6539 4b4d7cb4ed3e101658be4b7ef5c92d33 ""
+ "/home/yume/texlive/2017/texmf-var/web2c/luatex/lualatex.fmt" 1498458080 1296757 8d6afb7dfa1c27ca3c4396511804af79 ""
+ "_minted-wallcalendar-code/033BBD01DF821E53BEF1F76066548A1B43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251386 688 50f14b90c87bc9191eaceea1570633c4 ""
+ "_minted-wallcalendar-code/0563FB1B1C7CB725F0CB598E22A0F9EE43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508252519 685 c113e37556b731a97716ec27dbdbc79a ""
+ "_minted-wallcalendar-code/059DFC4ED0F176E43AAD50BAAFE2496F43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251398 230 04a5b850e506b9b2b291c88bfdf3764f ""
+ "_minted-wallcalendar-code/09AD78D3F767ADD7015D0F7C1E2E329043C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251384 277 2855eb5dc784ee569620b11f63e1e4d0 ""
+ "_minted-wallcalendar-code/0CCC8B6CA129D064C36E9FD59B79C03C43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251384 238 0c84ceac8e50b8b0f509f7117bf8fb01 ""
+ "_minted-wallcalendar-code/1937A9361D6B964B6AFB29EAFC328DDE43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251384 171 98910a1fbf5e09416d3b593252c803ef ""
+ "_minted-wallcalendar-code/1A403559330D34AB149955B0E49EFEA543C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251391 419 9fe47a2a101688baa4025cdf574b5557 ""
+ "_minted-wallcalendar-code/1DB198D4F7116DD69F7A04C4C14A2C1D43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508252519 3887 090c257059f8326932178a2d1d4ac484 ""
+ "_minted-wallcalendar-code/20F302AA63B75FCF0DB80B4819F23BB243C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251399 7873 cde53a94b40425601c7f85e35e8804cc ""
+ "_minted-wallcalendar-code/2672FBDBB9C494A251B1E94C0B38F8AD43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251384 155 adeaaa9fd2846334a5e513f9612c9145 ""
+ "_minted-wallcalendar-code/2861AE1225599268F74201F1C39B8AE943C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251396 810 f3da100d4b2f96b3032488d7d651aa3b ""
+ "_minted-wallcalendar-code/2B0F8C8A59BC16AA0256551F14B0891443C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251394 1656 27924d631bf5eedeba43a5fe7997934c ""
+ "_minted-wallcalendar-code/2B8FA52DE44D075231C4F02C4F679D2D43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508252515 5528 4530815349f7c623f611237a5a767dfa ""
+ "_minted-wallcalendar-code/2F06DBA698783215D435A40A9050C18A43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251401 885 d2ff32f9e7165f76d1a888d1e71064b2 ""
+ "_minted-wallcalendar-code/2FFBF4A9DD6C48CBB7F1A1C8B293876143C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251399 867 91b2c5018d57e93b656d8eebea98425a ""
+ "_minted-wallcalendar-code/2FFFE812EB41DFA6019BEA560375B44343C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251391 409 33027d70816ceb61cb4f05ab65cf6ce3 ""
+ "_minted-wallcalendar-code/31481FB1D71CFBA463DCBB8A9620A8CE43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251394 320 060b2fd3c79a7cfd4cda79d5213a05f2 ""
+ "_minted-wallcalendar-code/379DD89CC25851871F34E010BBB1011A43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508252515 2194 6fe92c5099cf4a8fa36c2a7f2a259eca ""
+ "_minted-wallcalendar-code/383F6801D0D02631F227C89636CB7F0B43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508252516 625 303bea98e1baa49e19c9513203f02a2e ""
+ "_minted-wallcalendar-code/3CEAED90711AA7777C8A1C13C07934D943C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251390 157 693beb83e865d61fa269fb3cda9515d9 ""
+ "_minted-wallcalendar-code/3D7CCFC54583085468F7261D866A27F843C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508252520 533 dcb2357134c2a10e5d456a9d1c13585a ""
+ "_minted-wallcalendar-code/4297B4AC95CDD41DA3D88186813DF75A43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251402 764 47416d064ce8a04e883f6d93a0d022f1 ""
+ "_minted-wallcalendar-code/42B225A3BF77B8F70D28A4C5B19A4F1943C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251392 345 19bf92e93e4cc2673d4e462e70e54dd0 ""
+ "_minted-wallcalendar-code/4370CF835A691F3BBF85CAB364AF7ED343C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508252514 609 328843a6e21b7e2ca3f45845f898f60b ""
+ "_minted-wallcalendar-code/4BC7FBD3FDCF3D17C3DE267E7C9EFE2343C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251395 557 6792ea9f92a5b9a75d1b475f99ceb28b ""
+ "_minted-wallcalendar-code/51469FF43A74F0C0DAA85BCCDC1064A043C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251388 149 3bf3cb74b41484c377a8b8054386158d ""
+ "_minted-wallcalendar-code/51ACFBE3FC71C4C2692463FAD05CE2F843C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251394 584 0bb80509a4220160e4ea58589807e04a ""
+ "_minted-wallcalendar-code/51EA9D0FE4EC3BCB835ADFA28E9D8EA943C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508557083 320 b45453cb3e4056990687685aae53419f ""
+ "_minted-wallcalendar-code/520CAE24A8DF3B947ECA15F54D5D308343C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251392 74 af7fc7f11e71ae1df381ea7f3357182c ""
+ "_minted-wallcalendar-code/54BADB0513C788DB85CB1B39953178B443C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251397 1524 6f69c4c1a135e43d40e1588ade8e6052 ""
+ "_minted-wallcalendar-code/5B5D6F67DE99E311EBA0A1C0FF1BD0D643C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251393 300 b5dd2a5d018f81ef12735d1a5206c8d0 ""
+ "_minted-wallcalendar-code/5E894CC9D1C6BCFD681CFF379A80DA5543C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508252514 4808 bb9d2cd242191952e51214f7013e8892 ""
+ "_minted-wallcalendar-code/5F4D89201689122D618CEE759CE17D7443C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251390 135 2b8c4b6822cd923bd9b8e71b494d549f ""
+ "_minted-wallcalendar-code/606BD6B87E960111CD2BF9681F39965243C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251397 735 dc12dc4b421dfecbf6410f5047a00a29 ""
+ "_minted-wallcalendar-code/6120E3D3CBF828CA5D9BE5373C7BB14E43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508252516 1372 2c658ca0ebdb820a14c9c6973e58c781 ""
+ "_minted-wallcalendar-code/669AA15B908BDCC617CD78B674EDA1A043C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251389 175 8f3d4c953f9cdde3e921482e61e0909a ""
+ "_minted-wallcalendar-code/6B5B3ADC99ED502A13CB46185013B51043C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508252519 7137 bdb95d8323e53920924cdf9f5b27868b ""
+ "_minted-wallcalendar-code/6FAD878364DC870D016D3C164ECD0BD243C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508557085 1374 7dfaef8fd007302e1d456f38c5b9f1b6 ""
+ "_minted-wallcalendar-code/750C712D706F8031BCEAC46748DC1E2D43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251395 811 0733349472e1059855571ac3de455eb0 ""
+ "_minted-wallcalendar-code/7A2F035FB49711BCD77581500E36A7C843C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251388 462 ed9b40b7830f3a03111bc3f115b31754 ""
+ "_minted-wallcalendar-code/7CFBCC78D9E97011795B1ECB6F9D81BF43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251391 129 32a56332ade816861c335e5c5cd3c76b ""
+ "_minted-wallcalendar-code/7D8B1E7153256C89540C886D8AE1264243C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508252517 2111 5904d70806151a6011bfdf5186ac4a1f ""
+ "_minted-wallcalendar-code/7E0D52810181AF5D8047851D50675C5643C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251396 3922 3520c6479122c6272f0a7f23b8c54a98 ""
+ "_minted-wallcalendar-code/81A4D4A32B22519B0327A0477A5601BB43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508252518 2571 b2d19a6bab2c653d87a8a784dfa2ffb5 ""
+ "_minted-wallcalendar-code/844CBE462BF13CAF71F1DA97B8D3DEF143C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251389 281 91dba4436dcb86d207d02324b3282024 ""
+ "_minted-wallcalendar-code/844D88D1C52FF3D999528F065B03F0D343C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251394 3076 e81e0ee3ffb3eb9831e4f7a9b7715bef ""
+ "_minted-wallcalendar-code/86A7D3E081CA07C3EBC1EE0341154F2E43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251385 2805 4761e029846e7bd454cb3f6371cb03f6 ""
+ "_minted-wallcalendar-code/8F5254955AE2D4830630515383BC487943C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508252517 1704 4e3ae427b379f8906967875c7c9390e3 ""
+ "_minted-wallcalendar-code/90CA41A0AF0C525B7E2B39F926D8FB6843C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251390 652 7ab3478b9531ce67768114ba81043ecf ""
+ "_minted-wallcalendar-code/92FF7E2AC8A71877AEB439C1283088C943C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251399 360 14c1e90dc863e9a41acf89dd8f03cd58 ""
+ "_minted-wallcalendar-code/948DF7F481173E7D9DF2ACDDC71961F643C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508252518 1434 6e627941d3f32fbd2143fa7eed1a033d ""
+ "_minted-wallcalendar-code/95532C3B3A0072BBDE308ED35E1E085743C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251388 236 35944153d07d8f358c2eb550f1c02835 ""
+ "_minted-wallcalendar-code/969BA54A1B919C45CF406BB3C125D51043C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251391 88 59da408fe24a32a947577f3e1cfac724 ""
+ "_minted-wallcalendar-code/976FEA6DF15213DB1789E3947B8632EC43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251393 734 23d23439c929ac67d73fd8c29ef47a8f ""
+ "_minted-wallcalendar-code/999590BB6BDD1CE5D2CB78B703B5B03543C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251400 3439 fd2e362ef3a0985789a832f3f05ef9ba ""
+ "_minted-wallcalendar-code/9A012B9BE1259AA1EFB4BAE63268100443C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251387 447 b52c87679785f1f0304e19bfed322a98 ""
+ "_minted-wallcalendar-code/9F580BAA1F31C0E44D11DD51C2460F0943C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251387 353 d6ece7c35d181e648c087d8df64fc98a ""
+ "_minted-wallcalendar-code/9FE91E71AAA73820FF760D419464EC9D43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251401 117 508175761a4c142038925b741b7dadc0 ""
+ "_minted-wallcalendar-code/A2E37B0FCA28F4CA90CAD045199926C743C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251396 224 edcfa602734078179f43aef1cb67064a ""
+ "_minted-wallcalendar-code/A4E2FA74544C29B792A4CC5DFB8F751543C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251397 596 0d30803aea6693c0e53e081b0a95dfc7 ""
+ "_minted-wallcalendar-code/A78D22BD38A7B8278071084C48B5A7F243C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251387 1277 a7b7b5034992776a093dd651ad658bb0 ""
+ "_minted-wallcalendar-code/AC2D64784236E506BAAF014D827450DD43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251386 346 90f6b557c64d2f116cee349dc8de443f ""
+ "_minted-wallcalendar-code/AC6A7412F572E2B3C8B4E65D35553D7C43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508252519 2028 cba4f394c608237fe2605552796aa4db ""
+ "_minted-wallcalendar-code/AFD9FB21AF5D630B2207FE2CE5BE2EC143C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508252519 687 c8d417c016e8f2cd938b4367c459a2e5 ""
+ "_minted-wallcalendar-code/B1C28C6742025AC1F6EE9C9A8CC791DA43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251399 1614 bf958e391dd42f605a28a6145bc9c545 ""
+ "_minted-wallcalendar-code/B71909C35B142E9FCAFA186C4CB6C46543C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251389 415 052f74b1cbe936b2f0f65757bcd7b5a2 ""
+ "_minted-wallcalendar-code/BF736320BECC8D4A61121695356AF98D43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251388 2143 0ef73d6b2015bfdf763ebb37df9b4ba5 ""
+ "_minted-wallcalendar-code/BF9BDC605EF3480C1157C70B368FAB1643C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508252516 968 86a28c9c14290bab55314d2c8a3f9e12 ""
+ "_minted-wallcalendar-code/C376C9FA4787640DD61E926B00D5104743C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251394 1478 dd278fa2795ebda542105fddf28766bf ""
+ "_minted-wallcalendar-code/C49AC9E5FF2D3559F3E74784F64F4FC343C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508252518 7877 a17eeaf558c31ffc03109dc2cb7dd303 ""
+ "_minted-wallcalendar-code/C5D82B350107DCC91ACDBE8C816DD68B43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251395 205 e7ea6ed3c79557477c3c71780939be4f ""
+ "_minted-wallcalendar-code/CA40B33B1781E3BA5CCC5A1E77253D6F43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251390 526 d70bf1d6f0c029bffb23d9d3a1df935d ""
+ "_minted-wallcalendar-code/CA9D90ECD412CE9E8AD55CE634599F4B43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251389 352 a5b7025626a9a3edf1e50f9a29fc1642 ""
+ "_minted-wallcalendar-code/CBA1F475B3F7B3D50733EA23375DF1F743C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251387 1757 7e3025cbc2f09e4a7bce8236fc36a71a ""
+ "_minted-wallcalendar-code/CD5B3E5BF633FD733572F3D0CB30E26043C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251395 194 1690820292b80c64047a520c7ca8cc0f ""
+ "_minted-wallcalendar-code/CD8FB75626D15E77809A21AA2664914643C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508252517 622 838937819384e02b7196251f10bb806e ""
+ "_minted-wallcalendar-code/CFEE4A322F46D5312230F0134E15F8D143C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251397 683 9efdf68a72b6bdcb87b1e4a989562562 ""
+ "_minted-wallcalendar-code/D14580909254F48553986863DB545E1343C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251398 1877 1dedf23b215c92feb87abc098e348506 ""
+ "_minted-wallcalendar-code/D1C7EDB1DD088EB59794BD340AFF010943C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251399 794 8a44e422c2a36d44f21214411ed53e1b ""
+ "_minted-wallcalendar-code/D4C6423B912CA52700C589AA135BA19343C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251402 108 983a6d87a8abfe78593fab2c65a3062e ""
+ "_minted-wallcalendar-code/D71F3F7B6B80A5B699557F870FC10A6343C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508252516 2291 21953d2173b8955fd983521a280de675 ""
+ "_minted-wallcalendar-code/D74A299E1C80B0FABE737F418D3D788443C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251383 859 e189bb79a16000f4e916996257b0ff67 ""
+ "_minted-wallcalendar-code/D864525C12085A138D29D9EBF9FE07B643C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251401 116 05b6dc0c80b16ce95f312d64f7de8a92 ""
+ "_minted-wallcalendar-code/D952ABF0F4AB98FC3DE904B8ADD9A73C43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251391 204 8e476a1ac1c601509d1d5ce602ea235a ""
+ "_minted-wallcalendar-code/DA2E3F6142F6C771D0E8165DA48F4C1443C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251397 100 f897c12a900e025224fda2d051daf414 ""
+ "_minted-wallcalendar-code/DCF96EB9A28745B85E3AB5432A4F2AC043C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251386 522 b68bb073cea79248d7378a5f69f70aba ""
+ "_minted-wallcalendar-code/DD33110A63943720732CF351D860C7DF43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251395 633 6a17d6b4adc089cba8694172fb6f5b9d ""
+ "_minted-wallcalendar-code/E2A699C201D5AB8FA5EA292AB85F1DF843C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508252516 2217 0e451930dd8c0f639e08b0fcf6b159b5 ""
+ "_minted-wallcalendar-code/E3F0723B43AD79B6E2B8CF4776C06B6543C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251389 462 40188f1d081ba8d0813bd7f44b438fbd ""
+ "_minted-wallcalendar-code/E5A458FEDF52EB2B0A32B7824AB4EB8E43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251386 3365 412020ed9874c1361b3e95591b582e5c ""
+ "_minted-wallcalendar-code/E7A5B4842B2306A61DA53D9F8DB3563D43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508252518 6384 0475c0d9913eaf000367d2c260e8ad96 ""
+ "_minted-wallcalendar-code/E979D14CAF5656D4DCC3101646D9B8A343C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251400 104 1f8fb70ea7276fa1a6a35979dfb273f0 ""
+ "_minted-wallcalendar-code/E9D48774E2D196EC8935C8C411FE7FF143C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251385 1956 c9808ef8b3eb8fdd36e282b9ee21baa5 ""
+ "_minted-wallcalendar-code/EA45012636BAEFC8155FD6C5CB0F7F8C43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251385 982 c8cae84fc73684262e2b4c9c8014711f ""
+ "_minted-wallcalendar-code/ECD65CCC2E385029B6F062A27A34C38E43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508252515 2986 3b4a92eb553e31400772c5a60ed77c72 ""
+ "_minted-wallcalendar-code/EE32C2715E7E58EF630F7C8FC0F4868643C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251390 257 1f07513da0ca151849083a29702776db ""
+ "_minted-wallcalendar-code/F022940264AF9658599C7E1E2532983343C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251398 692 b3430b447bfdc61d4b8166943be5636a ""
+ "_minted-wallcalendar-code/F6680E8CE5FDDA244B4F72DF28FB9F1B43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251402 96 0e8c13eea1a448fdfd7597088991b760 ""
+ "_minted-wallcalendar-code/F8C6A5C012529160D87602BD8A3A84F243C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251386 2638 d629ccd665547258f79e7d1d0f164a6c ""
+ "_minted-wallcalendar-code/F9AFC411DF5AAE92BF302DE34D2C47A943C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251398 4110 c8171fcc4a87b5e4598537f359a23a1c ""
+ "_minted-wallcalendar-code/FB42E737002CB8C0507CCA6855761CB343C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251396 613 a4387a5dbf77b8e4c06b1bd837c32290 ""
+ "_minted-wallcalendar-code/FD1F46CC6C9149CBB3E066952ECDED2D43C43E3E67E44C81AF28C8B61108D25C.pygtex" 1508251387 551 0c4949e2605540efd88db0c93869dc7f ""
+ "_minted-wallcalendar-code/default-pyg-prefix.pygstyle" 1508251382 7493 51cba9593a43acb2bf88b9295207f4be ""
+ "_minted-wallcalendar-code/default.pygstyle" 1508251383 8823 a696bc1f647813ce5aee4d8373a873f7 ""
+ "local.sty" 1479751244 1575 83d98cf5fc486519d148b43844b85ede ""
+ "memoir-article.cls" 1479751244 9569 287a7d4646e8a29b3f9dbd405e4c8624 ""
+ "wallcalendar-code.aex" 0 -1 0 ""
+ "wallcalendar-code.aux" 1508557088 44705 f6f7ce393805edfe12002f8b7f5c10e3 ""
+ "wallcalendar-code.pyg" 0 -1 0 ""
+ "wallcalendar-code.tex" 1508557038 61372 0123c3a1a06eec75e44ab86eb67ea5f3 ""
+ "wallcalendar-code.toc" 1508557088 6728 3e6090fa134df12dc51eaf3aa419a54a ""
+ "wallcalendar-code.w18" 0 -1 0 ""
+ (generated)
+ "wallcalendar-code.pdf"
+ "wallcalendar-code.aux"
+ "wallcalendar-code.toc"
+ "wallcalendar-code.pyg"
+ "wallcalendar-code.log"
diff --git a/macros/luatex/latex/wallcalendar/doc/wallcalendar-code.fls b/macros/luatex/latex/wallcalendar/doc/wallcalendar-code.fls
new file mode 100644
index 0000000000..783faf0372
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/wallcalendar-code.fls
@@ -0,0 +1,1072 @@
+PWD /home/yume/prods/libs/wallcalendar/doc
+INPUT /home/yume/texlive/2017/texmf-var/web2c/luatex/lualatex.fmt
+INPUT ./wallcalendar-code.tex
+OUTPUT wallcalendar-code.log
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-basic.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-lua.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-package.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-lpeg.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-function.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-string.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-table.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-boolean.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-number.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-math.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-io.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-os.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-file.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-gzip.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-md5.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-dir.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-unicode.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-url.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-set.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-compat.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-extended.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-util-str.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-util-fil.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-util-tab.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-util-sto.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-util-prs.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-util-dim.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-util-jsn.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-trac-inf.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-util-lua.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-util-deb.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-util-tpl.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/lualibs/lualibs-util-sta.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/luaotfload/luaotfload-characters.lua
+INPUT ./memoir-article.cls
+INPUT ./memoir-article.cls
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/pgfopts/pgfopts.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/pgfopts/pgfopts.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/tools/calc.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/tools/calc.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/memoir/memoir.cls
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/memoir/memoir.cls
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/luatex85/luatex85.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/luatex85/luatex85.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/oberdiek/ifpdf.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/oberdiek/ifpdf.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/oberdiek/ifpdf.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/ifetex/ifetex.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/ifetex/ifetex.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/ifetex/ifetex.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/plain/ifetex/ifetex.tex
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/ifxetex/ifxetex.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/ifxetex/ifxetex.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/ifxetex/ifxetex.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/oberdiek/ifluatex.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/oberdiek/ifluatex.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/oberdiek/ifluatex.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/memoir/mem11.clo
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/memoir/mem11.clo
+INPUT /home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/lmroman10-regular.luc
+INPUT /home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/lmroman9-regular.luc
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/memoir/mempatch.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/memoir/mempatch.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/memoir/mempatch.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/babel/babel.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/babel/babel.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/babel/luababel.def
+INPUT /home/yume/texlive/2017/texmf-var/tex/generic/config/language.dat
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/babel-english/british.ldf
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/babel-english/british.ldf
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/babel-english/english.ldf
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/babel/babel.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/babel/luababel.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-en-gb.tex
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/hyph-utf8/patterns/tex/hyph-en-gb.tex
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/amsmath/amsmath.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/amsmath/amsmath.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/amsmath/amstext.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/amsmath/amstext.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/amsmath/amsgen.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/amsmath/amsgen.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/amsmath/amsbsy.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/amsmath/amsbsy.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/amsmath/amsopn.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/amsmath/amsopn.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mathdesign.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mathdesign.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/graphics/keyval.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/graphics/keyval.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/base/ifthen.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/base/ifthen.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/mdbch.cfg
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/mdbch.cfg
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/mdbch.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/mdbch.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdfont.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdfont.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdsffont.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdsffont.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdttfont.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdttfont.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/xkeyval/xkeyval.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/xkeyval/xkeyval.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/xkeyval/xkeyval.tex
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/xkeyval/xkvutils.tex
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/base/fontenc.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/base/fontenc.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/base/t1enc.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/base/t1enc.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/t1mdbch.fd
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/t1mdbch.fd
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr8t.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr8t.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr8y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr8t.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/fontspec/fontspec.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/fontspec/fontspec.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/l3kernel/expl3.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/l3kernel/expl3.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/l3kernel/expl3-code.tex
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/l3kernel/expl3-code.tex
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/unicode-data/UnicodeData.txt
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/unicode-data/CaseFolding.txt
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/unicode-data/SpecialCasing.txt
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmr10.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmr10.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmr10.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmr10.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmr10.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmr10.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmr10.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/cm/cmr10.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/l3kernel/l3pdfmode.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/l3kernel/l3pdfmode.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/base/tuenc.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/base/fontenc.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/base/fontenc.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/base/tuenc.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/base/tuenc.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/fontspec/fontspec.cfg
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/fontspec/fontspec.cfg
+INPUT /home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/lmromandemi10-regular.luc
+INPUT /home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/lmroman10-italic.luc
+INPUT /home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/crimson-roman.luc
+INPUT /home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/crimson-bold.luc
+INPUT /home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/crimson-italic.luc
+INPUT /home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/crimson-bolditalic.luc
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/xcolor/xcolor.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/xcolor/xcolor.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/graphics-cfg/color.cfg
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/graphics-cfg/color.cfg
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/graphics-def/luatex.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/graphics-def/luatex.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/graphics/graphicx.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/graphics/graphicx.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/graphics/graphics.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/graphics/graphics.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/graphics/trig.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/graphics/trig.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/enumitem/enumitem.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/enumitem/enumitem.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/tools/multicol.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/tools/multicol.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/hyperref/hyperref.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/hyperref/hyperref.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty
+INPUT /home/yume/texlive/2017/texmf-dist/scripts/oberdiek/oberdiek.luatex.lua
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/oberdiek/auxhook.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/oberdiek/auxhook.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/oberdiek/kvoptions.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/oberdiek/kvoptions.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/hyperref/pd1enc.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/hyperref/pd1enc.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/latexconfig/hyperref.cfg
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/latexconfig/hyperref.cfg
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/url/url.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/url/url.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/memoir/memhfixc.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/memoir/memhfixc.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/hyperref/hluatex.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/hyperref/hluatex.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/titlesec/titletoc.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/titlesec/titletoc.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/eso-pic/eso-pic.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/eso-pic/eso-pic.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/hyperref/puenc.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/hyperref/puenc.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/oberdiek/bookmark.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/oberdiek/bookmark.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/oberdiek/bkm-pdftex.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/oberdiek/bkm-pdftex.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/ulem/ulem.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/ulem/ulem.sty
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/latex-fonts/lasy6.tfm
+INPUT /home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/kinnari.luc
+INPUT /home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/kinnari-bolditalic.luc
+INPUT /home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/kinnari-bold.luc
+INPUT /home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/kinnari-oblique.luc
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/microtype/microtype.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/microtype/microtype.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/microtype/microtype-luatex.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/microtype/microtype-luatex.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/luatexbase/luatexbase.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/luatexbase/luatexbase.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/ctablestack/ctablestack.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/luatex/ctablestack/ctablestack.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/microtype/microtype.cfg
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/microtype/microtype.cfg
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/microtype/microtype.cfg
+INPUT ./local.sty
+INPUT ./local.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/minted/minted.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/minted/minted.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/fvextra/fvextra.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/fvextra/fvextra.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/etoolbox/etoolbox.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/etoolbox/etoolbox.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/upquote/upquote.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/upquote/upquote.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/base/textcomp.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/base/textcomp.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/base/ts1enc.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/base/ts1enc.def
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/lineno/lineno.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/lineno/lineno.sty
+INPUT /home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/lmmono12-regular.luc
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/float/float.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/float/float.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/tools/shellesc.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/tools/shellesc.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/tools/shellesc.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/ifplatform/ifplatform.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/ifplatform/ifplatform.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/oberdiek/catchfile.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/oberdiek/catchfile.sty
+INPUT ./wallcalendar-code.w18
+INPUT ./wallcalendar-code.w18
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/xstring/xstring.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/xstring/xstring.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/xstring/xstring.tex
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/framed/framed.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/framed/framed.sty
+INPUT ./wallcalendar-code.aex
+INPUT ./wallcalendar-code.aex
+INPUT ./wallcalendar-code.aux
+INPUT ./wallcalendar-code.aux
+OUTPUT wallcalendar-code.aux
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdacmr.fd
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdacmr.fd
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbcmr.fd
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbcmr.fd
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/base/ts1cmr.fd
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/base/ts1cmr.fd
+INPUT /home/yume/texlive/2017/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
+INPUT /home/yume/texlive/2017/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/oberdiek/grfext.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/oberdiek/grfext.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/hyperref/nameref.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/hyperref/nameref.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/oberdiek/gettitlestring.sty
+INPUT /home/yume/texlive/2017/texmf-dist/tex/generic/oberdiek/gettitlestring.sty
+OUTPUT wallcalendar-code.pdf
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/ot1mdbch.fd
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/ot1mdbch.fd
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7t.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7t.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7t.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr8y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/microtype/mt-bch.cfg
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/microtype/mt-bch.cfg
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7t.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7t.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7t.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr8y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7t.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7t.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7t.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr8y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/omlmdbch.fd
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/omlmdbch.fd
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchri7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchri7m.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chri7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chri8y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchri7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchri7m.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chri7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chri8y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchri7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchri7m.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chri7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chri8y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/omsmdbch.fd
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/omsmdbch.fd
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7y.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7y.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7y.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/omxmdbch.fd
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/omxmdbch.fd
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7v.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7v.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7v.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7v.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7v.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7v.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7v.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7v.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7v.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7m.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7m.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7m.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/mdamdbch.fd
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/mdamdbch.fd
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchrma.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchrma.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chrma.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchrma.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchrma.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chrma.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchrma.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchrma.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chrma.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/mdbmdbch.fd
+INPUT /home/yume/texlive/2017/texmf-dist/tex/latex/mathdesign/mdbch/mdbmdbch.fd
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchrmb.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchrmb.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chrmb.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchrmb.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchrmb.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chrmb.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchrmb.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchrmb.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chrmb.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7t.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7t.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7t.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr8y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7t.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7t.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7t.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr8y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7t.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7t.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7t.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr8y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchri7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchri7m.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chri7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chri8y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchri7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchri7m.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chri7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chri8y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchri7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchri7m.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chri7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chri8y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7y.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7y.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7y.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7v.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7v.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7v.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7v.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7v.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7v.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7v.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7v.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7v.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7m.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7m.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7m.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchrma.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchrma.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chrma.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchrma.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchrma.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chrma.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchrma.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchrma.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chrma.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchrmb.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchrmb.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chrmb.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchrmb.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchrmb.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chrmb.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchrmb.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchrmb.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chrmb.tfm
+INPUT ./wallcalendar-code.toc
+INPUT ./wallcalendar-code.toc
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7t.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7t.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7t.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr8y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7t.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7t.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7t.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr8y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7t.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7t.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7t.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr8y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchri7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchri7m.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chri7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chri8y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchri7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchri7m.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chri7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chri8y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchri7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchri7m.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chri7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chri8y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7y.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7y.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7y.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7y.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7v.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7v.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7v.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7v.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7v.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7v.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7v.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7v.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7v.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7m.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7m.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchr7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchr7m.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chr7m.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchrma.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchrma.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chrma.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchrma.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchrma.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chrma.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchrma.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchrma.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chrma.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchrmb.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchrmb.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chrmb.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchrmb.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchrmb.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chrmb.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/mdbchrmb.tfm
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/vf/public/mathdesign/mdbch/mdbchrmb.vf
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/tfm/public/mathdesign/mdbch/md-chrmb.tfm
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/default-pyg-prefix.pygstyle
+INPUT ./_minted-wallcalendar-code/default-pyg-prefix.pygstyle
+INPUT ./_minted-wallcalendar-code/default-pyg-prefix.pygstyle
+INPUT ./_minted-wallcalendar-code/default-pyg-prefix.pygstyle
+INPUT ./_minted-wallcalendar-code/default.pygstyle
+INPUT ./_minted-wallcalendar-code/default.pygstyle
+INPUT ./_minted-wallcalendar-code/default.pygstyle
+INPUT ./_minted-wallcalendar-code/default.pygstyle
+INPUT ./_minted-wallcalendar-code/4370CF835A691F3BBF85CAB364AF7ED343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/4370CF835A691F3BBF85CAB364AF7ED343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/4370CF835A691F3BBF85CAB364AF7ED343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/4370CF835A691F3BBF85CAB364AF7ED343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT /home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/lmmono9-regular.luc
+INPUT /home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/lmmono10-italic.luc
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/51EA9D0FE4EC3BCB835ADFA28E9D8EA943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/51EA9D0FE4EC3BCB835ADFA28E9D8EA943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/51EA9D0FE4EC3BCB835ADFA28E9D8EA943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/51EA9D0FE4EC3BCB835ADFA28E9D8EA943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT /home/yume/texlive/2017/texmf-var/luatex-cache/generic/fonts/otl/lmmonolt10-bold.luc
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/D74A299E1C80B0FABE737F418D3D788443C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/D74A299E1C80B0FABE737F418D3D788443C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/D74A299E1C80B0FABE737F418D3D788443C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/D74A299E1C80B0FABE737F418D3D788443C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/1937A9361D6B964B6AFB29EAFC328DDE43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/1937A9361D6B964B6AFB29EAFC328DDE43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/1937A9361D6B964B6AFB29EAFC328DDE43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/1937A9361D6B964B6AFB29EAFC328DDE43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/0CCC8B6CA129D064C36E9FD59B79C03C43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/0CCC8B6CA129D064C36E9FD59B79C03C43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/0CCC8B6CA129D064C36E9FD59B79C03C43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/0CCC8B6CA129D064C36E9FD59B79C03C43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/5E894CC9D1C6BCFD681CFF379A80DA5543C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/5E894CC9D1C6BCFD681CFF379A80DA5543C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/5E894CC9D1C6BCFD681CFF379A80DA5543C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/5E894CC9D1C6BCFD681CFF379A80DA5543C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/2672FBDBB9C494A251B1E94C0B38F8AD43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2672FBDBB9C494A251B1E94C0B38F8AD43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2672FBDBB9C494A251B1E94C0B38F8AD43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2672FBDBB9C494A251B1E94C0B38F8AD43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/09AD78D3F767ADD7015D0F7C1E2E329043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/09AD78D3F767ADD7015D0F7C1E2E329043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/09AD78D3F767ADD7015D0F7C1E2E329043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/09AD78D3F767ADD7015D0F7C1E2E329043C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/ECD65CCC2E385029B6F062A27A34C38E43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/ECD65CCC2E385029B6F062A27A34C38E43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/ECD65CCC2E385029B6F062A27A34C38E43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/ECD65CCC2E385029B6F062A27A34C38E43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/379DD89CC25851871F34E010BBB1011A43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/379DD89CC25851871F34E010BBB1011A43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/379DD89CC25851871F34E010BBB1011A43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/379DD89CC25851871F34E010BBB1011A43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/EA45012636BAEFC8155FD6C5CB0F7F8C43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/EA45012636BAEFC8155FD6C5CB0F7F8C43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/EA45012636BAEFC8155FD6C5CB0F7F8C43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/EA45012636BAEFC8155FD6C5CB0F7F8C43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/86A7D3E081CA07C3EBC1EE0341154F2E43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/86A7D3E081CA07C3EBC1EE0341154F2E43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/86A7D3E081CA07C3EBC1EE0341154F2E43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/86A7D3E081CA07C3EBC1EE0341154F2E43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/E9D48774E2D196EC8935C8C411FE7FF143C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/E9D48774E2D196EC8935C8C411FE7FF143C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/E9D48774E2D196EC8935C8C411FE7FF143C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/E9D48774E2D196EC8935C8C411FE7FF143C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/AC2D64784236E506BAAF014D827450DD43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/AC2D64784236E506BAAF014D827450DD43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/AC2D64784236E506BAAF014D827450DD43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/AC2D64784236E506BAAF014D827450DD43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/F8C6A5C012529160D87602BD8A3A84F243C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/F8C6A5C012529160D87602BD8A3A84F243C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/F8C6A5C012529160D87602BD8A3A84F243C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/F8C6A5C012529160D87602BD8A3A84F243C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/E5A458FEDF52EB2B0A32B7824AB4EB8E43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/E5A458FEDF52EB2B0A32B7824AB4EB8E43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/E5A458FEDF52EB2B0A32B7824AB4EB8E43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/E5A458FEDF52EB2B0A32B7824AB4EB8E43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/033BBD01DF821E53BEF1F76066548A1B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/033BBD01DF821E53BEF1F76066548A1B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/033BBD01DF821E53BEF1F76066548A1B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/033BBD01DF821E53BEF1F76066548A1B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/DCF96EB9A28745B85E3AB5432A4F2AC043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/DCF96EB9A28745B85E3AB5432A4F2AC043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/DCF96EB9A28745B85E3AB5432A4F2AC043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/DCF96EB9A28745B85E3AB5432A4F2AC043C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/9A012B9BE1259AA1EFB4BAE63268100443C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/9A012B9BE1259AA1EFB4BAE63268100443C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/9A012B9BE1259AA1EFB4BAE63268100443C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/9A012B9BE1259AA1EFB4BAE63268100443C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/FD1F46CC6C9149CBB3E066952ECDED2D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/FD1F46CC6C9149CBB3E066952ECDED2D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/FD1F46CC6C9149CBB3E066952ECDED2D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/FD1F46CC6C9149CBB3E066952ECDED2D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/9F580BAA1F31C0E44D11DD51C2460F0943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/9F580BAA1F31C0E44D11DD51C2460F0943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/9F580BAA1F31C0E44D11DD51C2460F0943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/9F580BAA1F31C0E44D11DD51C2460F0943C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/CBA1F475B3F7B3D50733EA23375DF1F743C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/CBA1F475B3F7B3D50733EA23375DF1F743C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/CBA1F475B3F7B3D50733EA23375DF1F743C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/CBA1F475B3F7B3D50733EA23375DF1F743C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/A78D22BD38A7B8278071084C48B5A7F243C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/A78D22BD38A7B8278071084C48B5A7F243C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/A78D22BD38A7B8278071084C48B5A7F243C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/A78D22BD38A7B8278071084C48B5A7F243C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/95532C3B3A0072BBDE308ED35E1E085743C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/95532C3B3A0072BBDE308ED35E1E085743C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/95532C3B3A0072BBDE308ED35E1E085743C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/95532C3B3A0072BBDE308ED35E1E085743C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/BF736320BECC8D4A61121695356AF98D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/BF736320BECC8D4A61121695356AF98D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/BF736320BECC8D4A61121695356AF98D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/BF736320BECC8D4A61121695356AF98D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/2B8FA52DE44D075231C4F02C4F679D2D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2B8FA52DE44D075231C4F02C4F679D2D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2B8FA52DE44D075231C4F02C4F679D2D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2B8FA52DE44D075231C4F02C4F679D2D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/51469FF43A74F0C0DAA85BCCDC1064A043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/51469FF43A74F0C0DAA85BCCDC1064A043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/51469FF43A74F0C0DAA85BCCDC1064A043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/51469FF43A74F0C0DAA85BCCDC1064A043C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/7A2F035FB49711BCD77581500E36A7C843C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/7A2F035FB49711BCD77581500E36A7C843C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/7A2F035FB49711BCD77581500E36A7C843C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/7A2F035FB49711BCD77581500E36A7C843C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/669AA15B908BDCC617CD78B674EDA1A043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/669AA15B908BDCC617CD78B674EDA1A043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/669AA15B908BDCC617CD78B674EDA1A043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/669AA15B908BDCC617CD78B674EDA1A043C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/B71909C35B142E9FCAFA186C4CB6C46543C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/B71909C35B142E9FCAFA186C4CB6C46543C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/B71909C35B142E9FCAFA186C4CB6C46543C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/B71909C35B142E9FCAFA186C4CB6C46543C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/CA9D90ECD412CE9E8AD55CE634599F4B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/CA9D90ECD412CE9E8AD55CE634599F4B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/CA9D90ECD412CE9E8AD55CE634599F4B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/CA9D90ECD412CE9E8AD55CE634599F4B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/E3F0723B43AD79B6E2B8CF4776C06B6543C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/E3F0723B43AD79B6E2B8CF4776C06B6543C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/E3F0723B43AD79B6E2B8CF4776C06B6543C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/E3F0723B43AD79B6E2B8CF4776C06B6543C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/844CBE462BF13CAF71F1DA97B8D3DEF143C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/844CBE462BF13CAF71F1DA97B8D3DEF143C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/844CBE462BF13CAF71F1DA97B8D3DEF143C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/844CBE462BF13CAF71F1DA97B8D3DEF143C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/5F4D89201689122D618CEE759CE17D7443C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/5F4D89201689122D618CEE759CE17D7443C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/5F4D89201689122D618CEE759CE17D7443C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/5F4D89201689122D618CEE759CE17D7443C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/CA40B33B1781E3BA5CCC5A1E77253D6F43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/CA40B33B1781E3BA5CCC5A1E77253D6F43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/CA40B33B1781E3BA5CCC5A1E77253D6F43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/CA40B33B1781E3BA5CCC5A1E77253D6F43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/90CA41A0AF0C525B7E2B39F926D8FB6843C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/90CA41A0AF0C525B7E2B39F926D8FB6843C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/90CA41A0AF0C525B7E2B39F926D8FB6843C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/90CA41A0AF0C525B7E2B39F926D8FB6843C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/EE32C2715E7E58EF630F7C8FC0F4868643C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/EE32C2715E7E58EF630F7C8FC0F4868643C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/EE32C2715E7E58EF630F7C8FC0F4868643C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/EE32C2715E7E58EF630F7C8FC0F4868643C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/3CEAED90711AA7777C8A1C13C07934D943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/3CEAED90711AA7777C8A1C13C07934D943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/3CEAED90711AA7777C8A1C13C07934D943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/3CEAED90711AA7777C8A1C13C07934D943C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/2FFFE812EB41DFA6019BEA560375B44343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2FFFE812EB41DFA6019BEA560375B44343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2FFFE812EB41DFA6019BEA560375B44343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2FFFE812EB41DFA6019BEA560375B44343C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/D952ABF0F4AB98FC3DE904B8ADD9A73C43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/D952ABF0F4AB98FC3DE904B8ADD9A73C43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/D952ABF0F4AB98FC3DE904B8ADD9A73C43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/D952ABF0F4AB98FC3DE904B8ADD9A73C43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/969BA54A1B919C45CF406BB3C125D51043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/969BA54A1B919C45CF406BB3C125D51043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/969BA54A1B919C45CF406BB3C125D51043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/969BA54A1B919C45CF406BB3C125D51043C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/1A403559330D34AB149955B0E49EFEA543C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/1A403559330D34AB149955B0E49EFEA543C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/1A403559330D34AB149955B0E49EFEA543C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/1A403559330D34AB149955B0E49EFEA543C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/7CFBCC78D9E97011795B1ECB6F9D81BF43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/7CFBCC78D9E97011795B1ECB6F9D81BF43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/7CFBCC78D9E97011795B1ECB6F9D81BF43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/7CFBCC78D9E97011795B1ECB6F9D81BF43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/520CAE24A8DF3B947ECA15F54D5D308343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/520CAE24A8DF3B947ECA15F54D5D308343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/520CAE24A8DF3B947ECA15F54D5D308343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/520CAE24A8DF3B947ECA15F54D5D308343C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/42B225A3BF77B8F70D28A4C5B19A4F1943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/42B225A3BF77B8F70D28A4C5B19A4F1943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/42B225A3BF77B8F70D28A4C5B19A4F1943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/42B225A3BF77B8F70D28A4C5B19A4F1943C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/D71F3F7B6B80A5B699557F870FC10A6343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/D71F3F7B6B80A5B699557F870FC10A6343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/D71F3F7B6B80A5B699557F870FC10A6343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/D71F3F7B6B80A5B699557F870FC10A6343C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/6120E3D3CBF828CA5D9BE5373C7BB14E43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/6120E3D3CBF828CA5D9BE5373C7BB14E43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/6120E3D3CBF828CA5D9BE5373C7BB14E43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/6120E3D3CBF828CA5D9BE5373C7BB14E43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/E2A699C201D5AB8FA5EA292AB85F1DF843C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/E2A699C201D5AB8FA5EA292AB85F1DF843C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/E2A699C201D5AB8FA5EA292AB85F1DF843C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/E2A699C201D5AB8FA5EA292AB85F1DF843C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/BF9BDC605EF3480C1157C70B368FAB1643C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/BF9BDC605EF3480C1157C70B368FAB1643C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/BF9BDC605EF3480C1157C70B368FAB1643C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/BF9BDC605EF3480C1157C70B368FAB1643C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/383F6801D0D02631F227C89636CB7F0B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/383F6801D0D02631F227C89636CB7F0B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/383F6801D0D02631F227C89636CB7F0B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/383F6801D0D02631F227C89636CB7F0B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/CD8FB75626D15E77809A21AA2664914643C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/CD8FB75626D15E77809A21AA2664914643C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/CD8FB75626D15E77809A21AA2664914643C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/CD8FB75626D15E77809A21AA2664914643C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/976FEA6DF15213DB1789E3947B8632EC43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/976FEA6DF15213DB1789E3947B8632EC43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/976FEA6DF15213DB1789E3947B8632EC43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/976FEA6DF15213DB1789E3947B8632EC43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/5B5D6F67DE99E311EBA0A1C0FF1BD0D643C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/5B5D6F67DE99E311EBA0A1C0FF1BD0D643C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/5B5D6F67DE99E311EBA0A1C0FF1BD0D643C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/5B5D6F67DE99E311EBA0A1C0FF1BD0D643C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/2B0F8C8A59BC16AA0256551F14B0891443C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2B0F8C8A59BC16AA0256551F14B0891443C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2B0F8C8A59BC16AA0256551F14B0891443C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2B0F8C8A59BC16AA0256551F14B0891443C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/844D88D1C52FF3D999528F065B03F0D343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/844D88D1C52FF3D999528F065B03F0D343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/844D88D1C52FF3D999528F065B03F0D343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/844D88D1C52FF3D999528F065B03F0D343C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/C376C9FA4787640DD61E926B00D5104743C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/C376C9FA4787640DD61E926B00D5104743C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/C376C9FA4787640DD61E926B00D5104743C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/C376C9FA4787640DD61E926B00D5104743C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/51ACFBE3FC71C4C2692463FAD05CE2F843C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/51ACFBE3FC71C4C2692463FAD05CE2F843C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/51ACFBE3FC71C4C2692463FAD05CE2F843C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/51ACFBE3FC71C4C2692463FAD05CE2F843C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/31481FB1D71CFBA463DCBB8A9620A8CE43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/31481FB1D71CFBA463DCBB8A9620A8CE43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/31481FB1D71CFBA463DCBB8A9620A8CE43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/31481FB1D71CFBA463DCBB8A9620A8CE43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/C5D82B350107DCC91ACDBE8C816DD68B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/C5D82B350107DCC91ACDBE8C816DD68B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/C5D82B350107DCC91ACDBE8C816DD68B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/C5D82B350107DCC91ACDBE8C816DD68B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/750C712D706F8031BCEAC46748DC1E2D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/750C712D706F8031BCEAC46748DC1E2D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/750C712D706F8031BCEAC46748DC1E2D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/750C712D706F8031BCEAC46748DC1E2D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/CD5B3E5BF633FD733572F3D0CB30E26043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/CD5B3E5BF633FD733572F3D0CB30E26043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/CD5B3E5BF633FD733572F3D0CB30E26043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/CD5B3E5BF633FD733572F3D0CB30E26043C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/DD33110A63943720732CF351D860C7DF43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/DD33110A63943720732CF351D860C7DF43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/DD33110A63943720732CF351D860C7DF43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/DD33110A63943720732CF351D860C7DF43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/4BC7FBD3FDCF3D17C3DE267E7C9EFE2343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/4BC7FBD3FDCF3D17C3DE267E7C9EFE2343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/4BC7FBD3FDCF3D17C3DE267E7C9EFE2343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/4BC7FBD3FDCF3D17C3DE267E7C9EFE2343C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/FB42E737002CB8C0507CCA6855761CB343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/FB42E737002CB8C0507CCA6855761CB343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/FB42E737002CB8C0507CCA6855761CB343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/FB42E737002CB8C0507CCA6855761CB343C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/2861AE1225599268F74201F1C39B8AE943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2861AE1225599268F74201F1C39B8AE943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2861AE1225599268F74201F1C39B8AE943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2861AE1225599268F74201F1C39B8AE943C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/7E0D52810181AF5D8047851D50675C5643C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/7E0D52810181AF5D8047851D50675C5643C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/7E0D52810181AF5D8047851D50675C5643C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/7E0D52810181AF5D8047851D50675C5643C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/7D8B1E7153256C89540C886D8AE1264243C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/7D8B1E7153256C89540C886D8AE1264243C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/7D8B1E7153256C89540C886D8AE1264243C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/7D8B1E7153256C89540C886D8AE1264243C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/A2E37B0FCA28F4CA90CAD045199926C743C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/A2E37B0FCA28F4CA90CAD045199926C743C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/A2E37B0FCA28F4CA90CAD045199926C743C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/A2E37B0FCA28F4CA90CAD045199926C743C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/DA2E3F6142F6C771D0E8165DA48F4C1443C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/DA2E3F6142F6C771D0E8165DA48F4C1443C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/DA2E3F6142F6C771D0E8165DA48F4C1443C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/DA2E3F6142F6C771D0E8165DA48F4C1443C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/CFEE4A322F46D5312230F0134E15F8D143C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/CFEE4A322F46D5312230F0134E15F8D143C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/CFEE4A322F46D5312230F0134E15F8D143C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/CFEE4A322F46D5312230F0134E15F8D143C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/54BADB0513C788DB85CB1B39953178B443C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/54BADB0513C788DB85CB1B39953178B443C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/54BADB0513C788DB85CB1B39953178B443C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/54BADB0513C788DB85CB1B39953178B443C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/A4E2FA74544C29B792A4CC5DFB8F751543C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/A4E2FA74544C29B792A4CC5DFB8F751543C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/A4E2FA74544C29B792A4CC5DFB8F751543C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/A4E2FA74544C29B792A4CC5DFB8F751543C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/31481FB1D71CFBA463DCBB8A9620A8CE43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/31481FB1D71CFBA463DCBB8A9620A8CE43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/31481FB1D71CFBA463DCBB8A9620A8CE43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/31481FB1D71CFBA463DCBB8A9620A8CE43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/C5D82B350107DCC91ACDBE8C816DD68B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/C5D82B350107DCC91ACDBE8C816DD68B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/C5D82B350107DCC91ACDBE8C816DD68B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/C5D82B350107DCC91ACDBE8C816DD68B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/606BD6B87E960111CD2BF9681F39965243C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/606BD6B87E960111CD2BF9681F39965243C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/606BD6B87E960111CD2BF9681F39965243C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/606BD6B87E960111CD2BF9681F39965243C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/CD5B3E5BF633FD733572F3D0CB30E26043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/CD5B3E5BF633FD733572F3D0CB30E26043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/CD5B3E5BF633FD733572F3D0CB30E26043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/CD5B3E5BF633FD733572F3D0CB30E26043C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/D14580909254F48553986863DB545E1343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/D14580909254F48553986863DB545E1343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/D14580909254F48553986863DB545E1343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/D14580909254F48553986863DB545E1343C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/4BC7FBD3FDCF3D17C3DE267E7C9EFE2343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/4BC7FBD3FDCF3D17C3DE267E7C9EFE2343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/4BC7FBD3FDCF3D17C3DE267E7C9EFE2343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/4BC7FBD3FDCF3D17C3DE267E7C9EFE2343C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/FB42E737002CB8C0507CCA6855761CB343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/FB42E737002CB8C0507CCA6855761CB343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/FB42E737002CB8C0507CCA6855761CB343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/FB42E737002CB8C0507CCA6855761CB343C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/2861AE1225599268F74201F1C39B8AE943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2861AE1225599268F74201F1C39B8AE943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2861AE1225599268F74201F1C39B8AE943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2861AE1225599268F74201F1C39B8AE943C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/F9AFC411DF5AAE92BF302DE34D2C47A943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/F9AFC411DF5AAE92BF302DE34D2C47A943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/F9AFC411DF5AAE92BF302DE34D2C47A943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/F9AFC411DF5AAE92BF302DE34D2C47A943C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/8F5254955AE2D4830630515383BC487943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/8F5254955AE2D4830630515383BC487943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/8F5254955AE2D4830630515383BC487943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/8F5254955AE2D4830630515383BC487943C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/059DFC4ED0F176E43AAD50BAAFE2496F43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/059DFC4ED0F176E43AAD50BAAFE2496F43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/059DFC4ED0F176E43AAD50BAAFE2496F43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/059DFC4ED0F176E43AAD50BAAFE2496F43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/DA2E3F6142F6C771D0E8165DA48F4C1443C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/DA2E3F6142F6C771D0E8165DA48F4C1443C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/DA2E3F6142F6C771D0E8165DA48F4C1443C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/DA2E3F6142F6C771D0E8165DA48F4C1443C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/F022940264AF9658599C7E1E2532983343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/F022940264AF9658599C7E1E2532983343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/F022940264AF9658599C7E1E2532983343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/F022940264AF9658599C7E1E2532983343C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/B1C28C6742025AC1F6EE9C9A8CC791DA43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/B1C28C6742025AC1F6EE9C9A8CC791DA43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/B1C28C6742025AC1F6EE9C9A8CC791DA43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/B1C28C6742025AC1F6EE9C9A8CC791DA43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/20F302AA63B75FCF0DB80B4819F23BB243C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/20F302AA63B75FCF0DB80B4819F23BB243C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/20F302AA63B75FCF0DB80B4819F23BB243C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/20F302AA63B75FCF0DB80B4819F23BB243C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/2FFBF4A9DD6C48CBB7F1A1C8B293876143C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2FFBF4A9DD6C48CBB7F1A1C8B293876143C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2FFBF4A9DD6C48CBB7F1A1C8B293876143C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2FFBF4A9DD6C48CBB7F1A1C8B293876143C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/92FF7E2AC8A71877AEB439C1283088C943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/92FF7E2AC8A71877AEB439C1283088C943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/92FF7E2AC8A71877AEB439C1283088C943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/92FF7E2AC8A71877AEB439C1283088C943C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/D1C7EDB1DD088EB59794BD340AFF010943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/D1C7EDB1DD088EB59794BD340AFF010943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/D1C7EDB1DD088EB59794BD340AFF010943C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/D1C7EDB1DD088EB59794BD340AFF010943C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/999590BB6BDD1CE5D2CB78B703B5B03543C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/999590BB6BDD1CE5D2CB78B703B5B03543C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/999590BB6BDD1CE5D2CB78B703B5B03543C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/999590BB6BDD1CE5D2CB78B703B5B03543C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/948DF7F481173E7D9DF2ACDDC71961F643C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/948DF7F481173E7D9DF2ACDDC71961F643C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/948DF7F481173E7D9DF2ACDDC71961F643C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/948DF7F481173E7D9DF2ACDDC71961F643C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/E7A5B4842B2306A61DA53D9F8DB3563D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/E7A5B4842B2306A61DA53D9F8DB3563D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/E7A5B4842B2306A61DA53D9F8DB3563D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/E7A5B4842B2306A61DA53D9F8DB3563D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/C49AC9E5FF2D3559F3E74784F64F4FC343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/C49AC9E5FF2D3559F3E74784F64F4FC343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/C49AC9E5FF2D3559F3E74784F64F4FC343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/C49AC9E5FF2D3559F3E74784F64F4FC343C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/81A4D4A32B22519B0327A0477A5601BB43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/81A4D4A32B22519B0327A0477A5601BB43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/81A4D4A32B22519B0327A0477A5601BB43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/81A4D4A32B22519B0327A0477A5601BB43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/1DB198D4F7116DD69F7A04C4C14A2C1D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/1DB198D4F7116DD69F7A04C4C14A2C1D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/1DB198D4F7116DD69F7A04C4C14A2C1D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/1DB198D4F7116DD69F7A04C4C14A2C1D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/0563FB1B1C7CB725F0CB598E22A0F9EE43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/0563FB1B1C7CB725F0CB598E22A0F9EE43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/0563FB1B1C7CB725F0CB598E22A0F9EE43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/0563FB1B1C7CB725F0CB598E22A0F9EE43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/6B5B3ADC99ED502A13CB46185013B51043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/6B5B3ADC99ED502A13CB46185013B51043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/6B5B3ADC99ED502A13CB46185013B51043C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/6B5B3ADC99ED502A13CB46185013B51043C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/AC6A7412F572E2B3C8B4E65D35553D7C43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/AC6A7412F572E2B3C8B4E65D35553D7C43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/AC6A7412F572E2B3C8B4E65D35553D7C43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/AC6A7412F572E2B3C8B4E65D35553D7C43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/6FAD878364DC870D016D3C164ECD0BD243C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/6FAD878364DC870D016D3C164ECD0BD243C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/6FAD878364DC870D016D3C164ECD0BD243C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/6FAD878364DC870D016D3C164ECD0BD243C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/E979D14CAF5656D4DCC3101646D9B8A343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/E979D14CAF5656D4DCC3101646D9B8A343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/E979D14CAF5656D4DCC3101646D9B8A343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/E979D14CAF5656D4DCC3101646D9B8A343C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/AFD9FB21AF5D630B2207FE2CE5BE2EC143C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/AFD9FB21AF5D630B2207FE2CE5BE2EC143C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/AFD9FB21AF5D630B2207FE2CE5BE2EC143C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/AFD9FB21AF5D630B2207FE2CE5BE2EC143C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/9FE91E71AAA73820FF760D419464EC9D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/9FE91E71AAA73820FF760D419464EC9D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/9FE91E71AAA73820FF760D419464EC9D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/9FE91E71AAA73820FF760D419464EC9D43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/3D7CCFC54583085468F7261D866A27F843C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/3D7CCFC54583085468F7261D866A27F843C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/3D7CCFC54583085468F7261D866A27F843C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/3D7CCFC54583085468F7261D866A27F843C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/D864525C12085A138D29D9EBF9FE07B643C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/D864525C12085A138D29D9EBF9FE07B643C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/D864525C12085A138D29D9EBF9FE07B643C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/D864525C12085A138D29D9EBF9FE07B643C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/2F06DBA698783215D435A40A9050C18A43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2F06DBA698783215D435A40A9050C18A43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2F06DBA698783215D435A40A9050C18A43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/2F06DBA698783215D435A40A9050C18A43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/D4C6423B912CA52700C589AA135BA19343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/D4C6423B912CA52700C589AA135BA19343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/D4C6423B912CA52700C589AA135BA19343C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/D4C6423B912CA52700C589AA135BA19343C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/4297B4AC95CDD41DA3D88186813DF75A43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/4297B4AC95CDD41DA3D88186813DF75A43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/4297B4AC95CDD41DA3D88186813DF75A43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/4297B4AC95CDD41DA3D88186813DF75A43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.pyg
+INPUT ./_minted-wallcalendar-code/F6680E8CE5FDDA244B4F72DF28FB9F1B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/F6680E8CE5FDDA244B4F72DF28FB9F1B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/F6680E8CE5FDDA244B4F72DF28FB9F1B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+INPUT ./_minted-wallcalendar-code/F6680E8CE5FDDA244B4F72DF28FB9F1B43C43E3E67E44C81AF28C8B61108D25C.pygtex
+OUTPUT wallcalendar-code.toc
+INPUT ./wallcalendar-code.aux
+INPUT ./wallcalendar-code.pyg
+INPUT /home/yume/texlive/2017/texmf-dist/fonts/type1/public/mathdesign/mdbch/md-chr7y.pfb
diff --git a/macros/luatex/latex/wallcalendar/doc/wallcalendar-code.org b/macros/luatex/latex/wallcalendar/doc/wallcalendar-code.org
new file mode 100644
index 0000000000..b62e0fa7a8
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/wallcalendar-code.org
@@ -0,0 +1,2238 @@
+#+TITLE: Wallcalendar Code Documentation
+#+SETUPFILE: doc-setup.org
+#+LATEX_HEADER: \maxtocdepth{section}
+#+PROPERTY: header-args:tex :tangle ../wallcalendar.cls :padline yes
+
+* Tasks :noexport:
+** TODO small landscape: move the photo with /Photo/#2/xOffset and yOffset as at the full page layout
+** TODO clip photo beyond the bleed, the photo covers the cropmarks (esp. when when using yOffset)
+** option for the photo to be scaled vertically, not horizontally
+** option for the quote to have a bg with opacity
+* Introduction
+
+#+begin_latex
+\bigskip
+
+This is the code documentation for the \texttt{wallcalendar} documentclass.
+
+The \textbf{User Guide} is in \texttt{wallcalendar.pdf}. Clone or download from Github:
+
+\href{https://github.com/profound-labs/wallcalendar/}{https://github.com/profound-labs/wallcalendar/}
+
+\bigskip
+
+\tableofcontents*
+
+\clearpage
+#+end_latex
+
+* Header
+
+#+begin_src tex
+% wallcalendar.cls; Don't edit this file. Edit wallcalendar-code.org with emacs org-mode and call 'org-babel-tangle'.
+%
+% Wall Calendar
+%
+% A wall calendar document class with custom layouts and support for internationalization.
+%
+% (c) Gambhiro Bhikkhu, 2017
+% gambhiro.bhikkhu.85@gmail.com
+%
+% LPPL LaTeX Public Project License
+#+end_src
+
+* Identification
+
+#+begin_src tex
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{wallcalendar}[2017/10/21 v1.3.1 A wall calendar class with custom layouts and support for internationalization.]
+#+end_src
+
+* Preliminary Declarations
+
+#+begin_src tex
+\RequirePackage{pgfopts}
+\RequirePackage{calc}
+
+\newlength\calPaperWidth
+\newlength\calPaperHeight
+\newlength\@wall@leftMargin
+\newlength\@wall@rightMargin
+\newlength\@wall@topMargin
+\newlength\@wall@bottomMargin
+
+\def\@wall@eventsCsv{}
+\def\@wall@markDefaultsCsv{}
+\def\@wall@translationsInputFile{}
+
+\newcommand*\theMonthName{}
+#+end_src
+
+* Options
+
+Paper sizes and ratios.
+
+: Choral Octavo = 6.75in x 10.5in = 171.45mm x 266.7mm , r = 1.5555
+: The calendar row is 40mm (without bleed) = 1.5748in
+
+: When photo is above the calendar row, it has only three side bleed.
+: So aspect ratio:
+: (10.5in - 40mm + 3mm) / (6.75in + 6mm) =
+: (266.7 - 40 + 3) / (171.45 + 6) =
+: = 1.2944
+
+#+begin_src tex
+\newif\ifvarnishmask
+\newif\ifshowframe
+\newif\iftranslationsAutoload
+\newif\ifloadBabel
+
+\pgfkeys{
+ /wall/.is family, /wall,
+ defaults/.style = {
+ year = \the\year,
+ altyear = \empty,
+ loadBabel = false,
+ language = english,
+ translationsAutoload = true,
+ imageFolder = {./src-images},
+ choralOctavoPaper,
+ hMargin = 17mm,
+ topMargin = 20.5mm,
+ bottomMargin = 10mm,
+ },
+ year/.store in = \CalendarYear,
+ year/.initial = \the\year,
+ altyear/.store in = \CalendarAltYear,
+ altyear/.initial = \empty,
+ language/.store in = \@wall@calendarLanguage,
+ loadBabel/.is if = loadBabel,
+ translationsInputFile/.store in = \@wall@translationsInputFile,
+ translationsInputFile/.initial = {},
+ translationsAutoload/.is if = translationsAutoload,
+ eventsCsv/.store in = \@wall@eventsCsv,
+ eventsCsv/.initial = {},
+ markDefaultsCsv/.store in = \@wall@markDefaultsCsv,
+ markDefaultsCsv/.initial = {},
+ varnishmask/.is if = varnishmask,
+ showframe/.is if = showframe,
+ imageFolder/.store in = \@wall@imageFolder,
+ paperWidth/.code = {\setlength{\calPaperWidth}{#1}},
+ paperHeight/.code = {\setlength{\calPaperHeight}{#1}},
+ hMargin/.code = {\setlength{\@wall@leftMargin}{#1}%
+ \setlength{\@wall@rightMargin}{#1}},
+ leftMargin/.code = {\setlength{\@wall@leftMargin}{#1}},
+ rightMargin/.code = {\setlength{\@wall@rightMargin}{#1}},
+ topMargin/.code = {\setlength{\@wall@topMargin}{#1}},
+ bottomMargin/.code = {\setlength{\@wall@bottomMargin}{#1}},
+ % Paper sizes
+ choralOctavoPaper/.style = {paperWidth = 6.75in, paperHeight = 10.5in},
+ a2Paper/.style = {paperWidth = 420mm, paperHeight = 594mm},
+ a2PaperLandscape/.style = {paperWidth = 594mm, paperHeight = 420mm},
+ a3Paper/.style = {paperWidth = 297mm, paperHeight = 420mm},
+ a3PaperLandscape/.style = {paperWidth = 420mm, paperHeight = 297mm},
+ a4Paper/.style = {paperWidth = 210mm, paperHeight = 297mm},
+ a4PaperLandscape/.style = {paperWidth = 297mm, paperHeight = 210mm},
+ a5Paper/.style = {paperWidth = 148mm, paperHeight = 210mm},% r = 1.4142 = sqrt(2)
+ prevPaper/.style = {paperWidth = 170mm, paperHeight = 250mm},% r = 1.4705
+}
+
+% Debug with: \wlog{YEA: \the\@wall@bottomMargin}
+
+\DeclareOption*{%
+ \PassOptionsToClass{\CurrentOption}{memoir}
+}
+
+\pgfkeys{/wall, defaults}
+\ProcessPgfOptions{/wall}
+\ProcessOptions\relax
+#+end_src
+
+* More Declarations
+** Load memoir
+
+#+begin_src tex
+\LoadClass[11pt,oneside]{memoir}
+#+end_src
+
+** Temp variables
+
+#+begin_src tex
+\newlength\@tmp@a
+\newlength\@tmp@b
+\newlength\@tmp@c
+\newlength\@tmp@width
+\newlength\@tmp@height
+#+end_src
+
+** Require packages
+
+#+begin_src tex
+\ifloadBabel
+\RequirePackage[\@wall@calendarLanguage]{babel}
+\fi
+
+\RequirePackage{nag}
+%\RequirePackage{textcomp}
+\RequirePackage[cmyk]{xcolor}
+\RequirePackage{graphicx}
+\DeclareGraphicsExtensions{.pdf,.png,.jpg}
+\graphicspath{{\@wall@imageFolder}}
+
+\RequirePackage{eso-pic}
+\RequirePackage{ccicons}
+\RequirePackage{multicol}
+\RequirePackage{wasysym}
+
+\RequirePackage{pdftexcmds}
+\RequirePackage{etoolbox}
+\RequirePackage{luacode}
+
+\RequirePackage{xcoffins}
+%\RequirePackage{xstring}
+%\RequirePackage{stringstrings}
+
+\ifloadBabel
+\RequirePackage[final,babel=true]{microtype}
+\else
+\RequirePackage[final]{microtype}
+\fi
+
+\RequirePackage{tikz}
+\usetikzlibrary{calendar}
+\usetikzlibrary{positioning}
+\usetikzlibrary{fit}
+\usetikzlibrary{shapes.geometric}
+
+% http://tex.stackexchange.com/a/20426/831
+\pgfdeclarelayer{one}
+\pgfdeclarelayer{two}
+\pgfsetlayers{main,one,two}
+
+\pgfkeys{%
+ /tikz/on layer/.code={
+ \pgfonlayer{#1}\begingroup
+ \aftergroup\endpgfonlayer
+ \aftergroup\endgroup
+ }
+}
+#+end_src
+
+** Colors
+
+#+begin_src tex
+\definecolor{textbody}{gray}{0.15}
+
+% pantone 1245C, RGB 191,145,12 HEX: #BF910C
+% pantone 1255C, CMYK 0,27.5,100,34
+\definecolor{gold}{cmyk}{0,0.275,1,0.34}
+\definecolor{darkgold}{cmyk}{0.27,0.53,1,0.09}
+%\definecolor{orangegold}{cmyk}{0,0.31,0.89,0}
+\colorlet{orangegold}{darkgold}
+
+\colorlet{gridcolor}{black!30}
+\colorlet{weekday}{black}
+\colorlet{weekend}{black!50}
+\colorlet{mooncolor}{textbody}
+
+\definecolor{datenum}{gray}{0.3}
+\definecolor{plannerdatenum}{gray}{0.15}
+\definecolor{quote}{gray}{0.3}
+\definecolor{notes}{gray}{0.3}
+
+\definecolor{gridcolor}{gray}{0.5}
+\colorlet{pagebgcolor}{gridcolor!60}
+#+end_src
+
+=showframe= option colors:
+
+#+begin_src tex
+\colorlet{photo-frame}{blue}
+\colorlet{quote-frame}{red}
+\colorlet{heading-frame}{brown}
+\colorlet{calendar-frame}{orange}
+\colorlet{events-frame}{green}
+
+\ifshowframe
+ \colorlet{calendarbg}{black!50}
+\else
+ \colorlet{calendarbg}{white}
+\fi
+#+end_src
+
+** Page Size and Trim Marks
+
+#+begin_src tex
+\ifshowtrims
+ \setstocksize{\calPaperHeight + 35mm}{\calPaperWidth + 35mm}
+ \setlength{\paperheight}{\calPaperHeight}
+ \setlength{\paperwidth}{\calPaperWidth}
+ \trimXmarks
+ \trimLmarks
+ \quarkmarks
+ \settrims{0.5\stockheight - 0.5\paperheight}{0.5\stockwidth - 0.5\paperwidth}
+ \settrimmedsize{\calPaperHeight}{\calPaperWidth}{*}
+\else\relax
+ \setstocksize{\calPaperHeight}{\calPaperWidth}
+ \settrims{0pt}{0pt}
+ \settrimmedsize{\stockheight}{\stockwidth}{*}
+\fi
+
+%\settypeblocksize{\stockheight}{\stockwidth}{*}
+% TODO: calculate margins by ratios to paper size
+\setlrmarginsandblock{\@wall@leftMargin}{\@wall@rightMargin}{*}
+\setulmarginsandblock{\@wall@topMargin}{\@wall@bottomMargin}{*}
+\setheadfoot{0pt}{0pt}
+\setheaderspaces{0pt}{*}{*}
+
+\checkandfixthelayout% This will typeout values in pt.
+\settypeoutlayoutunit{mm}% It is useful to see layout values in mm too.
+\typeoutlayout
+#+end_src
+
+** Base font sizes and indents
+
+#+begin_src tex
+\def\@wall@fontSize{11}
+\def\@wall@lineHeight{13.6}
+
+\renewcommand{\normalsize}{%
+ \@setfontsize\normalsize\@wall@fontSize\@wall@lineHeight
+ \abovedisplayskip 11\p@ \@plus3\p@ \@minus6\p@
+ \abovedisplayshortskip \z@ \@plus3\p@
+ \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@
+ \belowdisplayskip \abovedisplayskip
+ \color{textbody}
+ \let\@listi\@listI}
+\normalsize
+
+\setlength{\vgap}{1.5em}
+\setlength{\vindent}{\vgap}
+\setlength{\vleftmargin}{2em}
+
+\setlength{\parskip}{0pt}
+\setlength{\parindent}{0pt}
+
+\setlength{\fboxsep}{0pt}
+#+end_src
+
+** Helpers
+
+: #1 -- [fill=red, opacity=0.2], additional options used for showframe
+: #2 -- "hasvarnish", to indicate varnishmask color replacement when =varnishmask= option is used
+: #3 -- the content to hold the place for
+
+The =varnishmask= and =showframe= options are handled by the same =\placeholder=
+helper command to avoid having to use two commands and repeating the content
+argument.
+
+#+begin_src tex
+\definecolor{varnishmask}{gray}{0}
+
+% http://tex.stackexchange.com/a/59571/831
+\newcommand*{\strcmpblank}[3]{%
+ \ifnum\pdf@strcmp{#1}{}=\z@ #2\else #3\fi
+}
+
+\newcommand\@placeholder@pre[1]{%
+ \settowidth{\@tmp@width}{#1}%
+ \settototalheight{\@tmp@height}{#1}%
+ \def\@spacer{\rule{\@tmp@width}{0pt}\rule{0pt}{\@tmp@height}}%
+}
+
+\newcommand\placeholder[3][]{%
+ \ifvarnishmask%
+ \ifstrequal{#2}{hasvarnish}{%
+ \@placeholder@pre{#3}%
+ \tikz\node[fill=varnishmask, inner sep=0pt]{\@spacer};%
+ }{}%
+ \else%
+ \ifshowframe%
+ \@placeholder@pre{#3}%
+ \tikz\node[inner sep=0pt, opacity=0.6, #1]{\@spacer};%
+ \else%
+ #3%
+ \fi%
+ \fi%
+}
+#+end_src
+
+* Keys setup
+** /put photo
+
+#+begin_src tex
+\def\@wall@photo@putPhoto#1{#1}
+\def\@wall@photo@setYOffset{}
+
+\pgfkeys{
+ /put photo/.is family, /put photo,
+ simple/.code = {%
+ \def\@wall@photo@putPhoto##1{%
+ \includegraphics{##1}%
+ }%
+ \def\@wall@photo@setYOffset{}%
+ },
+ full page/.code = {%
+ \def\@wall@photo@putPhoto##1{%
+ \includegraphics[%
+ keepaspectratio,%
+ width={\calPaperWidth + 2\@t@bleed},%
+ ]{##1}%
+ }%
+ \def\@wall@photo@setYOffset{}%
+ },
+ full width above calendar/.code = {%
+ \def\@wall@photo@putPhoto##1{%
+ \includegraphics[%
+ keepaspectratio,%
+ width={\calPaperWidth + 2\@t@bleed},%
+ ]{##1}%
+ }%
+ \def\@wall@photo@setYOffset{%
+ \setlength{\@t@yOffset}{\@t@calendar@height + \@t@bleed + 1pt}%
+ }%
+ },
+ full width/.code = {%
+ \def\@wall@photo@putPhoto##1{%
+ \includegraphics[%
+ keepaspectratio,%
+ width={\calPaperWidth + 2\@t@bleed},%
+ ]{##1}%
+ }%
+ \def\@wall@photo@setYOffset{%
+ \setlength{\@t@yOffset}{\@t@calendar@height + \@t@bleed}%
+ }%
+ },
+}
+#+end_src
+
+** /Photo
+
+#+begin_src tex
+\pgfkeys{
+ /Photo/.is family, /Photo,
+ init/.style = {
+ defaults/.style = {file = {}, thumbFile = {}, caption = {}, bleed = 0pt, xOffset=0pt, yOffset=0pt},
+ file/.initial = {},
+ thumbFile/.initial = {},
+ caption/.initial = {},
+ bleed/.initial = 0pt,
+ xOffset/.initial = 0pt,
+ yOffset/.initial = 0pt,
+ },
+}
+#+end_src
+
+** /Quote
+
+#+begin_src tex
+\pgfkeys{
+ /Quote/.is family, /Quote,
+ init/.style = {
+ defaults/.style = {position=center, text={}, xOffset=0pt, yOffset=0pt},
+ position/.initial = {},
+ text/.initial = {},
+ xOffset/.initial = 0pt,
+ yOffset/.initial = 0pt,
+ },
+}
+#+end_src
+
+** /Calendar
+
+#+begin_src tex
+\pgfkeys{
+ /Calendar/.is family, /Calendar,
+ init/.style = {
+ defaults/.style = {bg/.style={opacity=0.5}},
+ bg/.style = {},
+ minimum height/.initial = {},
+ },
+}
+#+end_src
+
+** /Events
+
+#+begin_src tex
+\pgfkeys{
+ /Events/.is family, /Events,
+ init/.style = {
+ defaults/.style = {day code = {}, marks = {}, text = {}},
+ day code/.initial = {},
+ marks/.initial = {},
+ text/.initial = {},
+ },
+}
+#+end_src
+
+** /Txt
+
+#+begin_src tex
+\pgfkeys{
+ /Txt/.is family, /Txt,
+ init/.style = {
+ defaults/.style = {text = {}},
+ text/.initial = {},
+ },
+}
+#+end_src
+
+** /parseMonthEvents
+
+#+begin_src tex
+\def\eIdx{}
+\def\eMaxIdx{}
+\def\eMark{}
+\def\eIsoDate{}
+\def\eYear{}
+\def\eMonth{}
+\def\eMonthShort{}
+\def\eDay{}
+\def\eDayText{}
+\def\eNote{}
+
+\pgfkeys{
+ /parseMonthEvents/.is family, /parseMonthEvents,
+ month/.initial = {},
+ filter pred/.initial = nil,
+ format func/.initial = nil,
+ format cmd/.initial = {},
+ events csv/.initial = {},
+ mark defaults csv/.initial = {},
+ min events/.initial = {},
+ defaults/.style = {
+ month = \theMonthName,
+ filter pred = nil,
+ format func = nil,
+ format cmd = {\textsuperscript{\eIdx}~\eMonthShort~\eDay:~\eNote\par},
+ events csv = \@wall@eventsCsv,
+ mark defaults csv = \@wall@markDefaultsCsv,
+ min events = nil,
+ },
+}
+#+end_src
+
+** /parseYearEvents
+
+#+begin_src tex
+\pgfkeys{
+ /parseYearEvents/.is family, /parseYearEvents,
+ year/.initial = {},
+ filter pred/.initial = nil,
+ format func/.initial = nil,
+ format cmd/.initial = {},
+ events csv/.initial = {},
+ mark defaults csv/.initial = {},
+ min events/.initial = {},
+ defaults/.style = {
+ year = \CalendarYear,
+ filter pred = nil,
+ format func = nil,
+ format cmd = {\textsuperscript{\eIdx}~\eMonthShort~\eDay:~\eNote\ifnumless{\eIdx}{\eMaxIdx}{,\space}{.}},
+ events csv = \@wall@eventsCsv,
+ mark defaults csv = \@wall@markDefaultsCsv,
+ min events = nil,
+ },
+}
+#+end_src
+
+* Event Marks
+** Kite
+
+#+begin_src tex
+\newcommand\StarMark{*}
+
+\newcommand\NoteStarMark{*}
+#+end_src
+
+A kite mark that is the same height as the =\StarMark=. Note that the star (*)
+character is usually higher than the x-height, so it is not in the vertical
+center of its glyph box (i.e. not at the center of the character x):
+
+#+latex: \frame{x} \frame{*}
+
+#+begin_src tex
+\newlength\@wall@starHeight
+
+% Measure the star's height here, so that we are measuring with the current typeface.
+\newcommand\KiteMark{%
+\setlength{\@wall@starHeight}{\totalheightof{*}}%
+\begin{tikzpicture}
+ \node (box) [
+ rectangle, minimum height=\@wall@starHeight, minimum width=3.4pt,
+ inner sep=0pt, line width=0pt,
+ ] {};
+ \node[
+ kite, draw, textbody, fill=textbody,
+ scale=0.15, kite vertex angles=60,
+ above=0pt of box.north, anchor=north,
+ ] {};%
+\end{tikzpicture}%
+}
+
+% Same as \KiteMark but with scale=0.2
+\newcommand\NoteKiteMark{\raisebox{1pt}{%
+\setlength{\@wall@starHeight}{\totalheightof{*}}%
+\begin{tikzpicture}
+ \node (box) [
+ rectangle, minimum height=\@wall@starHeight, minimum width=3.4pt,
+ inner sep=0pt, line width=0pt,
+ ] {};
+ \node[
+ kite, draw, textbody, fill=textbody,
+ scale=0.2, kite vertex angles=60,
+ above=0pt of box.north, anchor=north,
+ ] {};%
+\end{tikzpicture}%
+}}
+#+end_src
+
+** Moons
+
+#+begin_src tex
+\tikzstyle{moon circle}=[
+ circle,
+ inner sep=0pt,
+ line width=0pt,
+ minimum height=8pt,
+]
+
+\newlength\@wall@moonRaise
+\setlength{\@wall@moonRaise}{-0.7pt}
+
+\newcommand\NewMoon{}
+\newcommand\FirstQuarter{}
+\newcommand\FullMoon{}
+\newcommand\LastQuarter{}
+
+\newcommand\@wall@NewMoon{%
+\raisebox{\@wall@moonRaise}{%
+ \tikz\node[moon circle, fill=mooncolor] {};%
+}}
+
+\newcommand\@wall@FullMoon{%
+\raisebox{\@wall@moonRaise}{%
+ \tikz\node[moon circle, draw, mooncolor, line width=0.3pt] {};%
+}}
+
+\newcommand\@wall@FirstQuarter{%
+\raisebox{\@wall@moonRaise}{%
+\begin{tikzpicture}
+\node [moon circle, name=waxing] {};
+\path[fill=mooncolor]
+ (waxing.north) --
+ (waxing.south) to[out=-180,in=-90]
+ (waxing.west) to[out=90,in=-180]
+ (waxing.north);
+\end{tikzpicture}%
+}}
+
+\newcommand\@wall@LastQuarter{%
+\raisebox{\@wall@moonRaise}{%
+\begin{tikzpicture}
+\node [moon circle, name=waning] {};
+\path[fill=mooncolor]
+ (waning.north) --
+ (waning.south) to[out=0,in=-90]
+ (waning.east) to[out=90,in=0]
+ (waning.north);
+\end{tikzpicture}%
+}}
+
+\newcommand\@wall@useDefaultMoons{%
+\renewcommand\NewMoon{\@wall@NewMoon}%
+\renewcommand\FirstQuarter{\@wall@FirstQuarter}%
+\renewcommand\FullMoon{\@wall@FullMoon}%
+\renewcommand\LastQuarter{\@wall@LastQuarter}%
+}
+
+\newcommand\plannerMoonSize{\@setfontsize\plannerMoonSize{14}{14}}
+\newcommand*\plannerMoonFormat[1]{{\plannerMoonSize #1}}
+
+\newcommand\@wall@planner@NewMoon{\plannerMoonFormat{\CIRCLE}}
+\newcommand\@wall@planner@FirstQuarter{\plannerMoonFormat{\LEFTcircle}}
+\newcommand\@wall@planner@FullMoon{\plannerMoonFormat{\Circle}}
+\newcommand\@wall@planner@LastQuarter{\plannerMoonFormat{\RIGHTcircle}}
+
+\newcommand\@wall@usePlannerMoons{%
+\renewcommand\NewMoon{\@wall@planner@NewMoon}%
+\renewcommand\FirstQuarter{\@wall@planner@FirstQuarter}%
+\renewcommand\FullMoon{\@wall@planner@FullMoon}%
+\renewcommand\LastQuarter{\@wall@planner@LastQuarter}%
+}
+
+\@wall@useDefaultMoons
+#+end_src
+
+* User Commands
+** \textbackslash SetPhoto
+
+: \SetPhoto[bleed=3mm]{June}
+
+#+begin_src tex
+\newcommand\SetPhoto[2][]{%
+ \pgfkeys{%
+ /Photo/#2/.is family, /Photo/#2,
+ /Photo/init,
+ defaults, file={#2},
+ #1%
+ }%
+}
+#+end_src
+
+** \textbackslash SetCalendar
+
+: \SetCalendar[bg={opacity=0.8}]{June}
+
+#+begin_src tex
+\newcommand\SetCalendar[2][]{%
+ \pgfkeys{%
+ /Calendar/#2/.is family, /Calendar/#2,
+ /Calendar/init,
+ defaults,
+ #1%
+ }%
+}
+#+end_src
+
+** \textbackslash SetQuote
+
+: \SetQuote[position=top right, text align=right]{June}{%
+: first line\\
+: second line\\
+: third line\\
+: fourth line
+: }
+
+#+begin_src tex
+\newcommand\SetQuote[3][]{%
+ \pgfkeys{%
+ /Quote/#2/.is family, /Quote/#2,
+ /Quote/init,
+ defaults, text={#3},
+ #1%
+ }%
+}
+#+end_src
+
+** \textbackslash SetEvents
+
+FIXME: Needs at least a =\SetEvents{#2}= to set defaults.
+
+: \SetEvents[yshift={10pt}]{August}{%
+: marks
+: }{%
+: text
+: }
+
+: #1 : options
+: #2 : month name
+: #3 : marks
+: #4 : text
+
+#+begin_src tex
+\newcommand\SetEvents[4][]{%
+ \pgfkeys{%
+ /Events/#2/.is family, /Events/#2,
+ /Events/init,
+ defaults, marks={#3}, text={#4},
+ #1%
+ }%
+}
+#+end_src
+
+** \textbackslash MonthPage
+
+The =/MonthPage= key is set in-place for each page, not collecting options per month.
+
+#+begin_src tex
+\pgfkeys{
+ /MonthPage/.is family, /MonthPage,
+ layout/.style = {layout handlers/#1/.get = \@wall@month@doLayout},
+ put photo/.style = {/put photo/#1},
+ defaults/.style = {layout = small landscape, put photo = simple},
+ layout handlers/.cd,
+ full page/.initial = \@wall@fullPageLayout,
+ small landscape/.initial = \@wall@smallLandscapeLayout,
+}
+#+end_src
+
+FIXME: handle case when no =\SetPhoto{#2}= was called, and so options are not
+initialized. This happens for example when bleed value is missing, and =.get=
+returns =\@val=:
+
+: ! Missing number, treated as zero.
+: <to be read again>
+: \@val
+: l.30 \MonthPage[layout=full page]{August}
+
+For now, just make sure there is a =\SetPhoto{August}= before =\MonthPage{August}=.
+
+: \MonthPage[layout=full page]{June}
+
+#+begin_src tex
+\newcommand\MonthPage[2][]{%
+ \pgfkeys{/MonthPage, defaults, #1}%
+ \@wall@month@doLayout{#2}%
+}
+#+end_src
+
+** \textbackslash SetTxt
+
+: \SetTxt{August Quote}{%
+: The text of the quote.
+: }
+
+: #1 : key
+: #2 : text
+
+#+begin_src tex
+\newcommand\SetTxt[2]{%
+ \pgfkeys{%
+ /Txt/#1/.is family, /Txt/#1,
+ /Txt/init,
+ defaults, text={#2},
+ }%
+}
+#+end_src
+
+** \textbackslash txt
+
+: \txt{August Quote}
+
+: #1: text key
+
+#+begin_src tex
+\newcommand\txt[1]{%
+\pgfkeys{/Txt/#1/text/.get=\@val}%
+\@val%
+}
+#+end_src
+
+** \textbackslash parseMonthEvents
+
+#+begin_src tex
+\def\@t@monthName{}
+\def\@t@eventsCsv{}
+\def\@t@markDefaultsCsv{}
+\def\@t@filterPred{}
+\def\@t@formatFunc{}
+\def\@t@formatCmd{}
+\def\@t@minEvents{}
+
+\newcommand\monthMarkFmt{\color{textbody}}
+
+\newcommand\symbolSpace{\thinspace}
+\newcommand\symbolSeparator{,\symbolSpace}
+
+% #1 = option keys
+\newcommand*\parseMonthEvents[1][]{%
+\pgfkeys{/parseMonthEvents, defaults, #1,
+ month/.get=\@t@monthName,
+ filter pred/.get=\@t@filterPred,
+ format func/.get=\@t@formatFunc,
+ format cmd/.get=\@t@formatCmd,
+ events csv/.get=\@t@eventsCsv,
+ mark defaults csv/.get=\@t@markDefaultsCsv,
+ min events/.get=\@t@minEvents,
+}%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthEvents(
+ \luastring{\@t@monthName},
+ \@t@filterPred,
+ \@t@formatFunc,
+ \luastringO{\@t@formatCmd},
+ \luastring{\@t@eventsCsv},
+ \luastring{\@t@markDefaultsCsv},
+ \@t@minEvents
+)}}
+#+end_src
+
+** \textbackslash parseYearEvents
+
+#+begin_src tex
+\def\@t@yearNum{}
+
+% #1 = option keys
+\newcommand*\parseYearEvents[1][]{%
+\pgfkeys{/parseYearEvents, defaults, #1,
+ year/.get=\@t@year,
+ filter pred/.get=\@t@filterPred,
+ format func/.get=\@t@formatFunc,
+ format cmd/.get=\@t@formatCmd,
+ events csv/.get=\@t@eventsCsv,
+ mark defaults csv/.get=\@t@markDefaultsCsv,
+ min events/.get=\@t@minEvents,
+}%
+\luadirect{
+require("wallcalendar-helpers.lua")
+yearEvents(
+ tonumber(\@t@year),
+ \@t@filterPred,
+ \@t@formatFunc,
+ \luastringO{\@t@formatCmd},
+ \luastring{\@t@eventsCsv},
+ \luastring{\@t@markDefaultsCsv},
+ \@t@minEvents
+)}}
+#+end_src
+
+** \textbackslash parseMonthMarksDayText
+
+NOTE: Tikz will not work with parsing options as with =\parseMonthEvents=.
+
+It will parse the CSV file set with the =eventsCsv= class option.
+
+#+begin_src tex
+\newlength\dayTextXshift
+\newlength\dayTextYshift
+\setlength{\dayTextXshift}{0pt}
+\setlength{\dayTextYshift}{0pt}
+
+\newlength\markNumberAbove
+\newlength\markNumberRight
+\setlength{\markNumberAbove}{-10pt}
+\setlength{\markNumberRight}{-3pt}
+
+\newlength\markDayTextAbove
+\newlength\markDayTextRight
+\setlength{\markDayTextAbove}{-10pt}
+\setlength{\markDayTextRight}{-3pt}
+
+\newcommand\parseMonthMarksDayText{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksDayText(\luastring{\theMonthName}, nil, \luastring{\@wall@eventsCsv})
+tex.sprint(';')
+}}
+
+\newcommand\parseMonthMarksDayTextMonth[1]{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksDayText(\luastring{#1}, nil, \luastring{\@wall@eventsCsv})
+tex.sprint(';')
+}}
+#+end_src
+
+** \textbackslash parseMonthMarksDayTextUsing
+
+#+begin_src tex
+\newcommand*\parseMonthMarksDayTextUsing[1]{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksDayText(\luastring{\theMonthName}, nil, \luastring{#1})
+}}
+
+\newcommand\parseMonthMarksDayTextMonthUsing[2]{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksDayText(\luastring{#1}, nil, \luastring{#2})
+}}
+#+end_src
+
+** \textbackslash parseMonthMarksNote
+
+#+begin_src tex
+\newcommand*\parseMonthMarksNote{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksNote(\luastring{\theMonthName}, nil, \luastring{\@wall@eventsCsv}, \luastring{\@wall@markDefaultsCsv})
+}}
+#+end_src
+
+** \textbackslash parseMonthMarksNoteUsing
+
+#+begin_src tex
+\newcommand*\parseMonthMarksNoteUsing[1]{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksNote(\luastring{\theMonthName}, nil, \luastring{#1}, \luastring{\@wall@markDefaultsCsv})
+}}
+#+end_src
+
+* Page Layouts
+** Initial setup
+
+Applying a blank, bare pagestyle, the layout macro should position the parts of
+the page.
+
+#+begin_src tex
+\makepagestyle{month}
+\makeoddhead{month}{}{}{}
+\makeevenhead{month}{}{}{}
+\makeoddfoot{month}{}{}{}
+\makeevenfoot{month}{}{}{}
+
+\pagestyle{month}
+#+end_src
+
+These elements are common to all layouts. One Coffin for each part of the
+page:
+
+- Photo
+- Quote
+- Calendar
+- Events
+
+#+begin_src tex
+\NewCoffin\@wall@pageWrap
+\NewCoffin\@wall@photo
+\NewCoffin\@wall@quote
+\NewCoffin\@wall@calendar
+\NewCoffin\@wall@events
+#+end_src
+
+** Formatting hooks and temp vars
+
+#+begin_src tex
+\newlength\@t@bleed
+\newlength\@t@rightOffset
+\newlength\@t@minipageWidth
+\newlength\@t@calendar@height
+\newlength\@t@calendar@hmargin
+\newlength\@t@calendar@dayYshift
+\newlength\@t@calendar@dayXshift
+\newlength\@t@calendar@gridHeight
+\newlength\@t@calendar@gridHeightFiveRows
+\newlength\@t@calendar@gridHeightSixRows
+\newlength\@t@xOffset
+\newlength\@t@yOffset
+\def\@t@file{}
+
+\newcommand*\monthFmt{}%
+\newcommand*\yearFmt{}%
+\newcommand*\dayLetterColor{}%
+\newcommand*\dayLetterFmt{}%
+\newcommand*\dayTextFmt{}%
+\newcommand*\quoteFmt{}%
+\newcommand*\headingFmt{}%
+\newcommand*\calendarFmt{}%
+\newcommand*\eventsFmt{}%
+#+end_src
+
+** Layout Reset, \textbackslash @wall@layout@reset
+
+A reset macro for the beginning of a layout, to make sure parameters are not
+carried from one layout to the next.
+
+#+begin_src tex
+\newcommand\@wall@layout@reset{%
+ \renewcommand*\monthFmt{}%
+ \renewcommand*\yearFmt{}%
+ \renewcommand*\dayLetterColor{}%
+ \renewcommand*\dayLetterFmt{}%
+ \renewcommand*\dayTextFmt{}%
+ \renewcommand*\quoteFmt{}%
+ \renewcommand*\headingFmt{}%
+ \renewcommand*\calendarFmt{}%
+ \renewcommand*\eventsFmt{}%
+ \def\@t@file{}%
+ \setlength{\@t@calendar@height}{0pt}%
+ \setlength{\@t@calendar@hmargin}{0pt}%
+ \setlength{\@t@calendar@dayYshift}{0pt}%
+ \setlength{\@t@calendar@dayXshift}{0pt}%
+ \setlength{\@t@bleed}{0pt}%
+ \setlength{\@t@rightOffset}{0pt}%
+ \setlength{\@t@minipageWidth}{0pt}%
+ \setlength{\@t@xOffset}{0pt}%
+ \setlength{\@t@yOffset}{0pt}%
+ \setlength{\@t@calendar@gridHeight}{0pt}%
+ \setlength{\@t@calendar@gridHeightFiveRows}{0pt}%
+ \setlength{\@t@calendar@gridHeightSixRows}{0pt}%
+}
+#+end_src
+
+** Full Page, \textbackslash @wall@fullPageLayout
+*** Setup formatting hooks
+
+Renew this in your document when customizing the variables for this layout.
+
+This must not introduce paragraph breaks or whitespace characters, so follow
+everything with =%=.
+
+#+begin_src tex
+\newcommand\fullPageFmt{%
+ \renewcommand*\monthFmt{\LARGE}%
+ \renewcommand*\yearFmt{\LARGE}%
+ \renewcommand*\dayLetterColor{}%
+ \renewcommand*\dayLetterFmt{\tiny}%
+ \renewcommand*\dayTextFmt{\small}%
+ \renewcommand*\quoteFmt{}%
+ \renewcommand*\headingFmt{\centering}%
+ \renewcommand*\calendarFmt{\centering}%
+ \renewcommand*\eventsFmt{\setlength{\parindent}{0pt}\raggedleft\footnotesize}%
+}
+#+end_src
+
+*** Init
+
+#+begin_src tex
+\newcommand\@wall@fullPageLayout[2][]{%
+\makeatletter
+\renewcommand*\theMonthName{#2}
+\@wall@layout@reset
+\fullPageFmt
+
+\colorlet{weekday}{black}
+\colorlet{weekend}{black!70}
+#+end_src
+
+*** Lengths and sizes
+
+Bleed:
+
+#+begin_src tex
+\pgfkeys{/Photo/#2/bleed/.get=\@val}
+\setlength{\@t@bleed}{\@val}
+#+end_src
+
+#+begin_src tex
+\def\@t@monthnum{\monthToNum{#2}}
+#+end_src
+
+Calendar height:
+
+#+begin_src tex
+% 40mm = 1.5748 inch
+% 43mm = 1.6929 inch
+\setlength{\@t@calendar@height}{40mm + \@t@bleed}
+
+% See if there was a height given in the options
+\pgfkeys{/Calendar/#2/minimum height/.get=\@val}
+\ifx\@val\empty \relax
+\else
+ \setlength{\@t@calendar@height}{\@val + \@t@bleed}
+\fi
+#+end_src
+
+Calendar horizontal margin:
+
+#+begin_src tex
+\setlength{\@t@calendar@hmargin}{20pt}
+#+end_src
+
+Calculate offsets:
+
+#+begin_src tex
+% NOTE: the -4pt and -2pt offset is somehow necessary for the sides to align
+% with the edges
+\setlength{\@t@rightOffset}{\@t@bleed +\@t@calendar@hmargin -4pt}
+\setlength{\@t@minipageWidth}{\calPaperWidth -2\@t@calendar@hmargin -2pt}
+#+end_src
+
+*** Set the coffin contents
+
+Page wrap:
+
+#+begin_src tex
+\SetHorizontalCoffin\@wall@pageWrap{%
+ \color{white}%
+ \rule{\textwidth}{0pt}%
+ \rule{0pt}{\textheight}%
+}
+#+end_src
+
+Photo:
+
+#+begin_src tex
+\pgfkeys{/Photo/#2/file/.get=\@t@file}
+
+\SetHorizontalCoffin\@wall@photo{%
+ \placeholder[fill=photo-frame]{hasvarnish}{%
+ \@wall@photo@putPhoto{\@t@file}%
+ }%
+}
+#+end_src
+
+Quote:
+
+#+begin_src tex
+\SetHorizontalCoffin\@wall@quote{%
+ \placeholder[fill=quote-frame]{}{%
+ \begin{minipage}{\linewidth}%
+ \quoteFmt
+ \pgfkeys{/Quote/#2/text/.get=\@val}%
+ \@val%
+ \end{minipage}%
+ }%
+}
+#+end_src
+
+Calendar:
+
+#+begin_src tex
+\SetHorizontalCoffin\@wall@calendar{%
+\ifvarnishmask\relax
+\else
+\begin{tikzpicture}
+
+\node (bg) [
+ fill = calendarbg,
+ opacity = 0.5,
+ minimum width = {\calPaperWidth + 2\@t@bleed},
+ anchor=north west,
+ /Calendar/#2/bg,
+ % override the style, in case bleed was set above
+ minimum height = {\@t@calendar@height},
+] at (0,0) {};
+
+\node (heading) [
+ below right=10pt and {\@t@rightOffset} of bg.north west,
+ anchor=north west,
+] {%
+\placeholder[fill=heading-frame]{}{%
+\begin{minipage}{\@t@minipageWidth}%
+\headingFmt
+{\monthFmt\@tr@monthNumName{\@t@monthnum}}
+\hfill
+\strcmpblank{\CalendarAltYear}{%
+ {\yearFmt\CalendarYear}%
+}{%
+ {\yearFmt\CalendarYear/\CalendarAltYear}%
+}%
+\end{minipage}%
+}%
+};
+
+\node (calendar) [
+ below right=35pt and {\@t@rightOffset} of bg.north west,
+ anchor=north west,
+] {%
+\placeholder[fill=calendar-frame]{}{%
+\begin{minipage}{\@t@minipageWidth}%
+\calendarFmt
+\tikz{\tikzMonthCalendar@fullpage{\@t@monthnum};}%
+\end{minipage}%
+}%
+};
+
+\node (events) [
+ below=0pt of calendar.south west,
+ anchor=north west,
+] {%
+\placeholder[fill=events-frame]{}{%
+\begin{minipage}{\@t@minipageWidth}%
+\eventsFmt
+\pgfkeys{/Events/#2/text/.get=\@val}%
+\@val%
+\end{minipage}%
+}%
+};
+
+\end{tikzpicture}%
+\fi
+}% \SetHorizontalCoffin
+#+end_src
+
+*** Join the coffins
+
+#+begin_src tex
+\@wall@photo@setYOffset
+
+\pgfkeys{/Photo/#2/xOffset/.get=\@val}
+\addtolength{\@t@xOffset}{\@val}
+\pgfkeys{/Photo/#2/yOffset/.get=\@val}
+\addtolength{\@t@yOffset}{\@val}
+
+% NOTE: a small whitespace is visible on the left edge of the page when bleed is 0pt, a space must be getting in somewhere.
+\JoinCoffins*\@wall@pageWrap[l,t]\@wall@photo[l,t](-\spinemargin -\@t@bleed + \@t@xOffset, \uppermargin + \@t@bleed + \@t@yOffset)
+
+\pgfkeys{/Quote/#2/xOffset/.get=\@val}
+\setlength{\@t@xOffset}{\@val}
+\pgfkeys{/Quote/#2/yOffset/.get=\@val}
+\setlength{\@t@yOffset}{\@val}
+
+\JoinCoffins*\@wall@pageWrap[l,t]\@wall@quote[l,t](\@t@xOffset, \@t@yOffset)
+
+\JoinCoffins*\@wall@pageWrap[l,b]\@wall@calendar[l,b](-\spinemargin -\@t@bleed, \textheight +\uppermargin -\paperheight -\@t@bleed)
+
+\makeatother
+#+end_src
+
+*** Typeset
+
+#+begin_src tex
+\clearpage
+\TypesetCoffin\@wall@pageWrap%
+}% \@wall@fullPageLayout
+#+end_src
+
+*** Tikz calendar
+
+: #1 = number of month with leading zero
+
+#+begin_src tex
+\newcommand*{\tikzMonthCalendar@fullpage}[1]{%
+\pgfkeys{/Events/\monthName{#1}/marks/.get=\@eventmarks}%
+\calendar (cal#1) [alnitak, dates=\CalendarYear-#1-01 to \CalendarYear-#1-last] \@eventmarks;%
+}
+#+end_src
+
+** Small Landscape, \textbackslash @wall@smallLandscapeLayout
+*** Setup formatting hooks
+
+Renew this in your document when customizing the variables for this layout.
+
+This must not introduce paragraph breaks or whitespace characters, so follow
+everything with =%=.
+
+#+begin_src tex
+\newcommand\smallLandscapeFmt{%
+ \renewcommand*\monthFmt{\LARGE}%
+ \renewcommand*\yearFmt{\LARGE}%
+ \renewcommand*\dayLetterColor{}%
+ \renewcommand*\dayLetterFmt{\tiny}%
+ \renewcommand*\dayTextFmt{\small}%
+ \renewcommand*\quoteFmt{\centering}%
+ \renewcommand*\headingFmt{\centering}%
+ \renewcommand*\calendarFmt{\centering}%
+ \renewcommand*\eventsFmt{\setlength{\parindent}{0pt}\raggedright\footnotesize}%
+}
+#+end_src
+
+*** Init
+
+#+begin_src tex
+\newcommand\@wall@smallLandscapeLayout[2][]{%
+\makeatletter
+\renewcommand*\theMonthName{#2}
+\@wall@layout@reset
+\smallLandscapeFmt
+
+\colorlet{weekday}{black}
+\colorlet{weekend}{black!70}
+#+end_src
+
+*** Lengths and sizes
+
+Bleed:
+
+#+begin_src tex
+\pgfkeys{/Photo/#2/bleed/.get=\@val}
+\setlength{\@t@bleed}{\@val}
+#+end_src
+
+#+begin_src tex
+\def\@t@monthnum{\monthToNum{#2}}
+#+end_src
+
+Calendar height:
+
+Default height to fit:
+
+- day headings
+- days in a grid, 6 rows
+- events
+- bottom bleed
+
+#+begin_src tex
+\setlength{\@t@calendar@height}{85mm + \@t@bleed}
+
+% See if there was a height given in the options
+\pgfkeys{/Calendar/#2/minimum height/.get=\@val}
+\ifx\@val\empty \relax
+\else
+ \setlength{\@t@calendar@height}{\@val + \@t@bleed}
+\fi
+#+end_src
+
+Calendar horizontal margin:
+
+#+begin_src tex
+\setlength{\@t@calendar@hmargin}{20pt}
+#+end_src
+
+Calculate offsets:
+
+#+begin_src tex
+% 5mm: day headings
+% 20mm: events
+% 6.5mm: vertical spacing
+\setlength{\@tmp@a}{20mm + 5mm + 6.5mm}
+\setlength{\@tmp@b}{\@t@calendar@height -\@tmp@a}
+\setlength{\@t@calendar@dayYshift}{0.1666\@tmp@b}% 1/6 = 0.1666
+
+\setlength{\@t@calendar@gridHeightSixRows}{\@tmp@b}
+\setlength{\@t@calendar@gridHeightFiveRows}{\@tmp@b -0.1666\@tmp@b}
+
+% NOTE: the -4pt and -2pt offset is somehow necessary for the sides to align
+% with the edges
+\setlength{\@t@rightOffset}{\@t@bleed +\@t@calendar@hmargin -4pt}
+\setlength{\@t@minipageWidth}{\calPaperWidth -2\@t@calendar@hmargin -2pt}
+
+\setlength{\@t@calendar@dayXshift}{0.1428\@t@minipageWidth}% 1/7 = 0.1428
+#+end_src
+
+*** Set the coffin contents
+
+Page wrap:
+
+#+begin_src tex
+\SetHorizontalCoffin\@wall@pageWrap{%
+ \color{white}%
+ \rule{\textwidth}{0pt}%
+ \rule{0pt}{\textheight}%
+}
+#+end_src
+
+Photo:
+
+#+begin_src tex
+\pgfkeys{/Photo/#2/file/.get=\@t@file}
+
+\SetHorizontalCoffin\@wall@photo{%
+ \placeholder[fill=photo-frame]{hasvarnish}{%
+ \@wall@photo@putPhoto{\@t@file}%
+ }%
+}
+#+end_src
+
+Quote:
+
+#+begin_src tex
+\SetHorizontalCoffin\@wall@quote{%
+ \placeholder[fill=quote-frame]{}{%
+ \begin{minipage}{\linewidth}%
+ \quoteFmt
+ \pgfkeys{/Quote/#2/text/.get=\@val}%
+ \@val%
+ \end{minipage}%
+ }%
+}
+#+end_src
+
+Calendar:
+
+#+begin_src tex
+\SetHorizontalCoffin\@wall@calendar{%
+\ifvarnishmask\relax
+\else
+\begin{tikzpicture}
+
+\node (bg) [
+ fill = calendarbg,
+ opacity = 1,
+ minimum width = {\calPaperWidth + 2\@t@bleed},
+ anchor=north west,
+ /Calendar/#2/bg,
+ % override the style, in case bleed was set above
+ minimum height = {\@t@calendar@height},
+] at (0,0) {};
+
+\node (heading) [
+ below right=10pt and {\@t@rightOffset} of bg.north west,
+ anchor=north west,
+] {%
+\placeholder[fill=heading-frame]{}{%
+\begin{minipage}{\@t@minipageWidth}%
+\headingFmt
+{\monthFmt\@tr@monthNumName{\@t@monthnum}}
+\hfill
+\strcmpblank{\CalendarAltYear}{%
+ {\yearFmt\CalendarYear}%
+}{%
+ {\yearFmt\CalendarYear/\CalendarAltYear}%
+}%
+\end{minipage}%
+}%
+};
+
+\node (calendar) [
+ below right=35pt and {\@t@rightOffset} of bg.north west,
+ anchor=north west,
+] {%
+\placeholder[fill=calendar-frame]{}{%
+\begin{minipage}{\@t@minipageWidth}%
+\calendarFmt
+\hspace*{-5pt}% FIXME
+\tikz{\tikzMonthCalendar@smallLandscape{\@t@monthnum};}%
+\end{minipage}%
+}%
+};
+
+\node (events) [
+ above right=10mm and {\@t@rightOffset} of bg.south west,
+ anchor=south west,
+] {%
+\placeholder[fill=events-frame]{}{%
+\begin{minipage}{\@t@minipageWidth}%
+\eventsFmt
+\pgfkeys{/Events/#2/text/.get=\@val}%
+\@val%
+\end{minipage}%
+}%
+};
+
+\end{tikzpicture}%
+\fi
+}% \SetHorizontalCoffin
+#+end_src
+
+*** Join the coffins
+
+Only using =yOffset=. The quote should be centered on the x axis.
+
+Join coffins so that the photo is in a fixed position, i.e. relative to the
+pageWrap, not relative to other coffins. It prevents accidental shifts when the
+other coffins are empty (when =varnishmask= is on) or have too much content.
+
+#+begin_src tex
+% The quote has to be centered between the photo and the calendar with manual tweaking.
+% The height of the quote is not known, the height of the calendar plus its heading is not known.
+
+% TODO move the photo with /Photo/#2/xOffset and yOffset as at the full page layout
+
+\pgfkeys{/Quote/#2/yOffset/.get=\@val}
+\setlength{\@t@yOffset}{\@val}
+
+\JoinCoffins*\@wall@photo[hc,b]\@wall@quote[hc,t](0pt, \@t@yOffset)
+
+\pgfkeys{/Photo/#2/yOffset/.get=\@val}
+\setlength{\@t@yOffset}{\@val}
+
+% NOTE: Taking the bottom edge of the photo as fixed.
+% yOffset must be set to pull the photo down into position
+
+\JoinCoffins*\@wall@pageWrap[hc,t]\@wall@photo[hc,b](0pt, \uppermargin + \@t@yOffset)
+
+% Calendar is aligned to the bottom of the page.
+
+\JoinCoffins*\@wall@pageWrap[hc,b]\@wall@calendar[hc,b](0pt, \textheight +\uppermargin -\paperheight -\@t@bleed)
+
+\makeatother
+#+end_src
+
+*** Typeset
+
+#+begin_src tex
+\clearpage
+\TypesetCoffin\@wall@pageWrap%
+}% \@wall@smallLandscapeLayout
+#+end_src
+
+*** Tikz calendar
+
+: #1 = number of month with leading zero
+
+#+begin_src tex
+\newcommand*{\tikzMonthCalendar@smallLandscape}[1]{%
+\pgfkeys{/Events/\monthName{#1}/marks/.get=\@eventmarks}%
+\calendar (cal#1) [betelgeuse, dates=\CalendarYear-#1-01 to \CalendarYear-#1-last] \@eventmarks;%
+}
+#+end_src
+
+** Tikz styles
+*** day letter headings
+
+#+begin_src tex
+\tikzstyle{day letter headings}=[%
+ day heading/.style={black!90},
+ execute before day scope={%
+ \ifdate{day of month=1}{%
+ \pgfmathsetlength\pgf@xa{\tikz@lib@cal@xshift}%
+ \pgfmathsetlength\pgf@ya{\tikz@lib@cal@yshift}%
+ \foreach \d in {0,1,2,3,4,5,6} {%
+ \pgf@xa=\d\pgf@xa%
+ \pgftransformxshift{\pgf@xa}%
+ \pgftransformyshift{\pgf@ya}%
+ \node (d\d) [anchor=south, day heading] {\dayLetterFmt\@tr@dayLetter{\d}};%
+ };%
+ }{}%
+ },%
+]
+#+end_src
+
+*** days grid
+
+#+begin_src tex
+\newcount\gridRows
+\newcount\gridLines
+\newcount\n
+
+\newif\ifGridNoSurround
+\GridNoSurroundfalse
+
+\tikzstyle{no grid surround}=[execute before day scope={\GridNoSurroundtrue}]
+\tikzstyle{grid surround}=[execute before day scope={\GridNoSurroundfalse}]
+
+\tikzstyle{days grid}=[%
+ execute before day scope={%
+ \ifdate{day of month=1}{%
+ %
+ % Determine if the grid is five or six rows
+ %
+ % 31 day months
+ \ifdate{between=01-01 and 01-31, between=03-01 and 03-31, between=05-01 and 05-31, between=07-01 and 07-31, between=08-01 and 08-31, between=10-01 and 10-31, between=12-01 and 12-31}{%
+ \ifdate{Saturday,Sunday}{%
+ \gridRows=6%
+ \setlength\@t@calendar@gridHeight{\@t@calendar@gridHeightSixRows}%
+ }{%
+ \gridRows=5%
+ \setlength\@t@calendar@gridHeight{\@t@calendar@gridHeightFiveRows}%
+ }
+ }{
+ % 30 day months and February
+ \ifdate{between=02-01 and 02-last}{%
+ \gridRows=5%
+ \setlength\@t@calendar@gridHeight{\@t@calendar@gridHeightFiveRows}%
+ }{%
+ \ifdate{Sunday}{%
+ \gridRows=6%
+ \setlength\@t@calendar@gridHeight{\@t@calendar@gridHeightSixRows}%
+ }{%
+ \gridRows=5%
+ \setlength\@t@calendar@gridHeight{\@t@calendar@gridHeightFiveRows}%
+ }
+ }
+ }
+ %
+ % Horizontal lines
+ %
+ \gridLines=\gridRows
+ \ifGridNoSurround\relax
+ \else
+ \advance\gridLines by 1
+ \n=0
+ \draw [
+ gridcolor,
+ line width=0.3pt,
+ xshift=-0.5\@t@calendar@dayXshift,
+ yshift=0.5\@t@calendar@dayYshift,
+ ] (0,{-\n\@t@calendar@dayYshift}) -- (7\@t@calendar@dayXshift,{-\n\@t@calendar@dayYshift});
+ \fi
+ \foreach \n in {1,2,3,4,5,6} {
+ \ifnum\n<\gridLines
+ \draw [
+ gridcolor,
+ line width=0.3pt,
+ xshift=-0.5\@t@calendar@dayXshift,
+ yshift=0.5\@t@calendar@dayYshift,
+ ] (0,{-\n\@t@calendar@dayYshift}) -- (7\@t@calendar@dayXshift,{-\n\@t@calendar@dayYshift});
+ \fi
+ }
+ %
+ % Vertical lines
+ %
+ \gridLines=7
+ \ifGridNoSurround\relax
+ \else
+ \advance\gridLines by 1
+ \n=0
+ \draw [
+ gridcolor,
+ line width=0.3pt,
+ xshift=-0.5\@t@calendar@dayXshift,
+ yshift=0.5\@t@calendar@dayYshift,
+ ] ({\n\@t@calendar@dayXshift},0) -- ({\n\@t@calendar@dayXshift},{-\gridRows\@t@calendar@dayYshift});
+ \fi
+ \foreach \n in {1,2,3,4,5,6,7} {
+ \ifnum\n<\gridLines
+ \draw [
+ gridcolor,
+ line width=0.3pt,
+ xshift=-0.5\@t@calendar@dayXshift,
+ yshift=0.5\@t@calendar@dayYshift,
+ ] ({\n\@t@calendar@dayXshift},0) -- ({\n\@t@calendar@dayXshift},{-\gridRows\@t@calendar@dayYshift});
+ \fi
+ }
+ %
+ % If we are not drawing the surrounding lines, it looks better to hide
+ % some of the top and bottom edges
+ %
+ \ifGridNoSurround
+ \draw [
+ color=white,
+ line width=6pt,
+ xshift=-0.5\@t@calendar@dayXshift,
+ yshift={0.5\@t@calendar@dayYshift -1pt},
+ ] (0,0) -- (7\@t@calendar@dayXshift,0);
+ \draw [
+ color=white,
+ line width=6pt,
+ xshift=-0.5\@t@calendar@dayXshift,
+ yshift={0.5\@t@calendar@dayYshift +1pt},
+ ] (0,-\gridRows\@t@calendar@dayYshift) -- (7\@t@calendar@dayXshift,-\gridRows\@t@calendar@dayYshift);
+ \fi
+ }{}%
+ }
+]
+#+end_src
+
+*** headings background rule
+
+#+begin_src tex
+\tikzstyle{headings background rule}=[
+ background rule/.style={black!90, line width=0.3pt, yshift={0.3\@t@calendar@dayYshift -3pt}},
+ execute before day scope={%
+ \ifdate{day of month=1}{%
+ \draw [
+ xshift=-0.5\@t@calendar@dayXshift,
+ yshift=0.5\@t@calendar@dayYshift,
+ background rule,
+ ] (0,0) -- (7\@t@calendar@dayXshift,0);
+ }{}%
+ }
+]
+#+end_src
+
+*** headings background bar
+
+#+begin_src tex
+\tikzstyle{headings background bar}=[
+ headings background rule,
+ background rule/.style={black!20, line width=10pt, yshift={0.3\@t@calendar@dayYshift +3.5pt}},
+]
+#+end_src
+
+** Tikz calendar styles
+*** Betelgeuse, days in a grid
+
+(Alpha Orionis)
+
+#+begin_src tex
+\tikzstyle{betelgeuse}=[
+ no grid surround,
+ days grid,
+ week list,
+ day xshift=\@t@calendar@dayXshift,
+ day yshift=\@t@calendar@dayYshift,
+ headings background bar,
+ day letter headings,
+ day heading/.style={black!90, yshift={-0.3\@t@calendar@dayYshift}},
+ every day/.append style={anchor=base, inner xsep=0pt, yshift={-0.25\baselineskip}},
+ day text={\dayTextFmt\%d-},
+]
+#+end_src
+
+*** Alnitak, days in one line
+
+(Zeta Orionis)
+
+#+begin_src tex
+\tikzstyle{alnitak}=[
+ day list right,
+ day xshift={0pt},
+ every month/.append style={anchor=base, inner xsep=0pt, yshift=4mm, xshift=-\widthof{\space}},
+ day text={\dayTextFmt\%d-},
+ every day/.append style={anchor=base, inner xsep=0pt},
+ execute before day scope={
+ %
+ % === Moving the day number ===
+ %
+ % A small offset seems to improve the result, the last day gets closer to the end of the linewidth
+ \pgftransformxshift{0.01em}
+ \pgfcalendarjuliantodate{\pgfcalendarendjulian}{\currentyear}{\currentmonth}{\lastday}
+ % Width of month day digits from 1 - 28
+ \setlength{\@tmp@a}{\widthof{12345678910111213141516171819202122232425262728}}
+ \setlength{\@tmp@b}{\widthof{30}}
+ \pgfmathparse{(\linewidth - \@tmp@a - \@tmp@b * (\lastday-28)) / \lastday}
+ \pgftransformxshift{\pgfmathresult}
+ \let\%=\pgfcalendarshorthand
+ \setlength{\@tmp@a}{\widthof{\%d-}}
+ \pgftransformxshift{\@tmp@a}
+ %
+ % === Weekday letter above the day ===
+ %
+ \ifdate{weekend}{\def\dayLetterColor{\color{weekend}}}{\def\dayLetterColor{\color{weekday}}}%
+ \node[anchor=south,yshift=5mm,inner sep=0pt]{%
+ \dayLetterColor\dayLetterFmt\@tr@dayLetter{\pgfcalendarcurrentweekday}%
+ };%
+ },
+]
+#+end_src
+
+* Year Planner
+** Tikz calendar styles
+*** Year Planner Portrait
+
+#+begin_src tex
+\newcommand\plannerPortraitMonthFmt{\fontsize{11}{11}\selectfont\color{darkgold}}
+\newcommand\plannerPortraitDayFmt{\fontsize{8}{8}\selectfont\color{plannerdatenum}}
+
+\tikzstyle{year planner portrait}=[
+ week list,
+ month text={\plannerPortraitMonthFmt\@tr@monthNumName{\pgfcalendarcurrentmonth}},
+ day text={\plannerPortraitDayFmt\%d-},
+ every month/.append style={%
+ anchor=south,
+ inner xsep=0pt,
+ yshift=5mm,
+ xshift=2.5mm,
+ },
+ day letter headings,
+ day heading/.style={gray, xshift=0pt, scale=0.85},
+ month label above centered,
+ every day/.style={anchor=mid},
+]
+#+end_src
+
+*** Year Planner Landscape
+
+#+begin_src tex
+\newcommand\plannerLandscapeDateDayFont{}
+\newcommand\plannerLandscapeDayFont{}
+\newcommand\plannerLandscapeMonthFont{}
+
+\newcommand\plannerLandscapeMonthFmt{%
+ \plannerLandscapeMonthFont%
+ \fontsize{15}{18}\selectfont%
+ \color{gold}\bfseries%
+}
+
+\newcommand\plannerLandscapeDayFmt{%
+ \plannerLandscapeDayFont%
+ \fontsize{10}{12}\selectfont%
+}
+
+\newcommand*\plannerLandscapeDateDayFormat[1]{%
+ \plannerLandscapeDateDayFont%
+ \fontsize{8}{11}\selectfont%
+ #1%
+}
+
+\newcommand\plannerLandscapeBeginDayScopeHook{%
+ \ifdate{weekend}{\color{black!60}}{}
+}
+
+\newlength\plannerLandscapeDayXShift
+\newlength\plannerLandscapeMonthYShift
+
+% Assuming 25mm to fit 'September'
+\setlength{\@tmp@a}{\calPaperWidth - \@wall@leftMargin - \@wall@rightMargin - 25mm}
+% Max week shift is 6 = Sunday. 31 days + 6 = 37. 1/37 = 0.027
+\setlength{\plannerLandscapeDayXShift}{0.027\@tmp@a}
+
+% Assuming 10mm for day headings (M T W...) and some padding
+\setlength{\@tmp@a}{\calPaperHeight - \@wall@topMargin - \@wall@bottomMargin - 10mm}
+% 1/12 = 0.0833
+\setlength{\plannerLandscapeMonthYShift}{0.0833\@tmp@a}
+
+\tikzstyle{year planner landscape}=[
+ month list,
+ day xshift=\plannerLandscapeDayXShift,
+ month yshift=\plannerLandscapeMonthYShift,
+ every month/.append style={anchor=base, inner xsep=0pt},
+ month text={\plannerLandscapeMonthFmt \%mt},
+ day text={\plannerLandscapeDayFmt \%d-},
+ every day/.append style={anchor=base, inner xsep=0pt},
+ month label left,
+ execute at begin day scope={
+ \plannerLandscapeBeginDayScopeHook
+ % Weekday headers in January
+ \ifdate{between=01-01 and 01-31}{
+ \def\l{\ifcase\pgfcalendarcurrentweekday M\or T\or W\or T\or F\or S\or S\fi}%
+ \ifdate{weekend}{\def\daylabelcolor{gold}}{\def\daylabelcolor{black}}%
+ \node[anchor=south,yshift=5mm,inner sep=0pt]{\color{\daylabelcolor}\plannerLandscapeDateDayFormat{\l}};%
+ }{}
+ % Weekday headers in December
+ \ifdate{between=12-01 and 12-31}{
+ \pgftransformyshift{-3mm}%
+ \def\l{\ifcase\pgfcalendarcurrentweekday M\or T\or W\or T\or F\or S\or S\fi}%
+ \ifdate{weekend}{\def\daylabelcolor{gold}}{\def\daylabelcolor{black}}%
+ \node[anchor=south,yshift=5mm,inner sep=0pt]{\color{\daylabelcolor}\plannerLandscapeDateDayFormat{\l}};%
+ }{}
+ }
+]
+#+end_src
+
+*** Year Planner Landscape Grid
+
+#+begin_src tex
+\newcommand\plannerGridMonthFont{}
+\newcommand\plannerGridDateDayFont{}
+\newcommand\plannerGridNotesFont{}
+\newcommand\plannerGridDayFont{}
+\newcommand\plannerGridYearNumberFont{}
+
+\newcommand\plannerGridYearNumberFmt{%
+ \plannerGridYearNumberFont%
+ \fontsize{11}{11}\selectfont%
+ \color{white}%
+}
+
+\newcommand\plannerGridMonthFmt{%
+ \plannerGridMonthFont%
+ \fontsize{13}{13}\selectfont%
+ \color{white}%
+}
+
+\newcommand\plannerGridDayFmt{%
+ \plannerGridDayFont%
+ \fontsize{11}{11}\selectfont%
+}
+
+\newcommand\plannerGridDateDayFmt{%
+ \plannerGridDateDayFont%
+ \fontsize{9}{9}\selectfont%
+ \color{black!80}%
+}
+
+\newcommand{\plannerGridNotesFmt}{%
+ \plannerGridNotesFont%
+ \fontsize{11}{11}\selectfont%
+}
+
+\newcommand\plannerGridBeginDayScopeHook{%
+ \ifdate{weekend}{\color{black!60}}{}
+}
+
+\newlength\plannerGridColXShift
+\newlength\plannerGridRowYShift
+
+\newlength\plannerGridCalendarWidth
+\newlength\plannerGridCalendarHeight
+
+\newlength\plannerGridDayHeadingsHeight
+\newlength\plannerGridMonthNamesWidth
+
+\newlength\plannerGridNotesHeight
+\setlength{\plannerGridNotesHeight}{10mm}
+
+\setlength{\plannerGridCalendarWidth}{\calPaperWidth - \@wall@leftMargin - \@wall@rightMargin}
+\setlength{\plannerGridCalendarHeight}{\calPaperHeight - \@wall@topMargin - \@wall@bottomMargin - \plannerGridNotesHeight}
+
+\setlength{\plannerGridDayHeadingsHeight}{10mm}
+\setlength{\plannerGridMonthNamesWidth}{10mm}
+
+\setlength{\@tmp@a}{\plannerGridCalendarWidth - \plannerGridMonthNamesWidth}
+% 37 columns. 1/37 = 0.027. Max week shift is 6 = Sunday. 31 days + 6 = 37.
+\setlength{\plannerGridColXShift}{0.027\@tmp@a}
+
+\setlength{\@tmp@a}{\plannerGridCalendarHeight - 2\plannerGridDayHeadingsHeight}
+% 12 rows. 1/12 = 0.0833
+\setlength{\plannerGridRowYShift}{0.0833\@tmp@a}
+
+\newcounter{verticalCount}
+
+\tikzstyle{year planner landscape grid days}=[
+ month list,
+ day xshift=\plannerGridColXShift,
+ month yshift=\plannerGridRowYShift,
+ day text={\plannerGridDayFmt \%d-},
+ every day/.append style={anchor=base, yshift=-12pt, inner xsep=0pt},
+ execute at begin day scope={%
+ % White fill to cover the page background color
+ \node (cell) [
+ rectangle,
+ fill = white,
+ minimum height = \plannerGridRowYShift - 1pt,
+ minimum width = \plannerGridColXShift - 1pt,
+ xshift = -0.5\plannerGridColXShift,
+ yshift = 4.5pt,
+ ] {};%
+ %
+ \ifdate{Monday}{%
+ \node (a) [above left = 15pt and -3.5pt of cell.west] {};
+ \node (b) [below left = 15pt and -3.5pt of cell.west] {};
+ \node (c) [right = 10pt of cell.west] {};
+ \path [on layer = one, fill = pagebgcolor] (a.south) -- (b.north) -- (c.west) -- (a.south);%
+ }{}%
+ %
+ \ifdate{Sunday}{%
+ \node (a) [above left = 15pt and {-3.5pt + 1pt} of cell.east] {};
+ \node (b) [below left = 15pt and {-3.5pt + 1pt} of cell.east] {};
+ \node (c) [right = {10pt - 1pt} of cell.east] {};
+ \path [on layer = two, fill = white] (a.south) -- (b.north) -- (c.west) -- (a.south);%
+ }{}%
+ %
+ \plannerGridBeginDayScopeHook%
+ },
+]
+#+end_src
+** Helpers
+
+#+begin_src tex
+\newcommand\plannerMarksDayTextCSV{\@wall@eventsCsv}
+\newcommand\plannerMarksNoteCSV{\@wall@eventsCsv}
+\newcommand\plannerMarkDefaultsCsv{}
+
+\newcommand\@wall@plm[1]{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksDayText(\luastring{#1}, nil, \luastring{\plannerMarksDayTextCSV})
+tex.sprint(';')
+}}
+
+\newcommand\@wall@plmYear{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+yearMarksDayText(tonumber(\CalendarYear), nil, \luastring{\plannerMarksDayTextCSV})
+tex.sprint(';')
+}}
+
+\newcommand\@wall@plNotes{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+yearMarksNote(tonumber(\CalendarYear), nil, \luastring{\plannerMarksNoteCSV}, \luastring{\plannerMarkDefaultsCsv}, false)
+}}
+
+\newcommand\@wall@plNotesOneCalendar{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+yearMarksNote(tonumber(\CalendarYear), nil, \luastring{\plannerMarksNoteCSV}, \luastring{\plannerMarkDefaultsCsv}, true)
+}}
+
+\newcommand\plannerEvents{%
+\parseYearEvents[filter pred = hasNote]%
+}
+
+#+end_src
+
+** \textbackslash YearPlannerPortrait
+
+#+begin_src tex
+\newcommand\YearPlannerPortrait{%
+\@wall@useDefaultMoons%
+\begin{tikzpicture}[every calendar/.style={year planner portrait}]%
+ \matrix[column sep=1.5em, row sep=5mm] {
+ \calendar(cal01)[dates=\CalendarYear-01-01 to \CalendarYear-01-last] \@wall@plm{January}; \pgfmatrixnextcell
+ \calendar(cal02)[dates=\CalendarYear-02-01 to \CalendarYear-02-last] \@wall@plm{February}; \pgfmatrixnextcell
+ \calendar(cal03)[dates=\CalendarYear-03-01 to \CalendarYear-03-last] \@wall@plm{March}; \\
+ \calendar(cal04)[dates=\CalendarYear-04-01 to \CalendarYear-04-last] \@wall@plm{April}; \pgfmatrixnextcell
+ \calendar(cal05)[dates=\CalendarYear-05-01 to \CalendarYear-05-last] \@wall@plm{May}; \pgfmatrixnextcell
+ \calendar(cal06)[dates=\CalendarYear-06-01 to \CalendarYear-06-last] \@wall@plm{June}; \\
+ \calendar(cal07)[dates=\CalendarYear-07-01 to \CalendarYear-07-last] \@wall@plm{July}; \pgfmatrixnextcell
+ \calendar(cal08)[dates=\CalendarYear-08-01 to \CalendarYear-08-last] \@wall@plm{August}; \pgfmatrixnextcell
+ \calendar(cal09)[dates=\CalendarYear-09-01 to \CalendarYear-09-last] \@wall@plm{September}; \\
+ \calendar(cal10)[dates=\CalendarYear-10-01 to \CalendarYear-10-last] \@wall@plm{October}; \pgfmatrixnextcell
+ \calendar(cal11)[dates=\CalendarYear-11-01 to \CalendarYear-11-last] \@wall@plm{November}; \pgfmatrixnextcell
+ \calendar(cal12)[dates=\CalendarYear-12-01 to \CalendarYear-12-last] \@wall@plm{December}; \\
+ };
+ \@wall@plNotes
+\end{tikzpicture}%
+}
+#+end_src
+
+** \textbackslash YearPlannerLandscape
+
+#+begin_src tex
+\newcommand\YearPlannerLandscape{%
+\@wall@usePlannerMoons%
+\begin{tikzpicture}%
+ \calendar (cal) [
+ year planner landscape,
+ dates=\CalendarYear-01-01 to \CalendarYear-12-31,
+ ] \@wall@plmYear;
+ \@wall@plNotesOneCalendar
+\end{tikzpicture}%
+}
+#+end_src
+
+** \textbackslash YearPlannerLandscapeGrid
+
+#+begin_src tex
+\newcommand\YearPlannerLandscapeGrid{%
+\@wall@usePlannerMoons%
+\begin{tikzpicture}
+
+ % Background frame
+
+ \node (bg) [
+ rectangle,
+ inner sep = 0pt,
+ minimum width = \plannerGridCalendarWidth,
+ minimum height = \plannerGridCalendarHeight,
+ ] {};
+
+ \foreach \x/\m in {1/\xJanShort, 2/\xFebShort, 3/\xMarShort, 4/\xAprShort,
+ 5/\xMayShort, 6/\xJunShort, 7/\xJulShort, 8/\xAugShort, 9/\xSepShort,
+ 10/\xOctShort, 11/\xNovShort, 12/\xDecShort}
+ {
+ \setlength{\@tmp@a}{\x\plannerGridRowYShift + \plannerGridDayHeadingsHeight}
+
+ % Month labels
+
+ \node [
+ below = \@tmp@a of bg.north west,
+ yshift = 0.5\plannerGridRowYShift,
+ xshift = 0.5\plannerGridColXShift - 2pt,
+ anchor = base,
+ rotate = 90,
+ ] {\plannerGridMonthFmt\MakeUppercase{\textls*{\m}}};
+
+ % Horizontal lines
+
+ \addtolength{\@tmp@a}{-\plannerGridRowYShift}
+
+ \node (h-a-\x) [below = \@tmp@a of bg.north west] {};
+ \node (h-b-\x) [below = \@tmp@a of bg.north east] {};
+ \draw [gridcolor] (h-a-\x) -- (h-b-\x);
+ }
+
+ % 13th line
+ \setlength{\@tmp@a}{12\plannerGridRowYShift + \plannerGridDayHeadingsHeight}
+ \node (h-a-13) [below = \@tmp@a of bg.north west] {};
+ \node (h-b-13) [below = \@tmp@a of bg.north east] {};
+ \draw [gridcolor] (h-a-13) -- (h-b-13);
+
+ % Year number in the corner
+ \node [
+ right = 0pt of bg.north west,
+ xshift = 0.5\plannerGridMonthNamesWidth,
+ yshift = -0.5\plannerGridDayHeadingsHeight - 5pt,
+ anchor = base,
+ ] {\plannerGridYearNumberFmt\CalendarYear};
+
+ \setcounter{verticalCount}{1}
+
+ \foreach \i in {0,1,2,3,4,5} {
+ \foreach \j/\d in {
+ 0/\xMondayDayLetter,
+ 1/\xTuesdayDayLetter,
+ 2/\xWednesdayDayLetter,
+ 3/\xThursdayDayLetter,
+ 4/\xFridayDayLetter,
+ 5/\xSaturdayDayLetter,
+ 6/\xSundayDayLetter}
+ {
+ \addtocounter{verticalCount}{1}
+ \ifnumgreater{\value{verticalCount}}{38}{\relax}{
+ \setlength{\@tmp@a}{7\plannerGridColXShift}
+ \setlength{\@tmp@a}{\i\@tmp@a + \j\plannerGridColXShift + \plannerGridMonthNamesWidth}
+
+ % Day headings (top and bottom)
+
+ \node [
+ right = \@tmp@a of bg.north west,
+ xshift = 0.5\plannerGridColXShift + 4pt,
+ yshift = -0.5\plannerGridDayHeadingsHeight - 5pt,
+ anchor = base,
+ ] {\plannerGridDateDayFmt \d};
+
+ \node [
+ right = \@tmp@a of bg.south west,
+ xshift = 0.5\plannerGridColXShift + 4pt,
+ yshift = 0.5\plannerGridDayHeadingsHeight - 5pt,
+ anchor = base,
+ ] {\plannerGridDateDayFmt \d};
+
+ % % Vertical lines
+
+ % \node (v-a-\i-\j) [right = \@tmp@a of bg.north west] {};
+ % \node (v-b-\i-\j) [right = \@tmp@a of bg.south west] {};
+ % \draw [gridcolor] (v-a-\i-\j) -- (v-b-\i-\j);
+ }
+ }
+ }
+
+ \calendar (cal) [
+ year planner landscape grid days,
+ dates=\CalendarYear-01-01 to \CalendarYear-12-31,
+ below right = 0pt and 0pt of bg.north west,
+ anchor = north west,
+ yshift = -\plannerGridDayHeadingsHeight - 3mm,
+ xshift = \plannerGridMonthNamesWidth + 0.5\plannerGridColXShift + 4pt,
+ ] \@wall@plmYear;
+
+ \@wall@plNotesOneCalendar
+
+\end{tikzpicture}%
+}
+#+end_src
+
+** \textbackslash YearPlannerLandscapeGridPage
+
+#+begin_src tex
+\newcommand{\YearPlannerLandscapeGridPage}{%
+\pagecolor{pagebgcolor}%
+\AddToShipoutPictureFG*{\put(\LenToUnit{\@wall@leftMargin},\LenToUnit{\@wall@bottomMargin})%
+{\begin{minipage}[b]{\plannerGridCalendarWidth}%
+\YearPlannerLandscapeGrid
+
+\begin{minipage}[b][10mm][c]{\plannerGridCalendarWidth}%
+\plannerGridNotesFmt
+\hspace*{2mm}%
+\parseYearEvents[%
+ filter pred = hasNote,
+ format cmd = {\textsuperscript{\eIdx}~\eMonthShort~\eDay:~\textit{\eNote}\ifnumless{\eIdx}{\eMaxIdx}{,\space}{.}},
+]%
+\end{minipage}%
+\end{minipage}%
+}}}
+#+end_src
+
+* Translation keys
+
+#+begin_src tex
+% Load internal translations
+\InputIfFileExists{i18n/wallcalendar-\@wall@calendarLanguage.tex}{}%
+{\ClassError{wallcalendar}{File Not Found: i18n/wallcalendar-\@wall@calendarLanguage.tex}{}}
+
+% Load user translations if the option was set and translationsAutoload is true
+
+\newcommand\LoadTranslations{%
+\InputIfFileExists{\@wall@translationsInputFile}{}%
+{\ClassWarning{wallcalendar}{File Not Found: \@wall@translationsInputFile}{}}}
+
+\notblank{\@wall@translationsInputFile}{%
+\iftranslationsAutoload \LoadTranslations \fi}
+#+end_src
+
+Use =\ifcase= instead of a =\luadirect= array lookup, otherwise Portuguese day
+headings such as =\def\xMondayDayLetter{{2\textsuperscript{a}}}= cause an error.
+
+: #1 : month number, returns the translation
+
+#+begin_src tex
+\newcommand*\@tr@monthNumName[1]{%
+\ifcase#1 \relax\or \xJanuary\or \xFebruary\or \xMarch\or \xApril\or \xMay\or \xJune\or
+\xJuly\or \xAugust\or \xSeptember\or \xOctober\or \xNovember\or \xDecember\fi}
+#+end_src
+
+: #1 : weekday number, returns the one letter translation
+
+#+begin_src tex
+\newcommand*\@tr@dayLetter[1]{%
+\ifcase#1 \xMondayDayLetter\or \xTuesdayDayLetter\or \xWednesdayDayLetter\or
+\xThursdayDayLetter\or \xFridayDayLetter\or \xSaturdayDayLetter\or \xSundayDayLetter\fi}
+#+end_src
+
+* Helper macros
+
+Doing this in Lua to make blasted sure the result is just a string
+
+: #1 : month name in English, returns zero padded number
+
+#+begin_src tex
+\newcommand*{\monthToNum}[1]{%
+\luadirect{
+ local monthToNum = {
+ january = '01',
+ february = '02',
+ march = '03',
+ april = '04',
+ may = '05',
+ june = '06',
+ july = '07',
+ august = '08',
+ september = '09',
+ october = '10',
+ november = '11',
+ december = '12',
+ }
+ local key = string.lower('#1')
+ tex.sprint(monthToNum[key])
+}}
+#+end_src
+
+: #1 : month number, returns the name in English
+
+#+begin_src tex
+\newcommand*\monthName[1]{%
+% \ifcase might be just fine here
+\luadirect{
+ local monthName = {
+ 'January', 'February', 'March', 'April', 'May', 'June', 'July',
+ 'August', 'September', 'October', 'November', 'December',
+ }
+ local key = tonumber('#1')
+ tex.sprint(monthName[key])
+}}
+#+end_src
+
+* Epilogue
+
+#+begin_src tex
+% End of wallcalendar.cls
+#+end_src
diff --git a/macros/luatex/latex/wallcalendar/doc/wallcalendar-code.tex b/macros/luatex/latex/wallcalendar/doc/wallcalendar-code.tex
new file mode 100644
index 0000000000..fd8309927a
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/wallcalendar-code.tex
@@ -0,0 +1,2371 @@
+\documentclass[11pt,oneside]{memoir-article}
+\usepackage{local}
+\renewcommand{\docVersion}{v1.3.1}
+\renewcommand{\docUrl}{\href{https://github.com/profound-labs/wallcalendar/}{link}}
+\hypersetup{ pdfauthor={Gambhīro Bhikkhu}, }
+\maxtocdepth{section}
+\author{Gambhīro Bhikkhu}
+\date{\today}
+\title{Wallcalendar Code Documentation}
+\hypersetup{
+ pdfauthor={Gambhīro Bhikkhu},
+ pdftitle={Wallcalendar Code Documentation},
+ pdfkeywords={},
+ pdfsubject={},
+ pdfcreator={Emacs 25.1.1 (Org mode 9.0.9)},
+ pdflang={English}}
+\begin{document}
+
+\maketitle
+
+\chapter{Introduction}
+\label{sec:org96389a7}
+
+\bigskip
+
+This is the code documentation for the \texttt{wallcalendar} documentclass.
+
+The \textbf{User Guide} is in \texttt{wallcalendar.pdf}. Clone or download from Github:
+
+\href{https://github.com/profound-labs/wallcalendar/}{https://github.com/profound-labs/wallcalendar/}
+
+\bigskip
+
+\tableofcontents*
+
+\clearpage
+
+\chapter{Header}
+\label{sec:org45bc02b}
+
+\begin{verbatim}
+% wallcalendar.cls; Don't edit this file. Edit wallcalendar-code.org with emacs org-mode and call 'org-babel-tangle'.
+%
+% Wall Calendar
+%
+% A wall calendar document class with custom layouts and support for internationalization.
+%
+% (c) Gambhiro Bhikkhu, 2017
+% gambhiro.bhikkhu.85@gmail.com
+%
+% LPPL LaTeX Public Project License
+\end{verbatim}
+
+\chapter{Identification}
+\label{sec:org29781fd}
+
+\begin{verbatim}
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{wallcalendar}[2017/10/21 v1.3.1 A wall calendar class with custom layouts and support for internationalization.]
+\end{verbatim}
+
+\chapter{Preliminary Declarations}
+\label{sec:org2ebd68a}
+
+\begin{verbatim}
+\RequirePackage{pgfopts}
+\RequirePackage{calc}
+
+\newlength\calPaperWidth
+\newlength\calPaperHeight
+\newlength\@wall@leftMargin
+\newlength\@wall@rightMargin
+\newlength\@wall@topMargin
+\newlength\@wall@bottomMargin
+
+\def\@wall@eventsCsv{}
+\def\@wall@markDefaultsCsv{}
+\def\@wall@translationsInputFile{}
+
+\newcommand*\theMonthName{}
+\end{verbatim}
+
+\chapter{Options}
+\label{sec:orgf63949e}
+
+Paper sizes and ratios.
+
+\begin{verbatim}
+Choral Octavo = 6.75in x 10.5in = 171.45mm x 266.7mm , r = 1.5555
+The calendar row is 40mm (without bleed) = 1.5748in
+\end{verbatim}
+
+\begin{verbatim}
+When photo is above the calendar row, it has only three side bleed.
+So aspect ratio:
+(10.5in - 40mm + 3mm) / (6.75in + 6mm) =
+(266.7 - 40 + 3) / (171.45 + 6) =
+= 1.2944
+\end{verbatim}
+
+\begin{verbatim}
+\newif\ifvarnishmask
+\newif\ifshowframe
+\newif\iftranslationsAutoload
+\newif\ifloadBabel
+
+\pgfkeys{
+ /wall/.is family, /wall,
+ defaults/.style = {
+ year = \the\year,
+ altyear = \empty,
+ loadBabel = false,
+ language = english,
+ translationsAutoload = true,
+ imageFolder = {./src-images},
+ choralOctavoPaper,
+ hMargin = 17mm,
+ topMargin = 20.5mm,
+ bottomMargin = 10mm,
+ },
+ year/.store in = \CalendarYear,
+ year/.initial = \the\year,
+ altyear/.store in = \CalendarAltYear,
+ altyear/.initial = \empty,
+ language/.store in = \@wall@calendarLanguage,
+ loadBabel/.is if = loadBabel,
+ translationsInputFile/.store in = \@wall@translationsInputFile,
+ translationsInputFile/.initial = {},
+ translationsAutoload/.is if = translationsAutoload,
+ eventsCsv/.store in = \@wall@eventsCsv,
+ eventsCsv/.initial = {},
+ markDefaultsCsv/.store in = \@wall@markDefaultsCsv,
+ markDefaultsCsv/.initial = {},
+ varnishmask/.is if = varnishmask,
+ showframe/.is if = showframe,
+ imageFolder/.store in = \@wall@imageFolder,
+ paperWidth/.code = {\setlength{\calPaperWidth}{#1}},
+ paperHeight/.code = {\setlength{\calPaperHeight}{#1}},
+ hMargin/.code = {\setlength{\@wall@leftMargin}{#1}%
+ \setlength{\@wall@rightMargin}{#1}},
+ leftMargin/.code = {\setlength{\@wall@leftMargin}{#1}},
+ rightMargin/.code = {\setlength{\@wall@rightMargin}{#1}},
+ topMargin/.code = {\setlength{\@wall@topMargin}{#1}},
+ bottomMargin/.code = {\setlength{\@wall@bottomMargin}{#1}},
+ % Paper sizes
+ choralOctavoPaper/.style = {paperWidth = 6.75in, paperHeight = 10.5in},
+ a2Paper/.style = {paperWidth = 420mm, paperHeight = 594mm},
+ a2PaperLandscape/.style = {paperWidth = 594mm, paperHeight = 420mm},
+ a3Paper/.style = {paperWidth = 297mm, paperHeight = 420mm},
+ a3PaperLandscape/.style = {paperWidth = 420mm, paperHeight = 297mm},
+ a4Paper/.style = {paperWidth = 210mm, paperHeight = 297mm},
+ a4PaperLandscape/.style = {paperWidth = 297mm, paperHeight = 210mm},
+ a5Paper/.style = {paperWidth = 148mm, paperHeight = 210mm},% r = 1.4142 = sqrt(2)
+ prevPaper/.style = {paperWidth = 170mm, paperHeight = 250mm},% r = 1.4705
+}
+
+% Debug with: \wlog{YEA: \the\@wall@bottomMargin}
+
+\DeclareOption*{%
+ \PassOptionsToClass{\CurrentOption}{memoir}
+}
+
+\pgfkeys{/wall, defaults}
+\ProcessPgfOptions{/wall}
+\ProcessOptions\relax
+\end{verbatim}
+
+\chapter{More Declarations}
+\label{sec:org1544dc5}
+\section{Load memoir}
+\label{sec:org2d3abb2}
+
+\begin{verbatim}
+\LoadClass[11pt,oneside]{memoir}
+\end{verbatim}
+
+\section{Temp variables}
+\label{sec:orge07ee5a}
+
+\begin{verbatim}
+\newlength\@tmp@a
+\newlength\@tmp@b
+\newlength\@tmp@c
+\newlength\@tmp@width
+\newlength\@tmp@height
+\end{verbatim}
+
+\section{Require packages}
+\label{sec:orgd636a69}
+
+\begin{verbatim}
+\ifloadBabel
+\RequirePackage[\@wall@calendarLanguage]{babel}
+\fi
+
+\RequirePackage{nag}
+%\RequirePackage{textcomp}
+\RequirePackage[cmyk]{xcolor}
+\RequirePackage{graphicx}
+\DeclareGraphicsExtensions{.pdf,.png,.jpg}
+\graphicspath{{\@wall@imageFolder}}
+
+\RequirePackage{eso-pic}
+\RequirePackage{ccicons}
+\RequirePackage{multicol}
+\RequirePackage{wasysym}
+
+\RequirePackage{pdftexcmds}
+\RequirePackage{etoolbox}
+\RequirePackage{luacode}
+
+\RequirePackage{xcoffins}
+%\RequirePackage{xstring}
+%\RequirePackage{stringstrings}
+
+\ifloadBabel
+\RequirePackage[final,babel=true]{microtype}
+\else
+\RequirePackage[final]{microtype}
+\fi
+
+\RequirePackage{tikz}
+\usetikzlibrary{calendar}
+\usetikzlibrary{positioning}
+\usetikzlibrary{fit}
+\usetikzlibrary{shapes.geometric}
+
+% http://tex.stackexchange.com/a/20426/831
+\pgfdeclarelayer{one}
+\pgfdeclarelayer{two}
+\pgfsetlayers{main,one,two}
+
+\pgfkeys{%
+ /tikz/on layer/.code={
+ \pgfonlayer{#1}\begingroup
+ \aftergroup\endpgfonlayer
+ \aftergroup\endgroup
+ }
+}
+\end{verbatim}
+
+\section{Colors}
+\label{sec:org281ee7a}
+
+\begin{verbatim}
+\definecolor{textbody}{gray}{0.15}
+
+% pantone 1245C, RGB 191,145,12 HEX: #BF910C
+% pantone 1255C, CMYK 0,27.5,100,34
+\definecolor{gold}{cmyk}{0,0.275,1,0.34}
+\definecolor{darkgold}{cmyk}{0.27,0.53,1,0.09}
+%\definecolor{orangegold}{cmyk}{0,0.31,0.89,0}
+\colorlet{orangegold}{darkgold}
+
+\colorlet{gridcolor}{black!30}
+\colorlet{weekday}{black}
+\colorlet{weekend}{black!50}
+\colorlet{mooncolor}{textbody}
+
+\definecolor{datenum}{gray}{0.3}
+\definecolor{plannerdatenum}{gray}{0.15}
+\definecolor{quote}{gray}{0.3}
+\definecolor{notes}{gray}{0.3}
+
+\definecolor{gridcolor}{gray}{0.5}
+\colorlet{pagebgcolor}{gridcolor!60}
+\end{verbatim}
+
+\texttt{showframe} option colors:
+
+\begin{verbatim}
+\colorlet{photo-frame}{blue}
+\colorlet{quote-frame}{red}
+\colorlet{heading-frame}{brown}
+\colorlet{calendar-frame}{orange}
+\colorlet{events-frame}{green}
+
+\ifshowframe
+ \colorlet{calendarbg}{black!50}
+\else
+ \colorlet{calendarbg}{white}
+\fi
+\end{verbatim}
+
+\section{Page Size and Trim Marks}
+\label{sec:orgf70f7fe}
+
+\begin{verbatim}
+\ifshowtrims
+ \setstocksize{\calPaperHeight + 35mm}{\calPaperWidth + 35mm}
+ \setlength{\paperheight}{\calPaperHeight}
+ \setlength{\paperwidth}{\calPaperWidth}
+ \trimXmarks
+ \trimLmarks
+ \quarkmarks
+ \settrims{0.5\stockheight - 0.5\paperheight}{0.5\stockwidth - 0.5\paperwidth}
+ \settrimmedsize{\calPaperHeight}{\calPaperWidth}{*}
+\else\relax
+ \setstocksize{\calPaperHeight}{\calPaperWidth}
+ \settrims{0pt}{0pt}
+ \settrimmedsize{\stockheight}{\stockwidth}{*}
+\fi
+
+%\settypeblocksize{\stockheight}{\stockwidth}{*}
+% TODO: calculate margins by ratios to paper size
+\setlrmarginsandblock{\@wall@leftMargin}{\@wall@rightMargin}{*}
+\setulmarginsandblock{\@wall@topMargin}{\@wall@bottomMargin}{*}
+\setheadfoot{0pt}{0pt}
+\setheaderspaces{0pt}{*}{*}
+
+\checkandfixthelayout% This will typeout values in pt.
+\settypeoutlayoutunit{mm}% It is useful to see layout values in mm too.
+\typeoutlayout
+\end{verbatim}
+
+\section{Base font sizes and indents}
+\label{sec:org215fe38}
+
+\begin{verbatim}
+\def\@wall@fontSize{11}
+\def\@wall@lineHeight{13.6}
+
+\renewcommand{\normalsize}{%
+ \@setfontsize\normalsize\@wall@fontSize\@wall@lineHeight
+ \abovedisplayskip 11\p@ \@plus3\p@ \@minus6\p@
+ \abovedisplayshortskip \z@ \@plus3\p@
+ \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@
+ \belowdisplayskip \abovedisplayskip
+ \color{textbody}
+ \let\@listi\@listI}
+\normalsize
+
+\setlength{\vgap}{1.5em}
+\setlength{\vindent}{\vgap}
+\setlength{\vleftmargin}{2em}
+
+\setlength{\parskip}{0pt}
+\setlength{\parindent}{0pt}
+
+\setlength{\fboxsep}{0pt}
+\end{verbatim}
+
+\section{Helpers}
+\label{sec:org4c3f5ae}
+
+\begin{verbatim}
+#1 -- [fill=red, opacity=0.2], additional options used for showframe
+#2 -- "hasvarnish", to indicate varnishmask color replacement when =varnishmask= option is used
+#3 -- the content to hold the place for
+\end{verbatim}
+
+The \texttt{varnishmask} and \texttt{showframe} options are handled by the same \texttt{\textbackslash{}placeholder}
+helper command to avoid having to use two commands and repeating the content
+argument.
+
+\begin{verbatim}
+\definecolor{varnishmask}{gray}{0}
+
+% http://tex.stackexchange.com/a/59571/831
+\newcommand*{\strcmpblank}[3]{%
+ \ifnum\pdf@strcmp{#1}{}=\z@ #2\else #3\fi
+}
+
+\newcommand\@placeholder@pre[1]{%
+ \settowidth{\@tmp@width}{#1}%
+ \settototalheight{\@tmp@height}{#1}%
+ \def\@spacer{\rule{\@tmp@width}{0pt}\rule{0pt}{\@tmp@height}}%
+}
+
+\newcommand\placeholder[3][]{%
+ \ifvarnishmask%
+ \ifstrequal{#2}{hasvarnish}{%
+ \@placeholder@pre{#3}%
+ \tikz\node[fill=varnishmask, inner sep=0pt]{\@spacer};%
+ }{}%
+ \else%
+ \ifshowframe%
+ \@placeholder@pre{#3}%
+ \tikz\node[inner sep=0pt, opacity=0.6, #1]{\@spacer};%
+ \else%
+ #3%
+ \fi%
+ \fi%
+}
+\end{verbatim}
+
+\chapter{Keys setup}
+\label{sec:orge5d42f4}
+\section{/put photo}
+\label{sec:org198eca9}
+
+\begin{verbatim}
+\def\@wall@photo@putPhoto#1{#1}
+\def\@wall@photo@setYOffset{}
+
+\pgfkeys{
+ /put photo/.is family, /put photo,
+ simple/.code = {%
+ \def\@wall@photo@putPhoto##1{%
+ \includegraphics{##1}%
+ }%
+ \def\@wall@photo@setYOffset{}%
+ },
+ full page/.code = {%
+ \def\@wall@photo@putPhoto##1{%
+ \includegraphics[%
+ keepaspectratio,%
+ width={\calPaperWidth + 2\@t@bleed},%
+ ]{##1}%
+ }%
+ \def\@wall@photo@setYOffset{}%
+ },
+ full width above calendar/.code = {%
+ \def\@wall@photo@putPhoto##1{%
+ \includegraphics[%
+ keepaspectratio,%
+ width={\calPaperWidth + 2\@t@bleed},%
+ ]{##1}%
+ }%
+ \def\@wall@photo@setYOffset{%
+ \setlength{\@t@yOffset}{\@t@calendar@height + \@t@bleed + 1pt}%
+ }%
+ },
+ full width/.code = {%
+ \def\@wall@photo@putPhoto##1{%
+ \includegraphics[%
+ keepaspectratio,%
+ width={\calPaperWidth + 2\@t@bleed},%
+ ]{##1}%
+ }%
+ \def\@wall@photo@setYOffset{%
+ \setlength{\@t@yOffset}{\@t@calendar@height + \@t@bleed}%
+ }%
+ },
+}
+\end{verbatim}
+
+\section{/Photo}
+\label{sec:orgbfbfe40}
+
+\begin{verbatim}
+\pgfkeys{
+ /Photo/.is family, /Photo,
+ init/.style = {
+ defaults/.style = {file = {}, thumbFile = {}, caption = {}, bleed = 0pt, xOffset=0pt, yOffset=0pt},
+ file/.initial = {},
+ thumbFile/.initial = {},
+ caption/.initial = {},
+ bleed/.initial = 0pt,
+ xOffset/.initial = 0pt,
+ yOffset/.initial = 0pt,
+ },
+}
+\end{verbatim}
+
+\section{/Quote}
+\label{sec:orgfc6858a}
+
+\begin{verbatim}
+\pgfkeys{
+ /Quote/.is family, /Quote,
+ init/.style = {
+ defaults/.style = {position=center, text={}, xOffset=0pt, yOffset=0pt},
+ position/.initial = {},
+ text/.initial = {},
+ xOffset/.initial = 0pt,
+ yOffset/.initial = 0pt,
+ },
+}
+\end{verbatim}
+
+\section{/Calendar}
+\label{sec:orgd6a2f68}
+
+\begin{verbatim}
+\pgfkeys{
+ /Calendar/.is family, /Calendar,
+ init/.style = {
+ defaults/.style = {bg/.style={opacity=0.5}},
+ bg/.style = {},
+ minimum height/.initial = {},
+ },
+}
+\end{verbatim}
+
+\section{/Events}
+\label{sec:org9996966}
+
+\begin{verbatim}
+\pgfkeys{
+ /Events/.is family, /Events,
+ init/.style = {
+ defaults/.style = {day code = {}, marks = {}, text = {}},
+ day code/.initial = {},
+ marks/.initial = {},
+ text/.initial = {},
+ },
+}
+\end{verbatim}
+
+\section{/Txt}
+\label{sec:org412e39a}
+
+\begin{verbatim}
+\pgfkeys{
+ /Txt/.is family, /Txt,
+ init/.style = {
+ defaults/.style = {text = {}},
+ text/.initial = {},
+ },
+}
+\end{verbatim}
+
+\section{/parseMonthEvents}
+\label{sec:orgab06397}
+
+\begin{verbatim}
+\def\eIdx{}
+\def\eMaxIdx{}
+\def\eMark{}
+\def\eIsoDate{}
+\def\eYear{}
+\def\eMonth{}
+\def\eMonthShort{}
+\def\eDay{}
+\def\eDayText{}
+\def\eNote{}
+
+\pgfkeys{
+ /parseMonthEvents/.is family, /parseMonthEvents,
+ month/.initial = {},
+ filter pred/.initial = nil,
+ format func/.initial = nil,
+ format cmd/.initial = {},
+ events csv/.initial = {},
+ mark defaults csv/.initial = {},
+ min events/.initial = {},
+ defaults/.style = {
+ month = \theMonthName,
+ filter pred = nil,
+ format func = nil,
+ format cmd = {\textsuperscript{\eIdx}~\eMonthShort~\eDay:~\eNote\par},
+ events csv = \@wall@eventsCsv,
+ mark defaults csv = \@wall@markDefaultsCsv,
+ min events = nil,
+ },
+}
+\end{verbatim}
+
+\section{/parseYearEvents}
+\label{sec:org3b4e036}
+
+\begin{verbatim}
+\pgfkeys{
+ /parseYearEvents/.is family, /parseYearEvents,
+ year/.initial = {},
+ filter pred/.initial = nil,
+ format func/.initial = nil,
+ format cmd/.initial = {},
+ events csv/.initial = {},
+ mark defaults csv/.initial = {},
+ min events/.initial = {},
+ defaults/.style = {
+ year = \CalendarYear,
+ filter pred = nil,
+ format func = nil,
+ format cmd = {\textsuperscript{\eIdx}~\eMonthShort~\eDay:~\eNote\ifnumless{\eIdx}{\eMaxIdx}{,\space}{.}},
+ events csv = \@wall@eventsCsv,
+ mark defaults csv = \@wall@markDefaultsCsv,
+ min events = nil,
+ },
+}
+\end{verbatim}
+
+\chapter{Event Marks}
+\label{sec:org9c1a6a1}
+\section{Kite}
+\label{sec:orgb28c6c4}
+
+\begin{verbatim}
+\newcommand\StarMark{*}
+
+\newcommand\NoteStarMark{*}
+\end{verbatim}
+
+A kite mark that is the same height as the \texttt{\textbackslash{}StarMark}. Note that the star (*)
+character is usually higher than the x-height, so it is not in the vertical
+center of its glyph box (i.e. not at the center of the character x):
+
+\frame{x} \frame{*}
+
+\begin{verbatim}
+\newlength\@wall@starHeight
+
+% Measure the star's height here, so that we are measuring with the current typeface.
+\newcommand\KiteMark{%
+\setlength{\@wall@starHeight}{\totalheightof{*}}%
+\begin{tikzpicture}
+ \node (box) [
+ rectangle, minimum height=\@wall@starHeight, minimum width=3.4pt,
+ inner sep=0pt, line width=0pt,
+ ] {};
+ \node[
+ kite, draw, textbody, fill=textbody,
+ scale=0.15, kite vertex angles=60,
+ above=0pt of box.north, anchor=north,
+ ] {};%
+\end{tikzpicture}%
+}
+
+% Same as \KiteMark but with scale=0.2
+\newcommand\NoteKiteMark{\raisebox{1pt}{%
+\setlength{\@wall@starHeight}{\totalheightof{*}}%
+\begin{tikzpicture}
+ \node (box) [
+ rectangle, minimum height=\@wall@starHeight, minimum width=3.4pt,
+ inner sep=0pt, line width=0pt,
+ ] {};
+ \node[
+ kite, draw, textbody, fill=textbody,
+ scale=0.2, kite vertex angles=60,
+ above=0pt of box.north, anchor=north,
+ ] {};%
+\end{tikzpicture}%
+}}
+\end{verbatim}
+
+\section{Moons}
+\label{sec:org711444c}
+
+\begin{verbatim}
+\tikzstyle{moon circle}=[
+ circle,
+ inner sep=0pt,
+ line width=0pt,
+ minimum height=8pt,
+]
+
+\newlength\@wall@moonRaise
+\setlength{\@wall@moonRaise}{-0.7pt}
+
+\newcommand\NewMoon{}
+\newcommand\FirstQuarter{}
+\newcommand\FullMoon{}
+\newcommand\LastQuarter{}
+
+\newcommand\@wall@NewMoon{%
+\raisebox{\@wall@moonRaise}{%
+ \tikz\node[moon circle, fill=mooncolor] {};%
+}}
+
+\newcommand\@wall@FullMoon{%
+\raisebox{\@wall@moonRaise}{%
+ \tikz\node[moon circle, draw, mooncolor, line width=0.3pt] {};%
+}}
+
+\newcommand\@wall@FirstQuarter{%
+\raisebox{\@wall@moonRaise}{%
+\begin{tikzpicture}
+\node [moon circle, name=waxing] {};
+\path[fill=mooncolor]
+ (waxing.north) --
+ (waxing.south) to[out=-180,in=-90]
+ (waxing.west) to[out=90,in=-180]
+ (waxing.north);
+\end{tikzpicture}%
+}}
+
+\newcommand\@wall@LastQuarter{%
+\raisebox{\@wall@moonRaise}{%
+\begin{tikzpicture}
+\node [moon circle, name=waning] {};
+\path[fill=mooncolor]
+ (waning.north) --
+ (waning.south) to[out=0,in=-90]
+ (waning.east) to[out=90,in=0]
+ (waning.north);
+\end{tikzpicture}%
+}}
+
+\newcommand\@wall@useDefaultMoons{%
+\renewcommand\NewMoon{\@wall@NewMoon}%
+\renewcommand\FirstQuarter{\@wall@FirstQuarter}%
+\renewcommand\FullMoon{\@wall@FullMoon}%
+\renewcommand\LastQuarter{\@wall@LastQuarter}%
+}
+
+\newcommand\plannerMoonSize{\@setfontsize\plannerMoonSize{14}{14}}
+\newcommand*\plannerMoonFormat[1]{{\plannerMoonSize #1}}
+
+\newcommand\@wall@planner@NewMoon{\plannerMoonFormat{\CIRCLE}}
+\newcommand\@wall@planner@FirstQuarter{\plannerMoonFormat{\LEFTcircle}}
+\newcommand\@wall@planner@FullMoon{\plannerMoonFormat{\Circle}}
+\newcommand\@wall@planner@LastQuarter{\plannerMoonFormat{\RIGHTcircle}}
+
+\newcommand\@wall@usePlannerMoons{%
+\renewcommand\NewMoon{\@wall@planner@NewMoon}%
+\renewcommand\FirstQuarter{\@wall@planner@FirstQuarter}%
+\renewcommand\FullMoon{\@wall@planner@FullMoon}%
+\renewcommand\LastQuarter{\@wall@planner@LastQuarter}%
+}
+
+\@wall@useDefaultMoons
+\end{verbatim}
+
+\chapter{User Commands}
+\label{sec:orgcb9bf42}
+\section{\textbackslash SetPhoto}
+\label{sec:org8981ab6}
+
+\begin{verbatim}
+\SetPhoto[bleed=3mm]{June}
+\end{verbatim}
+
+\begin{verbatim}
+\newcommand\SetPhoto[2][]{%
+ \pgfkeys{%
+ /Photo/#2/.is family, /Photo/#2,
+ /Photo/init,
+ defaults, file={#2},
+ #1%
+ }%
+}
+\end{verbatim}
+
+\section{\textbackslash SetCalendar}
+\label{sec:org4aef638}
+
+\begin{verbatim}
+\SetCalendar[bg={opacity=0.8}]{June}
+\end{verbatim}
+
+\begin{verbatim}
+\newcommand\SetCalendar[2][]{%
+ \pgfkeys{%
+ /Calendar/#2/.is family, /Calendar/#2,
+ /Calendar/init,
+ defaults,
+ #1%
+ }%
+}
+\end{verbatim}
+
+\section{\textbackslash SetQuote}
+\label{sec:org6c9c7a1}
+
+\begin{verbatim}
+\SetQuote[position=top right, text align=right]{June}{%
+first line\\
+second line\\
+third line\\
+fourth line
+}
+\end{verbatim}
+
+\begin{verbatim}
+\newcommand\SetQuote[3][]{%
+ \pgfkeys{%
+ /Quote/#2/.is family, /Quote/#2,
+ /Quote/init,
+ defaults, text={#3},
+ #1%
+ }%
+}
+\end{verbatim}
+
+\section{\textbackslash SetEvents}
+\label{sec:orgde29618}
+
+FIXME: Needs at least a \texttt{\textbackslash{}SetEvents\{\#2\}} to set defaults.
+
+\begin{verbatim}
+\SetEvents[yshift={10pt}]{August}{%
+marks
+}{%
+text
+}
+\end{verbatim}
+
+\begin{verbatim}
+#1 : options
+#2 : month name
+#3 : marks
+#4 : text
+\end{verbatim}
+
+\begin{verbatim}
+\newcommand\SetEvents[4][]{%
+ \pgfkeys{%
+ /Events/#2/.is family, /Events/#2,
+ /Events/init,
+ defaults, marks={#3}, text={#4},
+ #1%
+ }%
+}
+\end{verbatim}
+
+\section{\textbackslash MonthPage}
+\label{sec:org6cd54c1}
+
+The \texttt{/MonthPage} key is set in-place for each page, not collecting options per month.
+
+\begin{verbatim}
+\pgfkeys{
+ /MonthPage/.is family, /MonthPage,
+ layout/.style = {layout handlers/#1/.get = \@wall@month@doLayout},
+ put photo/.style = {/put photo/#1},
+ defaults/.style = {layout = small landscape, put photo = simple},
+ layout handlers/.cd,
+ full page/.initial = \@wall@fullPageLayout,
+ small landscape/.initial = \@wall@smallLandscapeLayout,
+}
+\end{verbatim}
+
+FIXME: handle case when no \texttt{\textbackslash{}SetPhoto\{\#2\}} was called, and so options are not
+initialized. This happens for example when bleed value is missing, and \texttt{.get}
+returns \texttt{\textbackslash{}@val}:
+
+\begin{verbatim}
+! Missing number, treated as zero.
+<to be read again>
+\@val
+l.30 \MonthPage[layout=full page]{August}
+\end{verbatim}
+
+For now, just make sure there is a \texttt{\textbackslash{}SetPhoto\{August\}} before \texttt{\textbackslash{}MonthPage\{August\}}.
+
+\begin{verbatim}
+\MonthPage[layout=full page]{June}
+\end{verbatim}
+
+\begin{verbatim}
+\newcommand\MonthPage[2][]{%
+ \pgfkeys{/MonthPage, defaults, #1}%
+ \@wall@month@doLayout{#2}%
+}
+\end{verbatim}
+
+\section{\textbackslash SetTxt}
+\label{sec:org5f9e367}
+
+\begin{verbatim}
+\SetTxt{August Quote}{%
+The text of the quote.
+}
+\end{verbatim}
+
+\begin{verbatim}
+#1 : key
+#2 : text
+\end{verbatim}
+
+\begin{verbatim}
+\newcommand\SetTxt[2]{%
+ \pgfkeys{%
+ /Txt/#1/.is family, /Txt/#1,
+ /Txt/init,
+ defaults, text={#2},
+ }%
+}
+\end{verbatim}
+
+\section{\textbackslash txt}
+\label{sec:org396a316}
+
+\begin{verbatim}
+\txt{August Quote}
+\end{verbatim}
+
+\begin{verbatim}
+#1: text key
+\end{verbatim}
+
+\begin{verbatim}
+\newcommand\txt[1]{%
+\pgfkeys{/Txt/#1/text/.get=\@val}%
+\@val%
+}
+\end{verbatim}
+
+\section{\textbackslash parseMonthEvents}
+\label{sec:org3b370cc}
+
+\begin{verbatim}
+\def\@t@monthName{}
+\def\@t@eventsCsv{}
+\def\@t@markDefaultsCsv{}
+\def\@t@filterPred{}
+\def\@t@formatFunc{}
+\def\@t@formatCmd{}
+\def\@t@minEvents{}
+
+\newcommand\monthMarkFmt{\color{textbody}}
+
+\newcommand\symbolSpace{\thinspace}
+\newcommand\symbolSeparator{,\symbolSpace}
+
+% #1 = option keys
+\newcommand*\parseMonthEvents[1][]{%
+\pgfkeys{/parseMonthEvents, defaults, #1,
+ month/.get=\@t@monthName,
+ filter pred/.get=\@t@filterPred,
+ format func/.get=\@t@formatFunc,
+ format cmd/.get=\@t@formatCmd,
+ events csv/.get=\@t@eventsCsv,
+ mark defaults csv/.get=\@t@markDefaultsCsv,
+ min events/.get=\@t@minEvents,
+}%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthEvents(
+ \luastring{\@t@monthName},
+ \@t@filterPred,
+ \@t@formatFunc,
+ \luastringO{\@t@formatCmd},
+ \luastring{\@t@eventsCsv},
+ \luastring{\@t@markDefaultsCsv},
+ \@t@minEvents
+)}}
+\end{verbatim}
+
+\section{\textbackslash parseYearEvents}
+\label{sec:orgb89e36b}
+
+\begin{verbatim}
+\def\@t@yearNum{}
+
+% #1 = option keys
+\newcommand*\parseYearEvents[1][]{%
+\pgfkeys{/parseYearEvents, defaults, #1,
+ year/.get=\@t@year,
+ filter pred/.get=\@t@filterPred,
+ format func/.get=\@t@formatFunc,
+ format cmd/.get=\@t@formatCmd,
+ events csv/.get=\@t@eventsCsv,
+ mark defaults csv/.get=\@t@markDefaultsCsv,
+ min events/.get=\@t@minEvents,
+}%
+\luadirect{
+require("wallcalendar-helpers.lua")
+yearEvents(
+ tonumber(\@t@year),
+ \@t@filterPred,
+ \@t@formatFunc,
+ \luastringO{\@t@formatCmd},
+ \luastring{\@t@eventsCsv},
+ \luastring{\@t@markDefaultsCsv},
+ \@t@minEvents
+)}}
+\end{verbatim}
+
+\section{\textbackslash parseMonthMarksDayText}
+\label{sec:org24e0024}
+
+NOTE: Tikz will not work with parsing options as with \texttt{\textbackslash{}parseMonthEvents}.
+
+It will parse the CSV file set with the \texttt{eventsCsv} class option.
+
+\begin{verbatim}
+\newlength\dayTextXshift
+\newlength\dayTextYshift
+\setlength{\dayTextXshift}{0pt}
+\setlength{\dayTextYshift}{0pt}
+
+\newlength\markNumberAbove
+\newlength\markNumberRight
+\setlength{\markNumberAbove}{-10pt}
+\setlength{\markNumberRight}{-3pt}
+
+\newlength\markDayTextAbove
+\newlength\markDayTextRight
+\setlength{\markDayTextAbove}{-10pt}
+\setlength{\markDayTextRight}{-3pt}
+
+\newcommand\parseMonthMarksDayText{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksDayText(\luastring{\theMonthName}, nil, \luastring{\@wall@eventsCsv})
+tex.sprint(';')
+}}
+
+\newcommand\parseMonthMarksDayTextMonth[1]{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksDayText(\luastring{#1}, nil, \luastring{\@wall@eventsCsv})
+tex.sprint(';')
+}}
+\end{verbatim}
+
+\section{\textbackslash parseMonthMarksDayTextUsing}
+\label{sec:orgcf04e30}
+
+\begin{verbatim}
+\newcommand*\parseMonthMarksDayTextUsing[1]{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksDayText(\luastring{\theMonthName}, nil, \luastring{#1})
+}}
+
+\newcommand\parseMonthMarksDayTextMonthUsing[2]{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksDayText(\luastring{#1}, nil, \luastring{#2})
+}}
+\end{verbatim}
+
+\section{\textbackslash parseMonthMarksNote}
+\label{sec:orga2e07dc}
+
+\begin{verbatim}
+\newcommand*\parseMonthMarksNote{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksNote(\luastring{\theMonthName}, nil, \luastring{\@wall@eventsCsv}, \luastring{\@wall@markDefaultsCsv})
+}}
+\end{verbatim}
+
+\section{\textbackslash parseMonthMarksNoteUsing}
+\label{sec:org2e41aed}
+
+\begin{verbatim}
+\newcommand*\parseMonthMarksNoteUsing[1]{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksNote(\luastring{\theMonthName}, nil, \luastring{#1}, \luastring{\@wall@markDefaultsCsv})
+}}
+\end{verbatim}
+
+\chapter{Page Layouts}
+\label{sec:orga58446b}
+\section{Initial setup}
+\label{sec:orgbe4e6d6}
+
+Applying a blank, bare pagestyle, the layout macro should position the parts of
+the page.
+
+\begin{verbatim}
+\makepagestyle{month}
+\makeoddhead{month}{}{}{}
+\makeevenhead{month}{}{}{}
+\makeoddfoot{month}{}{}{}
+\makeevenfoot{month}{}{}{}
+
+\pagestyle{month}
+\end{verbatim}
+
+These elements are common to all layouts. One Coffin for each part of the
+page:
+
+\begin{itemize}
+\item Photo
+\item Quote
+\item Calendar
+\item Events
+\end{itemize}
+
+\begin{verbatim}
+\NewCoffin\@wall@pageWrap
+\NewCoffin\@wall@photo
+\NewCoffin\@wall@quote
+\NewCoffin\@wall@calendar
+\NewCoffin\@wall@events
+\end{verbatim}
+
+\section{Formatting hooks and temp vars}
+\label{sec:orgab25392}
+
+\begin{verbatim}
+\newlength\@t@bleed
+\newlength\@t@rightOffset
+\newlength\@t@minipageWidth
+\newlength\@t@calendar@height
+\newlength\@t@calendar@hmargin
+\newlength\@t@calendar@dayYshift
+\newlength\@t@calendar@dayXshift
+\newlength\@t@calendar@gridHeight
+\newlength\@t@calendar@gridHeightFiveRows
+\newlength\@t@calendar@gridHeightSixRows
+\newlength\@t@xOffset
+\newlength\@t@yOffset
+\def\@t@file{}
+
+\newcommand*\monthFmt{}%
+\newcommand*\yearFmt{}%
+\newcommand*\dayLetterColor{}%
+\newcommand*\dayLetterFmt{}%
+\newcommand*\dayTextFmt{}%
+\newcommand*\quoteFmt{}%
+\newcommand*\headingFmt{}%
+\newcommand*\calendarFmt{}%
+\newcommand*\eventsFmt{}%
+\end{verbatim}
+
+\section{Layout Reset, \textbackslash @wall@layout@reset}
+\label{sec:org7522fd9}
+
+A reset macro for the beginning of a layout, to make sure parameters are not
+carried from one layout to the next.
+
+\begin{verbatim}
+\newcommand\@wall@layout@reset{%
+ \renewcommand*\monthFmt{}%
+ \renewcommand*\yearFmt{}%
+ \renewcommand*\dayLetterColor{}%
+ \renewcommand*\dayLetterFmt{}%
+ \renewcommand*\dayTextFmt{}%
+ \renewcommand*\quoteFmt{}%
+ \renewcommand*\headingFmt{}%
+ \renewcommand*\calendarFmt{}%
+ \renewcommand*\eventsFmt{}%
+ \def\@t@file{}%
+ \setlength{\@t@calendar@height}{0pt}%
+ \setlength{\@t@calendar@hmargin}{0pt}%
+ \setlength{\@t@calendar@dayYshift}{0pt}%
+ \setlength{\@t@calendar@dayXshift}{0pt}%
+ \setlength{\@t@bleed}{0pt}%
+ \setlength{\@t@rightOffset}{0pt}%
+ \setlength{\@t@minipageWidth}{0pt}%
+ \setlength{\@t@xOffset}{0pt}%
+ \setlength{\@t@yOffset}{0pt}%
+ \setlength{\@t@calendar@gridHeight}{0pt}%
+ \setlength{\@t@calendar@gridHeightFiveRows}{0pt}%
+ \setlength{\@t@calendar@gridHeightSixRows}{0pt}%
+}
+\end{verbatim}
+
+\section{Full Page, \textbackslash @wall@fullPageLayout}
+\label{sec:orge4db85d}
+\subsection{Setup formatting hooks}
+\label{sec:orge713968}
+
+Renew this in your document when customizing the variables for this layout.
+
+This must not introduce paragraph breaks or whitespace characters, so follow
+everything with \texttt{\%}.
+
+\begin{verbatim}
+\newcommand\fullPageFmt{%
+ \renewcommand*\monthFmt{\LARGE}%
+ \renewcommand*\yearFmt{\LARGE}%
+ \renewcommand*\dayLetterColor{}%
+ \renewcommand*\dayLetterFmt{\tiny}%
+ \renewcommand*\dayTextFmt{\small}%
+ \renewcommand*\quoteFmt{}%
+ \renewcommand*\headingFmt{\centering}%
+ \renewcommand*\calendarFmt{\centering}%
+ \renewcommand*\eventsFmt{\setlength{\parindent}{0pt}\raggedleft\footnotesize}%
+}
+\end{verbatim}
+
+\subsection{Init}
+\label{sec:org28b2a27}
+
+\begin{verbatim}
+\newcommand\@wall@fullPageLayout[2][]{%
+\makeatletter
+\renewcommand*\theMonthName{#2}
+\@wall@layout@reset
+\fullPageFmt
+
+\colorlet{weekday}{black}
+\colorlet{weekend}{black!70}
+\end{verbatim}
+
+\subsection{Lengths and sizes}
+\label{sec:orge5a9400}
+
+Bleed:
+
+\begin{verbatim}
+\pgfkeys{/Photo/#2/bleed/.get=\@val}
+\setlength{\@t@bleed}{\@val}
+\end{verbatim}
+
+\begin{verbatim}
+\def\@t@monthnum{\monthToNum{#2}}
+\end{verbatim}
+
+Calendar height:
+
+\begin{verbatim}
+% 40mm = 1.5748 inch
+% 43mm = 1.6929 inch
+\setlength{\@t@calendar@height}{40mm + \@t@bleed}
+
+% See if there was a height given in the options
+\pgfkeys{/Calendar/#2/minimum height/.get=\@val}
+\ifx\@val\empty \relax
+\else
+ \setlength{\@t@calendar@height}{\@val + \@t@bleed}
+\fi
+\end{verbatim}
+
+Calendar horizontal margin:
+
+\begin{verbatim}
+\setlength{\@t@calendar@hmargin}{20pt}
+\end{verbatim}
+
+Calculate offsets:
+
+\begin{verbatim}
+% NOTE: the -4pt and -2pt offset is somehow necessary for the sides to align
+% with the edges
+\setlength{\@t@rightOffset}{\@t@bleed +\@t@calendar@hmargin -4pt}
+\setlength{\@t@minipageWidth}{\calPaperWidth -2\@t@calendar@hmargin -2pt}
+\end{verbatim}
+
+\subsection{Set the coffin contents}
+\label{sec:orgf5b7748}
+
+Page wrap:
+
+\begin{verbatim}
+\SetHorizontalCoffin\@wall@pageWrap{%
+ \color{white}%
+ \rule{\textwidth}{0pt}%
+ \rule{0pt}{\textheight}%
+}
+\end{verbatim}
+
+Photo:
+
+\begin{verbatim}
+\pgfkeys{/Photo/#2/file/.get=\@t@file}
+
+\SetHorizontalCoffin\@wall@photo{%
+ \placeholder[fill=photo-frame]{hasvarnish}{%
+ \@wall@photo@putPhoto{\@t@file}%
+ }%
+}
+\end{verbatim}
+
+Quote:
+
+\begin{verbatim}
+\SetHorizontalCoffin\@wall@quote{%
+ \placeholder[fill=quote-frame]{}{%
+ \begin{minipage}{\linewidth}%
+ \quoteFmt
+ \pgfkeys{/Quote/#2/text/.get=\@val}%
+ \@val%
+ \end{minipage}%
+ }%
+}
+\end{verbatim}
+
+Calendar:
+
+\begin{verbatim}
+\SetHorizontalCoffin\@wall@calendar{%
+\ifvarnishmask\relax
+\else
+\begin{tikzpicture}
+
+\node (bg) [
+ fill = calendarbg,
+ opacity = 0.5,
+ minimum width = {\calPaperWidth + 2\@t@bleed},
+ anchor=north west,
+ /Calendar/#2/bg,
+ % override the style, in case bleed was set above
+ minimum height = {\@t@calendar@height},
+] at (0,0) {};
+
+\node (heading) [
+ below right=10pt and {\@t@rightOffset} of bg.north west,
+ anchor=north west,
+] {%
+\placeholder[fill=heading-frame]{}{%
+\begin{minipage}{\@t@minipageWidth}%
+\headingFmt
+{\monthFmt\@tr@monthNumName{\@t@monthnum}}
+\hfill
+\strcmpblank{\CalendarAltYear}{%
+ {\yearFmt\CalendarYear}%
+}{%
+ {\yearFmt\CalendarYear/\CalendarAltYear}%
+}%
+\end{minipage}%
+}%
+};
+
+\node (calendar) [
+ below right=35pt and {\@t@rightOffset} of bg.north west,
+ anchor=north west,
+] {%
+\placeholder[fill=calendar-frame]{}{%
+\begin{minipage}{\@t@minipageWidth}%
+\calendarFmt
+\tikz{\tikzMonthCalendar@fullpage{\@t@monthnum};}%
+\end{minipage}%
+}%
+};
+
+\node (events) [
+ below=0pt of calendar.south west,
+ anchor=north west,
+] {%
+\placeholder[fill=events-frame]{}{%
+\begin{minipage}{\@t@minipageWidth}%
+\eventsFmt
+\pgfkeys{/Events/#2/text/.get=\@val}%
+\@val%
+\end{minipage}%
+}%
+};
+
+\end{tikzpicture}%
+\fi
+}% \SetHorizontalCoffin
+\end{verbatim}
+
+\subsection{Join the coffins}
+\label{sec:orgf57fc27}
+
+\begin{verbatim}
+\@wall@photo@setYOffset
+
+\pgfkeys{/Photo/#2/xOffset/.get=\@val}
+\addtolength{\@t@xOffset}{\@val}
+\pgfkeys{/Photo/#2/yOffset/.get=\@val}
+\addtolength{\@t@yOffset}{\@val}
+
+% NOTE: a small whitespace is visible on the left edge of the page when bleed is 0pt, a space must be getting in somewhere.
+\JoinCoffins*\@wall@pageWrap[l,t]\@wall@photo[l,t](-\spinemargin -\@t@bleed + \@t@xOffset, \uppermargin + \@t@bleed + \@t@yOffset)
+
+\pgfkeys{/Quote/#2/xOffset/.get=\@val}
+\setlength{\@t@xOffset}{\@val}
+\pgfkeys{/Quote/#2/yOffset/.get=\@val}
+\setlength{\@t@yOffset}{\@val}
+
+\JoinCoffins*\@wall@pageWrap[l,t]\@wall@quote[l,t](\@t@xOffset, \@t@yOffset)
+
+\JoinCoffins*\@wall@pageWrap[l,b]\@wall@calendar[l,b](-\spinemargin -\@t@bleed, \textheight +\uppermargin -\paperheight -\@t@bleed)
+
+\makeatother
+\end{verbatim}
+
+\subsection{Typeset}
+\label{sec:org4335a91}
+
+\begin{verbatim}
+\clearpage
+\TypesetCoffin\@wall@pageWrap%
+}% \@wall@fullPageLayout
+\end{verbatim}
+
+\subsection{Tikz calendar}
+\label{sec:org66a8015}
+
+\begin{verbatim}
+#1 = number of month with leading zero
+\end{verbatim}
+
+\begin{verbatim}
+\newcommand*{\tikzMonthCalendar@fullpage}[1]{%
+\pgfkeys{/Events/\monthName{#1}/marks/.get=\@eventmarks}%
+\calendar (cal#1) [alnitak, dates=\CalendarYear-#1-01 to \CalendarYear-#1-last] \@eventmarks;%
+}
+\end{verbatim}
+
+\section{Small Landscape, \textbackslash @wall@smallLandscapeLayout}
+\label{sec:orgec90d96}
+\subsection{Setup formatting hooks}
+\label{sec:org19590f3}
+
+Renew this in your document when customizing the variables for this layout.
+
+This must not introduce paragraph breaks or whitespace characters, so follow
+everything with \texttt{\%}.
+
+\begin{verbatim}
+\newcommand\smallLandscapeFmt{%
+ \renewcommand*\monthFmt{\LARGE}%
+ \renewcommand*\yearFmt{\LARGE}%
+ \renewcommand*\dayLetterColor{}%
+ \renewcommand*\dayLetterFmt{\tiny}%
+ \renewcommand*\dayTextFmt{\small}%
+ \renewcommand*\quoteFmt{\centering}%
+ \renewcommand*\headingFmt{\centering}%
+ \renewcommand*\calendarFmt{\centering}%
+ \renewcommand*\eventsFmt{\setlength{\parindent}{0pt}\raggedright\footnotesize}%
+}
+\end{verbatim}
+
+\subsection{Init}
+\label{sec:org11161c1}
+
+\begin{verbatim}
+\newcommand\@wall@smallLandscapeLayout[2][]{%
+\makeatletter
+\renewcommand*\theMonthName{#2}
+\@wall@layout@reset
+\smallLandscapeFmt
+
+\colorlet{weekday}{black}
+\colorlet{weekend}{black!70}
+\end{verbatim}
+
+\subsection{Lengths and sizes}
+\label{sec:orgcdfd5b1}
+
+Bleed:
+
+\begin{verbatim}
+\pgfkeys{/Photo/#2/bleed/.get=\@val}
+\setlength{\@t@bleed}{\@val}
+\end{verbatim}
+
+\begin{verbatim}
+\def\@t@monthnum{\monthToNum{#2}}
+\end{verbatim}
+
+Calendar height:
+
+Default height to fit:
+
+\begin{itemize}
+\item day headings
+\item days in a grid, 6 rows
+\item events
+\item bottom bleed
+\end{itemize}
+
+\begin{verbatim}
+\setlength{\@t@calendar@height}{85mm + \@t@bleed}
+
+% See if there was a height given in the options
+\pgfkeys{/Calendar/#2/minimum height/.get=\@val}
+\ifx\@val\empty \relax
+\else
+ \setlength{\@t@calendar@height}{\@val + \@t@bleed}
+\fi
+\end{verbatim}
+
+Calendar horizontal margin:
+
+\begin{verbatim}
+\setlength{\@t@calendar@hmargin}{20pt}
+\end{verbatim}
+
+Calculate offsets:
+
+\begin{verbatim}
+% 5mm: day headings
+% 20mm: events
+% 6.5mm: vertical spacing
+\setlength{\@tmp@a}{20mm + 5mm + 6.5mm}
+\setlength{\@tmp@b}{\@t@calendar@height -\@tmp@a}
+\setlength{\@t@calendar@dayYshift}{0.1666\@tmp@b}% 1/6 = 0.1666
+
+\setlength{\@t@calendar@gridHeightSixRows}{\@tmp@b}
+\setlength{\@t@calendar@gridHeightFiveRows}{\@tmp@b -0.1666\@tmp@b}
+
+% NOTE: the -4pt and -2pt offset is somehow necessary for the sides to align
+% with the edges
+\setlength{\@t@rightOffset}{\@t@bleed +\@t@calendar@hmargin -4pt}
+\setlength{\@t@minipageWidth}{\calPaperWidth -2\@t@calendar@hmargin -2pt}
+
+\setlength{\@t@calendar@dayXshift}{0.1428\@t@minipageWidth}% 1/7 = 0.1428
+\end{verbatim}
+
+\subsection{Set the coffin contents}
+\label{sec:orgfa049f6}
+
+Page wrap:
+
+\begin{verbatim}
+\SetHorizontalCoffin\@wall@pageWrap{%
+ \color{white}%
+ \rule{\textwidth}{0pt}%
+ \rule{0pt}{\textheight}%
+}
+\end{verbatim}
+
+Photo:
+
+\begin{verbatim}
+\pgfkeys{/Photo/#2/file/.get=\@t@file}
+
+\SetHorizontalCoffin\@wall@photo{%
+ \placeholder[fill=photo-frame]{hasvarnish}{%
+ \@wall@photo@putPhoto{\@t@file}%
+ }%
+}
+\end{verbatim}
+
+Quote:
+
+\begin{verbatim}
+\SetHorizontalCoffin\@wall@quote{%
+ \placeholder[fill=quote-frame]{}{%
+ \begin{minipage}{\linewidth}%
+ \quoteFmt
+ \pgfkeys{/Quote/#2/text/.get=\@val}%
+ \@val%
+ \end{minipage}%
+ }%
+}
+\end{verbatim}
+
+Calendar:
+
+\begin{verbatim}
+\SetHorizontalCoffin\@wall@calendar{%
+\ifvarnishmask\relax
+\else
+\begin{tikzpicture}
+
+\node (bg) [
+ fill = calendarbg,
+ opacity = 1,
+ minimum width = {\calPaperWidth + 2\@t@bleed},
+ anchor=north west,
+ /Calendar/#2/bg,
+ % override the style, in case bleed was set above
+ minimum height = {\@t@calendar@height},
+] at (0,0) {};
+
+\node (heading) [
+ below right=10pt and {\@t@rightOffset} of bg.north west,
+ anchor=north west,
+] {%
+\placeholder[fill=heading-frame]{}{%
+\begin{minipage}{\@t@minipageWidth}%
+\headingFmt
+{\monthFmt\@tr@monthNumName{\@t@monthnum}}
+\hfill
+\strcmpblank{\CalendarAltYear}{%
+ {\yearFmt\CalendarYear}%
+}{%
+ {\yearFmt\CalendarYear/\CalendarAltYear}%
+}%
+\end{minipage}%
+}%
+};
+
+\node (calendar) [
+ below right=35pt and {\@t@rightOffset} of bg.north west,
+ anchor=north west,
+] {%
+\placeholder[fill=calendar-frame]{}{%
+\begin{minipage}{\@t@minipageWidth}%
+\calendarFmt
+\hspace*{-5pt}% FIXME
+\tikz{\tikzMonthCalendar@smallLandscape{\@t@monthnum};}%
+\end{minipage}%
+}%
+};
+
+\node (events) [
+ above right=10mm and {\@t@rightOffset} of bg.south west,
+ anchor=south west,
+] {%
+\placeholder[fill=events-frame]{}{%
+\begin{minipage}{\@t@minipageWidth}%
+\eventsFmt
+\pgfkeys{/Events/#2/text/.get=\@val}%
+\@val%
+\end{minipage}%
+}%
+};
+
+\end{tikzpicture}%
+\fi
+}% \SetHorizontalCoffin
+\end{verbatim}
+
+\subsection{Join the coffins}
+\label{sec:orgd581032}
+
+Only using \texttt{yOffset}. The quote should be centered on the x axis.
+
+Join coffins so that the photo is in a fixed position, i.e. relative to the
+pageWrap, not relative to other coffins. It prevents accidental shifts when the
+other coffins are empty (when \texttt{varnishmask} is on) or have too much content.
+
+\begin{verbatim}
+% The quote has to be centered between the photo and the calendar with manual tweaking.
+% The height of the quote is not known, the height of the calendar plus its heading is not known.
+
+% TODO move the photo with /Photo/#2/xOffset and yOffset as at the full page layout
+
+\pgfkeys{/Quote/#2/yOffset/.get=\@val}
+\setlength{\@t@yOffset}{\@val}
+
+\JoinCoffins*\@wall@photo[hc,b]\@wall@quote[hc,t](0pt, \@t@yOffset)
+
+\pgfkeys{/Photo/#2/yOffset/.get=\@val}
+\setlength{\@t@yOffset}{\@val}
+
+% NOTE: Taking the bottom edge of the photo as fixed.
+% yOffset must be set to pull the photo down into position
+
+\JoinCoffins*\@wall@pageWrap[hc,t]\@wall@photo[hc,b](0pt, \uppermargin + \@t@yOffset)
+
+% Calendar is aligned to the bottom of the page.
+
+\JoinCoffins*\@wall@pageWrap[hc,b]\@wall@calendar[hc,b](0pt, \textheight +\uppermargin -\paperheight -\@t@bleed)
+
+\makeatother
+\end{verbatim}
+
+\subsection{Typeset}
+\label{sec:orgcdcedfd}
+
+\begin{verbatim}
+\clearpage
+\TypesetCoffin\@wall@pageWrap%
+}% \@wall@smallLandscapeLayout
+\end{verbatim}
+
+\subsection{Tikz calendar}
+\label{sec:orgf62996c}
+
+\begin{verbatim}
+#1 = number of month with leading zero
+\end{verbatim}
+
+\begin{verbatim}
+\newcommand*{\tikzMonthCalendar@smallLandscape}[1]{%
+\pgfkeys{/Events/\monthName{#1}/marks/.get=\@eventmarks}%
+\calendar (cal#1) [betelgeuse, dates=\CalendarYear-#1-01 to \CalendarYear-#1-last] \@eventmarks;%
+}
+\end{verbatim}
+
+\section{Tikz styles}
+\label{sec:orga66f8a7}
+\subsection{day letter headings}
+\label{sec:org8b1a47f}
+
+\begin{verbatim}
+\tikzstyle{day letter headings}=[%
+ day heading/.style={black!90},
+ execute before day scope={%
+ \ifdate{day of month=1}{%
+ \pgfmathsetlength\pgf@xa{\tikz@lib@cal@xshift}%
+ \pgfmathsetlength\pgf@ya{\tikz@lib@cal@yshift}%
+ \foreach \d in {0,1,2,3,4,5,6} {%
+ \pgf@xa=\d\pgf@xa%
+ \pgftransformxshift{\pgf@xa}%
+ \pgftransformyshift{\pgf@ya}%
+ \node (d\d) [anchor=south, day heading] {\dayLetterFmt\@tr@dayLetter{\d}};%
+ };%
+ }{}%
+ },%
+]
+\end{verbatim}
+
+\subsection{days grid}
+\label{sec:orgfa12564}
+
+\begin{verbatim}
+\newcount\gridRows
+\newcount\gridLines
+\newcount\n
+
+\newif\ifGridNoSurround
+\GridNoSurroundfalse
+
+\tikzstyle{no grid surround}=[execute before day scope={\GridNoSurroundtrue}]
+\tikzstyle{grid surround}=[execute before day scope={\GridNoSurroundfalse}]
+
+\tikzstyle{days grid}=[%
+ execute before day scope={%
+ \ifdate{day of month=1}{%
+ %
+ % Determine if the grid is five or six rows
+ %
+ % 31 day months
+ \ifdate{between=01-01 and 01-31, between=03-01 and 03-31, between=05-01 and 05-31, between=07-01 and 07-31, between=08-01 and 08-31, between=10-01 and 10-31, between=12-01 and 12-31}{%
+ \ifdate{Saturday,Sunday}{%
+ \gridRows=6%
+ \setlength\@t@calendar@gridHeight{\@t@calendar@gridHeightSixRows}%
+ }{%
+ \gridRows=5%
+ \setlength\@t@calendar@gridHeight{\@t@calendar@gridHeightFiveRows}%
+ }
+ }{
+ % 30 day months and February
+ \ifdate{between=02-01 and 02-last}{%
+ \gridRows=5%
+ \setlength\@t@calendar@gridHeight{\@t@calendar@gridHeightFiveRows}%
+ }{%
+ \ifdate{Sunday}{%
+ \gridRows=6%
+ \setlength\@t@calendar@gridHeight{\@t@calendar@gridHeightSixRows}%
+ }{%
+ \gridRows=5%
+ \setlength\@t@calendar@gridHeight{\@t@calendar@gridHeightFiveRows}%
+ }
+ }
+ }
+ %
+ % Horizontal lines
+ %
+ \gridLines=\gridRows
+ \ifGridNoSurround\relax
+ \else
+ \advance\gridLines by 1
+ \n=0
+ \draw [
+ gridcolor,
+ line width=0.3pt,
+ xshift=-0.5\@t@calendar@dayXshift,
+ yshift=0.5\@t@calendar@dayYshift,
+ ] (0,{-\n\@t@calendar@dayYshift}) -- (7\@t@calendar@dayXshift,{-\n\@t@calendar@dayYshift});
+ \fi
+ \foreach \n in {1,2,3,4,5,6} {
+ \ifnum\n<\gridLines
+ \draw [
+ gridcolor,
+ line width=0.3pt,
+ xshift=-0.5\@t@calendar@dayXshift,
+ yshift=0.5\@t@calendar@dayYshift,
+ ] (0,{-\n\@t@calendar@dayYshift}) -- (7\@t@calendar@dayXshift,{-\n\@t@calendar@dayYshift});
+ \fi
+ }
+ %
+ % Vertical lines
+ %
+ \gridLines=7
+ \ifGridNoSurround\relax
+ \else
+ \advance\gridLines by 1
+ \n=0
+ \draw [
+ gridcolor,
+ line width=0.3pt,
+ xshift=-0.5\@t@calendar@dayXshift,
+ yshift=0.5\@t@calendar@dayYshift,
+ ] ({\n\@t@calendar@dayXshift},0) -- ({\n\@t@calendar@dayXshift},{-\gridRows\@t@calendar@dayYshift});
+ \fi
+ \foreach \n in {1,2,3,4,5,6,7} {
+ \ifnum\n<\gridLines
+ \draw [
+ gridcolor,
+ line width=0.3pt,
+ xshift=-0.5\@t@calendar@dayXshift,
+ yshift=0.5\@t@calendar@dayYshift,
+ ] ({\n\@t@calendar@dayXshift},0) -- ({\n\@t@calendar@dayXshift},{-\gridRows\@t@calendar@dayYshift});
+ \fi
+ }
+ %
+ % If we are not drawing the surrounding lines, it looks better to hide
+ % some of the top and bottom edges
+ %
+ \ifGridNoSurround
+ \draw [
+ color=white,
+ line width=6pt,
+ xshift=-0.5\@t@calendar@dayXshift,
+ yshift={0.5\@t@calendar@dayYshift -1pt},
+ ] (0,0) -- (7\@t@calendar@dayXshift,0);
+ \draw [
+ color=white,
+ line width=6pt,
+ xshift=-0.5\@t@calendar@dayXshift,
+ yshift={0.5\@t@calendar@dayYshift +1pt},
+ ] (0,-\gridRows\@t@calendar@dayYshift) -- (7\@t@calendar@dayXshift,-\gridRows\@t@calendar@dayYshift);
+ \fi
+ }{}%
+ }
+]
+\end{verbatim}
+
+\subsection{headings background rule}
+\label{sec:org4ba160c}
+
+\begin{verbatim}
+\tikzstyle{headings background rule}=[
+ background rule/.style={black!90, line width=0.3pt, yshift={0.3\@t@calendar@dayYshift -3pt}},
+ execute before day scope={%
+ \ifdate{day of month=1}{%
+ \draw [
+ xshift=-0.5\@t@calendar@dayXshift,
+ yshift=0.5\@t@calendar@dayYshift,
+ background rule,
+ ] (0,0) -- (7\@t@calendar@dayXshift,0);
+ }{}%
+ }
+]
+\end{verbatim}
+
+\subsection{headings background bar}
+\label{sec:org20ae9c5}
+
+\begin{verbatim}
+\tikzstyle{headings background bar}=[
+ headings background rule,
+ background rule/.style={black!20, line width=10pt, yshift={0.3\@t@calendar@dayYshift +3.5pt}},
+]
+\end{verbatim}
+
+\section{Tikz calendar styles}
+\label{sec:org9d1f8e2}
+\subsection{Betelgeuse, days in a grid}
+\label{sec:org7b7858d}
+
+(Alpha Orionis)
+
+\begin{verbatim}
+\tikzstyle{betelgeuse}=[
+ no grid surround,
+ days grid,
+ week list,
+ day xshift=\@t@calendar@dayXshift,
+ day yshift=\@t@calendar@dayYshift,
+ headings background bar,
+ day letter headings,
+ day heading/.style={black!90, yshift={-0.3\@t@calendar@dayYshift}},
+ every day/.append style={anchor=base, inner xsep=0pt, yshift={-0.25\baselineskip}},
+ day text={\dayTextFmt\%d-},
+]
+\end{verbatim}
+
+\subsection{Alnitak, days in one line}
+\label{sec:org3b7f33a}
+
+(Zeta Orionis)
+
+\begin{verbatim}
+\tikzstyle{alnitak}=[
+ day list right,
+ day xshift={0pt},
+ every month/.append style={anchor=base, inner xsep=0pt, yshift=4mm, xshift=-\widthof{\space}},
+ day text={\dayTextFmt\%d-},
+ every day/.append style={anchor=base, inner xsep=0pt},
+ execute before day scope={
+ %
+ % === Moving the day number ===
+ %
+ % A small offset seems to improve the result, the last day gets closer to the end of the linewidth
+ \pgftransformxshift{0.01em}
+ \pgfcalendarjuliantodate{\pgfcalendarendjulian}{\currentyear}{\currentmonth}{\lastday}
+ % Width of month day digits from 1 - 28
+ \setlength{\@tmp@a}{\widthof{12345678910111213141516171819202122232425262728}}
+ \setlength{\@tmp@b}{\widthof{30}}
+ \pgfmathparse{(\linewidth - \@tmp@a - \@tmp@b * (\lastday-28)) / \lastday}
+ \pgftransformxshift{\pgfmathresult}
+ \let\%=\pgfcalendarshorthand
+ \setlength{\@tmp@a}{\widthof{\%d-}}
+ \pgftransformxshift{\@tmp@a}
+ %
+ % === Weekday letter above the day ===
+ %
+ \ifdate{weekend}{\def\dayLetterColor{\color{weekend}}}{\def\dayLetterColor{\color{weekday}}}%
+ \node[anchor=south,yshift=5mm,inner sep=0pt]{%
+ \dayLetterColor\dayLetterFmt\@tr@dayLetter{\pgfcalendarcurrentweekday}%
+ };%
+ },
+]
+\end{verbatim}
+
+\chapter{Year Planner}
+\label{sec:orgf40f335}
+\section{Tikz calendar styles}
+\label{sec:orge85789c}
+\subsection{Year Planner Portrait}
+\label{sec:orga6a744a}
+
+\begin{verbatim}
+\newcommand\plannerPortraitMonthFmt{\fontsize{11}{11}\selectfont\color{darkgold}}
+\newcommand\plannerPortraitDayFmt{\fontsize{8}{8}\selectfont\color{plannerdatenum}}
+
+\tikzstyle{year planner portrait}=[
+ week list,
+ month text={\plannerPortraitMonthFmt\@tr@monthNumName{\pgfcalendarcurrentmonth}},
+ day text={\plannerPortraitDayFmt\%d-},
+ every month/.append style={%
+ anchor=south,
+ inner xsep=0pt,
+ yshift=5mm,
+ xshift=2.5mm,
+ },
+ day letter headings,
+ day heading/.style={gray, xshift=0pt, scale=0.85},
+ month label above centered,
+ every day/.style={anchor=mid},
+]
+\end{verbatim}
+
+\subsection{Year Planner Landscape}
+\label{sec:orgdf6c24d}
+
+\begin{verbatim}
+\newcommand\plannerLandscapeDateDayFont{}
+\newcommand\plannerLandscapeDayFont{}
+\newcommand\plannerLandscapeMonthFont{}
+
+\newcommand\plannerLandscapeMonthFmt{%
+ \plannerLandscapeMonthFont%
+ \fontsize{15}{18}\selectfont%
+ \color{gold}\bfseries%
+}
+
+\newcommand\plannerLandscapeDayFmt{%
+ \plannerLandscapeDayFont%
+ \fontsize{10}{12}\selectfont%
+}
+
+\newcommand*\plannerLandscapeDateDayFormat[1]{%
+ \plannerLandscapeDateDayFont%
+ \fontsize{8}{11}\selectfont%
+ #1%
+}
+
+\newcommand\plannerLandscapeBeginDayScopeHook{%
+ \ifdate{weekend}{\color{black!60}}{}
+}
+
+\newlength\plannerLandscapeDayXShift
+\newlength\plannerLandscapeMonthYShift
+
+% Assuming 25mm to fit 'September'
+\setlength{\@tmp@a}{\calPaperWidth - \@wall@leftMargin - \@wall@rightMargin - 25mm}
+% Max week shift is 6 = Sunday. 31 days + 6 = 37. 1/37 = 0.027
+\setlength{\plannerLandscapeDayXShift}{0.027\@tmp@a}
+
+% Assuming 10mm for day headings (M T W...) and some padding
+\setlength{\@tmp@a}{\calPaperHeight - \@wall@topMargin - \@wall@bottomMargin - 10mm}
+% 1/12 = 0.0833
+\setlength{\plannerLandscapeMonthYShift}{0.0833\@tmp@a}
+
+\tikzstyle{year planner landscape}=[
+ month list,
+ day xshift=\plannerLandscapeDayXShift,
+ month yshift=\plannerLandscapeMonthYShift,
+ every month/.append style={anchor=base, inner xsep=0pt},
+ month text={\plannerLandscapeMonthFmt \%mt},
+ day text={\plannerLandscapeDayFmt \%d-},
+ every day/.append style={anchor=base, inner xsep=0pt},
+ month label left,
+ execute at begin day scope={
+ \plannerLandscapeBeginDayScopeHook
+ % Weekday headers in January
+ \ifdate{between=01-01 and 01-31}{
+ \def\l{\ifcase\pgfcalendarcurrentweekday M\or T\or W\or T\or F\or S\or S\fi}%
+ \ifdate{weekend}{\def\daylabelcolor{gold}}{\def\daylabelcolor{black}}%
+ \node[anchor=south,yshift=5mm,inner sep=0pt]{\color{\daylabelcolor}\plannerLandscapeDateDayFormat{\l}};%
+ }{}
+ % Weekday headers in December
+ \ifdate{between=12-01 and 12-31}{
+ \pgftransformyshift{-3mm}%
+ \def\l{\ifcase\pgfcalendarcurrentweekday M\or T\or W\or T\or F\or S\or S\fi}%
+ \ifdate{weekend}{\def\daylabelcolor{gold}}{\def\daylabelcolor{black}}%
+ \node[anchor=south,yshift=5mm,inner sep=0pt]{\color{\daylabelcolor}\plannerLandscapeDateDayFormat{\l}};%
+ }{}
+ }
+]
+\end{verbatim}
+
+\subsection{Year Planner Landscape Grid}
+\label{sec:org69cdabb}
+
+\begin{verbatim}
+\newcommand\plannerGridMonthFont{}
+\newcommand\plannerGridDateDayFont{}
+\newcommand\plannerGridNotesFont{}
+\newcommand\plannerGridDayFont{}
+\newcommand\plannerGridYearNumberFont{}
+
+\newcommand\plannerGridYearNumberFmt{%
+ \plannerGridYearNumberFont%
+ \fontsize{11}{11}\selectfont%
+ \color{white}%
+}
+
+\newcommand\plannerGridMonthFmt{%
+ \plannerGridMonthFont%
+ \fontsize{13}{13}\selectfont%
+ \color{white}%
+}
+
+\newcommand\plannerGridDayFmt{%
+ \plannerGridDayFont%
+ \fontsize{11}{11}\selectfont%
+}
+
+\newcommand\plannerGridDateDayFmt{%
+ \plannerGridDateDayFont%
+ \fontsize{9}{9}\selectfont%
+ \color{black!80}%
+}
+
+\newcommand{\plannerGridNotesFmt}{%
+ \plannerGridNotesFont%
+ \fontsize{11}{11}\selectfont%
+}
+
+\newcommand\plannerGridBeginDayScopeHook{%
+ \ifdate{weekend}{\color{black!60}}{}
+}
+
+\newlength\plannerGridColXShift
+\newlength\plannerGridRowYShift
+
+\newlength\plannerGridCalendarWidth
+\newlength\plannerGridCalendarHeight
+
+\newlength\plannerGridDayHeadingsHeight
+\newlength\plannerGridMonthNamesWidth
+
+\newlength\plannerGridNotesHeight
+\setlength{\plannerGridNotesHeight}{10mm}
+
+\setlength{\plannerGridCalendarWidth}{\calPaperWidth - \@wall@leftMargin - \@wall@rightMargin}
+\setlength{\plannerGridCalendarHeight}{\calPaperHeight - \@wall@topMargin - \@wall@bottomMargin - \plannerGridNotesHeight}
+
+\setlength{\plannerGridDayHeadingsHeight}{10mm}
+\setlength{\plannerGridMonthNamesWidth}{10mm}
+
+\setlength{\@tmp@a}{\plannerGridCalendarWidth - \plannerGridMonthNamesWidth}
+% 37 columns. 1/37 = 0.027. Max week shift is 6 = Sunday. 31 days + 6 = 37.
+\setlength{\plannerGridColXShift}{0.027\@tmp@a}
+
+\setlength{\@tmp@a}{\plannerGridCalendarHeight - 2\plannerGridDayHeadingsHeight}
+% 12 rows. 1/12 = 0.0833
+\setlength{\plannerGridRowYShift}{0.0833\@tmp@a}
+
+\newcounter{verticalCount}
+
+\tikzstyle{year planner landscape grid days}=[
+ month list,
+ day xshift=\plannerGridColXShift,
+ month yshift=\plannerGridRowYShift,
+ day text={\plannerGridDayFmt \%d-},
+ every day/.append style={anchor=base, yshift=-12pt, inner xsep=0pt},
+ execute at begin day scope={%
+ % White fill to cover the page background color
+ \node (cell) [
+ rectangle,
+ fill = white,
+ minimum height = \plannerGridRowYShift - 1pt,
+ minimum width = \plannerGridColXShift - 1pt,
+ xshift = -0.5\plannerGridColXShift,
+ yshift = 4.5pt,
+ ] {};%
+ %
+ \ifdate{Monday}{%
+ \node (a) [above left = 15pt and -3.5pt of cell.west] {};
+ \node (b) [below left = 15pt and -3.5pt of cell.west] {};
+ \node (c) [right = 10pt of cell.west] {};
+ \path [on layer = one, fill = pagebgcolor] (a.south) -- (b.north) -- (c.west) -- (a.south);%
+ }{}%
+ %
+ \ifdate{Sunday}{%
+ \node (a) [above left = 15pt and {-3.5pt + 1pt} of cell.east] {};
+ \node (b) [below left = 15pt and {-3.5pt + 1pt} of cell.east] {};
+ \node (c) [right = {10pt - 1pt} of cell.east] {};
+ \path [on layer = two, fill = white] (a.south) -- (b.north) -- (c.west) -- (a.south);%
+ }{}%
+ %
+ \plannerGridBeginDayScopeHook%
+ },
+]
+\end{verbatim}
+\section{Helpers}
+\label{sec:orgdfb1023}
+
+\begin{verbatim}
+\newcommand\plannerMarksDayTextCSV{\@wall@eventsCsv}
+\newcommand\plannerMarksNoteCSV{\@wall@eventsCsv}
+\newcommand\plannerMarkDefaultsCsv{}
+
+\newcommand\@wall@plm[1]{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksDayText(\luastring{#1}, nil, \luastring{\plannerMarksDayTextCSV})
+tex.sprint(';')
+}}
+
+\newcommand\@wall@plmYear{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+yearMarksDayText(tonumber(\CalendarYear), nil, \luastring{\plannerMarksDayTextCSV})
+tex.sprint(';')
+}}
+
+\newcommand\@wall@plNotes{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+yearMarksNote(tonumber(\CalendarYear), nil, \luastring{\plannerMarksNoteCSV}, \luastring{\plannerMarkDefaultsCsv}, false)
+}}
+
+\newcommand\@wall@plNotesOneCalendar{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+yearMarksNote(tonumber(\CalendarYear), nil, \luastring{\plannerMarksNoteCSV}, \luastring{\plannerMarkDefaultsCsv}, true)
+}}
+
+\newcommand\plannerEvents{%
+\parseYearEvents[filter pred = hasNote]%
+}
+
+\end{verbatim}
+
+\section{\textbackslash YearPlannerPortrait}
+\label{sec:org64a6ea5}
+
+\begin{verbatim}
+\newcommand\YearPlannerPortrait{%
+\@wall@useDefaultMoons%
+\begin{tikzpicture}[every calendar/.style={year planner portrait}]%
+ \matrix[column sep=1.5em, row sep=5mm] {
+ \calendar(cal01)[dates=\CalendarYear-01-01 to \CalendarYear-01-last] \@wall@plm{January}; \pgfmatrixnextcell
+ \calendar(cal02)[dates=\CalendarYear-02-01 to \CalendarYear-02-last] \@wall@plm{February}; \pgfmatrixnextcell
+ \calendar(cal03)[dates=\CalendarYear-03-01 to \CalendarYear-03-last] \@wall@plm{March}; \\
+ \calendar(cal04)[dates=\CalendarYear-04-01 to \CalendarYear-04-last] \@wall@plm{April}; \pgfmatrixnextcell
+ \calendar(cal05)[dates=\CalendarYear-05-01 to \CalendarYear-05-last] \@wall@plm{May}; \pgfmatrixnextcell
+ \calendar(cal06)[dates=\CalendarYear-06-01 to \CalendarYear-06-last] \@wall@plm{June}; \\
+ \calendar(cal07)[dates=\CalendarYear-07-01 to \CalendarYear-07-last] \@wall@plm{July}; \pgfmatrixnextcell
+ \calendar(cal08)[dates=\CalendarYear-08-01 to \CalendarYear-08-last] \@wall@plm{August}; \pgfmatrixnextcell
+ \calendar(cal09)[dates=\CalendarYear-09-01 to \CalendarYear-09-last] \@wall@plm{September}; \\
+ \calendar(cal10)[dates=\CalendarYear-10-01 to \CalendarYear-10-last] \@wall@plm{October}; \pgfmatrixnextcell
+ \calendar(cal11)[dates=\CalendarYear-11-01 to \CalendarYear-11-last] \@wall@plm{November}; \pgfmatrixnextcell
+ \calendar(cal12)[dates=\CalendarYear-12-01 to \CalendarYear-12-last] \@wall@plm{December}; \\
+ };
+ \@wall@plNotes
+\end{tikzpicture}%
+}
+\end{verbatim}
+
+\section{\textbackslash YearPlannerLandscape}
+\label{sec:orgf7b001f}
+
+\begin{verbatim}
+\newcommand\YearPlannerLandscape{%
+\@wall@usePlannerMoons%
+\begin{tikzpicture}%
+ \calendar (cal) [
+ year planner landscape,
+ dates=\CalendarYear-01-01 to \CalendarYear-12-31,
+ ] \@wall@plmYear;
+ \@wall@plNotesOneCalendar
+\end{tikzpicture}%
+}
+\end{verbatim}
+
+\section{\textbackslash YearPlannerLandscapeGrid}
+\label{sec:orgce2473c}
+
+\begin{verbatim}
+\newcommand\YearPlannerLandscapeGrid{%
+\@wall@usePlannerMoons%
+\begin{tikzpicture}
+
+ % Background frame
+
+ \node (bg) [
+ rectangle,
+ inner sep = 0pt,
+ minimum width = \plannerGridCalendarWidth,
+ minimum height = \plannerGridCalendarHeight,
+ ] {};
+
+ \foreach \x/\m in {1/\xJanShort, 2/\xFebShort, 3/\xMarShort, 4/\xAprShort,
+ 5/\xMayShort, 6/\xJunShort, 7/\xJulShort, 8/\xAugShort, 9/\xSepShort,
+ 10/\xOctShort, 11/\xNovShort, 12/\xDecShort}
+ {
+ \setlength{\@tmp@a}{\x\plannerGridRowYShift + \plannerGridDayHeadingsHeight}
+
+ % Month labels
+
+ \node [
+ below = \@tmp@a of bg.north west,
+ yshift = 0.5\plannerGridRowYShift,
+ xshift = 0.5\plannerGridColXShift - 2pt,
+ anchor = base,
+ rotate = 90,
+ ] {\plannerGridMonthFmt\MakeUppercase{\textls*{\m}}};
+
+ % Horizontal lines
+
+ \addtolength{\@tmp@a}{-\plannerGridRowYShift}
+
+ \node (h-a-\x) [below = \@tmp@a of bg.north west] {};
+ \node (h-b-\x) [below = \@tmp@a of bg.north east] {};
+ \draw [gridcolor] (h-a-\x) -- (h-b-\x);
+ }
+
+ % 13th line
+ \setlength{\@tmp@a}{12\plannerGridRowYShift + \plannerGridDayHeadingsHeight}
+ \node (h-a-13) [below = \@tmp@a of bg.north west] {};
+ \node (h-b-13) [below = \@tmp@a of bg.north east] {};
+ \draw [gridcolor] (h-a-13) -- (h-b-13);
+
+ % Year number in the corner
+ \node [
+ right = 0pt of bg.north west,
+ xshift = 0.5\plannerGridMonthNamesWidth,
+ yshift = -0.5\plannerGridDayHeadingsHeight - 5pt,
+ anchor = base,
+ ] {\plannerGridYearNumberFmt\CalendarYear};
+
+ \setcounter{verticalCount}{1}
+
+ \foreach \i in {0,1,2,3,4,5} {
+ \foreach \j/\d in {
+ 0/\xMondayDayLetter,
+ 1/\xTuesdayDayLetter,
+ 2/\xWednesdayDayLetter,
+ 3/\xThursdayDayLetter,
+ 4/\xFridayDayLetter,
+ 5/\xSaturdayDayLetter,
+ 6/\xSundayDayLetter}
+ {
+ \addtocounter{verticalCount}{1}
+ \ifnumgreater{\value{verticalCount}}{38}{\relax}{
+ \setlength{\@tmp@a}{7\plannerGridColXShift}
+ \setlength{\@tmp@a}{\i\@tmp@a + \j\plannerGridColXShift + \plannerGridMonthNamesWidth}
+
+ % Day headings (top and bottom)
+
+ \node [
+ right = \@tmp@a of bg.north west,
+ xshift = 0.5\plannerGridColXShift + 4pt,
+ yshift = -0.5\plannerGridDayHeadingsHeight - 5pt,
+ anchor = base,
+ ] {\plannerGridDateDayFmt \d};
+
+ \node [
+ right = \@tmp@a of bg.south west,
+ xshift = 0.5\plannerGridColXShift + 4pt,
+ yshift = 0.5\plannerGridDayHeadingsHeight - 5pt,
+ anchor = base,
+ ] {\plannerGridDateDayFmt \d};
+
+ % % Vertical lines
+
+ % \node (v-a-\i-\j) [right = \@tmp@a of bg.north west] {};
+ % \node (v-b-\i-\j) [right = \@tmp@a of bg.south west] {};
+ % \draw [gridcolor] (v-a-\i-\j) -- (v-b-\i-\j);
+ }
+ }
+ }
+
+ \calendar (cal) [
+ year planner landscape grid days,
+ dates=\CalendarYear-01-01 to \CalendarYear-12-31,
+ below right = 0pt and 0pt of bg.north west,
+ anchor = north west,
+ yshift = -\plannerGridDayHeadingsHeight - 3mm,
+ xshift = \plannerGridMonthNamesWidth + 0.5\plannerGridColXShift + 4pt,
+ ] \@wall@plmYear;
+
+ \@wall@plNotesOneCalendar
+
+\end{tikzpicture}%
+}
+\end{verbatim}
+
+\section{\textbackslash YearPlannerLandscapeGridPage}
+\label{sec:org772519b}
+
+\begin{verbatim}
+\newcommand{\YearPlannerLandscapeGridPage}{%
+\pagecolor{pagebgcolor}%
+\AddToShipoutPictureFG*{\put(\LenToUnit{\@wall@leftMargin},\LenToUnit{\@wall@bottomMargin})%
+{\begin{minipage}[b]{\plannerGridCalendarWidth}%
+\YearPlannerLandscapeGrid
+
+\begin{minipage}[b][10mm][c]{\plannerGridCalendarWidth}%
+\plannerGridNotesFmt
+\hspace*{2mm}%
+\parseYearEvents[%
+ filter pred = hasNote,
+ format cmd = {\textsuperscript{\eIdx}~\eMonthShort~\eDay:~\textit{\eNote}\ifnumless{\eIdx}{\eMaxIdx}{,\space}{.}},
+]%
+\end{minipage}%
+\end{minipage}%
+}}}
+\end{verbatim}
+
+\chapter{Translation keys}
+\label{sec:org9ce89e8}
+
+\begin{verbatim}
+% Load internal translations
+\InputIfFileExists{i18n/wallcalendar-\@wall@calendarLanguage.tex}{}%
+{\ClassError{wallcalendar}{File Not Found: i18n/wallcalendar-\@wall@calendarLanguage.tex}{}}
+
+% Load user translations if the option was set and translationsAutoload is true
+
+\newcommand\LoadTranslations{%
+\InputIfFileExists{\@wall@translationsInputFile}{}%
+{\ClassWarning{wallcalendar}{File Not Found: \@wall@translationsInputFile}{}}}
+
+\notblank{\@wall@translationsInputFile}{%
+\iftranslationsAutoload \LoadTranslations \fi}
+\end{verbatim}
+
+Use \texttt{\textbackslash{}ifcase} instead of a \texttt{\textbackslash{}luadirect} array lookup, otherwise Portuguese day
+headings such as \texttt{\textbackslash{}def\textbackslash{}xMondayDayLetter\{\{2\textbackslash{}textsuperscript\{a\}\}\}} cause an error.
+
+\begin{verbatim}
+#1 : month number, returns the translation
+\end{verbatim}
+
+\begin{verbatim}
+\newcommand*\@tr@monthNumName[1]{%
+\ifcase#1 \relax\or \xJanuary\or \xFebruary\or \xMarch\or \xApril\or \xMay\or \xJune\or
+\xJuly\or \xAugust\or \xSeptember\or \xOctober\or \xNovember\or \xDecember\fi}
+\end{verbatim}
+
+\begin{verbatim}
+#1 : weekday number, returns the one letter translation
+\end{verbatim}
+
+\begin{verbatim}
+\newcommand*\@tr@dayLetter[1]{%
+\ifcase#1 \xMondayDayLetter\or \xTuesdayDayLetter\or \xWednesdayDayLetter\or
+\xThursdayDayLetter\or \xFridayDayLetter\or \xSaturdayDayLetter\or \xSundayDayLetter\fi}
+\end{verbatim}
+
+\chapter{Helper macros}
+\label{sec:org3563e80}
+
+Doing this in Lua to make blasted sure the result is just a string
+
+\begin{verbatim}
+#1 : month name in English, returns zero padded number
+\end{verbatim}
+
+\begin{verbatim}
+\newcommand*{\monthToNum}[1]{%
+\luadirect{
+ local monthToNum = {
+ january = '01',
+ february = '02',
+ march = '03',
+ april = '04',
+ may = '05',
+ june = '06',
+ july = '07',
+ august = '08',
+ september = '09',
+ october = '10',
+ november = '11',
+ december = '12',
+ }
+ local key = string.lower('#1')
+ tex.sprint(monthToNum[key])
+}}
+\end{verbatim}
+
+\begin{verbatim}
+#1 : month number, returns the name in English
+\end{verbatim}
+
+\begin{verbatim}
+\newcommand*\monthName[1]{%
+% \ifcase might be just fine here
+\luadirect{
+ local monthName = {
+ 'January', 'February', 'March', 'April', 'May', 'June', 'July',
+ 'August', 'September', 'October', 'November', 'December',
+ }
+ local key = tonumber('#1')
+ tex.sprint(monthName[key])
+}}
+\end{verbatim}
+
+\chapter{Epilogue}
+\label{sec:org8f36044}
+
+\begin{verbatim}
+% End of wallcalendar.cls
+\end{verbatim}
+\end{document}
diff --git a/macros/luatex/latex/wallcalendar/doc/wallcalendar.org b/macros/luatex/latex/wallcalendar/doc/wallcalendar.org
new file mode 100644
index 0000000000..5c8496bbc8
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/wallcalendar.org
@@ -0,0 +1,1125 @@
+#+TITLE: Wallcalendar User Manual
+#+SETUPFILE: doc-setup.org
+
+#+latex: \input{frontpage.tex}
+
+* Tasks :noexport:
+** TODO basic things should work without any class options
+** setup A5 desk page layout
+*** new example on the front page
+** describe \fullPageFmt and \smallLandscapeFmt
+** can use env variables for class options with Lua? language, resolution, etc.
+* Tutorial: Forest Calendar
+
+In this tutorial we will produce the three example pages seen in the summary.
+
+Set the parameters of the month pages in advance, either in the preamble or in
+the document body, but before calling =\MonthPage{ month }= to typeset it.
+
+A month page can have four areas:
+
+- Photo
+- Quote
+- Calendar
+- Events
+
+Their parameters are set separately for each month:
+
+: \SetPhoto[ options ]{ month }
+: \SetQuote[ options ]{ month }{ quote text }
+: \SetCalendar[ options ]{ month }
+: \SetEvents[ options ]{ month }{ calendar tikz marks }{ events text }
+
+The month page will be typeset with:
+
+: \MonthPage[ options ]{ month }
+
+** Documentclass
+
+To start, load the documentclass and set =year=, =language= and the =imageFolder=:
+
+#+begin_src tex
+\documentclass[
+ year=2018,
+ language=english,
+ imageFolder=./photos/,
+]{wallcalendar}
+#+end_src
+
+Let's start the preamble with =\makeatletter= to be safe.
+
+#+begin_src tex :tangle ./examples/forest.tex
+\makeatletter
+#+end_src
+
+** Font settings
+
+For this example we'll use TeX Gyre Pagella as the main typeface. We also load
+DejaVu Sans to use a particular glyph as a mark in the calendar (=U+263C= white
+sun with rays).
+
+#+begin_src tex :tangle ./examples/forest.tex
+\usepackage{fontspec}
+\defaultfontfeatures{Ligatures={TeX}}
+\setmainfont{TeX Gyre Pagella}
+\newfontfamily\dejaVuSans{DejaVu Sans}
+#+end_src
+
+#+latex: \clearpage
+
+** June
+
+#+begin_latex
+\twocol{%
+ \frame{\includegraphics[width=5cm]{cal-plain-01}}%
+}{%
+ \includegraphics[width=6.12cm]{cal-showframe-01}%
+}
+
+\twocolcaption{\mbox{}}{%
+ \raggedright
+ \texttt{showtrims} and \texttt{showframe} class options show the page structure.
+}
+
+\bigskip
+#+end_latex
+
+It will be a full page photo, with 3mm bleed on all four sides. You can see the
+bleed if you enable the =showtrims= class option. We also specify the file name
+of the photo (no extension), this will be the argument of =\includegraphics=.
+
+#+begin_src tex :tangle ./examples/forest.tex
+\SetPhoto[bleed=3mm, file={obscure-crop}]{June}
+#+end_src
+
+A quote will be positioned over the photo. The quote is in a =\linewidth= wide
+minipage, attached to the top left corner of the page. Use =\raggedleft=,
+=\raggedright=, or =\centering= for alignment, and the =xOffset= and =yOffset=
+options to move the quote's minipage to the exact position.
+
+#+begin_src tex :tangle ./examples/forest.tex
+\SetQuote[xOffset=-5mm, yOffset=-20mm]{June}{%
+\raggedright
+\setlength{\parskip}{10pt}%
+\Large
+\color{white}
+
+I shall set forth for somewhere,\\
+I shall make the reckless choice\\
+Some day when they are in voice\\
+And tossing so as to scare\\
+The white clouds over them on.\\
+I shall have less to say,\\
+But I shall be gone.
+
+\textit{The Sound of the Trees} by Robert Frost
+}
+#+end_src
+
+The layout macro will place the calendar at the bottom, dates in a single line.
+
+Here we use a conditional to use a different calendar style when =showframe= is
+turned on, this helps with debugging or tuning the position.
+
+#+begin_src tex :tangle ./examples/forest.tex
+\ifshowframe
+ \SetCalendar[bg/.style={opacity=0.5, fill=white}]{June}
+\else
+ \SetCalendar[bg/.style={opacity=0.8}]{June}
+\fi
+#+end_src
+
+Events for particular days are printed under the calendar.
+
+#+begin_src tex :tangle ./examples/forest.tex
+\SetEvents{June}{%
+ if (equals=2018-06-21)
+ [day text={\dejaVuSans\char"263C}];% U+263C white sun with rays
+}{%
+\raggedleft
+{\dejaVuSans\char"263C} June 21: Summer Solstice
+}
+#+end_src
+
+** July
+
+#+begin_latex
+\twocol{%
+ \frame{\includegraphics[width=5cm]{cal-plain-02}}%
+}{%
+ \includegraphics[width=6.12cm]{cal-showframe-02}%
+}
+#+end_latex
+
+Same as June, but we will set the image to be placed above the calendar, and we
+add a transparent background for the quote.
+
+This layout is a good option when the top or the bottom of the photo has to be
+cropped, and you can't use the full page aspect ratio for the photo.
+
+#+begin_src tex :tangle ./examples/forest.tex
+\SetPhoto[bleed=3mm, file={obscure-crop}]{July}
+
+\SetQuote[%
+ xOffset=0.5\linewidth - 0.5\paperwidth -3mm,
+ yOffset=-20mm,
+]{July}{%
+\begin{tikzpicture}%
+\node [
+ fill=white, opacity=0.6, minimum width={\paperwidth + 3mm},
+ minimum height=30mm] {};%
+\node [] {%
+\begin{minipage}{\paperwidth + 3mm}%
+\centering
+\Large
+\color{white}
+
+I shall have less to say,\\
+But I shall be gone.
+
+\textit{The Sound of the Trees} by Robert Frost
+\end{minipage}%
+};
+\end{tikzpicture}%
+}
+
+\ifshowframe
+ \SetCalendar[bg/.style={opacity=0.5}]{July}
+\else
+ \SetCalendar[bg/.style={opacity=1}]{July}
+\fi
+
+\SetEvents{July}{
+ if (equals=2018-07-27) [day text={\dejaVuSans\char"263C}];
+}{%
+\raggedleft
+{\dejaVuSans\char"263C} July 27: Mars at Opposition
+}
+#+end_src
+
+** August
+
+#+begin_latex
+\twocol{%
+ \frame{\includegraphics[width=5cm]{cal-plain-03}}%
+}{%
+ \includegraphics[width=6.12cm]{cal-showframe-03}%
+}
+#+end_latex
+
+This layout works for photos that are horizontal (landscape orientation), scaled
+into the bleed margin on three sides.
+
+#+begin_src tex :tangle ./examples/forest.tex
+\SetPhoto[bleed=3mm, file={obscure-crop}, yOffset=-150mm]{August}
+
+\SetQuote[yOffset=-3mm]{August}{%
+\centering
+\setlength{\parskip}{10pt}%
+\Large
+\color{black!80}
+
+I shall have less to say,\\
+But I shall be gone.
+
+\textit{The Sound of the Trees} by Robert Frost
+}
+
+\ifshowframe
+ \SetCalendar[bg/.style={opacity=0.5}]{August}
+\else
+ \SetCalendar[bg/.style={opacity=1}]{August}
+\fi
+
+\SetEvents{August}{
+ if (equals=2018-08-12) [day text={\dejaVuSans\char"263C}];
+}{%
+\raggedleft
+{\dejaVuSans\char"263C} August 12, 13: Perseids Meteor Shower
+}
+#+end_src
+
+End of the preamble.
+
+#+begin_src tex :tangle ./examples/forest.tex
+\makeatother
+#+end_src
+
+** The document
+
+Typesetting the month pages in the document is now just this much:
+
+#+begin_src tex :tangle ./examples/forest.tex
+\begin{document}
+
+\MonthPage[layout=full page, put photo=full page]{June}
+
+\MonthPage[layout=full page, put photo=full width above calendar]{July}
+
+\MonthPage[layout=small landscape, put photo=full width]{August}
+
+\end{document}
+#+end_src
+
+#+latex: \clearpage
+
+* Tutorial: Translations
+
+In this tutorial we will produce the same calendar in three languages: Japanese,
+English and Hungarian.
+
+We are going to use =IPAPMincho= font for the Japanese.
+
+#+begin_latex
+\begin{extrafullwidth}
+
+\hfill
+\begin{minipage}{0.31\linewidth}
+\centering
+
+\frame{\includegraphics[width=5cm]{./examples/cal-translations-japanese.pdf}}
+
+\end{minipage}%
+\begin{minipage}{0.31\linewidth}
+\centering
+
+\frame{\includegraphics[width=5cm]{./examples/cal-translations-english.pdf}}
+
+\end{minipage}%
+\begin{minipage}{0.31\linewidth}
+\centering
+
+\frame{\includegraphics[width=5cm]{./examples/cal-translations-hungarian.pdf}}
+
+\end{minipage}
+\hfill\mbox{}
+
+\end{extrafullwidth}
+#+end_latex
+
+** Files
+
+The main document files:
+
+: cal-translations-japanese.tex
+: cal-translations-english.tex
+: cal-translations-hungarian.tex
+
+Fonts, formatting settings, etc.:
+
+: local-japanese.sty
+: local-english.sty
+: local-hungarian.sty
+
+Translation text input:
+
+: frog-japanese.tex
+: frog-english.tex
+: frog-hungarian.tex
+
+Setup month pages (same across translations):
+
+: frog.tex
+
+** Translations setup
+
+Create the =frog-english.tex= file and use the =\SetTxt{ key }{ content }=
+command to set text content for translation keys.
+
+=frog-japanese.tex=
+
+#+begin_src tex :tangle ./examples/frog-japanese.tex
+\SetTxt{September Quote}{%
+{\mincho 新池や蛙とびこむ音もなし}
+
+{\Large\textit{araike ya / kawazu tobikomu / oto mo nashi}}
+
+{\mincho 良寛}%
+}
+
+\newcommand\SeptMarks{%
+ if (equals=2018-09-21)
+ [day text={\dejaVuSans\char"263C}];% U+263C white sun with rays
+}
+
+\SetTxt{Sept Events}{%
+{\dejaVuSans\char"263C} {\mincho 9月 21日: まことに 9月 21日}
+}
+#+end_src
+
+=frog-english.tex=
+
+#+begin_src tex :tangle ./examples/frog-english.tex
+\SetTxt{September Quote}{%
+silent new lake\\
+let the frog jump\\
+not even a sound
+
+\textit{-- Ryokan}%
+}
+
+\newcommand\SeptMarks{%
+ if (equals=2018-09-21)
+ [day text={\dejaVuSans\char"263C}];% U+263C white sun with rays
+}
+
+\SetTxt{Sept Events}{%
+{\dejaVuSans\char"263C} Sept 21: September 21
+}
+#+end_src
+
+=frog-hungarian.tex=
+
+#+begin_src tex :tangle ./examples/frog-hungarian.tex
+\SetTxt{September Quote}{%
+hallgat az új tó\\
+ugorhat béka belé\\
+vize se csobban
+
+\textit{-- Rjókan}%
+}
+
+\newcommand\SeptMarks{%
+ if (equals=2018-09-21)
+ [day text={\dejaVuSans\char"263C}];% U+263C white sun with rays
+}
+
+\SetTxt{Sept Events}{%
+{\dejaVuSans\char"263C} Szept 21: Szeptember 21
+}
+#+end_src
+
+*NOTE:* Using =\SetTxt{}= to store values intended as tikz marks on the calendar
+will not work. The =\txt{}= command will be the value of =\@eventmarks= and tikz
+can't resolve it there.
+
+Put the calendar marks in a command instead, as above with =\SeptMarks=.
+
+#+begin_src tex
+\calendar (cal#1)
+ [alnitak, dates=\CalendarYear-#1-01 to \CalendarYear-#1-last]
+ \@eventmarks;%
+#+end_src
+
+#+begin_src tex
+% NOTE This code below will not work.
+% Put the calendar marks in a command instead.
+
+\SetTxt{Sept Marks}{%
+ if (equals=2018-09-21)
+ [day text={\dejaVuSans\char"263C}];% U+263C white sun with rays
+}
+
+% ...
+
+\SetEvents{September}{%
+\txt{Sept Marks}
+}{%
+\raggedleft
+\txt{Sept Events}
+}
+#+end_src
+
+** Document setup
+
+Load the documentclass. We are setting the =translations= option to define the
+file where translation keys are set. This file is loaded by the documentclass as
+an =\input=.
+
+=cal-translations-japanese.tex=
+
+#+begin_src tex :tangle ./examples/cal-translations-japanese.tex
+\documentclass[
+ year = 2018,
+ language = japanese,
+ translationsInputFile = frog-japanese.tex,
+ imageFolder = ./photos/,
+]{wallcalendar}
+
+\usepackage{local-japanese}
+
+% Content is the same across translations
+\input{./frog.tex}
+
+\begin{document}
+
+% Just one month
+\MonthPage[layout=full page, put photo=full page]{September}
+
+\end{document}
+#+end_src
+
+=local-japanese.sty=
+
+#+begin_src tex :tangle ./examples/local-japanese.sty
+\ProvidesPackage{local-japanese}
+
+\usepackage{fontspec}
+\defaultfontfeatures{Ligatures={TeX}}
+\setmainfont{TeX Gyre Pagella}
+\newfontfamily\dejaVuSans{DejaVu Sans}
+% Japanese font
+\newfontfamily\mincho{IPAPMincho}
+
+% Renew formatting hooks to use the \mincho font
+\renewcommand\fullPageFmt{%
+ \renewcommand*\monthFmt{\LARGE\mincho}%
+ \renewcommand*\yearFmt{\LARGE\mincho}%
+ \renewcommand*\dayLetterColor{}%
+ \renewcommand*\dayLetterFmt{\tiny\mincho}%
+ \renewcommand*\dayTextFmt{\small}%
+ \renewcommand*\quoteFmt{}%
+ \renewcommand*\headingFmt{\centering}%
+ \renewcommand*\calendarFmt{\centering}%
+ \renewcommand*\eventsFmt{%
+ \setlength{\parindent}{0pt}\raggedleft\footnotesize%
+ }%
+}
+#+end_src
+
+=cal-translations-english.tex=
+
+#+begin_src tex :tangle ./examples/cal-translations-english.tex
+\documentclass[
+ year = 2018,
+ language = english,
+ translationsInputFile = frog-english.tex,
+ imageFolder = ./photos/,
+]{wallcalendar}
+
+\usepackage{local-english}
+
+\input{./frog.tex}
+
+\begin{document}
+
+\MonthPage[layout=full page, put photo=full page]{September}
+
+\end{document}
+#+end_src
+
+=local-english.sty=
+
+#+begin_src tex :tangle ./examples/local-english.sty
+\ProvidesPackage{local-english}
+
+\usepackage{fontspec}
+\defaultfontfeatures{Ligatures={TeX}}
+\setmainfont{TeX Gyre Pagella}
+\newfontfamily\dejaVuSans{DejaVu Sans}
+#+end_src
+
+=cal-translations-hungarian.tex=
+
+#+begin_src tex :tangle ./examples/cal-translations-hungarian.tex
+\documentclass[
+ year = 2018,
+ language = hungarian,
+ translationsInputFile = frog-hungarian.tex,
+ imageFolder = ./photos/,
+]{wallcalendar}
+
+\usepackage{local-hungarian}
+
+\input{./frog.tex}
+
+\begin{document}
+
+\MonthPage[layout=full page, put photo=full page]{September}
+
+\end{document}
+#+end_src
+
+=local-hungarian.sty=
+
+#+begin_src tex :tangle ./examples/local-hungarian.sty
+\ProvidesPackage{local-hungarian}
+
+\usepackage{fontspec}
+\defaultfontfeatures{Ligatures={TeX}}
+\setmainfont{TeX Gyre Pagella}
+\newfontfamily\dejaVuSans{DejaVu Sans}
+#+end_src
+
+=frog.tex=
+
+#+begin_src tex :tangle ./examples/frog.tex
+\makeatletter
+
+\SetPhoto[bleed=3mm, file={frog-crop}]{September}
+#+end_src
+
+Use the =\txt{ key }= command to load text from translation keys:
+
+#+begin_src tex :tangle ./examples/frog.tex
+
+\SetQuote[xOffset=0pt, yOffset=-140mm]{September}{%
+\raggedleft\setlength{\parskip}{10pt}\HUGE\color{white}%
+\txt{September Quote}%
+}
+#+end_src
+
+Calendar settings for the month, using =\txt= to access translated parts.
+
+#+begin_src tex :tangle ./examples/frog.tex
+\SetCalendar[bg/.style={opacity=0.4}]{September}
+
+\SetEvents{September}{%
+\SeptMarks%
+}{%
+\raggedleft
+\txt{Sept Events}
+}
+
+\makeatother
+#+end_src
+
+#+latex: \clearpage
+
+* Tutorial: Load Events from CSV
+
+#+begin_latex
+\begin{fullwidth}
+\begin{minipage}{\linewidth}
+\centering
+
+\frame{\includegraphics[width=\linewidth, clip, trim=0pt 0pt 0pt 22cm]{./examples/cal-marks.pdf}}
+
+\end{minipage}%
+\end{fullwidth}
+#+end_latex
+
+** CSV files
+
+Events in the CSV should be already sorted by date.
+
+If you are using more than one CSV, put all events with notes (i.e. indexed
+entries) in the same CSV. The index number of the mark is taken from the row
+number in the CSV, so a second CSV with notes would start the count from 1
+again.
+
+We're going to use the following csv files, see in the =./doc/examples/data/= folder.
+
+=holidays.csv=
+
+=moonphases.csv=
+
+=mark_defaults.csv=
+
+** Event formatting
+
+You can format the event output by setting the =format cmd= key:
+
+#+begin_src tex
+\parseMonthEvents[%
+ format cmd = {%
+ \textsuperscript{\eMark}~\eMonthShort~\eDay:\space%
+ \eNote\ifnumless{\eIdx}{\eMaxIdx}{,\space}{.}%
+ },
+]%
+#+end_src
+
+Or define a Lua formatting function and set it with the =format func= key:
+
+=helpers.lua=
+
+#+begin_src lua
+function eventFmtCustom(idx, max_idx, event, event_date, mark)
+ local d = event_date
+ tex.sprint(string.format(
+ "\\textsuperscript{%s} & %s %s: & %s \\\\",
+ mark.symbol, d:fmt("%b"), d:getday(), event.note
+ ))
+end
+#+end_src
+
+#+begin_src tex
+\parseMonthEvents[format func = eventFmtCustom]%
+#+end_src
+
+** Document setup
+
+=cal-marks.tex=
+
+#+begin_src tex :tangle ./examples/cal-marks.tex
+\documentclass[
+ year = 2018,
+ eventsCsv = ./data/holidays.csv,
+ markDefaultsCsv = ./data/mark_defaults.csv,
+ imageFolder = ./photos/,
+]{wallcalendar}
+
+\makeatletter
+
+\colorlet{mooncolor}{darkgold}
+
+\usepackage{fontspec}
+\defaultfontfeatures{Ligatures={TeX}}
+\setmainfont{TeX Gyre Pagella}
+\newfontfamily\dejaVuSans{DejaVu Sans}
+
+\SetPhoto[bleed=3mm, file={frog-crop}]{September}
+
+\SetQuote[xOffset=0pt, yOffset=-140mm]{September}{%
+\raggedleft\setlength{\parskip}{10pt}\HUGE\color{white}%
+silent new lake\\
+let the frog jump\\
+not even a sound
+
+\textit{-- Ryokan}%
+}
+
+\SetCalendar[bg/.style={opacity=0.4}]{September}
+
+\SetEvents{September}{%
+\parseMonthMarksDayTextUsing{./data/moonphases.csv}%
+\parseMonthMarksDayText%
+\parseMonthMarksNote%
+}{%
+\raggedright
+\parseMonthEvents[%
+ format cmd = {%
+ \textsuperscript{\eMark}~\eMonthShort~\eDay:\space%
+ \eNote\ifnumless{\eIdx}{\eMaxIdx}{,\space}{.}%
+ },
+]%
+}
+
+\makeatother
+
+\begin{document}
+
+\MonthPage[layout=full page, put photo=full page]{September}
+
+\end{document}
+#+end_src
+
+#+latex: \clearpage
+
+* Example: Year Planner Page
+
+#+begin_latex
+\begin{fullwidth}
+\begin{minipage}{0.31\linewidth}
+\centering
+
+\frame{\includegraphics[width=5cm]{./examples/cal-year-planner.pdf}}
+
+\end{minipage}%
+\end{fullwidth}
+#+end_latex
+
+** Document setup
+
+=cal-year-planner.tex=
+
+#+begin_src tex :tangle ./examples/cal-year-planner.tex
+\documentclass[
+ year = 2018,
+ eventsCsv = ./data/holidays.csv,
+ markDefaultsCsv = ./data/mark_defaults.csv,
+ imageFolder = ./photos/,
+]{wallcalendar}
+
+\makeatletter
+
+\usepackage{fontspec}
+\defaultfontfeatures{Ligatures={TeX}}
+\setmainfont{TeX Gyre Pagella}
+\newfontfamily\dejaVuSans{DejaVu Sans}
+
+% Use two CSV files for day text input to include the moon phases
+\renewcommand\@wall@plm[1]{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksDayText(\luastring{#1}, nil, \luastring{\plannerMarksDayTextCSV})
+monthMarksDayText(\luastring{#1}, nil, \luastring{./data/moonphases.csv})
+tex.sprint(';')
+}}
+#+end_src
+
+** \textbackslash YearPlannerPage
+
+#+begin_src tex :tangle ./examples/cal-year-planner.tex
+\newcommand\plannerYearFmt{\fontsize{26}{26}\selectfont\color{orangegold}}
+
+\newlength\plannerNotesSep
+\setlength{\plannerNotesSep}{3mm}
+
+\newcommand\preYearPlannerPageHook{%
+ \setlength{\markNumberAbove}{-9pt}%
+ \setlength{\markNumberRight}{-6pt}%
+ \setlength{\markDayTextAbove}{-11pt}%
+ \setlength{\markDayTextRight}{-6pt}%
+}
+
+\newcommand\postYearPlannerPageHook{%
+ \setlength{\markNumberAbove}{-10pt}%
+ \setlength{\markNumberRight}{-3pt}%
+ \setlength{\markDayTextAbove}{-10pt}%
+ \setlength{\markDayTextRight}{-3pt}%
+}
+
+\newcommand\printPlannerTitle{\plannerYearFmt \CalendarYear}
+
+\newcommand\YearPlannerPage{%
+\newpage
+\ifvarnishmask
+\mbox{}
+\else
+\preYearPlannerPageHook
+{\centering
+
+{\printPlannerTitle}
+
+\vspace*{7mm}
+
+\YearPlannerPortrait
+
+\vspace*{\plannerNotesSep}
+
+\plannerEvents
+
+}
+\postYearPlannerPageHook
+
+\fi
+}
+
+\makeatother
+#+end_src
+
+** Use it
+
+#+begin_src tex :tangle ./examples/cal-year-planner.tex
+\begin{document}
+
+\YearPlannerPage
+
+\end{document}
+#+end_src
+
+#+latex: \clearpage
+
+* Example: Photo Thumbnails Page
+
+#+begin_latex
+\begin{fullwidth}
+\begin{minipage}{0.31\linewidth}
+\centering
+
+\frame{\includegraphics[width=5cm]{./examples/cal-thumbnails.pdf}}
+
+\end{minipage}%
+\end{fullwidth}
+#+end_latex
+
+** Document setup
+
+=cal-thumbnails.tex=
+
+#+begin_src tex :tangle ./examples/cal-thumbnails.tex
+\documentclass[
+ year = 2018,
+ imageFolder = ./photos/,
+]{wallcalendar}
+
+\makeatletter
+
+\usepackage{fontspec}
+\defaultfontfeatures{Ligatures={TeX}}
+\setmainfont{TeX Gyre Pagella}
+\newfontfamily\dejaVuSans{DejaVu Sans}
+
+\newlength\@wall@tmp@a
+\newlength\@wall@tmp@b
+#+end_src
+
+** \textbackslash ThumbWithCaptionLeftSide
+
+Typesets the photo thumb image with its caption text on the left side.
+
+: \ThumbWithCaptionLeftSide{January}
+
+#+begin_src tex :tangle ./examples/cal-thumbnails.tex
+\newlength\@wall@thumbWidth
+\newlength\@wall@thumbHeight
+\newlength\@wall@thumbCaptionWidth
+\setlength{\@wall@thumbWidth}{0.1749\calPaperWidth}% 30mm at the 6.75in page width, 0.1749 = 1/5.715
+\setlength{\@wall@thumbHeight}{\@wall@thumbWidth}
+\setlength{\@wall@thumbCaptionWidth}{0.2333\calPaperWidth}% 40mm at 6.75in page width
+
+\newcommand\thumbFmt{}
+\newcommand\thumbMonthFmt{\fontsize{10}{13}\selectfont\bfseries}
+\newcommand\thumbCaptionFmt{\fontsize{10}{13}\selectfont}
+
+\def\@wall@thumbFile{}
+\def\@wall@photoCaption{}
+
+\newcommand\ThumbWithCaptionLeftSide[1]{%
+\pgfkeys{/Photo/#1/thumbFile/.get=\@wall@thumbFile}%
+\ifx\@wall@thumbFile\empty
+ \pgfkeys{/Photo/#1/file/.get=\@wall@thumbFile}%
+\fi
+\pgfkeys{/Photo/#1/caption/.get=\@wall@photoCaption}%
+% Thumbnail caption
+\ifvarnishmask%
+\hspace*{\@wall@thumbWidth}
+\else%
+\begin{minipage}[b][\@wall@thumbHeight][t]{\@wall@thumbCaptionWidth}%
+\raggedleft
+\thumbFmt
+{\thumbMonthFmt \@tr@monthNumName{\monthToNum{#1}}}\par
+{\thumbCaptionFmt \@wall@photoCaption}%
+\end{minipage}%
+\fi%
+\hspace*{3mm}
+% Thumbnail photo
+\begin{minipage}[b][\@wall@thumbHeight]{\@wall@thumbWidth}%
+% FIXME placeholder
+%\placeholder{%
+\includegraphics[ keepaspectratio, height=\@wall@thumbHeight ]{\@wall@thumbFile}%
+%}%
+\end{minipage}%
+}
+#+end_src
+
+** \textbackslash ThumbWithCaptionRightSide
+
+Typesets the photo thumb image with its caption text on the right side.
+
+: \ThumbWithCaptionRightSide{January}
+
+#+begin_src tex :tangle ./examples/cal-thumbnails.tex
+\newcommand\ThumbWithCaptionRightSide[1]{%
+\pgfkeys{/Photo/#1/thumbFile/.get=\@wall@thumbFile}%
+\ifx\@wall@thumbFile\empty
+ \pgfkeys{/Photo/#1/file/.get=\@wall@thumbFile}%
+\fi
+\pgfkeys{/Photo/#1/caption/.get=\@wall@photoCaption}%
+% Thumbnail photo
+\begin{minipage}[b][\@wall@thumbHeight]{\@wall@thumbWidth}%
+% FIXME placeholder
+%\placeholder{%
+\includegraphics[ keepaspectratio, height=\@wall@thumbHeight ]{\@wall@thumbFile}%
+%}%
+\end{minipage}%
+\hspace*{3mm}
+% Thumbnail caption
+\ifvarnishmask%
+\hspace*{\@wall@thumbWidth}
+\else%
+\begin{minipage}[b][\@wall@thumbHeight][t]{\@wall@thumbCaptionWidth}%
+\raggedright
+\thumbFmt
+{\thumbMonthFmt \@tr@monthNumName{\monthToNum{#1}}}\par
+{\thumbCaptionFmt \@wall@photoCaption}%
+\end{minipage}%
+\fi%
+}
+#+end_src
+
+** \textbackslash ThumbsPage
+
+#+begin_src tex :tangle ./examples/cal-thumbnails.tex
+\newlength{\thumbColumnWidth}
+\newlength{\thumbColumnHeight}
+\newlength{\thumbSep}
+\newlength{\@t@a}
+\newlength{\@t@b}
+
+% vertical spacing
+\setlength{\@t@a}{0.2\textheight}
+
+% horizontal spacing
+\setlength{\@t@b}{0.2\@wall@thumbCaptionWidth}% 8mm at 40mm caption width
+
+\ifdimcomp{\@t@a}{<}{\@t@b}{
+ \setlength{\thumbSep}{\@t@a}
+}{
+ \setlength{\thumbSep}{\@t@b}
+}
+
+\setlength{\thumbColumnWidth}{0.5\calPaperWidth - \thumbSep}
+\setlength{\thumbColumnHeight}{\textheight}
+
+\newcommand\ThumbsPage{%
+\clearpage
+
+\hspace*{-\@wall@leftMargin}%
+\hspace*{-1pt}% small correction, space gets in somewhere
+% Wrap
+\begin{minipage}[t][\thumbColumnHeight]{\calPaperWidth}%
+\centering%
+\setlength{\parindent}{0pt}%
+\setlength{\parskip}{0pt}%
+
+% NOTE: multicols will not \vfill
+% Left Column
+\begin{minipage}[t][\thumbColumnHeight]{\thumbColumnWidth}%
+\raggedleft
+
+\ThumbWithCaptionLeftSide{January}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionLeftSide{March}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionLeftSide{May}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionLeftSide{July}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionLeftSide{September}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionLeftSide{November}
+
+% End of left column
+\end{minipage}%
+%
+\hspace*{\thumbSep}%
+%
+% Right column
+\begin{minipage}[t][\thumbColumnHeight]{\thumbColumnWidth}%
+\raggedright
+
+\ThumbWithCaptionRightSide{February}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionRightSide{April}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionRightSide{June}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionRightSide{August}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionRightSide{October}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionRightSide{December}
+
+% End of right column
+\end{minipage}%
+
+% End of wrap
+\end{minipage}%
+}
+#+end_src
+
+** Setup the photo keys
+
+#+begin_src tex :tangle ./examples/cal-thumbnails.tex
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{January}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{February}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{March}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{April}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{May}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{June}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{July}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{August}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{September}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{October}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{November}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{December}
+
+\makeatother
+#+end_src
+
+** Use it
+
+#+begin_src tex :tangle ./examples/cal-thumbnails.tex
+\begin{document}
+
+\ThumbsPage
+
+\end{document}
+#+end_src
+
+* Documentclass Options
+
+: year
+
+: language
+
+: imageFolder
+
+: showframe
+
+: showtrims
+
+: varnishmask
+
+* User Commands
+
+: \SetPhoto[ options ]{ month }
+
+: \SetQuote[ options ]{ month }{ quote text }
+
+: \SetCalendar[ options ]{ month }
+
+: \SetEvents[ options ]{ month }{ calendar tikz marks }{ events text }
+
+: \MonthPage[ options ]{ month }
+
+#+latex: \clearpage
+
+* Page Layout
+
+We will review how the page layout happens when we call =\MonthPage=.
+
+Before calling =\MonthPage= to typeset a particular month, be sure that the
+content for the given month has been already set with =\SetPhoto=, =\SetQuote=,
+=\SetCalendar= and =\SetEvents=.
+
+Then we can typeset that month, for example:
+
+: \MonthPage[layout=full page, put photo=full page]{June}
+
+This will be a full page portrait month with the photo scaled to cover the
+entire page with additional bleed on all four sides.
+
+#+begin_latex
+\twocol{%
+ \frame{\includegraphics[width=5cm]{cal-plain-01}}%
+}{%
+ \includegraphics[width=6.12cm]{cal-showframe-01}%
+}
+#+end_latex
+
+The above =showframe= figure shows the structural elements of the page.
+
+Every layout is implemented by a single handler macro which will deal with all
+the typesetting of the given page. The =full page= key is set to the
+=\@wall@fullPageLayout= macro by default, and so this gets called.
+
+The layout macro is just a free-style placeholder. It can access the photo,
+quote, calendar and events as set earlier, but it is up to the macro to
+implement what to do with them.
+
+This is for the convenience of setting the page elements using the same
+interface, but being able to execute different layouts for different pages.
+
+The class contains two layout examples. The =full page= layout is best for
+portrait photos that can be scaled to cover the entire page. The =small
+landscape= layout is for landscape photos which can be scaled horizontally,
+possibly bleeding into the side margins.
+
+* Contact
+
+Github: <https://github.com/profound-labs/wallcalendar/>
+
+Email: =Gambhīro Bhikkhu <gambhiro.bhikkhu.85@gmail.com>=
diff --git a/macros/luatex/latex/wallcalendar/doc/wallcalendar.tex b/macros/luatex/latex/wallcalendar/doc/wallcalendar.tex
new file mode 100644
index 0000000000..91b5a4ef3f
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/doc/wallcalendar.tex
@@ -0,0 +1,1190 @@
+\documentclass[11pt,oneside]{memoir-article}
+\usepackage{local}
+\renewcommand{\docVersion}{v1.3.1}
+\renewcommand{\docUrl}{\href{https://github.com/profound-labs/wallcalendar/}{link}}
+\hypersetup{ pdfauthor={Gambhīro Bhikkhu}, }
+\author{Gambhīro Bhikkhu}
+\date{\today}
+\title{Wallcalendar User Manual}
+\hypersetup{
+ pdfauthor={Gambhīro Bhikkhu},
+ pdftitle={Wallcalendar User Manual},
+ pdfkeywords={},
+ pdfsubject={},
+ pdfcreator={Emacs 25.1.1 (Org mode 9.0.9)},
+ pdflang={English}}
+\begin{document}
+
+\maketitle
+\input{frontpage.tex}
+
+\chapter{Tutorial: Forest Calendar}
+\label{sec:org9e1c3d1}
+
+In this tutorial we will produce the three example pages seen in the summary.
+
+Set the parameters of the month pages in advance, either in the preamble or in
+the document body, but before calling \texttt{\textbackslash{}MonthPage\{ month \}} to typeset it.
+
+A month page can have four areas:
+
+\begin{itemize}
+\item Photo
+\item Quote
+\item Calendar
+\item Events
+\end{itemize}
+
+Their parameters are set separately for each month:
+
+\begin{verbatim}
+\SetPhoto[ options ]{ month }
+\SetQuote[ options ]{ month }{ quote text }
+\SetCalendar[ options ]{ month }
+\SetEvents[ options ]{ month }{ calendar tikz marks }{ events text }
+\end{verbatim}
+
+The month page will be typeset with:
+
+\begin{verbatim}
+\MonthPage[ options ]{ month }
+\end{verbatim}
+
+\section{Documentclass}
+\label{sec:orgbba6dea}
+
+To start, load the documentclass and set \texttt{year}, \texttt{language} and the \texttt{imageFolder}:
+
+\begin{verbatim}
+\documentclass[
+ year=2018,
+ language=english,
+ imageFolder=./photos/,
+]{wallcalendar}
+\end{verbatim}
+
+Let's start the preamble with \texttt{\textbackslash{}makeatletter} to be safe.
+
+\begin{verbatim}
+\makeatletter
+\end{verbatim}
+
+\section{Font settings}
+\label{sec:org30e28c2}
+
+For this example we'll use \TeX{} Gyre Pagella as the main typeface. We also load
+DejaVu Sans to use a particular glyph as a mark in the calendar (\texttt{U+263C} white
+sun with rays).
+
+\begin{verbatim}
+\usepackage{fontspec}
+\defaultfontfeatures{Ligatures={TeX}}
+\setmainfont{TeX Gyre Pagella}
+\newfontfamily\dejaVuSans{DejaVu Sans}
+\end{verbatim}
+
+\clearpage
+
+\section{June}
+\label{sec:org6815f95}
+
+\twocol{%
+ \frame{\includegraphics[width=5cm]{cal-plain-01}}%
+}{%
+ \includegraphics[width=6.12cm]{cal-showframe-01}%
+}
+
+\twocolcaption{\mbox{}}{%
+ \raggedright
+ \texttt{showtrims} and \texttt{showframe} class options show the page structure.
+}
+
+\bigskip
+
+It will be a full page photo, with 3mm bleed on all four sides. You can see the
+bleed if you enable the \texttt{showtrims} class option. We also specify the file name
+of the photo (no extension), this will be the argument of \texttt{\textbackslash{}includegraphics}.
+
+\begin{verbatim}
+\SetPhoto[bleed=3mm, file={obscure-crop}]{June}
+\end{verbatim}
+
+A quote will be positioned over the photo. The quote is in a \texttt{\textbackslash{}linewidth} wide
+minipage, attached to the top left corner of the page. Use \texttt{\textbackslash{}raggedleft},
+\texttt{\textbackslash{}raggedright}, or \texttt{\textbackslash{}centering} for alignment, and the \texttt{xOffset} and \texttt{yOffset}
+options to move the quote's minipage to the exact position.
+
+\begin{verbatim}
+\SetQuote[xOffset=-5mm, yOffset=-20mm]{June}{%
+\raggedright
+\setlength{\parskip}{10pt}%
+\Large
+\color{white}
+
+I shall set forth for somewhere,\\
+I shall make the reckless choice\\
+Some day when they are in voice\\
+And tossing so as to scare\\
+The white clouds over them on.\\
+I shall have less to say,\\
+But I shall be gone.
+
+\textit{The Sound of the Trees} by Robert Frost
+}
+\end{verbatim}
+
+The layout macro will place the calendar at the bottom, dates in a single line.
+
+Here we use a conditional to use a different calendar style when \texttt{showframe} is
+turned on, this helps with debugging or tuning the position.
+
+\begin{verbatim}
+\ifshowframe
+ \SetCalendar[bg/.style={opacity=0.5, fill=white}]{June}
+\else
+ \SetCalendar[bg/.style={opacity=0.8}]{June}
+\fi
+\end{verbatim}
+
+Events for particular days are printed under the calendar.
+
+\begin{verbatim}
+\SetEvents{June}{%
+ if (equals=2018-06-21)
+ [day text={\dejaVuSans\char"263C}];% U+263C white sun with rays
+}{%
+\raggedleft
+{\dejaVuSans\char"263C} June 21: Summer Solstice
+}
+\end{verbatim}
+
+\section{July}
+\label{sec:orgda955cc}
+
+\twocol{%
+ \frame{\includegraphics[width=5cm]{cal-plain-02}}%
+}{%
+ \includegraphics[width=6.12cm]{cal-showframe-02}%
+}
+
+Same as June, but we will set the image to be placed above the calendar, and we
+add a transparent background for the quote.
+
+This layout is a good option when the top or the bottom of the photo has to be
+cropped, and you can't use the full page aspect ratio for the photo.
+
+\begin{verbatim}
+\SetPhoto[bleed=3mm, file={obscure-crop}]{July}
+
+\SetQuote[%
+ xOffset=0.5\linewidth - 0.5\paperwidth -3mm,
+ yOffset=-20mm,
+]{July}{%
+\begin{tikzpicture}%
+\node [
+ fill=white, opacity=0.6, minimum width={\paperwidth + 3mm},
+ minimum height=30mm] {};%
+\node [] {%
+\begin{minipage}{\paperwidth + 3mm}%
+\centering
+\Large
+\color{white}
+
+I shall have less to say,\\
+But I shall be gone.
+
+\textit{The Sound of the Trees} by Robert Frost
+\end{minipage}%
+};
+\end{tikzpicture}%
+}
+
+\ifshowframe
+ \SetCalendar[bg/.style={opacity=0.5}]{July}
+\else
+ \SetCalendar[bg/.style={opacity=1}]{July}
+\fi
+
+\SetEvents{July}{
+ if (equals=2018-07-27) [day text={\dejaVuSans\char"263C}];
+}{%
+\raggedleft
+{\dejaVuSans\char"263C} July 27: Mars at Opposition
+}
+\end{verbatim}
+
+\section{August}
+\label{sec:org522c828}
+
+\twocol{%
+ \frame{\includegraphics[width=5cm]{cal-plain-03}}%
+}{%
+ \includegraphics[width=6.12cm]{cal-showframe-03}%
+}
+
+This layout works for photos that are horizontal (landscape orientation), scaled
+into the bleed margin on three sides.
+
+\begin{verbatim}
+\SetPhoto[bleed=3mm, file={obscure-crop}, yOffset=-150mm]{August}
+
+\SetQuote[yOffset=-3mm]{August}{%
+\centering
+\setlength{\parskip}{10pt}%
+\Large
+\color{black!80}
+
+I shall have less to say,\\
+But I shall be gone.
+
+\textit{The Sound of the Trees} by Robert Frost
+}
+
+\ifshowframe
+ \SetCalendar[bg/.style={opacity=0.5}]{August}
+\else
+ \SetCalendar[bg/.style={opacity=1}]{August}
+\fi
+
+\SetEvents{August}{
+ if (equals=2018-08-12) [day text={\dejaVuSans\char"263C}];
+}{%
+\raggedleft
+{\dejaVuSans\char"263C} August 12, 13: Perseids Meteor Shower
+}
+\end{verbatim}
+
+End of the preamble.
+
+\begin{verbatim}
+\makeatother
+\end{verbatim}
+
+\section{The document}
+\label{sec:org80f370d}
+
+Typesetting the month pages in the document is now just this much:
+
+\begin{verbatim}
+\begin{document}
+
+\MonthPage[layout=full page, put photo=full page]{June}
+
+\MonthPage[layout=full page, put photo=full width above calendar]{July}
+
+\MonthPage[layout=small landscape, put photo=full width]{August}
+
+\end{document}
+\end{verbatim}
+
+\clearpage
+
+\chapter{Tutorial: Translations}
+\label{sec:org28303a7}
+
+In this tutorial we will produce the same calendar in three languages: Japanese,
+English and Hungarian.
+
+We are going to use \texttt{IPAPMincho} font for the Japanese.
+
+\begin{extrafullwidth}
+
+\hfill
+\begin{minipage}{0.31\linewidth}
+\centering
+
+\frame{\includegraphics[width=5cm]{./examples/cal-translations-japanese.pdf}}
+
+\end{minipage}%
+\begin{minipage}{0.31\linewidth}
+\centering
+
+\frame{\includegraphics[width=5cm]{./examples/cal-translations-english.pdf}}
+
+\end{minipage}%
+\begin{minipage}{0.31\linewidth}
+\centering
+
+\frame{\includegraphics[width=5cm]{./examples/cal-translations-hungarian.pdf}}
+
+\end{minipage}
+\hfill\mbox{}
+
+\end{extrafullwidth}
+
+\section{Files}
+\label{sec:orga8965a9}
+
+The main document files:
+
+\begin{verbatim}
+cal-translations-japanese.tex
+cal-translations-english.tex
+cal-translations-hungarian.tex
+\end{verbatim}
+
+Fonts, formatting settings, etc.:
+
+\begin{verbatim}
+local-japanese.sty
+local-english.sty
+local-hungarian.sty
+\end{verbatim}
+
+Translation text input:
+
+\begin{verbatim}
+frog-japanese.tex
+frog-english.tex
+frog-hungarian.tex
+\end{verbatim}
+
+Setup month pages (same across translations):
+
+\begin{verbatim}
+frog.tex
+\end{verbatim}
+
+\section{Translations setup}
+\label{sec:org2adcd24}
+
+Create the \texttt{frog-english.tex} file and use the \texttt{\textbackslash{}SetTxt\{ key \}\{ content \}}
+command to set text content for translation keys.
+
+\texttt{frog-japanese.tex}
+
+\begin{verbatim}
+\SetTxt{September Quote}{%
+{\mincho 新池や蛙とびこむ音もなし}
+
+{\Large\textit{araike ya / kawazu tobikomu / oto mo nashi}}
+
+{\mincho 良寛}%
+}
+
+\newcommand\SeptMarks{%
+ if (equals=2018-09-21)
+ [day text={\dejaVuSans\char"263C}];% U+263C white sun with rays
+}
+
+\SetTxt{Sept Events}{%
+{\dejaVuSans\char"263C} {\mincho 9月 21日: まことに 9月 21日}
+}
+\end{verbatim}
+
+\texttt{frog-english.tex}
+
+\begin{verbatim}
+\SetTxt{September Quote}{%
+silent new lake\\
+let the frog jump\\
+not even a sound
+
+\textit{-- Ryokan}%
+}
+
+\newcommand\SeptMarks{%
+ if (equals=2018-09-21)
+ [day text={\dejaVuSans\char"263C}];% U+263C white sun with rays
+}
+
+\SetTxt{Sept Events}{%
+{\dejaVuSans\char"263C} Sept 21: September 21
+}
+\end{verbatim}
+
+\texttt{frog-hungarian.tex}
+
+\begin{verbatim}
+\SetTxt{September Quote}{%
+hallgat az új tó\\
+ugorhat béka belé\\
+vize se csobban
+
+\textit{-- Rjókan}%
+}
+
+\newcommand\SeptMarks{%
+ if (equals=2018-09-21)
+ [day text={\dejaVuSans\char"263C}];% U+263C white sun with rays
+}
+
+\SetTxt{Sept Events}{%
+{\dejaVuSans\char"263C} Szept 21: Szeptember 21
+}
+\end{verbatim}
+
+\textbf{NOTE:} Using \texttt{\textbackslash{}SetTxt\{\}} to store values intended as tikz marks on the calendar
+will not work. The \texttt{\textbackslash{}txt\{\}} command will be the value of \texttt{\textbackslash{}@eventmarks} and tikz
+can't resolve it there.
+
+Put the calendar marks in a command instead, as above with \texttt{\textbackslash{}SeptMarks}.
+
+\begin{verbatim}
+\calendar (cal#1)
+ [alnitak, dates=\CalendarYear-#1-01 to \CalendarYear-#1-last]
+ \@eventmarks;%
+\end{verbatim}
+
+\begin{verbatim}
+% NOTE This code below will not work.
+% Put the calendar marks in a command instead.
+
+\SetTxt{Sept Marks}{%
+ if (equals=2018-09-21)
+ [day text={\dejaVuSans\char"263C}];% U+263C white sun with rays
+}
+
+% ...
+
+\SetEvents{September}{%
+\txt{Sept Marks}
+}{%
+\raggedleft
+\txt{Sept Events}
+}
+\end{verbatim}
+
+\section{Document setup}
+\label{sec:org736afc3}
+
+Load the documentclass. We are setting the \texttt{translations} option to define the
+file where translation keys are set. This file is loaded by the documentclass as
+an \texttt{\textbackslash{}input}.
+
+\texttt{cal-translations-japanese.tex}
+
+\begin{verbatim}
+\documentclass[
+ year = 2018,
+ language = japanese,
+ translationsInputFile = frog-japanese.tex,
+ imageFolder = ./photos/,
+]{wallcalendar}
+
+\usepackage{local-japanese}
+
+% Content is the same across translations
+\input{./frog.tex}
+
+\begin{document}
+
+% Just one month
+\MonthPage[layout=full page, put photo=full page]{September}
+
+\end{document}
+\end{verbatim}
+
+\texttt{local-japanese.sty}
+
+\begin{verbatim}
+\ProvidesPackage{local-japanese}
+
+\usepackage{fontspec}
+\defaultfontfeatures{Ligatures={TeX}}
+\setmainfont{TeX Gyre Pagella}
+\newfontfamily\dejaVuSans{DejaVu Sans}
+% Japanese font
+\newfontfamily\mincho{IPAPMincho}
+
+% Renew formatting hooks to use the \mincho font
+\renewcommand\fullPageFmt{%
+ \renewcommand*\monthFmt{\LARGE\mincho}%
+ \renewcommand*\yearFmt{\LARGE\mincho}%
+ \renewcommand*\dayLetterColor{}%
+ \renewcommand*\dayLetterFmt{\tiny\mincho}%
+ \renewcommand*\dayTextFmt{\small}%
+ \renewcommand*\quoteFmt{}%
+ \renewcommand*\headingFmt{\centering}%
+ \renewcommand*\calendarFmt{\centering}%
+ \renewcommand*\eventsFmt{%
+ \setlength{\parindent}{0pt}\raggedleft\footnotesize%
+ }%
+}
+\end{verbatim}
+
+\texttt{cal-translations-english.tex}
+
+\begin{verbatim}
+\documentclass[
+ year = 2018,
+ language = english,
+ translationsInputFile = frog-english.tex,
+ imageFolder = ./photos/,
+]{wallcalendar}
+
+\usepackage{local-english}
+
+\input{./frog.tex}
+
+\begin{document}
+
+\MonthPage[layout=full page, put photo=full page]{September}
+
+\end{document}
+\end{verbatim}
+
+\texttt{local-english.sty}
+
+\begin{verbatim}
+\ProvidesPackage{local-english}
+
+\usepackage{fontspec}
+\defaultfontfeatures{Ligatures={TeX}}
+\setmainfont{TeX Gyre Pagella}
+\newfontfamily\dejaVuSans{DejaVu Sans}
+\end{verbatim}
+
+\texttt{cal-translations-hungarian.tex}
+
+\begin{verbatim}
+\documentclass[
+ year = 2018,
+ language = hungarian,
+ translationsInputFile = frog-hungarian.tex,
+ imageFolder = ./photos/,
+]{wallcalendar}
+
+\usepackage{local-hungarian}
+
+\input{./frog.tex}
+
+\begin{document}
+
+\MonthPage[layout=full page, put photo=full page]{September}
+
+\end{document}
+\end{verbatim}
+
+\texttt{local-hungarian.sty}
+
+\begin{verbatim}
+\ProvidesPackage{local-hungarian}
+
+\usepackage{fontspec}
+\defaultfontfeatures{Ligatures={TeX}}
+\setmainfont{TeX Gyre Pagella}
+\newfontfamily\dejaVuSans{DejaVu Sans}
+\end{verbatim}
+
+\texttt{frog.tex}
+
+\begin{verbatim}
+\makeatletter
+
+\SetPhoto[bleed=3mm, file={frog-crop}]{September}
+\end{verbatim}
+
+Use the \texttt{\textbackslash{}txt\{ key \}} command to load text from translation keys:
+
+\begin{verbatim}
+\SetQuote[xOffset=0pt, yOffset=-140mm]{September}{%
+\raggedleft\setlength{\parskip}{10pt}\HUGE\color{white}%
+\txt{September Quote}%
+}
+\end{verbatim}
+
+Calendar settings for the month, using \texttt{\textbackslash{}txt} to access translated parts.
+
+\begin{verbatim}
+\SetCalendar[bg/.style={opacity=0.4}]{September}
+
+\SetEvents{September}{%
+\SeptMarks%
+}{%
+\raggedleft
+\txt{Sept Events}
+}
+
+\makeatother
+\end{verbatim}
+
+\clearpage
+
+\chapter{Tutorial: Load Events from CSV}
+\label{sec:org12d351e}
+
+\begin{fullwidth}
+\begin{minipage}{\linewidth}
+\centering
+
+\frame{\includegraphics[width=\linewidth, clip, trim=0pt 0pt 0pt 22cm]{./examples/cal-marks.pdf}}
+
+\end{minipage}%
+\end{fullwidth}
+
+\section{CSV files}
+\label{sec:orgba9e3f8}
+
+Events in the CSV should be already sorted by date.
+
+If you are using more than one CSV, put all events with notes (i.e. indexed
+entries) in the same CSV. The index number of the mark is taken from the row
+number in the CSV, so a second CSV with notes would start the count from 1
+again.
+
+We're going to use the following csv files, see in the \texttt{./doc/examples/data/} folder.
+
+\texttt{holidays.csv}
+
+\texttt{moonphases.csv}
+
+\texttt{mark\_defaults.csv}
+
+\section{Event formatting}
+\label{sec:orgbf5aa37}
+
+You can format the event output by setting the \texttt{format cmd} key:
+
+\begin{verbatim}
+\parseMonthEvents[%
+ format cmd = {%
+ \textsuperscript{\eMark}~\eMonthShort~\eDay:\space%
+ \eNote\ifnumless{\eIdx}{\eMaxIdx}{,\space}{.}%
+ },
+]%
+\end{verbatim}
+
+Or define a Lua formatting function and set it with the \texttt{format func} key:
+
+\texttt{helpers.lua}
+
+\begin{verbatim}
+function eventFmtCustom(idx, max_idx, event, event_date, mark)
+ local d = event_date
+ tex.sprint(string.format(
+ "\\textsuperscript{%s} & %s %s: & %s \\\\",
+ mark.symbol, d:fmt("%b"), d:getday(), event.note
+ ))
+end
+\end{verbatim}
+
+\begin{verbatim}
+\parseMonthEvents[format func = eventFmtCustom]%
+\end{verbatim}
+
+\section{Document setup}
+\label{sec:orgb56123b}
+
+\texttt{cal-marks.tex}
+
+\begin{verbatim}
+\documentclass[
+ year = 2018,
+ eventsCsv = ./data/holidays.csv,
+ markDefaultsCsv = ./data/mark_defaults.csv,
+ imageFolder = ./photos/,
+]{wallcalendar}
+
+\makeatletter
+
+\colorlet{mooncolor}{darkgold}
+
+\usepackage{fontspec}
+\defaultfontfeatures{Ligatures={TeX}}
+\setmainfont{TeX Gyre Pagella}
+\newfontfamily\dejaVuSans{DejaVu Sans}
+
+\SetPhoto[bleed=3mm, file={frog-crop}]{September}
+
+\SetQuote[xOffset=0pt, yOffset=-140mm]{September}{%
+\raggedleft\setlength{\parskip}{10pt}\HUGE\color{white}%
+silent new lake\\
+let the frog jump\\
+not even a sound
+
+\textit{-- Ryokan}%
+}
+
+\SetCalendar[bg/.style={opacity=0.4}]{September}
+
+\SetEvents{September}{%
+\parseMonthMarksDayTextUsing{./data/moonphases.csv}%
+\parseMonthMarksDayText%
+\parseMonthMarksNote%
+}{%
+\raggedright
+\parseMonthEvents[%
+ format cmd = {%
+ \textsuperscript{\eMark}~\eMonthShort~\eDay:\space%
+ \eNote\ifnumless{\eIdx}{\eMaxIdx}{,\space}{.}%
+ },
+]%
+}
+
+\makeatother
+
+\begin{document}
+
+\MonthPage[layout=full page, put photo=full page]{September}
+
+\end{document}
+\end{verbatim}
+
+\clearpage
+
+\chapter{Example: Year Planner Page}
+\label{sec:org24663e1}
+
+\begin{fullwidth}
+\begin{minipage}{0.31\linewidth}
+\centering
+
+\frame{\includegraphics[width=5cm]{./examples/cal-year-planner.pdf}}
+
+\end{minipage}%
+\end{fullwidth}
+
+\section{Document setup}
+\label{sec:org85fac7e}
+
+\texttt{cal-year-planner.tex}
+
+\begin{verbatim}
+\documentclass[
+ year = 2018,
+ eventsCsv = ./data/holidays.csv,
+ markDefaultsCsv = ./data/mark_defaults.csv,
+ imageFolder = ./photos/,
+]{wallcalendar}
+
+\makeatletter
+
+\usepackage{fontspec}
+\defaultfontfeatures{Ligatures={TeX}}
+\setmainfont{TeX Gyre Pagella}
+\newfontfamily\dejaVuSans{DejaVu Sans}
+
+% Use two CSV files for day text input to include the moon phases
+\renewcommand\@wall@plm[1]{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksDayText(\luastring{#1}, nil, \luastring{\plannerMarksDayTextCSV})
+monthMarksDayText(\luastring{#1}, nil, \luastring{./data/moonphases.csv})
+tex.sprint(';')
+}}
+\end{verbatim}
+
+\section{\textbackslash YearPlannerPage}
+\label{sec:org0124cf4}
+
+\begin{verbatim}
+\newcommand\plannerYearFmt{\fontsize{26}{26}\selectfont\color{orangegold}}
+
+\newlength\plannerNotesSep
+\setlength{\plannerNotesSep}{3mm}
+
+\newcommand\preYearPlannerPageHook{%
+ \setlength{\markNumberAbove}{-9pt}%
+ \setlength{\markNumberRight}{-6pt}%
+ \setlength{\markDayTextAbove}{-11pt}%
+ \setlength{\markDayTextRight}{-6pt}%
+}
+
+\newcommand\postYearPlannerPageHook{%
+ \setlength{\markNumberAbove}{-10pt}%
+ \setlength{\markNumberRight}{-3pt}%
+ \setlength{\markDayTextAbove}{-10pt}%
+ \setlength{\markDayTextRight}{-3pt}%
+}
+
+\newcommand\printPlannerTitle{\plannerYearFmt \CalendarYear}
+
+\newcommand\YearPlannerPage{%
+\newpage
+\ifvarnishmask
+\mbox{}
+\else
+\preYearPlannerPageHook
+{\centering
+
+{\printPlannerTitle}
+
+\vspace*{7mm}
+
+\YearPlannerPortrait
+
+\vspace*{\plannerNotesSep}
+
+\plannerEvents
+
+}
+\postYearPlannerPageHook
+
+\fi
+}
+
+\makeatother
+\end{verbatim}
+
+\section{Use it}
+\label{sec:org70f504f}
+
+\begin{verbatim}
+\begin{document}
+
+\YearPlannerPage
+
+\end{document}
+\end{verbatim}
+
+\clearpage
+
+\chapter{Example: Photo Thumbnails Page}
+\label{sec:org0431559}
+
+\begin{fullwidth}
+\begin{minipage}{0.31\linewidth}
+\centering
+
+\frame{\includegraphics[width=5cm]{./examples/cal-thumbnails.pdf}}
+
+\end{minipage}%
+\end{fullwidth}
+
+\section{Document setup}
+\label{sec:orgc4970c9}
+
+\texttt{cal-thumbnails.tex}
+
+\begin{verbatim}
+\documentclass[
+ year = 2018,
+ imageFolder = ./photos/,
+]{wallcalendar}
+
+\makeatletter
+
+\usepackage{fontspec}
+\defaultfontfeatures{Ligatures={TeX}}
+\setmainfont{TeX Gyre Pagella}
+\newfontfamily\dejaVuSans{DejaVu Sans}
+
+\newlength\@wall@tmp@a
+\newlength\@wall@tmp@b
+\end{verbatim}
+
+\section{\textbackslash ThumbWithCaptionLeftSide}
+\label{sec:orge74d943}
+
+Typesets the photo thumb image with its caption text on the left side.
+
+\begin{verbatim}
+\ThumbWithCaptionLeftSide{January}
+\end{verbatim}
+
+\begin{verbatim}
+\newlength\@wall@thumbWidth
+\newlength\@wall@thumbHeight
+\newlength\@wall@thumbCaptionWidth
+\setlength{\@wall@thumbWidth}{0.1749\calPaperWidth}% 30mm at the 6.75in page width, 0.1749 = 1/5.715
+\setlength{\@wall@thumbHeight}{\@wall@thumbWidth}
+\setlength{\@wall@thumbCaptionWidth}{0.2333\calPaperWidth}% 40mm at 6.75in page width
+
+\newcommand\thumbFmt{}
+\newcommand\thumbMonthFmt{\fontsize{10}{13}\selectfont\bfseries}
+\newcommand\thumbCaptionFmt{\fontsize{10}{13}\selectfont}
+
+\def\@wall@thumbFile{}
+\def\@wall@photoCaption{}
+
+\newcommand\ThumbWithCaptionLeftSide[1]{%
+\pgfkeys{/Photo/#1/thumbFile/.get=\@wall@thumbFile}%
+\ifx\@wall@thumbFile\empty
+ \pgfkeys{/Photo/#1/file/.get=\@wall@thumbFile}%
+\fi
+\pgfkeys{/Photo/#1/caption/.get=\@wall@photoCaption}%
+% Thumbnail caption
+\ifvarnishmask%
+\hspace*{\@wall@thumbWidth}
+\else%
+\begin{minipage}[b][\@wall@thumbHeight][t]{\@wall@thumbCaptionWidth}%
+\raggedleft
+\thumbFmt
+{\thumbMonthFmt \@tr@monthNumName{\monthToNum{#1}}}\par
+{\thumbCaptionFmt \@wall@photoCaption}%
+\end{minipage}%
+\fi%
+\hspace*{3mm}
+% Thumbnail photo
+\begin{minipage}[b][\@wall@thumbHeight]{\@wall@thumbWidth}%
+% FIXME placeholder
+%\placeholder{%
+\includegraphics[ keepaspectratio, height=\@wall@thumbHeight ]{\@wall@thumbFile}%
+%}%
+\end{minipage}%
+}
+\end{verbatim}
+
+\section{\textbackslash ThumbWithCaptionRightSide}
+\label{sec:org7af4bd6}
+
+Typesets the photo thumb image with its caption text on the right side.
+
+\begin{verbatim}
+\ThumbWithCaptionRightSide{January}
+\end{verbatim}
+
+\begin{verbatim}
+\newcommand\ThumbWithCaptionRightSide[1]{%
+\pgfkeys{/Photo/#1/thumbFile/.get=\@wall@thumbFile}%
+\ifx\@wall@thumbFile\empty
+ \pgfkeys{/Photo/#1/file/.get=\@wall@thumbFile}%
+\fi
+\pgfkeys{/Photo/#1/caption/.get=\@wall@photoCaption}%
+% Thumbnail photo
+\begin{minipage}[b][\@wall@thumbHeight]{\@wall@thumbWidth}%
+% FIXME placeholder
+%\placeholder{%
+\includegraphics[ keepaspectratio, height=\@wall@thumbHeight ]{\@wall@thumbFile}%
+%}%
+\end{minipage}%
+\hspace*{3mm}
+% Thumbnail caption
+\ifvarnishmask%
+\hspace*{\@wall@thumbWidth}
+\else%
+\begin{minipage}[b][\@wall@thumbHeight][t]{\@wall@thumbCaptionWidth}%
+\raggedright
+\thumbFmt
+{\thumbMonthFmt \@tr@monthNumName{\monthToNum{#1}}}\par
+{\thumbCaptionFmt \@wall@photoCaption}%
+\end{minipage}%
+\fi%
+}
+\end{verbatim}
+
+\section{\textbackslash ThumbsPage}
+\label{sec:org9571a13}
+
+\begin{verbatim}
+\newlength{\thumbColumnWidth}
+\newlength{\thumbColumnHeight}
+\newlength{\thumbSep}
+\newlength{\@t@a}
+\newlength{\@t@b}
+
+% vertical spacing
+\setlength{\@t@a}{0.2\textheight}
+
+% horizontal spacing
+\setlength{\@t@b}{0.2\@wall@thumbCaptionWidth}% 8mm at 40mm caption width
+
+\ifdimcomp{\@t@a}{<}{\@t@b}{
+ \setlength{\thumbSep}{\@t@a}
+}{
+ \setlength{\thumbSep}{\@t@b}
+}
+
+\setlength{\thumbColumnWidth}{0.5\calPaperWidth - \thumbSep}
+\setlength{\thumbColumnHeight}{\textheight}
+
+\newcommand\ThumbsPage{%
+\clearpage
+
+\hspace*{-\@wall@leftMargin}%
+\hspace*{-1pt}% small correction, space gets in somewhere
+% Wrap
+\begin{minipage}[t][\thumbColumnHeight]{\calPaperWidth}%
+\centering%
+\setlength{\parindent}{0pt}%
+\setlength{\parskip}{0pt}%
+
+% NOTE: multicols will not \vfill
+% Left Column
+\begin{minipage}[t][\thumbColumnHeight]{\thumbColumnWidth}%
+\raggedleft
+
+\ThumbWithCaptionLeftSide{January}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionLeftSide{March}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionLeftSide{May}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionLeftSide{July}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionLeftSide{September}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionLeftSide{November}
+
+% End of left column
+\end{minipage}%
+%
+\hspace*{\thumbSep}%
+%
+% Right column
+\begin{minipage}[t][\thumbColumnHeight]{\thumbColumnWidth}%
+\raggedright
+
+\ThumbWithCaptionRightSide{February}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionRightSide{April}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionRightSide{June}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionRightSide{August}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionRightSide{October}
+
+\vspace*{\thumbSep}
+
+\ThumbWithCaptionRightSide{December}
+
+% End of right column
+\end{minipage}%
+
+% End of wrap
+\end{minipage}%
+}
+\end{verbatim}
+
+\section{Setup the photo keys}
+\label{sec:org1bdd209}
+
+\begin{verbatim}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{January}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{February}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{March}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{April}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{May}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{June}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{July}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{August}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{September}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{October}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{November}
+\SetPhoto[file={frog-crop}, thumbFile={frog-crop-thumb}, caption={Let the frog jump}]{December}
+
+\makeatother
+\end{verbatim}
+
+\section{Use it}
+\label{sec:org23c0fca}
+
+\begin{verbatim}
+\begin{document}
+
+\ThumbsPage
+
+\end{document}
+\end{verbatim}
+
+\chapter{Documentclass Options}
+\label{sec:org5024f18}
+
+\begin{verbatim}
+year
+\end{verbatim}
+
+\begin{verbatim}
+language
+\end{verbatim}
+
+\begin{verbatim}
+imageFolder
+\end{verbatim}
+
+\begin{verbatim}
+showframe
+\end{verbatim}
+
+\begin{verbatim}
+showtrims
+\end{verbatim}
+
+\begin{verbatim}
+varnishmask
+\end{verbatim}
+
+\chapter{User Commands}
+\label{sec:org02a2f80}
+
+\begin{verbatim}
+\SetPhoto[ options ]{ month }
+\end{verbatim}
+
+\begin{verbatim}
+\SetQuote[ options ]{ month }{ quote text }
+\end{verbatim}
+
+\begin{verbatim}
+\SetCalendar[ options ]{ month }
+\end{verbatim}
+
+\begin{verbatim}
+\SetEvents[ options ]{ month }{ calendar tikz marks }{ events text }
+\end{verbatim}
+
+\begin{verbatim}
+\MonthPage[ options ]{ month }
+\end{verbatim}
+
+\clearpage
+
+\chapter{Page Layout}
+\label{sec:org2801ae6}
+
+We will review how the page layout happens when we call \texttt{\textbackslash{}MonthPage}.
+
+Before calling \texttt{\textbackslash{}MonthPage} to typeset a particular month, be sure that the
+content for the given month has been already set with \texttt{\textbackslash{}SetPhoto}, \texttt{\textbackslash{}SetQuote},
+\texttt{\textbackslash{}SetCalendar} and \texttt{\textbackslash{}SetEvents}.
+
+Then we can typeset that month, for example:
+
+\begin{verbatim}
+\MonthPage[layout=full page, put photo=full page]{June}
+\end{verbatim}
+
+This will be a full page portrait month with the photo scaled to cover the
+entire page with additional bleed on all four sides.
+
+\twocol{%
+ \frame{\includegraphics[width=5cm]{cal-plain-01}}%
+}{%
+ \includegraphics[width=6.12cm]{cal-showframe-01}%
+}
+
+The above \texttt{showframe} figure shows the structural elements of the page.
+
+Every layout is implemented by a single handler macro which will deal with all
+the typesetting of the given page. The \texttt{full page} key is set to the
+\texttt{\textbackslash{}@wall@fullPageLayout} macro by default, and so this gets called.
+
+The layout macro is just a free-style placeholder. It can access the photo,
+quote, calendar and events as set earlier, but it is up to the macro to
+implement what to do with them.
+
+This is for the convenience of setting the page elements using the same
+interface, but being able to execute different layouts for different pages.
+
+The class contains two layout examples. The \texttt{full page} layout is best for
+portrait photos that can be scaled to cover the entire page. The \texttt{small
+landscape} layout is for landscape photos which can be scaled horizontally,
+possibly bleeding into the side margins.
+
+\chapter{Contact}
+\label{sec:orgc9e6d1d}
+
+Github: \url{https://github.com/profound-labs/wallcalendar/}
+
+Email: \texttt{Gambhīro Bhikkhu <gambhiro.bhikkhu.85@gmail.com>}
+\end{document}
diff --git a/macros/luatex/latex/wallcalendar/i18n/wallcalendar-czech.tex b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-czech.tex
new file mode 100644
index 0000000000..91623f4e57
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-czech.tex
@@ -0,0 +1,36 @@
+% Czech
+
+\def\xJanuary{Leden}
+\def\xFebruary{Únor}
+\def\xMarch{Březen}
+\def\xApril{Duben}
+\def\xMay{Květen}
+\def\xJune{Červen}
+\def\xJuly{Červenec}
+\def\xAugust{Srpen}
+\def\xSeptember{Září}
+\def\xOctober{Říjen}
+\def\xNovember{Listopad}
+\def\xDecember{Prosinec}
+
+\def\xJanShort{Led}
+\def\xFebShort{Úno}
+\def\xMarShort{Bře}
+\def\xAprShort{Dub}
+\def\xMayShort{Kvě}
+\def\xJunShort{Čer}
+\def\xJulShort{Čer}
+\def\xAugShort{Srp}
+\def\xSepShort{Zář}
+\def\xOctShort{Říj}
+\def\xNovShort{Lis}
+\def\xDecShort{Pro}
+
+\def\xMondayDayLetter{Po}
+\def\xTuesdayDayLetter{Út}
+\def\xWednesdayDayLetter{St}
+\def\xThursdayDayLetter{Čt}
+\def\xFridayDayLetter{Pá}
+\def\xSaturdayDayLetter{So}
+\def\xSundayDayLetter{Ne}
+
diff --git a/macros/luatex/latex/wallcalendar/i18n/wallcalendar-dutch.tex b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-dutch.tex
new file mode 100644
index 0000000000..ceb14a5216
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-dutch.tex
@@ -0,0 +1,36 @@
+% Dutch
+
+\def\xJanuary{Januari}
+\def\xFebruary{Februari}
+\def\xMarch{Maart}
+\def\xApril{April}
+\def\xMay{Mei}
+\def\xJune{Juni}
+\def\xJuly{Juli}
+\def\xAugust{Augustus}
+\def\xSeptember{September}
+\def\xOctober{Oktober}
+\def\xNovember{November}
+\def\xDecember{December}
+
+\def\xJanShort{Jan}
+\def\xFebShort{Feb}
+\def\xMarShort{Maa}
+\def\xAprShort{Apr}
+\def\xMayShort{Mei}
+\def\xJunShort{Jun}
+\def\xJulShort{Jul}
+\def\xAugShort{Aug}
+\def\xSepShort{Sep}
+\def\xOctShort{Okt}
+\def\xNovShort{Nov}
+\def\xDecShort{Dec}
+
+\def\xMondayDayLetter{ma}
+\def\xTuesdayDayLetter{di}
+\def\xWednesdayDayLetter{wo}
+\def\xThursdayDayLetter{do}
+\def\xFridayDayLetter{vr}
+\def\xSaturdayDayLetter{za}
+\def\xSundayDayLetter{zo}
+
diff --git a/macros/luatex/latex/wallcalendar/i18n/wallcalendar-english.tex b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-english.tex
new file mode 100644
index 0000000000..55746a05e8
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-english.tex
@@ -0,0 +1,36 @@
+% English
+
+\def\xJanuary{January}
+\def\xFebruary{February}
+\def\xMarch{March}
+\def\xApril{April}
+\def\xMay{May}
+\def\xJune{June}
+\def\xJuly{July}
+\def\xAugust{August}
+\def\xSeptember{September}
+\def\xOctober{October}
+\def\xNovember{November}
+\def\xDecember{December}
+
+\def\xJanShort{Jan}
+\def\xFebShort{Feb}
+\def\xMarShort{Mar}
+\def\xAprShort{Apr}
+\def\xMayShort{May}
+\def\xJunShort{Jun}
+\def\xJulShort{Jul}
+\def\xAugShort{Aug}
+\def\xSepShort{Sep}
+\def\xOctShort{Oct}
+\def\xNovShort{Nov}
+\def\xDecShort{Dec}
+
+\def\xMondayDayLetter{M}
+\def\xTuesdayDayLetter{T}
+\def\xWednesdayDayLetter{W}
+\def\xThursdayDayLetter{T}
+\def\xFridayDayLetter{F}
+\def\xSaturdayDayLetter{S}
+\def\xSundayDayLetter{S}
+
diff --git a/macros/luatex/latex/wallcalendar/i18n/wallcalendar-french.tex b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-french.tex
new file mode 100644
index 0000000000..28e48f4540
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-french.tex
@@ -0,0 +1,36 @@
+% French
+
+\def\xJanuary{Janvier}
+\def\xFebruary{Février}
+\def\xMarch{Mars}
+\def\xApril{Avril}
+\def\xMay{Mai}
+\def\xJune{Juin}
+\def\xJuly{Juillet}
+\def\xAugust{Août}
+\def\xSeptember{Septembre}
+\def\xOctober{Octobre}
+\def\xNovember{Novembre}
+\def\xDecember{Décembre}
+
+\def\xJanShort{Jan}
+\def\xFebShort{Fév}
+\def\xMarShort{Mar}
+\def\xAprShort{Avr}
+\def\xMayShort{Mai}
+\def\xJunShort{Jui}
+\def\xJulShort{Jui}
+\def\xAugShort{Aoû}
+\def\xSepShort{Sep}
+\def\xOctShort{Oct}
+\def\xNovShort{Nov}
+\def\xDecShort{Déc}
+
+\def\xMondayDayLetter{L}
+\def\xTuesdayDayLetter{M}
+\def\xWednesdayDayLetter{M}
+\def\xThursdayDayLetter{J}
+\def\xFridayDayLetter{V}
+\def\xSaturdayDayLetter{S}
+\def\xSundayDayLetter{D}
+
diff --git a/macros/luatex/latex/wallcalendar/i18n/wallcalendar-german.tex b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-german.tex
new file mode 100644
index 0000000000..fb8a51958f
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-german.tex
@@ -0,0 +1,36 @@
+% German
+
+\def\xJanuary{Januar}
+\def\xFebruary{Februar}
+\def\xMarch{März}
+\def\xApril{April}
+\def\xMay{Mai}
+\def\xJune{Juni}
+\def\xJuly{Juli}
+\def\xAugust{August}
+\def\xSeptember{September}
+\def\xOctober{Oktober}
+\def\xNovember{November}
+\def\xDecember{Dezember}
+
+\def\xJanShort{Jan}
+\def\xFebShort{Feb}
+\def\xMarShort{Mär}
+\def\xAprShort{Apr}
+\def\xMayShort{Mai}
+\def\xJunShort{Jun}
+\def\xJulShort{Jul}
+\def\xAugShort{Aug}
+\def\xSepShort{Sep}
+\def\xOctShort{Okt}
+\def\xNovShort{Nov}
+\def\xDecShort{Dez}
+
+\def\xMondayDayLetter{Mo}
+\def\xTuesdayDayLetter{Di}
+\def\xWednesdayDayLetter{Mi}
+\def\xThursdayDayLetter{Do}
+\def\xFridayDayLetter{Fr}
+\def\xSaturdayDayLetter{Sa}
+\def\xSundayDayLetter{So}
+
diff --git a/macros/luatex/latex/wallcalendar/i18n/wallcalendar-hungarian.tex b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-hungarian.tex
new file mode 100644
index 0000000000..b0a8a45a4a
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-hungarian.tex
@@ -0,0 +1,36 @@
+% Hungarian
+
+\def\xJanuary{Január}
+\def\xFebruary{Február}
+\def\xMarch{Március}
+\def\xApril{Április}
+\def\xMay{Május}
+\def\xJune{Június}
+\def\xJuly{Július}
+\def\xAugust{Augusztus}
+\def\xSeptember{Szeptember}
+\def\xOctober{Október}
+\def\xNovember{November}
+\def\xDecember{December}
+
+\def\xJanShort{Jan}
+\def\xFebShort{Feb}
+\def\xMarShort{Már}
+\def\xAprShort{Ápr}
+\def\xMayShort{Máj}
+\def\xJunShort{Jún}
+\def\xJulShort{Júl}
+\def\xAugShort{Aug}
+\def\xSepShort{Szep}
+\def\xOctShort{Okt}
+\def\xNovShort{Nov}
+\def\xDecShort{Dec}
+
+\def\xMondayDayLetter{H}
+\def\xTuesdayDayLetter{K}
+\def\xWednesdayDayLetter{Sz}
+\def\xThursdayDayLetter{Cs}
+\def\xFridayDayLetter{P}
+\def\xSaturdayDayLetter{Sz}
+\def\xSundayDayLetter{V}
+
diff --git a/macros/luatex/latex/wallcalendar/i18n/wallcalendar-italian.tex b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-italian.tex
new file mode 100644
index 0000000000..8de9bd9dae
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-italian.tex
@@ -0,0 +1,36 @@
+% Italian
+
+\def\xJanuary{Gennaio}
+\def\xFebruary{Febbraio}
+\def\xMarch{Marzo}
+\def\xApril{Aprile}
+\def\xMay{Maggio}
+\def\xJune{Giugno}
+\def\xJuly{Luglio}
+\def\xAugust{Agosto}
+\def\xSeptember{Settembre}
+\def\xOctober{Ottobre}
+\def\xNovember{Novembre}
+\def\xDecember{Dicembre}
+
+\def\xJanShort{Gen}
+\def\xFebShort{Feb}
+\def\xMarShort{Mar}
+\def\xAprShort{Apr}
+\def\xMayShort{Mag}
+\def\xJunShort{Giu}
+\def\xJulShort{Lug}
+\def\xAugShort{Ago}
+\def\xSepShort{Set}
+\def\xOctShort{Ott}
+\def\xNovShort{Nov}
+\def\xDecShort{Dic}
+
+\def\xMondayDayLetter{L}
+\def\xTuesdayDayLetter{M}
+\def\xWednesdayDayLetter{M}
+\def\xThursdayDayLetter{G}
+\def\xFridayDayLetter{V}
+\def\xSaturdayDayLetter{S}
+\def\xSundayDayLetter{D}
+
diff --git a/macros/luatex/latex/wallcalendar/i18n/wallcalendar-japanese.tex b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-japanese.tex
new file mode 100644
index 0000000000..368265614e
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-japanese.tex
@@ -0,0 +1,35 @@
+% Japanese
+
+\def\xJanuary{一月}
+\def\xFebruary{二月}
+\def\xMarch{三月}
+\def\xApril{四月}
+\def\xMay{五月}
+\def\xJune{六月}
+\def\xJuly{七月}
+\def\xAugust{八月}
+\def\xSeptember{九月}
+\def\xOctober{十月}
+\def\xNovember{十一月}
+\def\xDecember{十二月}
+
+\def\xJanShort{1月}
+\def\xFebShort{2月}
+\def\xMarShort{3月}
+\def\xAprShort{4月}
+\def\xMayShort{5月}
+\def\xJunShort{6月}
+\def\xJulShort{7月}
+\def\xAugShort{8月}
+\def\xSepShort{9月}
+\def\xOctShort{10月}
+\def\xNovShort{11月}
+\def\xDecShort{12月}
+
+\def\xMondayDayLetter{げ}
+\def\xTuesdayDayLetter{か}
+\def\xWednesdayDayLetter{す}
+\def\xThursdayDayLetter{も}
+\def\xFridayDayLetter{き}
+\def\xSaturdayDayLetter{ど}
+\def\xSundayDayLetter{に}
diff --git a/macros/luatex/latex/wallcalendar/i18n/wallcalendar-norwegian.tex b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-norwegian.tex
new file mode 100644
index 0000000000..c69b18ebee
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-norwegian.tex
@@ -0,0 +1,36 @@
+% Norwegian
+
+\def\xJanuary{Januar}
+\def\xFebruary{Februar}
+\def\xMarch{Mars}
+\def\xApril{April}
+\def\xMay{Mai}
+\def\xJune{Juni}
+\def\xJuly{Juli}
+\def\xAugust{August}
+\def\xSeptember{September}
+\def\xOctober{Oktober}
+\def\xNovember{November}
+\def\xDecember{Desember}
+
+\def\xJanShort{Jan}
+\def\xFebShort{Feb}
+\def\xMarShort{Mar}
+\def\xAprShort{Apr}
+\def\xMayShort{Mai}
+\def\xJunShort{Jun}
+\def\xJulShort{Jul}
+\def\xAugShort{Aug}
+\def\xSepShort{Sep}
+\def\xOctShort{Okt}
+\def\xNovShort{Nov}
+\def\xDecShort{Des}
+
+\def\xMondayDayLetter{M}
+\def\xTuesdayDayLetter{T}
+\def\xWednesdayDayLetter{O}
+\def\xThursdayDayLetter{T}
+\def\xFridayDayLetter{F}
+\def\xSaturdayDayLetter{L}
+\def\xSundayDayLetter{S}
+
diff --git a/macros/luatex/latex/wallcalendar/i18n/wallcalendar-portuguese.tex b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-portuguese.tex
new file mode 100644
index 0000000000..d15f82f2de
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-portuguese.tex
@@ -0,0 +1,35 @@
+% Portuguese
+
+\def\xJanuary{Janeiro}
+\def\xFebruary{Fevereiro}
+\def\xMarch{Março}
+\def\xApril{Abril}
+\def\xMay{Maio}
+\def\xJune{Junho}
+\def\xJuly{Julho}
+\def\xAugust{Agosto}
+\def\xSeptember{Setembro}
+\def\xOctober{Outubro}
+\def\xNovember{Novembro}
+\def\xDecember{Dezembro}
+
+\def\xJanShort{Jan}
+\def\xFebShort{Fev}
+\def\xMarShort{Mar}
+\def\xAprShort{Abr}
+\def\xMayShort{Mai}
+\def\xJunShort{Jun}
+\def\xJulShort{Jul}
+\def\xAugShort{Ago}
+\def\xSepShort{Set}
+\def\xOctShort{Out}
+\def\xNovShort{Nov}
+\def\xDecShort{Dez}
+
+\def\xMondayDayLetter{{2\textsuperscript{a}}}
+\def\xTuesdayDayLetter{{3\textsuperscript{a}}}
+\def\xWednesdayDayLetter{{4\textsuperscript{a}}}
+\def\xThursdayDayLetter{{5\textsuperscript{a}}}
+\def\xFridayDayLetter{{6\textsuperscript{a}}}
+\def\xSaturdayDayLetter{S}
+\def\xSundayDayLetter{D}
diff --git a/macros/luatex/latex/wallcalendar/i18n/wallcalendar-romanian.tex b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-romanian.tex
new file mode 100644
index 0000000000..2bb1deba46
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-romanian.tex
@@ -0,0 +1,36 @@
+% Romanian
+
+\def\xJanuary{Ianuarie}
+\def\xFebruary{Februarie}
+\def\xMarch{Martie}
+\def\xApril{Aprilie}
+\def\xMay{Mai}
+\def\xJune{Iunie}
+\def\xJuly{Iulie}
+\def\xAugust{August}
+\def\xSeptember{Septembrie}
+\def\xOctober{Octombrie}
+\def\xNovember{Noiembrie}
+\def\xDecember{Decembrie}
+
+\def\xJanShort{Ian}
+\def\xFebShort{Feb}
+\def\xMarShort{Mar}
+\def\xAprShort{Apr}
+\def\xMayShort{Mai}
+\def\xJunShort{Iun}
+\def\xJulShort{Iul}
+\def\xAugShort{Aug}
+\def\xSepShort{Sep}
+\def\xOctShort{Oct}
+\def\xNovShort{Noi}
+\def\xDecShort{Dec}
+
+\def\xMondayDayLetter{L}
+\def\xTuesdayDayLetter{M}
+\def\xWednesdayDayLetter{M}
+\def\xThursdayDayLetter{J}
+\def\xFridayDayLetter{V}
+\def\xSaturdayDayLetter{S}
+\def\xSundayDayLetter{D}
+
diff --git a/macros/luatex/latex/wallcalendar/i18n/wallcalendar-serbian.tex b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-serbian.tex
new file mode 100644
index 0000000000..7a078e8c15
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-serbian.tex
@@ -0,0 +1,36 @@
+% Serbian
+
+\def\xJanuary{Januar}
+\def\xFebruary{Februar}
+\def\xMarch{Mart}
+\def\xApril{April}
+\def\xMay{Maj}
+\def\xJune{Juni}
+\def\xJuly{Juli}
+\def\xAugust{Avgust}
+\def\xSeptember{Septembar}
+\def\xOctober{Oktobar}
+\def\xNovember{Novembar}
+\def\xDecember{Decembar}
+
+\def\xJanShort{Jan}
+\def\xFebShort{Feb}
+\def\xMarShort{Mar}
+\def\xAprShort{Apr}
+\def\xMayShort{Maj}
+\def\xJunShort{Jun}
+\def\xJulShort{Jul}
+\def\xAugShort{Avg}
+\def\xSepShort{Sep}
+\def\xOctShort{Okt}
+\def\xNovShort{Nov}
+\def\xDecShort{Dec}
+
+\def\xMondayDayLetter{Po}
+\def\xTuesdayDayLetter{Ut}
+\def\xWednesdayDayLetter{Sr}
+\def\xThursdayDayLetter{Če}
+\def\xFridayDayLetter{Pe}
+\def\xSaturdayDayLetter{Su}
+\def\xSundayDayLetter{Ne}
+
diff --git a/macros/luatex/latex/wallcalendar/i18n/wallcalendar-slovakian.tex b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-slovakian.tex
new file mode 100644
index 0000000000..589e58d8a1
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-slovakian.tex
@@ -0,0 +1,36 @@
+% Slovakian
+
+\def\xJanuary{Január}
+\def\xFebruary{Február}
+\def\xMarch{Marec}
+\def\xApril{Apríl}
+\def\xMay{Máj}
+\def\xJune{Jún}
+\def\xJuly{Júl}
+\def\xAugust{August}
+\def\xSeptember{September}
+\def\xOctober{Október}
+\def\xNovember{November}
+\def\xDecember{December}
+
+\def\xJanShort{Jan}
+\def\xFebShort{Feb}
+\def\xMarShort{Mar}
+\def\xAprShort{Apr}
+\def\xMayShort{Máj}
+\def\xJunShort{Jún}
+\def\xJulShort{Júl}
+\def\xAugShort{Aug}
+\def\xSepShort{Sep}
+\def\xOctShort{Okt}
+\def\xNovShort{Nov}
+\def\xDecShort{Dec}
+
+\def\xMondayDayLetter{P}
+\def\xTuesdayDayLetter{U}
+\def\xWednesdayDayLetter{S}
+\def\xThursdayDayLetter{Š}
+\def\xFridayDayLetter{P}
+\def\xSaturdayDayLetter{S}
+\def\xSundayDayLetter{N}
+
diff --git a/macros/luatex/latex/wallcalendar/i18n/wallcalendar-slovenian.tex b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-slovenian.tex
new file mode 100644
index 0000000000..918a635dc5
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-slovenian.tex
@@ -0,0 +1,36 @@
+% Slovenian
+
+\def\xJanuary{Januar}
+\def\xFebruary{Februar}
+\def\xMarch{Marec}
+\def\xApril{April}
+\def\xMay{Maj}
+\def\xJune{Junij}
+\def\xJuly{Julij}
+\def\xAugust{Avgust}
+\def\xSeptember{September}
+\def\xOctober{Oktober}
+\def\xNovember{November}
+\def\xDecember{December}
+
+\def\xJanShort{Jan}
+\def\xFebShort{Feb}
+\def\xMarShort{Mar}
+\def\xAprShort{Apr}
+\def\xMayShort{Maj}
+\def\xJunShort{Jun}
+\def\xJulShort{Jul}
+\def\xAugShort{Avg}
+\def\xSepShort{Sep}
+\def\xOctShort{Okt}
+\def\xNovShort{Nov}
+\def\xDecShort{Dec}
+
+\def\xMondayDayLetter{Po}
+\def\xTuesdayDayLetter{To}
+\def\xWednesdayDayLetter{Sr}
+\def\xThursdayDayLetter{Če}
+\def\xFridayDayLetter{Pe}
+\def\xSaturdayDayLetter{So}
+\def\xSundayDayLetter{Ne}
+
diff --git a/macros/luatex/latex/wallcalendar/i18n/wallcalendar-spanish.tex b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-spanish.tex
new file mode 100644
index 0000000000..36370da3d4
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-spanish.tex
@@ -0,0 +1,36 @@
+% Spanish
+
+\def\xJanuary{Enero}
+\def\xFebruary{Febrero}
+\def\xMarch{Marzo}
+\def\xApril{Abril}
+\def\xMay{Mayo}
+\def\xJune{Junio}
+\def\xJuly{Julio}
+\def\xAugust{Agosto}
+\def\xSeptember{Septiembre}
+\def\xOctober{Octubre}
+\def\xNovember{Noviembre}
+\def\xDecember{Diciembre}
+
+\def\xJanShort{Ene}
+\def\xFebShort{Feb}
+\def\xMarShort{Mar}
+\def\xAprShort{Abr}
+\def\xMayShort{May}
+\def\xJunShort{Jun}
+\def\xJulShort{Jul}
+\def\xAugShort{Ago}
+\def\xSepShort{Sep}
+\def\xOctShort{Oct}
+\def\xNovShort{Nov}
+\def\xDecShort{Dic}
+
+\def\xMondayDayLetter{Lu}
+\def\xTuesdayDayLetter{Ma}
+\def\xWednesdayDayLetter{Mi}
+\def\xThursdayDayLetter{Ju}
+\def\xFridayDayLetter{Vi}
+\def\xSaturdayDayLetter{Sá}
+\def\xSundayDayLetter{Do}
+
diff --git a/macros/luatex/latex/wallcalendar/i18n/wallcalendar-swedish.tex b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-swedish.tex
new file mode 100644
index 0000000000..c6c687f8f5
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-swedish.tex
@@ -0,0 +1,36 @@
+% Swedish
+
+\def\xJanuary{Januari}
+\def\xFebruary{Februari}
+\def\xMarch{Mars}
+\def\xApril{April}
+\def\xMay{Maj}
+\def\xJune{Juni}
+\def\xJuly{Juli}
+\def\xAugust{Augusti}
+\def\xSeptember{September}
+\def\xOctober{Oktober}
+\def\xNovember{November}
+\def\xDecember{December}
+
+\def\xJanShort{Jan}
+\def\xFebShort{Feb}
+\def\xMarShort{Mar}
+\def\xAprShort{Apr}
+\def\xMayShort{Maj}
+\def\xJunShort{Jun}
+\def\xJulShort{Jul}
+\def\xAugShort{Aug}
+\def\xSepShort{Sep}
+\def\xOctShort{Okt}
+\def\xNovShort{Nov}
+\def\xDecShort{Dec}
+
+\def\xMondayDayLetter{Må}
+\def\xTuesdayDayLetter{Ti}
+\def\xWednesdayDayLetter{On}
+\def\xThursdayDayLetter{To}
+\def\xFridayDayLetter{Fr}
+\def\xSaturdayDayLetter{Lö}
+\def\xSundayDayLetter{Sö}
+
diff --git a/macros/luatex/latex/wallcalendar/i18n/wallcalendar-thai.tex b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-thai.tex
new file mode 100644
index 0000000000..56297b7be7
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/i18n/wallcalendar-thai.tex
@@ -0,0 +1,36 @@
+% Thai
+
+\def\xJanuary{มกราคม}
+\def\xFebruary{กุมภาพันธ์}
+\def\xMarch{มีนาคม}
+\def\xApril{เมษายน}
+\def\xMay{พฤษภาคม}
+\def\xJune{มิถุนายน}
+\def\xJuly{กรกฎาคม}
+\def\xAugust{สิงหาคม}
+\def\xSeptember{กันยายน}
+\def\xOctober{ตุลาคม}
+\def\xNovember{พฤศจิกายน}
+\def\xDecember{ธันวาคม}
+
+\def\xJanShort{มกร}
+\def\xFebShort{กุมภ}
+\def\xMarShort{มีนา}
+\def\xAprShort{เมษ}
+\def\xMayShort{พฤษ}
+\def\xJunShort{มิถุน}
+\def\xJulShort{กรก}
+\def\xAugShort{สิงห}
+\def\xSepShort{กันย}
+\def\xOctShort{ตุลา}
+\def\xNovShort{พฤศ}
+\def\xDecShort{ธันว}
+
+\def\xMondayDayLetter{จ}
+\def\xTuesdayDayLetter{อ}
+\def\xWednesdayDayLetter{พ}
+\def\xThursdayDayLetter{พฤ}
+\def\xFridayDayLetter{ศ}
+\def\xSaturdayDayLetter{ส}
+\def\xSundayDayLetter{อา}
+
diff --git a/macros/luatex/latex/wallcalendar/wallcalendar-code.pdf b/macros/luatex/latex/wallcalendar/wallcalendar-code.pdf
new file mode 100644
index 0000000000..697036296a
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/wallcalendar-code.pdf
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/wallcalendar-csv.lua b/macros/luatex/latex/wallcalendar/wallcalendar-csv.lua
new file mode 100644
index 0000000000..64196c07da
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/wallcalendar-csv.lua
@@ -0,0 +1,557 @@
+--- Read a comma or tab (or other delimiter) separated file.
+-- This version of a CSV reader differs from others I've seen in that it
+--
+-- + handles embedded newlines in fields (if they're delimited with double
+-- quotes)
+-- + is line-ending agnostic
+-- + reads the file line-by-line, so it can potientially handle large
+-- files.
+--
+-- Of course, for such a simple format, CSV is horribly complicated, so it
+-- likely gets something wrong.
+
+-- (c) Copyright 2013-2014 Incremental IP Limited.
+-- (c) Copyright 2014 Kevin Martin
+-- Available under the MIT licence. See LICENSE for more information.
+
+local DEFAULT_BUFFER_BLOCK_SIZE = 1024 * 1024
+
+
+------------------------------------------------------------------------------
+
+local function trim_space(s)
+ return s:match("^%s*(.-)%s*$")
+end
+
+
+local function fix_quotes(s)
+ -- the sub(..., -2) is to strip the trailing quote
+ return string.sub(s:gsub('""', '"'), 1, -2)
+end
+
+
+------------------------------------------------------------------------------
+
+local column_map = {}
+column_map.__index = column_map
+
+
+local function normalise_string(s)
+ return (s:lower():gsub("[^%w%d]+", " "):gsub("^ *(.-) *$", "%1"))
+end
+
+
+--- Parse a list of columns.
+-- The main job here is normalising column names and dealing with columns
+-- for which we have more than one possible name in the header.
+function column_map:new(columns)
+ local name_map = {}
+ for n, v in pairs(columns) do
+ local names
+ local t
+ if type(v) == "table" then
+ t = { transform = v.transform, default = v.default }
+ if v.name then
+ names = { normalise_string(v.name) }
+ elseif v.names then
+ names = v.names
+ for i, n in ipairs(names) do names[i] = normalise_string(n) end
+ end
+ else
+ if type(v) == "function" then
+ t = { transform = v }
+ else
+ t = {}
+ if type(v) == "string" then
+ names = { normalise_string(v) }
+ end
+ end
+ end
+
+ if not names then
+ names = { (n:lower():gsub("[^%w%d]+", " ")) }
+ end
+
+ t.name = n
+ for _, n in ipairs(names) do
+ name_map[n:lower()] = t
+ end
+ end
+
+ return setmetatable({ name_map = name_map }, column_map)
+end
+
+
+--- Map "virtual" columns to file columns.
+-- Once we've read the header, work out which columns we're interested in and
+-- what to do with them. Mostly this is about checking we've got the columns
+-- we need and writing a nice complaint if we haven't.
+function column_map:read_header(header)
+ local index_map = {}
+
+ -- Match the columns in the file to the columns in the name map
+ local found = {}
+ local found_any
+ for i, word in ipairs(header) do
+ word = normalise_string(word)
+ local r = self.name_map[word]
+ if r then
+ index_map[i] = r
+ found[r.name] = true
+ found_any = true
+ end
+ end
+
+ if not found_any then return end
+
+ -- check we found all the columns we need
+ local not_found = {}
+ for name, r in pairs(self.name_map) do
+ if not found[r.name] then
+ local nf = not_found[r.name]
+ if nf then
+ nf[#nf+1] = name
+ else
+ not_found[r.name] = { name }
+ end
+ end
+ end
+ -- If any columns are missing, assemble an error message
+ if next(not_found) then
+ local problems = {}
+ for k, v in pairs(not_found) do
+ local missing
+ if #v == 1 then
+ missing = "'"..v[1].."'"
+ else
+ missing = v[1]
+ for i = 2, #v - 1 do
+ missing = missing..", '"..v[i].."'"
+ end
+ missing = missing.." or '"..v[#v].."'"
+ end
+ problems[#problems+1] = "Couldn't find a column named "..missing
+ end
+ error(table.concat(problems, "\n"), 0)
+ end
+
+ self.index_map = index_map
+ return true
+end
+
+
+function column_map:transform(value, index)
+ local field = self.index_map[index]
+ if field then
+ if field.transform then
+ local ok
+ ok, value = pcall(field.transform, value)
+ if not ok then
+ error(("Error reading field '%s': %s"):format(field.name, value), 0)
+ end
+ end
+ return value or field.default, field.name
+ end
+end
+
+
+------------------------------------------------------------------------------
+
+local file_buffer = {}
+file_buffer.__index = file_buffer
+
+function file_buffer:new(file, buffer_block_size)
+ return setmetatable({
+ file = file,
+ buffer_block_size = buffer_block_size or DEFAULT_BUFFER_BLOCK_SIZE,
+ buffer_start = 0,
+ buffer = "",
+ }, file_buffer)
+end
+
+
+--- Cut the front off the buffer if we've already read it
+function file_buffer:truncate(p)
+ p = p - self.buffer_start
+ if p > self.buffer_block_size then
+ local remove = self.buffer_block_size *
+ math.floor((p-1) / self.buffer_block_size)
+ self.buffer = self.buffer:sub(remove + 1)
+ self.buffer_start = self.buffer_start + remove
+ end
+end
+
+
+--- Find something in the buffer, extending it if necessary
+function file_buffer:find(pattern, init)
+ while true do
+ local first, last, capture =
+ self.buffer:find(pattern, init - self.buffer_start)
+ -- if we found nothing, or the last character is at the end of the
+ -- buffer (and the match could potentially be longer) then read some
+ -- more.
+ if not first or last == #self.buffer then
+ local s = self.file:read(self.buffer_block_size)
+ if not s then
+ if not first then
+ return
+ else
+ return first + self.buffer_start, last + self.buffer_start, capture
+ end
+ end
+ self.buffer = self.buffer..s
+ else
+ return first + self.buffer_start, last + self.buffer_start, capture
+ end
+ end
+end
+
+
+--- Extend the buffer so we can see more
+function file_buffer:extend(offset)
+ local extra = offset - #self.buffer - self.buffer_start
+ if extra > 0 then
+ local size = self.buffer_block_size *
+ math.ceil(extra / self.buffer_block_size)
+ local s = self.file:read(size)
+ if not s then return end
+ self.buffer = self.buffer..s
+ end
+end
+
+
+--- Get a substring from the buffer, extending it if necessary
+function file_buffer:sub(a, b)
+ self:extend(b)
+ b = b == -1 and b or b - self.buffer_start
+ return self.buffer:sub(a - self.buffer_start, b)
+end
+
+
+--- Close a file buffer
+function file_buffer:close()
+ self.file:close()
+ self.file = nil
+end
+
+
+------------------------------------------------------------------------------
+
+local separator_candidates = { ",", "\t", "|" }
+local guess_separator_params = { record_limit = 8; }
+
+
+local function try_separator(buffer, sep, f)
+ guess_separator_params.separator = sep
+ local min, max = math.huge, 0
+ local lines, split_lines = 0, 0
+ local iterator = coroutine.wrap(function() f(buffer, guess_separator_params) end)
+ for t in iterator do
+ min = math.min(min, #t)
+ max = math.max(max, #t)
+ split_lines = split_lines + (t[2] and 1 or 0)
+ lines = lines + 1
+ end
+ if split_lines / lines > 0.75 then
+ return max - min
+ else
+ return math.huge
+ end
+end
+
+
+--- If the user hasn't specified a separator, try to work out what it is.
+function guess_separator(buffer, f)
+ local best_separator, lowest_diff = "", math.huge
+ for _, s in ipairs(separator_candidates) do
+ local ok, diff = pcall(function() return try_separator(buffer, s, f) end)
+ if ok and diff < lowest_diff then
+ best_separator = s
+ lowest_diff = diff
+ end
+ end
+
+ return best_separator
+end
+
+
+local unicode_BOMS =
+{
+ {
+ length = 2,
+ BOMS =
+ {
+ ["\254\255"] = true, -- UTF-16 big-endian
+ ["\255\254"] = true, -- UTF-16 little-endian
+ }
+ },
+ {
+ length = 3,
+ BOMS =
+ {
+ ["\239\187\191"] = true, -- UTF-8
+ }
+ }
+}
+
+
+local function find_unicode_BOM(sub)
+ for _, x in ipairs(unicode_BOMS) do
+ local code = sub(1, x.length)
+ if x.BOMS[code] then
+ return x.length
+ end
+ end
+ return 0
+end
+
+
+--- Iterate through the records in a file
+-- Since records might be more than one line (if there's a newline in quotes)
+-- and line-endings might not be native, we read the file in chunks of
+-- we read the file in chunks using a file_buffer, rather than line-by-line
+-- using io.lines.
+local function separated_values_iterator(buffer, parameters)
+ local field_start = 1
+
+ local advance
+ if buffer.truncate then
+ advance = function(n)
+ field_start = field_start + n
+ buffer:truncate(field_start)
+ end
+ else
+ advance = function(n)
+ field_start = field_start + n
+ end
+ end
+
+
+ local function field_sub(a, b)
+ b = b == -1 and b or b + field_start - 1
+ return buffer:sub(a + field_start - 1, b)
+ end
+
+
+ local function field_find(pattern, init)
+ init = init or 1
+ local f, l, c = buffer:find(pattern, init + field_start - 1)
+ if not f then return end
+ return f - field_start + 1, l - field_start + 1, c
+ end
+
+
+ -- Is there some kind of Unicode BOM here?
+ advance(find_unicode_BOM(field_sub))
+
+
+ -- Start reading the file
+ local sep = "(["..(parameters.separator or
+ guess_separator(buffer, separated_values_iterator)).."\n\r])"
+ local line_start = 1
+ local line = 1
+ local field_count, fields, starts, nonblanks = 0, {}, {}
+ local header, header_read
+ local field_start_line, field_start_column
+ local record_count = 0
+
+
+ local function problem(message)
+ error(("%s:%d:%d: %s"):
+ format(parameters.filename, field_start_line, field_start_column,
+ message), 0)
+ end
+
+
+ while true do
+ local field_end, sep_end, this_sep
+ local tidy
+ field_start_line = line
+ field_start_column = field_start - line_start + 1
+
+ -- If the field is quoted, go find the other quote
+ if field_sub(1, 1) == '"' then
+ advance(1)
+ local current_pos = 0
+ repeat
+ local a, b, c = field_find('"("?)', current_pos + 1)
+ current_pos = b
+ until c ~= '"'
+ if not current_pos then problem("unmatched quote") end
+ tidy = fix_quotes
+ field_end, sep_end, this_sep = field_find(" *([^ ])", current_pos+1)
+ if this_sep and not this_sep:match(sep) then problem("unmatched quote") end
+ else
+ field_end, sep_end, this_sep = field_find(sep, 1)
+ tidy = trim_space
+ end
+
+ -- Look for the separator or a newline or the end of the file
+ field_end = (field_end or 0) - 1
+
+ -- Read the field, then convert all the line endings to \n, and
+ -- count any embedded line endings
+ local value = field_sub(1, field_end)
+ value = value:gsub("\r\n", "\n"):gsub("\r", "\n")
+ for nl in value:gmatch("\n()") do
+ line = line + 1
+ line_start = nl + field_start
+ end
+
+ value = tidy(value)
+ if #value > 0 then nonblanks = true end
+ field_count = field_count + 1
+
+ -- Insert the value into the table for this "line"
+ local key
+ if parameters.column_map and header_read then
+ local ok
+ ok, value, key = pcall(parameters.column_map.transform,
+ parameters.column_map, value, field_count)
+ if not ok then problem(value) end
+ elseif header then
+ key = header[field_count]
+ else
+ key = field_count
+ end
+ if key then
+ fields[key] = value
+ starts[key] = { line=field_start_line, column=field_start_column }
+ end
+
+ -- if we ended on a newline then yield the fields on this line.
+ if not this_sep or this_sep == "\r" or this_sep == "\n" then
+ if parameters.column_map and not header_read then
+ header_read = parameters.column_map:read_header(fields)
+ elseif parameters.header and not header_read then
+ if nonblanks or field_count > 1 then -- ignore blank lines
+ header = fields
+ header_read = true
+ end
+ else
+ if nonblanks or field_count > 1 then -- ignore blank lines
+ coroutine.yield(fields, starts)
+ record_count = record_count + 1
+ if parameters.record_limit and
+ record_count >= parameters.record_limit then
+ break
+ end
+ end
+ end
+ field_count, fields, starts, nonblanks = 0, {}, {}
+ end
+
+ -- If we *really* didn't find a separator then we're done.
+ if not sep_end then break end
+
+ -- If we ended on a newline then count it.
+ if this_sep == "\r" or this_sep == "\n" then
+ if this_sep == "\r" and field_sub(sep_end+1, sep_end+1) == "\n" then
+ sep_end = sep_end + 1
+ end
+ line = line + 1
+ line_start = field_start + sep_end
+ end
+
+ advance(sep_end)
+ end
+end
+
+
+------------------------------------------------------------------------------
+
+local buffer_mt =
+{
+ lines = function(t)
+ return coroutine.wrap(function()
+ separated_values_iterator(t.buffer, t.parameters)
+ end)
+ end,
+ close = function(t)
+ if t.buffer.close then t.buffer:close() end
+ end,
+ name = function(t)
+ return t.parameters.filename
+ end,
+}
+buffer_mt.__index = buffer_mt
+
+
+--- Use an existing file or buffer as a stream to read csv from.
+-- (A buffer is just something that looks like a string in that we can do
+-- `buffer:sub()` and `buffer:find()`)
+-- @return a file object
+local function use(
+ buffer, -- ?string|file|buffer: the buffer to read from. If it's:
+ -- - a string, read from that;
+ -- - a file, turn it into a file_buffer;
+ -- - nil, read from stdin
+ -- otherwise assume it's already a a buffer.
+ parameters) -- ?table: parameters controlling reading the file.
+ -- See README.md
+ parameters = parameters or {}
+ parameters.filename = parameters.filename or "<unknown>"
+ parameters.column_map = parameters.columns and
+ column_map:new(parameters.columns)
+
+ if not buffer then
+ buffer = file_buffer:new(io.stdin)
+ elseif io.type(buffer) == "file" then
+ buffer = file_buffer:new(buffer)
+ end
+
+ local f = { buffer = buffer, parameters = parameters }
+ return setmetatable(f, buffer_mt)
+end
+
+
+------------------------------------------------------------------------------
+
+--- Open a file for reading as a delimited file
+-- @return a file object
+local function open(
+ filename, -- string: name of the file to open
+ parameters) -- ?table: parameters controlling reading the file.
+ -- See README.md
+ local file, message = io.open(filename, "r")
+ if not file then return nil, message end
+
+ parameters = parameters or {}
+ parameters.filename = filename
+ return use(file_buffer:new(file), parameters)
+end
+
+
+------------------------------------------------------------------------------
+
+local function makename(s)
+ local t = {}
+ t[#t+1] = "<(String) "
+ t[#t+1] = (s:gmatch("[^\n]+")() or ""):sub(1,15)
+ if #t[#t] > 14 then t[#t+1] = "..." end
+ t[#t+1] = " >"
+ return table.concat(t)
+end
+
+
+--- Open a string for reading as a delimited file
+-- @return a file object
+local function openstring(
+ filecontents, -- string: The contents of the delimited file
+ parameters) -- ?table: parameters controlling reading the file.
+ -- See README.md
+
+ parameters = parameters or {}
+
+
+ parameters.filename = parameters.filename or makename(filecontents)
+ parameters.buffer_size = parameters.buffer_size or #filecontents
+ return use(filecontents, parameters)
+end
+
+
+------------------------------------------------------------------------------
+
+return { open = open, openstring = openstring, use = use }
+
+------------------------------------------------------------------------------
diff --git a/macros/luatex/latex/wallcalendar/wallcalendar-date.lua b/macros/luatex/latex/wallcalendar/wallcalendar-date.lua
new file mode 100644
index 0000000000..14aa47577f
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/wallcalendar-date.lua
@@ -0,0 +1,747 @@
+---------------------------------------------------------------------------------------
+-- Module for date and time calculations
+--
+-- Version 2.1.1
+-- Copyright (C) 2006, by Jas Latrix (jastejada@yahoo.com)
+-- Copyright (C) 2013-2014, by Thijs Schreijer
+-- Licensed under MIT, http://opensource.org/licenses/MIT
+
+--[[ CONSTANTS ]]--
+ local HOURPERDAY = 24
+ local MINPERHOUR = 60
+ local MINPERDAY = 1440 -- 24*60
+ local SECPERMIN = 60
+ local SECPERHOUR = 3600 -- 60*60
+ local SECPERDAY = 86400 -- 24*60*60
+ local TICKSPERSEC = 1000000
+ local TICKSPERDAY = 86400000000
+ local TICKSPERHOUR = 3600000000
+ local TICKSPERMIN = 60000000
+ local DAYNUM_MAX = 365242500 -- Sat Jan 01 1000000 00:00:00
+ local DAYNUM_MIN = -365242500 -- Mon Jan 01 1000000 BCE 00:00:00
+ local DAYNUM_DEF = 0 -- Mon Jan 01 0001 00:00:00
+ local _;
+--[[ LOCAL ARE FASTER ]]--
+ local type = type
+ local pairs = pairs
+ local error = error
+ local assert = assert
+ local tonumber = tonumber
+ local tostring = tostring
+ local string = string
+ local math = math
+ local os = os
+ local unpack = unpack or table.unpack
+ local pack = table.pack or function(...) return { n = select('#', ...), ... } end
+ local setmetatable = setmetatable
+ local getmetatable = getmetatable
+--[[ EXTRA FUNCTIONS ]]--
+ local fmt = string.format
+ local lwr = string.lower
+ local upr = string.upper
+ local rep = string.rep
+ local len = string.len
+ local sub = string.sub
+ local gsub = string.gsub
+ local gmatch = string.gmatch or string.gfind
+ local find = string.find
+ local ostime = os.time
+ local osdate = os.date
+ local floor = math.floor
+ local ceil = math.ceil
+ local abs = math.abs
+ -- removes the decimal part of a number
+ local function fix(n) n = tonumber(n) return n and ((n > 0 and floor or ceil)(n)) end
+ -- returns the modulo n % d;
+ local function mod(n,d) return n - d*floor(n/d) end
+ -- rounds a number;
+ local function round(n, d) d=d^10 return floor((n*d)+.5)/d end
+ -- rounds a number to whole;
+ local function whole(n)return floor(n+.5)end
+ -- is `str` in string list `tbl`, `ml` is the minimun len
+ local function inlist(str, tbl, ml, tn)
+ local sl = len(str)
+ if sl < (ml or 0) then return nil end
+ str = lwr(str)
+ for k, v in pairs(tbl) do
+ if str == lwr(sub(v, 1, sl)) then
+ if tn then tn[0] = k end
+ return k
+ end
+ end
+ end
+ local function fnil() end
+ local function fret(x)return x;end
+--[[ DATE FUNCTIONS ]]--
+ local DATE_EPOCH -- to be set later
+ local sl_weekdays = {
+ [0]="Sunday",[1]="Monday",[2]="Tuesday",[3]="Wednesday",[4]="Thursday",[5]="Friday",[6]="Saturday",
+ [7]="Sun",[8]="Mon",[9]="Tue",[10]="Wed",[11]="Thu",[12]="Fri",[13]="Sat",
+ }
+ local sl_meridian = {[-1]="AM", [1]="PM"}
+ local sl_months = {
+ [00]="January", [01]="February", [02]="March",
+ [03]="April", [04]="May", [05]="June",
+ [06]="July", [07]="August", [08]="September",
+ [09]="October", [10]="November", [11]="December",
+ [12]="Jan", [13]="Feb", [14]="Mar",
+ [15]="Apr", [16]="May", [17]="Jun",
+ [18]="Jul", [19]="Aug", [20]="Sep",
+ [21]="Oct", [22]="Nov", [23]="Dec",
+ }
+ -- added the '.2' to avoid collision, use `fix` to remove
+ local sl_timezone = {
+ [000]="utc", [0.2]="gmt",
+ [300]="est", [240]="edt",
+ [360]="cst", [300.2]="cdt",
+ [420]="mst", [360.2]="mdt",
+ [480]="pst", [420.2]="pdt",
+ }
+ -- set the day fraction resolution
+ local function setticks(t)
+ TICKSPERSEC = t;
+ TICKSPERDAY = SECPERDAY*TICKSPERSEC
+ TICKSPERHOUR= SECPERHOUR*TICKSPERSEC
+ TICKSPERMIN = SECPERMIN*TICKSPERSEC
+ end
+ -- is year y leap year?
+ local function isleapyear(y) -- y must be int!
+ return (mod(y, 4) == 0 and (mod(y, 100) ~= 0 or mod(y, 400) == 0))
+ end
+ -- day since year 0
+ local function dayfromyear(y) -- y must be int!
+ return 365*y + floor(y/4) - floor(y/100) + floor(y/400)
+ end
+ -- day number from date, month is zero base
+ local function makedaynum(y, m, d)
+ local mm = mod(mod(m,12) + 10, 12)
+ return dayfromyear(y + floor(m/12) - floor(mm/10)) + floor((mm*306 + 5)/10) + d - 307
+ --local yy = y + floor(m/12) - floor(mm/10)
+ --return dayfromyear(yy) + floor((mm*306 + 5)/10) + (d - 1)
+ end
+ -- date from day number, month is zero base
+ local function breakdaynum(g)
+ local g = g + 306
+ local y = floor((10000*g + 14780)/3652425)
+ local d = g - dayfromyear(y)
+ if d < 0 then y = y - 1; d = g - dayfromyear(y) end
+ local mi = floor((100*d + 52)/3060)
+ return (floor((mi + 2)/12) + y), mod(mi + 2,12), (d - floor((mi*306 + 5)/10) + 1)
+ end
+ --[[ for floats or int32 Lua Number data type
+ local function breakdaynum2(g)
+ local g, n = g + 306;
+ local n400 = floor(g/DI400Y);n = mod(g,DI400Y);
+ local n100 = floor(n/DI100Y);n = mod(n,DI100Y);
+ local n004 = floor(n/DI4Y); n = mod(n,DI4Y);
+ local n001 = floor(n/365); n = mod(n,365);
+ local y = (n400*400) + (n100*100) + (n004*4) + n001 - ((n001 == 4 or n100 == 4) and 1 or 0)
+ local d = g - dayfromyear(y)
+ local mi = floor((100*d + 52)/3060)
+ return (floor((mi + 2)/12) + y), mod(mi + 2,12), (d - floor((mi*306 + 5)/10) + 1)
+ end
+ ]]
+ -- day fraction from time
+ local function makedayfrc(h,r,s,t)
+ return ((h*60 + r)*60 + s)*TICKSPERSEC + t
+ end
+ -- time from day fraction
+ local function breakdayfrc(df)
+ return
+ mod(floor(df/TICKSPERHOUR),HOURPERDAY),
+ mod(floor(df/TICKSPERMIN ),MINPERHOUR),
+ mod(floor(df/TICKSPERSEC ),SECPERMIN),
+ mod(df,TICKSPERSEC)
+ end
+ -- weekday sunday = 0, monday = 1 ...
+ local function weekday(dn) return mod(dn + 1, 7) end
+ -- yearday 0 based ...
+ local function yearday(dn)
+ return dn - dayfromyear((breakdaynum(dn))-1)
+ end
+ -- parse v as a month
+ local function getmontharg(v)
+ local m = tonumber(v);
+ return (m and fix(m - 1)) or inlist(tostring(v) or "", sl_months, 2)
+ end
+ -- get daynum of isoweek one of year y
+ local function isow1(y)
+ local f = makedaynum(y, 0, 4) -- get the date for the 4-Jan of year `y`
+ local d = weekday(f)
+ d = d == 0 and 7 or d -- get the ISO day number, 1 == Monday, 7 == Sunday
+ return f + (1 - d)
+ end
+ local function isowy(dn)
+ local w1;
+ local y = (breakdaynum(dn))
+ if dn >= makedaynum(y, 11, 29) then
+ w1 = isow1(y + 1);
+ if dn < w1 then
+ w1 = isow1(y);
+ else
+ y = y + 1;
+ end
+ else
+ w1 = isow1(y);
+ if dn < w1 then
+ w1 = isow1(y-1)
+ y = y - 1
+ end
+ end
+ return floor((dn-w1)/7)+1, y
+ end
+ local function isoy(dn)
+ local y = (breakdaynum(dn))
+ return y + (((dn >= makedaynum(y, 11, 29)) and (dn >= isow1(y + 1))) and 1 or (dn < isow1(y) and -1 or 0))
+ end
+ local function makedaynum_isoywd(y,w,d)
+ return isow1(y) + 7*w + d - 8 -- simplified: isow1(y) + ((w-1)*7) + (d-1)
+ end
+--[[ THE DATE MODULE ]]--
+ local fmtstr = "%x %X";
+--#if not DATE_OBJECT_AFX then
+ local date = {}
+ setmetatable(date, date)
+-- Version: VMMMRRRR; V-Major, M-Minor, R-Revision; e.g. 5.45.321 == 50450321
+ date.version = 20010001 -- 2.1.1
+--#end -- not DATE_OBJECT_AFX
+--[[ THE DATE OBJECT ]]--
+ local dobj = {}
+ dobj.__index = dobj
+ dobj.__metatable = dobj
+ -- shout invalid arg
+ local function date_error_arg() return error("invalid argument(s)",0) end
+ -- create new date object
+ local function date_new(dn, df)
+ return setmetatable({daynum=dn, dayfrc=df}, dobj)
+ end
+ -- is `v` a date object?
+ local function date_isdobj(v)
+ return (type(v) == 'table' and getmetatable(v) == dobj) and v
+ end
+
+--#if not NO_LOCAL_TIME_SUPPORT then
+ -- magic year table
+ local date_epoch, yt;
+ local function getequivyear(y)
+ assert(not yt)
+ yt = {}
+ local de, dw, dy = date_epoch:copy()
+ for i = 0, 3000 do
+ de:setyear(de:getyear() + 1, 1, 1)
+ dy = de:getyear()
+ dw = de:getweekday() * (isleapyear(dy) and -1 or 1)
+ if not yt[dw] then yt[dw] = dy end --print(de)
+ if yt[1] and yt[2] and yt[3] and yt[4] and yt[5] and yt[6] and yt[7] and yt[-1] and yt[-2] and yt[-3] and yt[-4] and yt[-5] and yt[-6] and yt[-7] then
+ getequivyear = function(y) return yt[ (weekday(makedaynum(y, 0, 1)) + 1) * (isleapyear(y) and -1 or 1) ] end
+ return getequivyear(y)
+ end
+ end
+ end
+ -- TimeValue from daynum and dayfrc
+ local function dvtotv(dn, df)
+ return fix(dn - DATE_EPOCH) * SECPERDAY + (df/1000)
+ end
+ -- TimeValue from date and time
+ local function totv(y,m,d,h,r,s)
+ return (makedaynum(y, m, d) - DATE_EPOCH) * SECPERDAY + ((h*60 + r)*60 + s)
+ end
+ -- TimeValue from TimeTable
+ local function tmtotv(tm)
+ return tm and totv(tm.year, tm.month - 1, tm.day, tm.hour, tm.min, tm.sec)
+ end
+ -- Returns the bias in seconds of utc time daynum and dayfrc
+ local function getbiasutc2(self)
+ local y,m,d = breakdaynum(self.daynum)
+ local h,r,s = breakdayfrc(self.dayfrc)
+ local tvu = totv(y,m,d,h,r,s) -- get the utc TimeValue of date and time
+ local tml = osdate("*t", tvu) -- get the local TimeTable of tvu
+ if (not tml) or (tml.year > (y+1) or tml.year < (y-1)) then -- failed try the magic
+ y = getequivyear(y)
+ tvu = totv(y,m,d,h,r,s)
+ tml = osdate("*t", tvu)
+ end
+ local tvl = tmtotv(tml)
+ if tvu and tvl then
+ return tvu - tvl, tvu, tvl
+ else
+ return error("failed to get bias from utc time")
+ end
+ end
+ -- Returns the bias in seconds of local time daynum and dayfrc
+ local function getbiasloc2(daynum, dayfrc)
+ local tvu
+ -- extract date and time
+ local y,m,d = breakdaynum(daynum)
+ local h,r,s = breakdayfrc(dayfrc)
+ -- get equivalent TimeTable
+ local tml = {year=y, month=m+1, day=d, hour=h, min=r, sec=s}
+ -- get equivalent TimeValue
+ local tvl = tmtotv(tml)
+
+ local function chkutc()
+ tml.isdst = nil; local tvug = ostime(tml) if tvug and (tvl == tmtotv(osdate("*t", tvug))) then tvu = tvug return end
+ tml.isdst = true; local tvud = ostime(tml) if tvud and (tvl == tmtotv(osdate("*t", tvud))) then tvu = tvud return end
+ tvu = tvud or tvug
+ end
+ chkutc()
+ if not tvu then
+ tml.year = getequivyear(y)
+ tvl = tmtotv(tml)
+ chkutc()
+ end
+ return ((tvu and tvl) and (tvu - tvl)) or error("failed to get bias from local time"), tvu, tvl
+ end
+--#end -- not NO_LOCAL_TIME_SUPPORT
+
+--#if not DATE_OBJECT_AFX then
+ -- the date parser
+ local strwalker = {} -- ^Lua regular expression is not as powerful as Perl$
+ strwalker.__index = strwalker
+ local function newstrwalker(s)return setmetatable({s=s, i=1, e=1, c=len(s)}, strwalker) end
+ function strwalker:aimchr() return "\n" .. self.s .. "\n" .. rep(".",self.e-1) .. "^" end
+ function strwalker:finish() return self.i > self.c end
+ function strwalker:back() self.i = self.e return self end
+ function strwalker:restart() self.i, self.e = 1, 1 return self end
+ function strwalker:match(s) return (find(self.s, s, self.i)) end
+ function strwalker:__call(s, f)-- print("strwalker:__call "..s..self:aimchr())
+ local is, ie; is, ie, self[1], self[2], self[3], self[4], self[5] = find(self.s, s, self.i)
+ if is then self.e, self.i = self.i, 1+ie; if f then f(unpack(self)) end return self end
+ end
+ local function date_parse(str)
+ local y,m,d, h,r,s, z, w,u, j, e, k, x,v,c, chkfin, dn,df;
+ local sw = newstrwalker(gsub(gsub(str, "(%b())", ""),"^(%s*)","")) -- remove comment, trim leading space
+ --local function error_out() print(y,m,d,h,r,s) end
+ local function error_dup(q) --[[error_out()]] error("duplicate value: " .. (q or "") .. sw:aimchr()) end
+ local function error_syn(q) --[[error_out()]] error("syntax error: " .. (q or "") .. sw:aimchr()) end
+ local function error_inv(q) --[[error_out()]] error("invalid date: " .. (q or "") .. sw:aimchr()) end
+ local function sety(q) y = y and error_dup() or tonumber(q); end
+ local function setm(q) m = (m or w or j) and error_dup(m or w or j) or tonumber(q) end
+ local function setd(q) d = d and error_dup() or tonumber(q) end
+ local function seth(q) h = h and error_dup() or tonumber(q) end
+ local function setr(q) r = r and error_dup() or tonumber(q) end
+ local function sets(q) s = s and error_dup() or tonumber(q) end
+ local function adds(q) s = s + tonumber(q) end
+ local function setj(q) j = (m or w or j) and error_dup() or tonumber(q); end
+ local function setz(q) z = (z ~= 0 and z) and error_dup() or q end
+ local function setzn(zs,zn) zn = tonumber(zn); setz( ((zn<24) and (zn*60) or (mod(zn,100) + floor(zn/100) * 60))*( zs=='+' and -1 or 1) ) end
+ local function setzc(zs,zh,zm) setz( ((tonumber(zh)*60) + tonumber(zm))*( zs=='+' and -1 or 1) ) end
+
+ if not (sw("^(%d%d%d%d)",sety) and (sw("^(%-?)(%d%d)%1(%d%d)",function(_,a,b) setm(tonumber(a)); setd(tonumber(b)) end) or sw("^(%-?)[Ww](%d%d)%1(%d?)",function(_,a,b) w, u = tonumber(a), tonumber(b or 1) end) or sw("^%-?(%d%d%d)",setj) or sw("^%-?(%d%d)",function(a) setm(a);setd(1) end))
+ and ((sw("^%s*[Tt]?(%d%d):?",seth) and sw("^(%d%d):?",setr) and sw("^(%d%d)",sets) and sw("^(%.%d+)",adds))
+ or sw:finish() or (sw"^%s*$" or sw"^%s*[Zz]%s*$" or sw("^%s-([%+%-])(%d%d):?(%d%d)%s*$",setzc) or sw("^%s*([%+%-])(%d%d)%s*$",setzn))
+ ) )
+ then --print(y,m,d,h,r,s,z,w,u,j)
+ sw:restart(); y,m,d,h,r,s,z,w,u,j = nil;
+ repeat -- print(sw:aimchr())
+ if sw("^[tT:]?%s*(%d%d?):",seth) then --print("$Time")
+ _ = sw("^%s*(%d%d?)",setr) and sw("^%s*:%s*(%d%d?)",sets) and sw("^(%.%d+)",adds)
+ elseif sw("^(%d+)[/\\%s,-]?%s*") then --print("$Digits")
+ x, c = tonumber(sw[1]), len(sw[1])
+ if (x >= 70) or (m and d and (not y)) or (c > 3) then
+ sety( x + ((x >= 100 or c>3)and 0 or 1900) )
+ else
+ if m then setd(x) else m = x end
+ end
+ elseif sw("^(%a+)[/\\%s,-]?%s*") then --print("$Words")
+ x = sw[1]
+ if inlist(x, sl_months, 2, sw) then
+ if m and (not d) and (not y) then d, m = m, false end
+ setm(mod(sw[0],12)+1)
+ elseif inlist(x, sl_timezone, 2, sw) then
+ c = fix(sw[0]) -- ignore gmt and utc
+ if c ~= 0 then setz(c, x) end
+ elseif inlist(x, sl_weekdays, 2, sw) then
+ k = sw[0]
+ else
+ sw:back()
+ -- am pm bce ad ce bc
+ if sw("^([bB])%s*(%.?)%s*[Cc]%s*(%2)%s*[Ee]%s*(%2)%s*") or sw("^([bB])%s*(%.?)%s*[Cc]%s*(%2)%s*") then
+ e = e and error_dup() or -1
+ elseif sw("^([aA])%s*(%.?)%s*[Dd]%s*(%2)%s*") or sw("^([cC])%s*(%.?)%s*[Ee]%s*(%2)%s*") then
+ e = e and error_dup() or 1
+ elseif sw("^([PApa])%s*(%.?)%s*[Mm]?%s*(%2)%s*") then
+ x = lwr(sw[1]) -- there should be hour and it must be correct
+ if (not h) or (h > 12) or (h < 0) then return error_inv() end
+ if x == 'a' and h == 12 then h = 0 end -- am
+ if x == 'p' and h ~= 12 then h = h + 12 end -- pm
+ else error_syn() end
+ end
+ elseif not(sw("^([+-])(%d%d?):(%d%d)",setzc) or sw("^([+-])(%d+)",setzn) or sw("^[Zz]%s*$")) then -- sw{"([+-])",{"(%d%d?):(%d%d)","(%d+)"}}
+ error_syn("?")
+ end
+ sw("^%s*") until sw:finish()
+ --else print("$Iso(Date|Time|Zone)")
+ end
+ -- if date is given, it must be complete year, month & day
+ if (not y and not h) or ((m and not d) or (d and not m)) or ((m and w) or (m and j) or (j and w)) then return error_inv("!") end
+ -- fix month
+ if m then m = m - 1 end
+ -- fix year if we are on BCE
+ if e and e < 0 and y > 0 then y = 1 - y end
+ -- create date object
+ dn = (y and ((w and makedaynum_isoywd(y,w,u)) or (j and makedaynum(y, 0, j)) or makedaynum(y, m, d))) or DAYNUM_DEF
+ df = makedayfrc(h or 0, r or 0, s or 0, 0) + ((z or 0)*TICKSPERMIN)
+ --print("Zone",h,r,s,z,m,d,y,df)
+ return date_new(dn, df) -- no need to :normalize();
+ end
+ local function date_fromtable(v)
+ local y, m, d = fix(v.year), getmontharg(v.month), fix(v.day)
+ local h, r, s, t = tonumber(v.hour), tonumber(v.min), tonumber(v.sec), tonumber(v.ticks)
+ -- atleast there is time or complete date
+ if (y or m or d) and (not(y and m and d)) then return error("incomplete table") end
+ return (y or h or r or s or t) and date_new(y and makedaynum(y, m, d) or DAYNUM_DEF, makedayfrc(h or 0, r or 0, s or 0, t or 0))
+ end
+ local tmap = {
+ ['number'] = function(v) return date_epoch:copy():addseconds(v) end,
+ ['string'] = function(v) return date_parse(v) end,
+ ['boolean']= function(v) return date_fromtable(osdate(v and "!*t" or "*t")) end,
+ ['table'] = function(v) local ref = getmetatable(v) == dobj; return ref and v or date_fromtable(v), ref end
+ }
+ local function date_getdobj(v)
+ local o, r = (tmap[type(v)] or fnil)(v);
+ return (o and o:normalize() or error"invalid date time value"), r -- if r is true then o is a reference to a date obj
+ end
+--#end -- not DATE_OBJECT_AFX
+ local function date_from(...)
+ local arg = pack(...)
+ local y, m, d = fix(arg[1]), getmontharg(arg[2]), fix(arg[3])
+ local h, r, s, t = tonumber(arg[4] or 0), tonumber(arg[5] or 0), tonumber(arg[6] or 0), tonumber(arg[7] or 0)
+ if y and m and d and h and r and s and t then
+ return date_new(makedaynum(y, m, d), makedayfrc(h, r, s, t)):normalize()
+ else
+ return date_error_arg()
+ end
+ end
+
+ --[[ THE DATE OBJECT METHODS ]]--
+ function dobj:normalize()
+ local dn, df = fix(self.daynum), self.dayfrc
+ self.daynum, self.dayfrc = dn + floor(df/TICKSPERDAY), mod(df, TICKSPERDAY)
+ return (dn >= DAYNUM_MIN and dn <= DAYNUM_MAX) and self or error("date beyond imposed limits:"..self)
+ end
+
+ function dobj:getdate() local y, m, d = breakdaynum(self.daynum) return y, m+1, d end
+ function dobj:gettime() return breakdayfrc(self.dayfrc) end
+
+ function dobj:getclockhour() local h = self:gethours() return h>12 and mod(h,12) or (h==0 and 12 or h) end
+
+ function dobj:getyearday() return yearday(self.daynum) + 1 end
+ function dobj:getweekday() return weekday(self.daynum) + 1 end -- in lua weekday is sunday = 1, monday = 2 ...
+
+ function dobj:getyear() local r,_,_ = breakdaynum(self.daynum) return r end
+ function dobj:getmonth() local _,r,_ = breakdaynum(self.daynum) return r+1 end-- in lua month is 1 base
+ function dobj:getday() local _,_,r = breakdaynum(self.daynum) return r end
+ function dobj:gethours() return mod(floor(self.dayfrc/TICKSPERHOUR),HOURPERDAY) end
+ function dobj:getminutes() return mod(floor(self.dayfrc/TICKSPERMIN), MINPERHOUR) end
+ function dobj:getseconds() return mod(floor(self.dayfrc/TICKSPERSEC ),SECPERMIN) end
+ function dobj:getfracsec() return mod(floor(self.dayfrc/TICKSPERSEC ),SECPERMIN)+(mod(self.dayfrc,TICKSPERSEC)/TICKSPERSEC) end
+ function dobj:getticks(u) local x = mod(self.dayfrc,TICKSPERSEC) return u and ((x*u)/TICKSPERSEC) or x end
+
+ function dobj:getweeknumber(wdb)
+ local wd, yd = weekday(self.daynum), yearday(self.daynum)
+ if wdb then
+ wdb = tonumber(wdb)
+ if wdb then
+ wd = mod(wd-(wdb-1),7)-- shift the week day base
+ else
+ return date_error_arg()
+ end
+ end
+ return (yd < wd and 0) or (floor(yd/7) + ((mod(yd, 7)>=wd) and 1 or 0))
+ end
+
+ function dobj:getisoweekday() return mod(weekday(self.daynum)-1,7)+1 end -- sunday = 7, monday = 1 ...
+ function dobj:getisoweeknumber() return (isowy(self.daynum)) end
+ function dobj:getisoyear() return isoy(self.daynum) end
+ function dobj:getisodate()
+ local w, y = isowy(self.daynum)
+ return y, w, self:getisoweekday()
+ end
+ function dobj:setisoyear(y, w, d)
+ local cy, cw, cd = self:getisodate()
+ if y then cy = fix(tonumber(y))end
+ if w then cw = fix(tonumber(w))end
+ if d then cd = fix(tonumber(d))end
+ if cy and cw and cd then
+ self.daynum = makedaynum_isoywd(cy, cw, cd)
+ return self:normalize()
+ else
+ return date_error_arg()
+ end
+ end
+
+ function dobj:setisoweekday(d) return self:setisoyear(nil, nil, d) end
+ function dobj:setisoweeknumber(w,d) return self:setisoyear(nil, w, d) end
+
+ function dobj:setyear(y, m, d)
+ local cy, cm, cd = breakdaynum(self.daynum)
+ if y then cy = fix(tonumber(y))end
+ if m then cm = getmontharg(m) end
+ if d then cd = fix(tonumber(d))end
+ if cy and cm and cd then
+ self.daynum = makedaynum(cy, cm, cd)
+ return self:normalize()
+ else
+ return date_error_arg()
+ end
+ end
+
+ function dobj:setmonth(m, d)return self:setyear(nil, m, d) end
+ function dobj:setday(d) return self:setyear(nil, nil, d) end
+
+ function dobj:sethours(h, m, s, t)
+ local ch,cm,cs,ck = breakdayfrc(self.dayfrc)
+ ch, cm, cs, ck = tonumber(h or ch), tonumber(m or cm), tonumber(s or cs), tonumber(t or ck)
+ if ch and cm and cs and ck then
+ self.dayfrc = makedayfrc(ch, cm, cs, ck)
+ return self:normalize()
+ else
+ return date_error_arg()
+ end
+ end
+
+ function dobj:setminutes(m,s,t) return self:sethours(nil, m, s, t) end
+ function dobj:setseconds(s, t) return self:sethours(nil, nil, s, t) end
+ function dobj:setticks(t) return self:sethours(nil, nil, nil, t) end
+
+ function dobj:spanticks() return (self.daynum*TICKSPERDAY + self.dayfrc) end
+ function dobj:spanseconds() return (self.daynum*TICKSPERDAY + self.dayfrc)/TICKSPERSEC end
+ function dobj:spanminutes() return (self.daynum*TICKSPERDAY + self.dayfrc)/TICKSPERMIN end
+ function dobj:spanhours() return (self.daynum*TICKSPERDAY + self.dayfrc)/TICKSPERHOUR end
+ function dobj:spandays() return (self.daynum*TICKSPERDAY + self.dayfrc)/TICKSPERDAY end
+
+ function dobj:addyears(y, m, d)
+ local cy, cm, cd = breakdaynum(self.daynum)
+ if y then y = fix(tonumber(y))else y = 0 end
+ if m then m = fix(tonumber(m))else m = 0 end
+ if d then d = fix(tonumber(d))else d = 0 end
+ if y and m and d then
+ self.daynum = makedaynum(cy+y, cm+m, cd+d)
+ return self:normalize()
+ else
+ return date_error_arg()
+ end
+ end
+
+ function dobj:addmonths(m, d)
+ return self:addyears(nil, m, d)
+ end
+
+ local function dobj_adddayfrc(self,n,pt,pd)
+ n = tonumber(n)
+ if n then
+ local x = floor(n/pd);
+ self.daynum = self.daynum + x;
+ self.dayfrc = self.dayfrc + (n-x*pd)*pt;
+ return self:normalize()
+ else
+ return date_error_arg()
+ end
+ end
+ function dobj:adddays(n) return dobj_adddayfrc(self,n,TICKSPERDAY,1) end
+ function dobj:addhours(n) return dobj_adddayfrc(self,n,TICKSPERHOUR,HOURPERDAY) end
+ function dobj:addminutes(n) return dobj_adddayfrc(self,n,TICKSPERMIN,MINPERDAY) end
+ function dobj:addseconds(n) return dobj_adddayfrc(self,n,TICKSPERSEC,SECPERDAY) end
+ function dobj:addticks(n) return dobj_adddayfrc(self,n,1,TICKSPERDAY) end
+ local tvspec = {
+ -- Abbreviated weekday name (Sun)
+ ['%a']=function(self) return sl_weekdays[weekday(self.daynum) + 7] end,
+ -- Full weekday name (Sunday)
+ ['%A']=function(self) return sl_weekdays[weekday(self.daynum)] end,
+ -- Abbreviated month name (Dec)
+ ['%b']=function(self) return sl_months[self:getmonth() - 1 + 12] end,
+ -- Full month name (December)
+ ['%B']=function(self) return sl_months[self:getmonth() - 1] end,
+ -- Year/100 (19, 20, 30)
+ ['%C']=function(self) return fmt("%.2d", fix(self:getyear()/100)) end,
+ -- The day of the month as a number (range 1 - 31)
+ ['%d']=function(self) return fmt("%.2d", self:getday()) end,
+ -- year for ISO 8601 week, from 00 (79)
+ ['%g']=function(self) return fmt("%.2d", mod(self:getisoyear() ,100)) end,
+ -- year for ISO 8601 week, from 0000 (1979)
+ ['%G']=function(self) return fmt("%.4d", self:getisoyear()) end,
+ -- same as %b
+ ['%h']=function(self) return self:fmt0("%b") end,
+ -- hour of the 24-hour day, from 00 (06)
+ ['%H']=function(self) return fmt("%.2d", self:gethours()) end,
+ -- The hour as a number using a 12-hour clock (01 - 12)
+ ['%I']=function(self) return fmt("%.2d", self:getclockhour()) end,
+ -- The day of the year as a number (001 - 366)
+ ['%j']=function(self) return fmt("%.3d", self:getyearday()) end,
+ -- Month of the year, from 01 to 12
+ ['%m']=function(self) return fmt("%.2d", self:getmonth()) end,
+ -- Minutes after the hour 55
+ ['%M']=function(self) return fmt("%.2d", self:getminutes())end,
+ -- AM/PM indicator (AM)
+ ['%p']=function(self) return sl_meridian[self:gethours() > 11 and 1 or -1] end, --AM/PM indicator (AM)
+ -- The second as a number (59, 20 , 01)
+ ['%S']=function(self) return fmt("%.2d", self:getseconds()) end,
+ -- ISO 8601 day of the week, to 7 for Sunday (7, 1)
+ ['%u']=function(self) return self:getisoweekday() end,
+ -- Sunday week of the year, from 00 (48)
+ ['%U']=function(self) return fmt("%.2d", self:getweeknumber()) end,
+ -- ISO 8601 week of the year, from 01 (48)
+ ['%V']=function(self) return fmt("%.2d", self:getisoweeknumber()) end,
+ -- The day of the week as a decimal, Sunday being 0
+ ['%w']=function(self) return self:getweekday() - 1 end,
+ -- Monday week of the year, from 00 (48)
+ ['%W']=function(self) return fmt("%.2d", self:getweeknumber(2)) end,
+ -- The year as a number without a century (range 00 to 99)
+ ['%y']=function(self) return fmt("%.2d", mod(self:getyear() ,100)) end,
+ -- Year with century (2000, 1914, 0325, 0001)
+ ['%Y']=function(self) return fmt("%.4d", self:getyear()) end,
+ -- Time zone offset, the date object is assumed local time (+1000, -0230)
+ ['%z']=function(self) local b = -self:getbias(); local x = abs(b); return fmt("%s%.4d", b < 0 and "-" or "+", fix(x/60)*100 + floor(mod(x,60))) end,
+ -- Time zone name, the date object is assumed local time
+ ['%Z']=function(self) return self:gettzname() end,
+ -- Misc --
+ -- Year, if year is in BCE, prints the BCE Year representation, otherwise result is similar to "%Y" (1 BCE, 40 BCE)
+ ['%\b']=function(self) local x = self:getyear() return fmt("%.4d%s", x>0 and x or (-x+1), x>0 and "" or " BCE") end,
+ -- Seconds including fraction (59.998, 01.123)
+ ['%\f']=function(self) local x = self:getfracsec() return fmt("%s%.9f",x >= 10 and "" or "0", x) end,
+ -- percent character %
+ ['%%']=function(self) return "%" end,
+ -- Group Spec --
+ -- 12-hour time, from 01:00:00 AM (06:55:15 AM); same as "%I:%M:%S %p"
+ ['%r']=function(self) return self:fmt0("%I:%M:%S %p") end,
+ -- hour:minute, from 01:00 (06:55); same as "%I:%M"
+ ['%R']=function(self) return self:fmt0("%I:%M") end,
+ -- 24-hour time, from 00:00:00 (06:55:15); same as "%H:%M:%S"
+ ['%T']=function(self) return self:fmt0("%H:%M:%S") end,
+ -- month/day/year from 01/01/00 (12/02/79); same as "%m/%d/%y"
+ ['%D']=function(self) return self:fmt0("%m/%d/%y") end,
+ -- year-month-day (1979-12-02); same as "%Y-%m-%d"
+ ['%F']=function(self) return self:fmt0("%Y-%m-%d") end,
+ -- The preferred date and time representation; same as "%x %X"
+ ['%c']=function(self) return self:fmt0("%x %X") end,
+ -- The preferred date representation, same as "%a %b %d %\b"
+ ['%x']=function(self) return self:fmt0("%a %b %d %\b") end,
+ -- The preferred time representation, same as "%H:%M:%\f"
+ ['%X']=function(self) return self:fmt0("%H:%M:%\f") end,
+ -- GroupSpec --
+ -- Iso format, same as "%Y-%m-%dT%T"
+ ['${iso}'] = function(self) return self:fmt0("%Y-%m-%dT%T") end,
+ -- http format, same as "%a, %d %b %Y %T GMT"
+ ['${http}'] = function(self) return self:fmt0("%a, %d %b %Y %T GMT") end,
+ -- ctime format, same as "%a %b %d %T GMT %Y"
+ ['${ctime}'] = function(self) return self:fmt0("%a %b %d %T GMT %Y") end,
+ -- RFC850 format, same as "%A, %d-%b-%y %T GMT"
+ ['${rfc850}'] = function(self) return self:fmt0("%A, %d-%b-%y %T GMT") end,
+ -- RFC1123 format, same as "%a, %d %b %Y %T GMT"
+ ['${rfc1123}'] = function(self) return self:fmt0("%a, %d %b %Y %T GMT") end,
+ -- asctime format, same as "%a %b %d %T %Y"
+ ['${asctime}'] = function(self) return self:fmt0("%a %b %d %T %Y") end,
+ }
+ function dobj:fmt0(str) return (gsub(str, "%%[%a%%\b\f]", function(x) local f = tvspec[x];return (f and f(self)) or x end)) end
+ function dobj:fmt(str)
+ str = str or self.fmtstr or fmtstr
+ return self:fmt0((gmatch(str, "${%w+}")) and (gsub(str, "${%w+}", function(x)local f=tvspec[x];return (f and f(self)) or x end)) or str)
+ end
+
+ function dobj.__lt(a, b) if (a.daynum == b.daynum) then return (a.dayfrc < b.dayfrc) else return (a.daynum < b.daynum) end end
+ function dobj.__le(a, b) if (a.daynum == b.daynum) then return (a.dayfrc <= b.dayfrc) else return (a.daynum <= b.daynum) end end
+ function dobj.__eq(a, b)return (a.daynum == b.daynum) and (a.dayfrc == b.dayfrc) end
+ function dobj.__sub(a,b)
+ local d1, d2 = date_getdobj(a), date_getdobj(b)
+ local d0 = d1 and d2 and date_new(d1.daynum - d2.daynum, d1.dayfrc - d2.dayfrc)
+ return d0 and d0:normalize()
+ end
+ function dobj.__add(a,b)
+ local d1, d2 = date_getdobj(a), date_getdobj(b)
+ local d0 = d1 and d2 and date_new(d1.daynum + d2.daynum, d1.dayfrc + d2.dayfrc)
+ return d0 and d0:normalize()
+ end
+ function dobj.__concat(a, b) return tostring(a) .. tostring(b) end
+ function dobj:__tostring() return self:fmt() end
+
+ function dobj:copy() return date_new(self.daynum, self.dayfrc) end
+
+--[[ THE LOCAL DATE OBJECT METHODS ]]--
+ function dobj:tolocal()
+ local dn,df = self.daynum, self.dayfrc
+ local bias = getbiasutc2(self)
+ if bias then
+ -- utc = local + bias; local = utc - bias
+ self.daynum = dn
+ self.dayfrc = df - bias*TICKSPERSEC
+ return self:normalize()
+ else
+ return nil
+ end
+ end
+
+ function dobj:toutc()
+ local dn,df = self.daynum, self.dayfrc
+ local bias = getbiasloc2(dn, df)
+ if bias then
+ -- utc = local + bias;
+ self.daynum = dn
+ self.dayfrc = df + bias*TICKSPERSEC
+ return self:normalize()
+ else
+ return nil
+ end
+ end
+
+ function dobj:getbias() return (getbiasloc2(self.daynum, self.dayfrc))/SECPERMIN end
+
+ function dobj:gettzname()
+ local _, tvu, _ = getbiasloc2(self.daynum, self.dayfrc)
+ return tvu and osdate("%Z",tvu) or ""
+ end
+
+--#if not DATE_OBJECT_AFX then
+ function date.time(h, r, s, t)
+ h, r, s, t = tonumber(h or 0), tonumber(r or 0), tonumber(s or 0), tonumber(t or 0)
+ if h and r and s and t then
+ return date_new(DAYNUM_DEF, makedayfrc(h, r, s, t))
+ else
+ return date_error_arg()
+ end
+ end
+
+ function date:__call(...)
+ local arg = pack(...)
+ if arg.n > 1 then return (date_from(...))
+ elseif arg.n == 0 then return (date_getdobj(false))
+ else local o, r = date_getdobj(arg[1]); return r and o:copy() or o end
+ end
+
+ date.diff = dobj.__sub
+
+ function date.isleapyear(v)
+ local y = fix(v);
+ if not y then
+ y = date_getdobj(v)
+ y = y and y:getyear()
+ end
+ return isleapyear(y+0)
+ end
+
+ function date.epoch() return date_epoch:copy() end
+
+ function date.isodate(y,w,d) return date_new(makedaynum_isoywd(y + 0, w and (w+0) or 1, d and (d+0) or 1), 0) end
+
+-- Internal functions
+ function date.fmt(str) if str then fmtstr = str end; return fmtstr end
+ function date.daynummin(n) DAYNUM_MIN = (n and n < DAYNUM_MAX) and n or DAYNUM_MIN return n and DAYNUM_MIN or date_new(DAYNUM_MIN, 0):normalize()end
+ function date.daynummax(n) DAYNUM_MAX = (n and n > DAYNUM_MIN) and n or DAYNUM_MAX return n and DAYNUM_MAX or date_new(DAYNUM_MAX, 0):normalize()end
+ function date.ticks(t) if t then setticks(t) end return TICKSPERSEC end
+--#end -- not DATE_OBJECT_AFX
+
+ local tm = osdate("!*t", 0);
+ if tm then
+ date_epoch = date_new(makedaynum(tm.year, tm.month - 1, tm.day), makedayfrc(tm.hour, tm.min, tm.sec, 0))
+ -- the distance from our epoch to os epoch in daynum
+ DATE_EPOCH = date_epoch and date_epoch:spandays()
+ else -- error will be raise only if called!
+ date_epoch = setmetatable({},{__index = function() error("failed to get the epoch date") end})
+ end
+
+--#if not DATE_OBJECT_AFX then
+return date
+--#else
+--$return date_from
+--#end
+
diff --git a/macros/luatex/latex/wallcalendar/wallcalendar-helpers.lua b/macros/luatex/latex/wallcalendar/wallcalendar-helpers.lua
new file mode 100644
index 0000000000..99314dd0bf
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/wallcalendar-helpers.lua
@@ -0,0 +1,279 @@
+-- paths are relative to wallcalendar.cls
+local csv = require("wallcalendar-csv.lua")
+local date = require("wallcalendar-date.lua")
+local tp = tex.print
+local tsp = tex.sprint
+
+function loadCsv(csv_path)
+ local f = csv.open(csv_path, {separator = ";", header = true})
+ local data = {}
+ for fields in f:lines() do
+ data[#data + 1] = fields
+ end
+ return data
+end
+
+function ok(x)
+ return x ~= nil and x ~= ""
+end
+
+function hasNote(event)
+ return ok(event.note)
+end
+
+function monthNameToNum(monthName)
+ local months = {january = 1, february = 2, march = 3, april = 4, may = 5, june = 6, july = 7, august = 8, september = 9, october = 10, november = 11, december = 12}
+ return months[string.lower(monthName)]
+end
+
+function getMark(idx, events, markDefaults, isNote)
+ local event = events[idx]
+ local default_mark = {}
+ default_mark.number = {}
+ default_mark.day_text = {}
+ default_mark.note = {}
+
+ default_mark.number.symbol = idx
+ default_mark.number.above_offset = "\\markNumberAbove"
+ default_mark.number.right_offset = "\\markNumberRight"
+
+ default_mark.day_text.symbol = idx
+ default_mark.day_text.above_offset = "\\markDayTextAbove"
+ default_mark.day_text.right_offset = "\\markDayTextRight"
+
+ default_mark.note.symbol = idx
+ default_mark.note.above_offset = "" -- placeholder, not used for note
+ default_mark.note.right_offset = "" -- placeholder, not used for note
+
+ local mark = {}
+
+ for k,v in pairs(default_mark.number) do
+ local m = {}
+ local mark_key = ""
+ local csv_key = ""
+
+ if ok(isNote) then
+ mark_key = "note"
+ elseif ok(event.day_text) then
+ mark_key = "day_text"
+ else
+ mark_key = "number"
+ end
+
+ m = default_mark[mark_key]
+ csv_key = mark_key .. "_" .. k
+
+ if not ok(markDefaults) or not ok(markDefaults[idx]) or not ok(markDefaults[idx][csv_key]) then
+ mark[k] = m[k]
+ else
+ mark[k] = markDefaults[idx][csv_key]
+ end
+ end
+
+ return mark
+end
+
+function getCombinedMark(idx, events, markDefaults, isNote)
+ local event = events[idx]
+ local mark = getMark(idx, events, markDefaults, isNote)
+
+ mark.symbol = ""
+ for i,e in pairs(events) do
+ if e.date == event.date then
+ local m = getMark(i, events, markDefaults, isNote)
+ if mark.symbol == "" then
+ mark.symbol = m.symbol
+ else
+ mark.symbol = mark.symbol .. "\\symbolSeparator " .. m.symbol
+ end
+ end
+ end
+
+ return mark
+end
+
+function collectEvents(byWhat, events, byValue, filterPred)
+ local data = {}
+ for idx,row in pairs(events) do
+ d = date(row.date)
+
+ if filterPred ~= nil then
+ if byWhat == 'month' then
+ if d:getmonth() == byValue and filterPred(row) then
+ data[#data + 1] = row
+ end
+ elseif byWhat == 'year' then
+ if d:getyear() == byValue and filterPred(row) then
+ data[#data + 1] = row
+ end
+ end
+ else
+ if byWhat == 'month' then
+ if d:getmonth() == byValue then
+ data[#data + 1] = row
+ end
+ elseif byWhat == 'year' then
+ if d:getyear() == byValue then
+ data[#data + 1] = row
+ end
+ end
+ end
+
+ end
+ return data
+end
+
+function eventsInMonth(events, month, filterPred)
+ return collectEvents('month', events, month, filterPred)
+end
+
+function eventsInYear(events, year, filterPred)
+ return collectEvents('year', events, year, filterPred)
+end
+
+function formatEvents(events, formatFunc, formatCmd, markDefaultsCsv, minEvents)
+ if ok(minEvents) and #events < minEvents then
+ d = minEvents - #events
+ for i=0,d,1 do
+ events[#events + 1] = {}
+ end
+ end
+
+ local markDefaults = nil
+ if ok(markDefaultsCsv) then
+ markDefaults = loadCsv(markDefaultsCsv)
+ end
+
+ for idx,event in pairs(events) do
+ local mark = {}
+ local d = {}
+
+ if ok(event.date) then
+ -- don't use getCombinedMark here, events on the same day will be printed one after the other
+ mark = getMark(idx, events, markDefaults, true)
+ d = date(event.date)
+ end
+
+ if formatFunc then
+
+ formatFunc(idx, #events, event, d, mark)
+
+ else
+
+ tsp("\\def\\eIdx{"..idx .."}") -- \def\eIdx{1}
+ tsp("\\def\\eMaxIdx{"..#events .."}") -- \def\eMaxIdx{8}
+ tsp("\\def\\eMark{"..mark.symbol .."}") -- \def\eMark{\kiteMark}
+ tsp("\\def\\eIsoDate{"..event.date .."}") -- \def\eIsoDate{2018-01-12}
+ tsp("\\def\\eYear{"..d:getyear() .."}") -- \def\eYear{2018}
+ tsp("\\def\\eMonth{\\x"..d:fmt("%B") .."}") -- \def\eMonth\xJanuary
+ tsp("\\def\\eMonthShort{\\x"..d:fmt("%b").."Short" .."}") -- \def\eMonthShort\xJanShort
+ tsp("\\def\\eDay{"..d:getday() .."}") -- \def\eDay{12}
+ if ok(event.day_text) then
+ tsp("\\def\\eDayText{"..event.day_text .."}") -- \def\eDayText{\dejaVuSans\char"263C}
+ else
+ tsp("\\def\\eDayText{}")
+ end
+ if ok(event.note) then
+ tsp("\\def\\eNote{"..event.note .."}") -- \def\eNote{Anniversary Day}
+ else
+ tsp("\\def\\eNote{}")
+ end
+
+ tsp(formatCmd)
+
+ end
+ end
+end
+
+-- It's better to call it with the name of the month than its number because it
+-- fits the wrapper commands better.
+function monthEvents(monthName, filterPred, formatFunc, formatCmd, eventsCsv, markDefaultsCsv, minEvents)
+ local monthNum = monthNameToNum(monthName)
+ local events = eventsInMonth(loadCsv(eventsCsv), monthNum, filterPred)
+
+ formatEvents(events, formatFunc, formatCmd, markDefaultsCsv, minEvents)
+end
+
+function yearEvents(yearNum, filterPred, formatFunc, formatCmd, eventsCsv, markDefaultsCsv, minEvents)
+ local events = eventsInYear(loadCsv(eventsCsv), yearNum, filterPred)
+
+ formatEvents(events, formatFunc, formatCmd, markDefaultsCsv, minEvents)
+end
+
+-- monthName is better for argument than monthNum
+function monthMarksDayText(monthName, filterPred, eventsCsv)
+ local monthNum = monthNameToNum(monthName)
+ local events = eventsInMonth(loadCsv(eventsCsv), monthNum, filterPred);
+
+ for idx,event in pairs(events) do
+ if ok(event.day_text) then
+ tsp(string.format(" if (equals=%s) [day text={%s}, xshift=\\dayTextXshift, yshift=\\dayTextYshift] ", event.date, event.day_text))
+ end
+ end
+end
+
+function yearMarksDayText(yearNum, filterPred, eventsCsv)
+ local events = eventsInYear(loadCsv(eventsCsv), yearNum, filterPred);
+
+ for idx,event in pairs(events) do
+ if ok(event.day_text) then
+ tsp(string.format(" if (equals=%s) [day text={%s}, xshift=\\dayTextXshift, yshift=\\dayTextYshift] ", event.date, event.day_text))
+ end
+ end
+end
+
+function formatMarksNote(events, filterPred, markDefaultsCsv, isOneCalendar)
+ local markDefaults = nil
+ if ok(markDefaultsCsv) then
+ markDefaults = loadCsv(markDefaultsCsv)
+ end
+
+ local alreadyMarkedDates = {}
+
+ for idx,event in pairs(events) do
+ if ok(event.note) and alreadyMarkedDates[event.date] == nil then
+ alreadyMarkedDates[event.date] = true
+ local d = date(event.date)
+
+ local mark = getCombinedMark(idx, events, markDefaults)
+
+ if ok(isOneCalendar) and isOneCalendar == true then
+ tsp(string.format(" \\draw node [above right=%s and %s of cal-%s.north east] {\\monthMarkFmt %s}; ",
+ mark.above_offset,
+ mark.right_offset,
+ event.date,
+ mark.symbol))
+ else
+ tsp(string.format(" \\draw node [above right=%s and %s of cal%s-%s.north east] {\\monthMarkFmt %s}; ",
+ mark.above_offset,
+ mark.right_offset,
+ d:fmt("%m"),
+ event.date,
+ mark.symbol))
+ end
+ end
+ end
+end
+
+-- monthName is better for argument than monthNum
+function monthMarksNote(monthName, filterPred, eventsCsv, markDefaultsCsv)
+ local monthNum = monthNameToNum(monthName)
+
+ if not ok(filterPred) then
+ filterPred = function(e) return ok(e.note) end
+ end
+
+ local events = eventsInMonth(loadCsv(eventsCsv), monthNum, filterPred);
+
+ formatMarksNote(events, filterPred, markDefaultsCsv, false)
+end
+
+function yearMarksNote(yearNum, filterPred, eventsCsv, markDefaultsCsv, isOneCalendar)
+ if not ok(filterPred) then
+ filterPred = function(e) return ok(e.note) end
+ end
+
+ local events = eventsInYear(loadCsv(eventsCsv), yearNum, filterPred);
+
+ formatMarksNote(events, filterPred, markDefaultsCsv, isOneCalendar)
+end
diff --git a/macros/luatex/latex/wallcalendar/wallcalendar-layouts.png b/macros/luatex/latex/wallcalendar/wallcalendar-layouts.png
new file mode 100644
index 0000000000..f2cf5a240b
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/wallcalendar-layouts.png
Binary files differ
diff --git a/macros/luatex/latex/wallcalendar/wallcalendar.cls b/macros/luatex/latex/wallcalendar/wallcalendar.cls
new file mode 100644
index 0000000000..be0cc5ef96
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/wallcalendar.cls
@@ -0,0 +1,1714 @@
+% wallcalendar.cls; Don't edit this file. Edit wallcalendar-code.org with emacs org-mode and call 'org-babel-tangle'.
+%
+% Wall Calendar
+%
+% A wall calendar document class with custom layouts and support for internationalization.
+%
+% (c) Gambhiro Bhikkhu, 2017
+% gambhiro.bhikkhu.85@gmail.com
+%
+% LPPL LaTeX Public Project License
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{wallcalendar}[2017/10/21 v1.3.1 A wall calendar class with custom layouts and support for internationalization.]
+
+\RequirePackage{pgfopts}
+\RequirePackage{calc}
+
+\newlength\calPaperWidth
+\newlength\calPaperHeight
+\newlength\@wall@leftMargin
+\newlength\@wall@rightMargin
+\newlength\@wall@topMargin
+\newlength\@wall@bottomMargin
+
+\def\@wall@eventsCsv{}
+\def\@wall@markDefaultsCsv{}
+\def\@wall@translationsInputFile{}
+
+\newcommand*\theMonthName{}
+
+\newif\ifvarnishmask
+\newif\ifshowframe
+\newif\iftranslationsAutoload
+\newif\ifloadBabel
+
+\pgfkeys{
+ /wall/.is family, /wall,
+ defaults/.style = {
+ year = \the\year,
+ altyear = \empty,
+ loadBabel = false,
+ language = english,
+ translationsAutoload = true,
+ imageFolder = {./src-images},
+ choralOctavoPaper,
+ hMargin = 17mm,
+ topMargin = 20.5mm,
+ bottomMargin = 10mm,
+ },
+ year/.store in = \CalendarYear,
+ year/.initial = \the\year,
+ altyear/.store in = \CalendarAltYear,
+ altyear/.initial = \empty,
+ language/.store in = \@wall@calendarLanguage,
+ loadBabel/.is if = loadBabel,
+ translationsInputFile/.store in = \@wall@translationsInputFile,
+ translationsInputFile/.initial = {},
+ translationsAutoload/.is if = translationsAutoload,
+ eventsCsv/.store in = \@wall@eventsCsv,
+ eventsCsv/.initial = {},
+ markDefaultsCsv/.store in = \@wall@markDefaultsCsv,
+ markDefaultsCsv/.initial = {},
+ varnishmask/.is if = varnishmask,
+ showframe/.is if = showframe,
+ imageFolder/.store in = \@wall@imageFolder,
+ paperWidth/.code = {\setlength{\calPaperWidth}{#1}},
+ paperHeight/.code = {\setlength{\calPaperHeight}{#1}},
+ hMargin/.code = {\setlength{\@wall@leftMargin}{#1}%
+ \setlength{\@wall@rightMargin}{#1}},
+ leftMargin/.code = {\setlength{\@wall@leftMargin}{#1}},
+ rightMargin/.code = {\setlength{\@wall@rightMargin}{#1}},
+ topMargin/.code = {\setlength{\@wall@topMargin}{#1}},
+ bottomMargin/.code = {\setlength{\@wall@bottomMargin}{#1}},
+ % Paper sizes
+ choralOctavoPaper/.style = {paperWidth = 6.75in, paperHeight = 10.5in},
+ a2Paper/.style = {paperWidth = 420mm, paperHeight = 594mm},
+ a2PaperLandscape/.style = {paperWidth = 594mm, paperHeight = 420mm},
+ a3Paper/.style = {paperWidth = 297mm, paperHeight = 420mm},
+ a3PaperLandscape/.style = {paperWidth = 420mm, paperHeight = 297mm},
+ a4Paper/.style = {paperWidth = 210mm, paperHeight = 297mm},
+ a4PaperLandscape/.style = {paperWidth = 297mm, paperHeight = 210mm},
+ a5Paper/.style = {paperWidth = 148mm, paperHeight = 210mm},% r = 1.4142 = sqrt(2)
+ prevPaper/.style = {paperWidth = 170mm, paperHeight = 250mm},% r = 1.4705
+}
+
+% Debug with: \wlog{YEA: \the\@wall@bottomMargin}
+
+\DeclareOption*{%
+ \PassOptionsToClass{\CurrentOption}{memoir}
+}
+
+\pgfkeys{/wall, defaults}
+\ProcessPgfOptions{/wall}
+\ProcessOptions\relax
+
+\LoadClass[11pt,oneside]{memoir}
+
+\newlength\@tmp@a
+\newlength\@tmp@b
+\newlength\@tmp@c
+\newlength\@tmp@width
+\newlength\@tmp@height
+
+\ifloadBabel
+\RequirePackage[\@wall@calendarLanguage]{babel}
+\fi
+
+\RequirePackage{nag}
+%\RequirePackage{textcomp}
+\RequirePackage[cmyk]{xcolor}
+\RequirePackage{graphicx}
+\DeclareGraphicsExtensions{.pdf,.png,.jpg}
+\graphicspath{{\@wall@imageFolder}}
+
+\RequirePackage{eso-pic}
+\RequirePackage{ccicons}
+\RequirePackage{multicol}
+\RequirePackage{wasysym}
+
+\RequirePackage{pdftexcmds}
+\RequirePackage{etoolbox}
+\RequirePackage{luacode}
+
+\RequirePackage{xcoffins}
+%\RequirePackage{xstring}
+%\RequirePackage{stringstrings}
+
+\ifloadBabel
+\RequirePackage[final,babel=true]{microtype}
+\else
+\RequirePackage[final]{microtype}
+\fi
+
+\RequirePackage{tikz}
+\usetikzlibrary{calendar}
+\usetikzlibrary{positioning}
+\usetikzlibrary{fit}
+\usetikzlibrary{shapes.geometric}
+
+% http://tex.stackexchange.com/a/20426/831
+\pgfdeclarelayer{one}
+\pgfdeclarelayer{two}
+\pgfsetlayers{main,one,two}
+
+\pgfkeys{%
+ /tikz/on layer/.code={
+ \pgfonlayer{#1}\begingroup
+ \aftergroup\endpgfonlayer
+ \aftergroup\endgroup
+ }
+}
+
+\definecolor{textbody}{gray}{0.15}
+
+% pantone 1245C, RGB 191,145,12 HEX: #BF910C
+% pantone 1255C, CMYK 0,27.5,100,34
+\definecolor{gold}{cmyk}{0,0.275,1,0.34}
+\definecolor{darkgold}{cmyk}{0.27,0.53,1,0.09}
+%\definecolor{orangegold}{cmyk}{0,0.31,0.89,0}
+\colorlet{orangegold}{darkgold}
+
+\colorlet{gridcolor}{black!30}
+\colorlet{weekday}{black}
+\colorlet{weekend}{black!50}
+\colorlet{mooncolor}{textbody}
+
+\definecolor{datenum}{gray}{0.3}
+\definecolor{plannerdatenum}{gray}{0.15}
+\definecolor{quote}{gray}{0.3}
+\definecolor{notes}{gray}{0.3}
+
+\definecolor{gridcolor}{gray}{0.5}
+\colorlet{pagebgcolor}{gridcolor!60}
+
+\colorlet{photo-frame}{blue}
+\colorlet{quote-frame}{red}
+\colorlet{heading-frame}{brown}
+\colorlet{calendar-frame}{orange}
+\colorlet{events-frame}{green}
+
+\ifshowframe
+ \colorlet{calendarbg}{black!50}
+\else
+ \colorlet{calendarbg}{white}
+\fi
+
+\ifshowtrims
+ \setstocksize{\calPaperHeight + 35mm}{\calPaperWidth + 35mm}
+ \setlength{\paperheight}{\calPaperHeight}
+ \setlength{\paperwidth}{\calPaperWidth}
+ \trimXmarks
+ \trimLmarks
+ \quarkmarks
+ \settrims{0.5\stockheight - 0.5\paperheight}{0.5\stockwidth - 0.5\paperwidth}
+ \settrimmedsize{\calPaperHeight}{\calPaperWidth}{*}
+\else\relax
+ \setstocksize{\calPaperHeight}{\calPaperWidth}
+ \settrims{0pt}{0pt}
+ \settrimmedsize{\stockheight}{\stockwidth}{*}
+\fi
+
+%\settypeblocksize{\stockheight}{\stockwidth}{*}
+% TODO: calculate margins by ratios to paper size
+\setlrmarginsandblock{\@wall@leftMargin}{\@wall@rightMargin}{*}
+\setulmarginsandblock{\@wall@topMargin}{\@wall@bottomMargin}{*}
+\setheadfoot{0pt}{0pt}
+\setheaderspaces{0pt}{*}{*}
+
+\checkandfixthelayout% This will typeout values in pt.
+\settypeoutlayoutunit{mm}% It is useful to see layout values in mm too.
+\typeoutlayout
+
+\def\@wall@fontSize{11}
+\def\@wall@lineHeight{13.6}
+
+\renewcommand{\normalsize}{%
+ \@setfontsize\normalsize\@wall@fontSize\@wall@lineHeight
+ \abovedisplayskip 11\p@ \@plus3\p@ \@minus6\p@
+ \abovedisplayshortskip \z@ \@plus3\p@
+ \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@
+ \belowdisplayskip \abovedisplayskip
+ \color{textbody}
+ \let\@listi\@listI}
+\normalsize
+
+\setlength{\vgap}{1.5em}
+\setlength{\vindent}{\vgap}
+\setlength{\vleftmargin}{2em}
+
+\setlength{\parskip}{0pt}
+\setlength{\parindent}{0pt}
+
+\setlength{\fboxsep}{0pt}
+
+\definecolor{varnishmask}{gray}{0}
+
+% http://tex.stackexchange.com/a/59571/831
+\newcommand*{\strcmpblank}[3]{%
+ \ifnum\pdf@strcmp{#1}{}=\z@ #2\else #3\fi
+}
+
+\newcommand\@placeholder@pre[1]{%
+ \settowidth{\@tmp@width}{#1}%
+ \settototalheight{\@tmp@height}{#1}%
+ \def\@spacer{\rule{\@tmp@width}{0pt}\rule{0pt}{\@tmp@height}}%
+}
+
+\newcommand\placeholder[3][]{%
+ \ifvarnishmask%
+ \ifstrequal{#2}{hasvarnish}{%
+ \@placeholder@pre{#3}%
+ \tikz\node[fill=varnishmask, inner sep=0pt]{\@spacer};%
+ }{}%
+ \else%
+ \ifshowframe%
+ \@placeholder@pre{#3}%
+ \tikz\node[inner sep=0pt, opacity=0.6, #1]{\@spacer};%
+ \else%
+ #3%
+ \fi%
+ \fi%
+}
+
+\def\@wall@photo@putPhoto#1{#1}
+\def\@wall@photo@setYOffset{}
+
+\pgfkeys{
+ /put photo/.is family, /put photo,
+ simple/.code = {%
+ \def\@wall@photo@putPhoto##1{%
+ \includegraphics{##1}%
+ }%
+ \def\@wall@photo@setYOffset{}%
+ },
+ full page/.code = {%
+ \def\@wall@photo@putPhoto##1{%
+ \includegraphics[%
+ keepaspectratio,%
+ width={\calPaperWidth + 2\@t@bleed},%
+ ]{##1}%
+ }%
+ \def\@wall@photo@setYOffset{}%
+ },
+ full width above calendar/.code = {%
+ \def\@wall@photo@putPhoto##1{%
+ \includegraphics[%
+ keepaspectratio,%
+ width={\calPaperWidth + 2\@t@bleed},%
+ ]{##1}%
+ }%
+ \def\@wall@photo@setYOffset{%
+ \setlength{\@t@yOffset}{\@t@calendar@height + \@t@bleed + 1pt}%
+ }%
+ },
+ full width/.code = {%
+ \def\@wall@photo@putPhoto##1{%
+ \includegraphics[%
+ keepaspectratio,%
+ width={\calPaperWidth + 2\@t@bleed},%
+ ]{##1}%
+ }%
+ \def\@wall@photo@setYOffset{%
+ \setlength{\@t@yOffset}{\@t@calendar@height + \@t@bleed}%
+ }%
+ },
+}
+
+\pgfkeys{
+ /Photo/.is family, /Photo,
+ init/.style = {
+ defaults/.style = {file = {}, thumbFile = {}, caption = {}, bleed = 0pt, xOffset=0pt, yOffset=0pt},
+ file/.initial = {},
+ thumbFile/.initial = {},
+ caption/.initial = {},
+ bleed/.initial = 0pt,
+ xOffset/.initial = 0pt,
+ yOffset/.initial = 0pt,
+ },
+}
+
+\pgfkeys{
+ /Quote/.is family, /Quote,
+ init/.style = {
+ defaults/.style = {position=center, text={}, xOffset=0pt, yOffset=0pt},
+ position/.initial = {},
+ text/.initial = {},
+ xOffset/.initial = 0pt,
+ yOffset/.initial = 0pt,
+ },
+}
+
+\pgfkeys{
+ /Calendar/.is family, /Calendar,
+ init/.style = {
+ defaults/.style = {bg/.style={opacity=0.5}},
+ bg/.style = {},
+ minimum height/.initial = {},
+ },
+}
+
+\pgfkeys{
+ /Events/.is family, /Events,
+ init/.style = {
+ defaults/.style = {day code = {}, marks = {}, text = {}},
+ day code/.initial = {},
+ marks/.initial = {},
+ text/.initial = {},
+ },
+}
+
+\pgfkeys{
+ /Txt/.is family, /Txt,
+ init/.style = {
+ defaults/.style = {text = {}},
+ text/.initial = {},
+ },
+}
+
+\def\eIdx{}
+\def\eMaxIdx{}
+\def\eMark{}
+\def\eIsoDate{}
+\def\eYear{}
+\def\eMonth{}
+\def\eMonthShort{}
+\def\eDay{}
+\def\eDayText{}
+\def\eNote{}
+
+\pgfkeys{
+ /parseMonthEvents/.is family, /parseMonthEvents,
+ month/.initial = {},
+ filter pred/.initial = nil,
+ format func/.initial = nil,
+ format cmd/.initial = {},
+ events csv/.initial = {},
+ mark defaults csv/.initial = {},
+ min events/.initial = {},
+ defaults/.style = {
+ month = \theMonthName,
+ filter pred = nil,
+ format func = nil,
+ format cmd = {\textsuperscript{\eIdx}~\eMonthShort~\eDay:~\eNote\par},
+ events csv = \@wall@eventsCsv,
+ mark defaults csv = \@wall@markDefaultsCsv,
+ min events = nil,
+ },
+}
+
+\pgfkeys{
+ /parseYearEvents/.is family, /parseYearEvents,
+ year/.initial = {},
+ filter pred/.initial = nil,
+ format func/.initial = nil,
+ format cmd/.initial = {},
+ events csv/.initial = {},
+ mark defaults csv/.initial = {},
+ min events/.initial = {},
+ defaults/.style = {
+ year = \CalendarYear,
+ filter pred = nil,
+ format func = nil,
+ format cmd = {\textsuperscript{\eIdx}~\eMonthShort~\eDay:~\eNote\ifnumless{\eIdx}{\eMaxIdx}{,\space}{.}},
+ events csv = \@wall@eventsCsv,
+ mark defaults csv = \@wall@markDefaultsCsv,
+ min events = nil,
+ },
+}
+
+\newcommand\StarMark{*}
+
+\newcommand\NoteStarMark{*}
+
+\newlength\@wall@starHeight
+
+% Measure the star's height here, so that we are measuring with the current typeface.
+\newcommand\KiteMark{%
+\setlength{\@wall@starHeight}{\totalheightof{*}}%
+\begin{tikzpicture}
+ \node (box) [
+ rectangle, minimum height=\@wall@starHeight, minimum width=3.4pt,
+ inner sep=0pt, line width=0pt,
+ ] {};
+ \node[
+ kite, draw, textbody, fill=textbody,
+ scale=0.15, kite vertex angles=60,
+ above=0pt of box.north, anchor=north,
+ ] {};%
+\end{tikzpicture}%
+}
+
+% Same as \KiteMark but with scale=0.2
+\newcommand\NoteKiteMark{\raisebox{1pt}{%
+\setlength{\@wall@starHeight}{\totalheightof{*}}%
+\begin{tikzpicture}
+ \node (box) [
+ rectangle, minimum height=\@wall@starHeight, minimum width=3.4pt,
+ inner sep=0pt, line width=0pt,
+ ] {};
+ \node[
+ kite, draw, textbody, fill=textbody,
+ scale=0.2, kite vertex angles=60,
+ above=0pt of box.north, anchor=north,
+ ] {};%
+\end{tikzpicture}%
+}}
+
+\tikzstyle{moon circle}=[
+ circle,
+ inner sep=0pt,
+ line width=0pt,
+ minimum height=8pt,
+]
+
+\newlength\@wall@moonRaise
+\setlength{\@wall@moonRaise}{-0.7pt}
+
+\newcommand\NewMoon{}
+\newcommand\FirstQuarter{}
+\newcommand\FullMoon{}
+\newcommand\LastQuarter{}
+
+\newcommand\@wall@NewMoon{%
+\raisebox{\@wall@moonRaise}{%
+ \tikz\node[moon circle, fill=mooncolor] {};%
+}}
+
+\newcommand\@wall@FullMoon{%
+\raisebox{\@wall@moonRaise}{%
+ \tikz\node[moon circle, draw, mooncolor, line width=0.3pt] {};%
+}}
+
+\newcommand\@wall@FirstQuarter{%
+\raisebox{\@wall@moonRaise}{%
+\begin{tikzpicture}
+\node [moon circle, name=waxing] {};
+\path[fill=mooncolor]
+ (waxing.north) --
+ (waxing.south) to[out=-180,in=-90]
+ (waxing.west) to[out=90,in=-180]
+ (waxing.north);
+\end{tikzpicture}%
+}}
+
+\newcommand\@wall@LastQuarter{%
+\raisebox{\@wall@moonRaise}{%
+\begin{tikzpicture}
+\node [moon circle, name=waning] {};
+\path[fill=mooncolor]
+ (waning.north) --
+ (waning.south) to[out=0,in=-90]
+ (waning.east) to[out=90,in=0]
+ (waning.north);
+\end{tikzpicture}%
+}}
+
+\newcommand\@wall@useDefaultMoons{%
+\renewcommand\NewMoon{\@wall@NewMoon}%
+\renewcommand\FirstQuarter{\@wall@FirstQuarter}%
+\renewcommand\FullMoon{\@wall@FullMoon}%
+\renewcommand\LastQuarter{\@wall@LastQuarter}%
+}
+
+\newcommand\plannerMoonSize{\@setfontsize\plannerMoonSize{14}{14}}
+\newcommand*\plannerMoonFormat[1]{{\plannerMoonSize #1}}
+
+\newcommand\@wall@planner@NewMoon{\plannerMoonFormat{\CIRCLE}}
+\newcommand\@wall@planner@FirstQuarter{\plannerMoonFormat{\LEFTcircle}}
+\newcommand\@wall@planner@FullMoon{\plannerMoonFormat{\Circle}}
+\newcommand\@wall@planner@LastQuarter{\plannerMoonFormat{\RIGHTcircle}}
+
+\newcommand\@wall@usePlannerMoons{%
+\renewcommand\NewMoon{\@wall@planner@NewMoon}%
+\renewcommand\FirstQuarter{\@wall@planner@FirstQuarter}%
+\renewcommand\FullMoon{\@wall@planner@FullMoon}%
+\renewcommand\LastQuarter{\@wall@planner@LastQuarter}%
+}
+
+\@wall@useDefaultMoons
+
+\newcommand\SetPhoto[2][]{%
+ \pgfkeys{%
+ /Photo/#2/.is family, /Photo/#2,
+ /Photo/init,
+ defaults, file={#2},
+ #1%
+ }%
+}
+
+\newcommand\SetCalendar[2][]{%
+ \pgfkeys{%
+ /Calendar/#2/.is family, /Calendar/#2,
+ /Calendar/init,
+ defaults,
+ #1%
+ }%
+}
+
+\newcommand\SetQuote[3][]{%
+ \pgfkeys{%
+ /Quote/#2/.is family, /Quote/#2,
+ /Quote/init,
+ defaults, text={#3},
+ #1%
+ }%
+}
+
+\newcommand\SetEvents[4][]{%
+ \pgfkeys{%
+ /Events/#2/.is family, /Events/#2,
+ /Events/init,
+ defaults, marks={#3}, text={#4},
+ #1%
+ }%
+}
+
+\pgfkeys{
+ /MonthPage/.is family, /MonthPage,
+ layout/.style = {layout handlers/#1/.get = \@wall@month@doLayout},
+ put photo/.style = {/put photo/#1},
+ defaults/.style = {layout = small landscape, put photo = simple},
+ layout handlers/.cd,
+ full page/.initial = \@wall@fullPageLayout,
+ small landscape/.initial = \@wall@smallLandscapeLayout,
+}
+
+\newcommand\MonthPage[2][]{%
+ \pgfkeys{/MonthPage, defaults, #1}%
+ \@wall@month@doLayout{#2}%
+}
+
+\newcommand\SetTxt[2]{%
+ \pgfkeys{%
+ /Txt/#1/.is family, /Txt/#1,
+ /Txt/init,
+ defaults, text={#2},
+ }%
+}
+
+\newcommand\txt[1]{%
+\pgfkeys{/Txt/#1/text/.get=\@val}%
+\@val%
+}
+
+\def\@t@monthName{}
+\def\@t@eventsCsv{}
+\def\@t@markDefaultsCsv{}
+\def\@t@filterPred{}
+\def\@t@formatFunc{}
+\def\@t@formatCmd{}
+\def\@t@minEvents{}
+
+\newcommand\monthMarkFmt{\color{textbody}}
+
+\newcommand\symbolSpace{\thinspace}
+\newcommand\symbolSeparator{,\symbolSpace}
+
+% #1 = option keys
+\newcommand*\parseMonthEvents[1][]{%
+\pgfkeys{/parseMonthEvents, defaults, #1,
+ month/.get=\@t@monthName,
+ filter pred/.get=\@t@filterPred,
+ format func/.get=\@t@formatFunc,
+ format cmd/.get=\@t@formatCmd,
+ events csv/.get=\@t@eventsCsv,
+ mark defaults csv/.get=\@t@markDefaultsCsv,
+ min events/.get=\@t@minEvents,
+}%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthEvents(
+ \luastring{\@t@monthName},
+ \@t@filterPred,
+ \@t@formatFunc,
+ \luastringO{\@t@formatCmd},
+ \luastring{\@t@eventsCsv},
+ \luastring{\@t@markDefaultsCsv},
+ \@t@minEvents
+)}}
+
+\def\@t@yearNum{}
+
+% #1 = option keys
+\newcommand*\parseYearEvents[1][]{%
+\pgfkeys{/parseYearEvents, defaults, #1,
+ year/.get=\@t@year,
+ filter pred/.get=\@t@filterPred,
+ format func/.get=\@t@formatFunc,
+ format cmd/.get=\@t@formatCmd,
+ events csv/.get=\@t@eventsCsv,
+ mark defaults csv/.get=\@t@markDefaultsCsv,
+ min events/.get=\@t@minEvents,
+}%
+\luadirect{
+require("wallcalendar-helpers.lua")
+yearEvents(
+ tonumber(\@t@year),
+ \@t@filterPred,
+ \@t@formatFunc,
+ \luastringO{\@t@formatCmd},
+ \luastring{\@t@eventsCsv},
+ \luastring{\@t@markDefaultsCsv},
+ \@t@minEvents
+)}}
+
+\newlength\dayTextXshift
+\newlength\dayTextYshift
+\setlength{\dayTextXshift}{0pt}
+\setlength{\dayTextYshift}{0pt}
+
+\newlength\markNumberAbove
+\newlength\markNumberRight
+\setlength{\markNumberAbove}{-10pt}
+\setlength{\markNumberRight}{-3pt}
+
+\newlength\markDayTextAbove
+\newlength\markDayTextRight
+\setlength{\markDayTextAbove}{-10pt}
+\setlength{\markDayTextRight}{-3pt}
+
+\newcommand\parseMonthMarksDayText{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksDayText(\luastring{\theMonthName}, nil, \luastring{\@wall@eventsCsv})
+tex.sprint(';')
+}}
+
+\newcommand\parseMonthMarksDayTextMonth[1]{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksDayText(\luastring{#1}, nil, \luastring{\@wall@eventsCsv})
+tex.sprint(';')
+}}
+
+\newcommand*\parseMonthMarksDayTextUsing[1]{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksDayText(\luastring{\theMonthName}, nil, \luastring{#1})
+}}
+
+\newcommand\parseMonthMarksDayTextMonthUsing[2]{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksDayText(\luastring{#1}, nil, \luastring{#2})
+}}
+
+\newcommand*\parseMonthMarksNote{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksNote(\luastring{\theMonthName}, nil, \luastring{\@wall@eventsCsv}, \luastring{\@wall@markDefaultsCsv})
+}}
+
+\newcommand*\parseMonthMarksNoteUsing[1]{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksNote(\luastring{\theMonthName}, nil, \luastring{#1}, \luastring{\@wall@markDefaultsCsv})
+}}
+
+\makepagestyle{month}
+\makeoddhead{month}{}{}{}
+\makeevenhead{month}{}{}{}
+\makeoddfoot{month}{}{}{}
+\makeevenfoot{month}{}{}{}
+
+\pagestyle{month}
+
+\NewCoffin\@wall@pageWrap
+\NewCoffin\@wall@photo
+\NewCoffin\@wall@quote
+\NewCoffin\@wall@calendar
+\NewCoffin\@wall@events
+
+\newlength\@t@bleed
+\newlength\@t@rightOffset
+\newlength\@t@minipageWidth
+\newlength\@t@calendar@height
+\newlength\@t@calendar@hmargin
+\newlength\@t@calendar@dayYshift
+\newlength\@t@calendar@dayXshift
+\newlength\@t@calendar@gridHeight
+\newlength\@t@calendar@gridHeightFiveRows
+\newlength\@t@calendar@gridHeightSixRows
+\newlength\@t@xOffset
+\newlength\@t@yOffset
+\def\@t@file{}
+
+\newcommand*\monthFmt{}%
+\newcommand*\yearFmt{}%
+\newcommand*\dayLetterColor{}%
+\newcommand*\dayLetterFmt{}%
+\newcommand*\dayTextFmt{}%
+\newcommand*\quoteFmt{}%
+\newcommand*\headingFmt{}%
+\newcommand*\calendarFmt{}%
+\newcommand*\eventsFmt{}%
+
+\newcommand\@wall@layout@reset{%
+ \renewcommand*\monthFmt{}%
+ \renewcommand*\yearFmt{}%
+ \renewcommand*\dayLetterColor{}%
+ \renewcommand*\dayLetterFmt{}%
+ \renewcommand*\dayTextFmt{}%
+ \renewcommand*\quoteFmt{}%
+ \renewcommand*\headingFmt{}%
+ \renewcommand*\calendarFmt{}%
+ \renewcommand*\eventsFmt{}%
+ \def\@t@file{}%
+ \setlength{\@t@calendar@height}{0pt}%
+ \setlength{\@t@calendar@hmargin}{0pt}%
+ \setlength{\@t@calendar@dayYshift}{0pt}%
+ \setlength{\@t@calendar@dayXshift}{0pt}%
+ \setlength{\@t@bleed}{0pt}%
+ \setlength{\@t@rightOffset}{0pt}%
+ \setlength{\@t@minipageWidth}{0pt}%
+ \setlength{\@t@xOffset}{0pt}%
+ \setlength{\@t@yOffset}{0pt}%
+ \setlength{\@t@calendar@gridHeight}{0pt}%
+ \setlength{\@t@calendar@gridHeightFiveRows}{0pt}%
+ \setlength{\@t@calendar@gridHeightSixRows}{0pt}%
+}
+
+\newcommand\fullPageFmt{%
+ \renewcommand*\monthFmt{\LARGE}%
+ \renewcommand*\yearFmt{\LARGE}%
+ \renewcommand*\dayLetterColor{}%
+ \renewcommand*\dayLetterFmt{\tiny}%
+ \renewcommand*\dayTextFmt{\small}%
+ \renewcommand*\quoteFmt{}%
+ \renewcommand*\headingFmt{\centering}%
+ \renewcommand*\calendarFmt{\centering}%
+ \renewcommand*\eventsFmt{\setlength{\parindent}{0pt}\raggedleft\footnotesize}%
+}
+
+\newcommand\@wall@fullPageLayout[2][]{%
+\makeatletter
+\renewcommand*\theMonthName{#2}
+\@wall@layout@reset
+\fullPageFmt
+
+\colorlet{weekday}{black}
+\colorlet{weekend}{black!70}
+
+\pgfkeys{/Photo/#2/bleed/.get=\@val}
+\setlength{\@t@bleed}{\@val}
+
+\def\@t@monthnum{\monthToNum{#2}}
+
+% 40mm = 1.5748 inch
+% 43mm = 1.6929 inch
+\setlength{\@t@calendar@height}{40mm + \@t@bleed}
+
+% See if there was a height given in the options
+\pgfkeys{/Calendar/#2/minimum height/.get=\@val}
+\ifx\@val\empty \relax
+\else
+ \setlength{\@t@calendar@height}{\@val + \@t@bleed}
+\fi
+
+\setlength{\@t@calendar@hmargin}{20pt}
+
+% NOTE: the -4pt and -2pt offset is somehow necessary for the sides to align
+% with the edges
+\setlength{\@t@rightOffset}{\@t@bleed +\@t@calendar@hmargin -4pt}
+\setlength{\@t@minipageWidth}{\calPaperWidth -2\@t@calendar@hmargin -2pt}
+
+\SetHorizontalCoffin\@wall@pageWrap{%
+ \color{white}%
+ \rule{\textwidth}{0pt}%
+ \rule{0pt}{\textheight}%
+}
+
+\pgfkeys{/Photo/#2/file/.get=\@t@file}
+
+\SetHorizontalCoffin\@wall@photo{%
+ \placeholder[fill=photo-frame]{hasvarnish}{%
+ \@wall@photo@putPhoto{\@t@file}%
+ }%
+}
+
+\SetHorizontalCoffin\@wall@quote{%
+ \placeholder[fill=quote-frame]{}{%
+ \begin{minipage}{\linewidth}%
+ \quoteFmt
+ \pgfkeys{/Quote/#2/text/.get=\@val}%
+ \@val%
+ \end{minipage}%
+ }%
+}
+
+\SetHorizontalCoffin\@wall@calendar{%
+\ifvarnishmask\relax
+\else
+\begin{tikzpicture}
+
+\node (bg) [
+ fill = calendarbg,
+ opacity = 0.5,
+ minimum width = {\calPaperWidth + 2\@t@bleed},
+ anchor=north west,
+ /Calendar/#2/bg,
+ % override the style, in case bleed was set above
+ minimum height = {\@t@calendar@height},
+] at (0,0) {};
+
+\node (heading) [
+ below right=10pt and {\@t@rightOffset} of bg.north west,
+ anchor=north west,
+] {%
+\placeholder[fill=heading-frame]{}{%
+\begin{minipage}{\@t@minipageWidth}%
+\headingFmt
+{\monthFmt\@tr@monthNumName{\@t@monthnum}}
+\hfill
+\strcmpblank{\CalendarAltYear}{%
+ {\yearFmt\CalendarYear}%
+}{%
+ {\yearFmt\CalendarYear/\CalendarAltYear}%
+}%
+\end{minipage}%
+}%
+};
+
+\node (calendar) [
+ below right=35pt and {\@t@rightOffset} of bg.north west,
+ anchor=north west,
+] {%
+\placeholder[fill=calendar-frame]{}{%
+\begin{minipage}{\@t@minipageWidth}%
+\calendarFmt
+\tikz{\tikzMonthCalendar@fullpage{\@t@monthnum};}%
+\end{minipage}%
+}%
+};
+
+\node (events) [
+ below=0pt of calendar.south west,
+ anchor=north west,
+] {%
+\placeholder[fill=events-frame]{}{%
+\begin{minipage}{\@t@minipageWidth}%
+\eventsFmt
+\pgfkeys{/Events/#2/text/.get=\@val}%
+\@val%
+\end{minipage}%
+}%
+};
+
+\end{tikzpicture}%
+\fi
+}% \SetHorizontalCoffin
+
+\@wall@photo@setYOffset
+
+\pgfkeys{/Photo/#2/xOffset/.get=\@val}
+\addtolength{\@t@xOffset}{\@val}
+\pgfkeys{/Photo/#2/yOffset/.get=\@val}
+\addtolength{\@t@yOffset}{\@val}
+
+% NOTE: a small whitespace is visible on the left edge of the page when bleed is 0pt, a space must be getting in somewhere.
+\JoinCoffins*\@wall@pageWrap[l,t]\@wall@photo[l,t](-\spinemargin -\@t@bleed + \@t@xOffset, \uppermargin + \@t@bleed + \@t@yOffset)
+
+\pgfkeys{/Quote/#2/xOffset/.get=\@val}
+\setlength{\@t@xOffset}{\@val}
+\pgfkeys{/Quote/#2/yOffset/.get=\@val}
+\setlength{\@t@yOffset}{\@val}
+
+\JoinCoffins*\@wall@pageWrap[l,t]\@wall@quote[l,t](\@t@xOffset, \@t@yOffset)
+
+\JoinCoffins*\@wall@pageWrap[l,b]\@wall@calendar[l,b](-\spinemargin -\@t@bleed, \textheight +\uppermargin -\paperheight -\@t@bleed)
+
+\makeatother
+
+\clearpage
+\TypesetCoffin\@wall@pageWrap%
+}% \@wall@fullPageLayout
+
+\newcommand*{\tikzMonthCalendar@fullpage}[1]{%
+\pgfkeys{/Events/\monthName{#1}/marks/.get=\@eventmarks}%
+\calendar (cal#1) [alnitak, dates=\CalendarYear-#1-01 to \CalendarYear-#1-last] \@eventmarks;%
+}
+
+\newcommand\smallLandscapeFmt{%
+ \renewcommand*\monthFmt{\LARGE}%
+ \renewcommand*\yearFmt{\LARGE}%
+ \renewcommand*\dayLetterColor{}%
+ \renewcommand*\dayLetterFmt{\tiny}%
+ \renewcommand*\dayTextFmt{\small}%
+ \renewcommand*\quoteFmt{\centering}%
+ \renewcommand*\headingFmt{\centering}%
+ \renewcommand*\calendarFmt{\centering}%
+ \renewcommand*\eventsFmt{\setlength{\parindent}{0pt}\raggedright\footnotesize}%
+}
+
+\newcommand\@wall@smallLandscapeLayout[2][]{%
+\makeatletter
+\renewcommand*\theMonthName{#2}
+\@wall@layout@reset
+\smallLandscapeFmt
+
+\colorlet{weekday}{black}
+\colorlet{weekend}{black!70}
+
+\pgfkeys{/Photo/#2/bleed/.get=\@val}
+\setlength{\@t@bleed}{\@val}
+
+\def\@t@monthnum{\monthToNum{#2}}
+
+\setlength{\@t@calendar@height}{85mm + \@t@bleed}
+
+% See if there was a height given in the options
+\pgfkeys{/Calendar/#2/minimum height/.get=\@val}
+\ifx\@val\empty \relax
+\else
+ \setlength{\@t@calendar@height}{\@val + \@t@bleed}
+\fi
+
+\setlength{\@t@calendar@hmargin}{20pt}
+
+% 5mm: day headings
+% 20mm: events
+% 6.5mm: vertical spacing
+\setlength{\@tmp@a}{20mm + 5mm + 6.5mm}
+\setlength{\@tmp@b}{\@t@calendar@height -\@tmp@a}
+\setlength{\@t@calendar@dayYshift}{0.1666\@tmp@b}% 1/6 = 0.1666
+
+\setlength{\@t@calendar@gridHeightSixRows}{\@tmp@b}
+\setlength{\@t@calendar@gridHeightFiveRows}{\@tmp@b -0.1666\@tmp@b}
+
+% NOTE: the -4pt and -2pt offset is somehow necessary for the sides to align
+% with the edges
+\setlength{\@t@rightOffset}{\@t@bleed +\@t@calendar@hmargin -4pt}
+\setlength{\@t@minipageWidth}{\calPaperWidth -2\@t@calendar@hmargin -2pt}
+
+\setlength{\@t@calendar@dayXshift}{0.1428\@t@minipageWidth}% 1/7 = 0.1428
+
+\SetHorizontalCoffin\@wall@pageWrap{%
+ \color{white}%
+ \rule{\textwidth}{0pt}%
+ \rule{0pt}{\textheight}%
+}
+
+\pgfkeys{/Photo/#2/file/.get=\@t@file}
+
+\SetHorizontalCoffin\@wall@photo{%
+ \placeholder[fill=photo-frame]{hasvarnish}{%
+ \@wall@photo@putPhoto{\@t@file}%
+ }%
+}
+
+\SetHorizontalCoffin\@wall@quote{%
+ \placeholder[fill=quote-frame]{}{%
+ \begin{minipage}{\linewidth}%
+ \quoteFmt
+ \pgfkeys{/Quote/#2/text/.get=\@val}%
+ \@val%
+ \end{minipage}%
+ }%
+}
+
+\SetHorizontalCoffin\@wall@calendar{%
+\ifvarnishmask\relax
+\else
+\begin{tikzpicture}
+
+\node (bg) [
+ fill = calendarbg,
+ opacity = 1,
+ minimum width = {\calPaperWidth + 2\@t@bleed},
+ anchor=north west,
+ /Calendar/#2/bg,
+ % override the style, in case bleed was set above
+ minimum height = {\@t@calendar@height},
+] at (0,0) {};
+
+\node (heading) [
+ below right=10pt and {\@t@rightOffset} of bg.north west,
+ anchor=north west,
+] {%
+\placeholder[fill=heading-frame]{}{%
+\begin{minipage}{\@t@minipageWidth}%
+\headingFmt
+{\monthFmt\@tr@monthNumName{\@t@monthnum}}
+\hfill
+\strcmpblank{\CalendarAltYear}{%
+ {\yearFmt\CalendarYear}%
+}{%
+ {\yearFmt\CalendarYear/\CalendarAltYear}%
+}%
+\end{minipage}%
+}%
+};
+
+\node (calendar) [
+ below right=35pt and {\@t@rightOffset} of bg.north west,
+ anchor=north west,
+] {%
+\placeholder[fill=calendar-frame]{}{%
+\begin{minipage}{\@t@minipageWidth}%
+\calendarFmt
+\hspace*{-5pt}% FIXME
+\tikz{\tikzMonthCalendar@smallLandscape{\@t@monthnum};}%
+\end{minipage}%
+}%
+};
+
+\node (events) [
+ above right=10mm and {\@t@rightOffset} of bg.south west,
+ anchor=south west,
+] {%
+\placeholder[fill=events-frame]{}{%
+\begin{minipage}{\@t@minipageWidth}%
+\eventsFmt
+\pgfkeys{/Events/#2/text/.get=\@val}%
+\@val%
+\end{minipage}%
+}%
+};
+
+\end{tikzpicture}%
+\fi
+}% \SetHorizontalCoffin
+
+% The quote has to be centered betweeen the photo and the calendar with manual tweaking.
+% The height of the quote is not known, the height of the calendar plus its heading is not known.
+
+% TODO move the photo with /Photo/#2/xOffset and yOffset as at the full page layout
+
+\pgfkeys{/Quote/#2/yOffset/.get=\@val}
+\setlength{\@t@yOffset}{\@val}
+
+\JoinCoffins*\@wall@photo[hc,b]\@wall@quote[hc,t](0pt, \@t@yOffset)
+
+\pgfkeys{/Photo/#2/yOffset/.get=\@val}
+\setlength{\@t@yOffset}{\@val}
+
+% NOTE: Taking the bottom edge of the photo as fixed.
+% yOffset must be set to pull the photo down into position
+
+\JoinCoffins*\@wall@pageWrap[hc,t]\@wall@photo[hc,b](0pt, \uppermargin + \@t@yOffset)
+
+% Calendar is aligned to the bottom of the page.
+
+\JoinCoffins*\@wall@pageWrap[hc,b]\@wall@calendar[hc,b](0pt, \textheight +\uppermargin -\paperheight -\@t@bleed)
+
+\makeatother
+
+\clearpage
+\TypesetCoffin\@wall@pageWrap%
+}% \@wall@smallLandscapeLayout
+
+\newcommand*{\tikzMonthCalendar@smallLandscape}[1]{%
+\pgfkeys{/Events/\monthName{#1}/marks/.get=\@eventmarks}%
+\calendar (cal#1) [betelgeuse, dates=\CalendarYear-#1-01 to \CalendarYear-#1-last] \@eventmarks;%
+}
+
+\tikzstyle{day letter headings}=[%
+ day heading/.style={black!90},
+ execute before day scope={%
+ \ifdate{day of month=1}{%
+ \pgfmathsetlength\pgf@xa{\tikz@lib@cal@xshift}%
+ \pgfmathsetlength\pgf@ya{\tikz@lib@cal@yshift}%
+ \foreach \d in {0,1,2,3,4,5,6} {%
+ \pgf@xa=\d\pgf@xa%
+ \pgftransformxshift{\pgf@xa}%
+ \pgftransformyshift{\pgf@ya}%
+ \node (d\d) [anchor=south, day heading] {\dayLetterFmt\@tr@dayLetter{\d}};%
+ };%
+ }{}%
+ },%
+]
+
+\newcount\gridRows
+\newcount\gridLines
+\newcount\n
+
+\newif\ifGridNoSurround
+\GridNoSurroundfalse
+
+\tikzstyle{no grid surround}=[execute before day scope={\GridNoSurroundtrue}]
+\tikzstyle{grid surround}=[execute before day scope={\GridNoSurroundfalse}]
+
+\tikzstyle{days grid}=[%
+ execute before day scope={%
+ \ifdate{day of month=1}{%
+ %
+ % Determine if the grid is five or six rows
+ %
+ % 31 day months
+ \ifdate{between=01-01 and 01-31, between=03-01 and 03-31, between=05-01 and 05-31, between=07-01 and 07-31, between=08-01 and 08-31, between=10-01 and 10-31, between=12-01 and 12-31}{%
+ \ifdate{Saturday,Sunday}{%
+ \gridRows=6%
+ \setlength\@t@calendar@gridHeight{\@t@calendar@gridHeightSixRows}%
+ }{%
+ \gridRows=5%
+ \setlength\@t@calendar@gridHeight{\@t@calendar@gridHeightFiveRows}%
+ }
+ }{
+ % 30 day months and February
+ \ifdate{between=02-01 and 02-last}{%
+ \gridRows=5%
+ \setlength\@t@calendar@gridHeight{\@t@calendar@gridHeightFiveRows}%
+ }{%
+ \ifdate{Sunday}{%
+ \gridRows=6%
+ \setlength\@t@calendar@gridHeight{\@t@calendar@gridHeightSixRows}%
+ }{%
+ \gridRows=5%
+ \setlength\@t@calendar@gridHeight{\@t@calendar@gridHeightFiveRows}%
+ }
+ }
+ }
+ %
+ % Horizontal lines
+ %
+ \gridLines=\gridRows
+ \ifGridNoSurround\relax
+ \else
+ \advance\gridLines by 1
+ \n=0
+ \draw [
+ gridcolor,
+ line width=0.3pt,
+ xshift=-0.5\@t@calendar@dayXshift,
+ yshift=0.5\@t@calendar@dayYshift,
+ ] (0,{-\n\@t@calendar@dayYshift}) -- (7\@t@calendar@dayXshift,{-\n\@t@calendar@dayYshift});
+ \fi
+ \foreach \n in {1,2,3,4,5,6} {
+ \ifnum\n<\gridLines
+ \draw [
+ gridcolor,
+ line width=0.3pt,
+ xshift=-0.5\@t@calendar@dayXshift,
+ yshift=0.5\@t@calendar@dayYshift,
+ ] (0,{-\n\@t@calendar@dayYshift}) -- (7\@t@calendar@dayXshift,{-\n\@t@calendar@dayYshift});
+ \fi
+ }
+ %
+ % Vertical lines
+ %
+ \gridLines=7
+ \ifGridNoSurround\relax
+ \else
+ \advance\gridLines by 1
+ \n=0
+ \draw [
+ gridcolor,
+ line width=0.3pt,
+ xshift=-0.5\@t@calendar@dayXshift,
+ yshift=0.5\@t@calendar@dayYshift,
+ ] ({\n\@t@calendar@dayXshift},0) -- ({\n\@t@calendar@dayXshift},{-\gridRows\@t@calendar@dayYshift});
+ \fi
+ \foreach \n in {1,2,3,4,5,6,7} {
+ \ifnum\n<\gridLines
+ \draw [
+ gridcolor,
+ line width=0.3pt,
+ xshift=-0.5\@t@calendar@dayXshift,
+ yshift=0.5\@t@calendar@dayYshift,
+ ] ({\n\@t@calendar@dayXshift},0) -- ({\n\@t@calendar@dayXshift},{-\gridRows\@t@calendar@dayYshift});
+ \fi
+ }
+ %
+ % If we are not drawing the surrounding lines, it looks better to hide
+ % some of the top and bottom edges
+ %
+ \ifGridNoSurround
+ \draw [
+ color=white,
+ line width=6pt,
+ xshift=-0.5\@t@calendar@dayXshift,
+ yshift={0.5\@t@calendar@dayYshift -1pt},
+ ] (0,0) -- (7\@t@calendar@dayXshift,0);
+ \draw [
+ color=white,
+ line width=6pt,
+ xshift=-0.5\@t@calendar@dayXshift,
+ yshift={0.5\@t@calendar@dayYshift +1pt},
+ ] (0,-\gridRows\@t@calendar@dayYshift) -- (7\@t@calendar@dayXshift,-\gridRows\@t@calendar@dayYshift);
+ \fi
+ }{}%
+ }
+]
+
+\tikzstyle{headings background rule}=[
+ background rule/.style={black!90, line width=0.3pt, yshift={0.3\@t@calendar@dayYshift -3pt}},
+ execute before day scope={%
+ \ifdate{day of month=1}{%
+ \draw [
+ xshift=-0.5\@t@calendar@dayXshift,
+ yshift=0.5\@t@calendar@dayYshift,
+ background rule,
+ ] (0,0) -- (7\@t@calendar@dayXshift,0);
+ }{}%
+ }
+]
+
+\tikzstyle{headings background bar}=[
+ headings background rule,
+ background rule/.style={black!20, line width=10pt, yshift={0.3\@t@calendar@dayYshift +3.5pt}},
+]
+
+\tikzstyle{betelgeuse}=[
+ no grid surround,
+ days grid,
+ week list,
+ day xshift=\@t@calendar@dayXshift,
+ day yshift=\@t@calendar@dayYshift,
+ headings background bar,
+ day letter headings,
+ day heading/.style={black!90, yshift={-0.3\@t@calendar@dayYshift}},
+ every day/.append style={anchor=base, inner xsep=0pt, yshift={-0.25\baselineskip}},
+ day text={\dayTextFmt\%d-},
+]
+
+\tikzstyle{alnitak}=[
+ day list right,
+ day xshift={0pt},
+ every month/.append style={anchor=base, inner xsep=0pt, yshift=4mm, xshift=-\widthof{\space}},
+ day text={\dayTextFmt\%d-},
+ every day/.append style={anchor=base, inner xsep=0pt},
+ execute before day scope={
+ %
+ % === Moving the day number ===
+ %
+ % A small offset seems to improve the result, the last day gets closer to the end of the linewidth
+ \pgftransformxshift{0.01em}
+ \pgfcalendarjuliantodate{\pgfcalendarendjulian}{\currentyear}{\currentmonth}{\lastday}
+ % Width of month day digits from 1 - 28
+ \setlength{\@tmp@a}{\widthof{12345678910111213141516171819202122232425262728}}
+ \setlength{\@tmp@b}{\widthof{30}}
+ \pgfmathparse{(\linewidth - \@tmp@a - \@tmp@b * (\lastday-28)) / \lastday}
+ \pgftransformxshift{\pgfmathresult}
+ \let\%=\pgfcalendarshorthand
+ \setlength{\@tmp@a}{\widthof{\%d-}}
+ \pgftransformxshift{\@tmp@a}
+ %
+ % === Weekday letter above the day ===
+ %
+ \ifdate{weekend}{\def\dayLetterColor{\color{weekend}}}{\def\dayLetterColor{\color{weekday}}}%
+ \node[anchor=south,yshift=5mm,inner sep=0pt]{%
+ \dayLetterColor\dayLetterFmt\@tr@dayLetter{\pgfcalendarcurrentweekday}%
+ };%
+ },
+]
+
+\newcommand\plannerPortraitMonthFmt{\fontsize{11}{11}\selectfont\color{darkgold}}
+\newcommand\plannerPortraitDayFmt{\fontsize{8}{8}\selectfont\color{plannerdatenum}}
+
+\tikzstyle{year planner portrait}=[
+ week list,
+ month text={\plannerPortraitMonthFmt\@tr@monthNumName{\pgfcalendarcurrentmonth}},
+ day text={\plannerPortraitDayFmt\%d-},
+ every month/.append style={%
+ anchor=south,
+ inner xsep=0pt,
+ yshift=5mm,
+ xshift=2.5mm,
+ },
+ day letter headings,
+ day heading/.style={gray, xshift=0pt, scale=0.85},
+ month label above centered,
+ every day/.style={anchor=mid},
+]
+
+\newcommand\plannerLandscapeDateDayFont{}
+\newcommand\plannerLandscapeDayFont{}
+\newcommand\plannerLandscapeMonthFont{}
+
+\newcommand\plannerLandscapeMonthFmt{%
+ \plannerLandscapeMonthFont%
+ \fontsize{15}{18}\selectfont%
+ \color{gold}\bfseries%
+}
+
+\newcommand\plannerLandscapeDayFmt{%
+ \plannerLandscapeDayFont%
+ \fontsize{10}{12}\selectfont%
+}
+
+\newcommand*\plannerLandscapeDateDayFormat[1]{%
+ \plannerLandscapeDateDayFont%
+ \fontsize{8}{11}\selectfont%
+ #1%
+}
+
+\newcommand\plannerLandscapeBeginDayScopeHook{%
+ \ifdate{weekend}{\color{black!60}}{}
+}
+
+\newlength\plannerLandscapeDayXShift
+\newlength\plannerLandscapeMonthYShift
+
+% Assuming 25mm to fit 'September'
+\setlength{\@tmp@a}{\calPaperWidth - \@wall@leftMargin - \@wall@rightMargin - 25mm}
+% Max week shift is 6 = Sunday. 31 days + 6 = 37. 1/37 = 0.027
+\setlength{\plannerLandscapeDayXShift}{0.027\@tmp@a}
+
+% Assuming 10mm for day headings (M T W...) and some padding
+\setlength{\@tmp@a}{\calPaperHeight - \@wall@topMargin - \@wall@bottomMargin - 10mm}
+% 1/12 = 0.0833
+\setlength{\plannerLandscapeMonthYShift}{0.0833\@tmp@a}
+
+\tikzstyle{year planner landscape}=[
+ month list,
+ day xshift=\plannerLandscapeDayXShift,
+ month yshift=\plannerLandscapeMonthYShift,
+ every month/.append style={anchor=base, inner xsep=0pt},
+ month text={\plannerLandscapeMonthFmt \%mt},
+ day text={\plannerLandscapeDayFmt \%d-},
+ every day/.append style={anchor=base, inner xsep=0pt},
+ month label left,
+ execute at begin day scope={
+ \plannerLandscapeBeginDayScopeHook
+ % Weekday headers in January
+ \ifdate{between=01-01 and 01-31}{
+ \def\l{\ifcase\pgfcalendarcurrentweekday M\or T\or W\or T\or F\or S\or S\fi}%
+ \ifdate{weekend}{\def\daylabelcolor{gold}}{\def\daylabelcolor{black}}%
+ \node[anchor=south,yshift=5mm,inner sep=0pt]{\color{\daylabelcolor}\plannerLandscapeDateDayFormat{\l}};%
+ }{}
+ % Weekday headers in December
+ \ifdate{between=12-01 and 12-31}{
+ \pgftransformyshift{-3mm}%
+ \def\l{\ifcase\pgfcalendarcurrentweekday M\or T\or W\or T\or F\or S\or S\fi}%
+ \ifdate{weekend}{\def\daylabelcolor{gold}}{\def\daylabelcolor{black}}%
+ \node[anchor=south,yshift=5mm,inner sep=0pt]{\color{\daylabelcolor}\plannerLandscapeDateDayFormat{\l}};%
+ }{}
+ }
+]
+
+\newcommand\plannerGridMonthFont{}
+\newcommand\plannerGridDateDayFont{}
+\newcommand\plannerGridNotesFont{}
+\newcommand\plannerGridDayFont{}
+\newcommand\plannerGridYearNumberFont{}
+
+\newcommand\plannerGridYearNumberFmt{%
+ \plannerGridYearNumberFont%
+ \fontsize{11}{11}\selectfont%
+ \color{white}%
+}
+
+\newcommand\plannerGridMonthFmt{%
+ \plannerGridMonthFont%
+ \fontsize{13}{13}\selectfont%
+ \color{white}%
+}
+
+\newcommand\plannerGridDayFmt{%
+ \plannerGridDayFont%
+ \fontsize{11}{11}\selectfont%
+}
+
+\newcommand\plannerGridDateDayFmt{%
+ \plannerGridDateDayFont%
+ \fontsize{9}{9}\selectfont%
+ \color{black!80}%
+}
+
+\newcommand{\plannerGridNotesFmt}{%
+ \plannerGridNotesFont%
+ \fontsize{11}{11}\selectfont%
+}
+
+\newcommand\plannerGridBeginDayScopeHook{%
+ \ifdate{weekend}{\color{black!60}}{}
+}
+
+\newlength\plannerGridColXShift
+\newlength\plannerGridRowYShift
+
+\newlength\plannerGridCalendarWidth
+\newlength\plannerGridCalendarHeight
+
+\newlength\plannerGridDayHeadingsHeight
+\newlength\plannerGridMonthNamesWidth
+
+\newlength\plannerGridNotesHeight
+\setlength{\plannerGridNotesHeight}{10mm}
+
+\setlength{\plannerGridCalendarWidth}{\calPaperWidth - \@wall@leftMargin - \@wall@rightMargin}
+\setlength{\plannerGridCalendarHeight}{\calPaperHeight - \@wall@topMargin - \@wall@bottomMargin - \plannerGridNotesHeight}
+
+\setlength{\plannerGridDayHeadingsHeight}{10mm}
+\setlength{\plannerGridMonthNamesWidth}{10mm}
+
+\setlength{\@tmp@a}{\plannerGridCalendarWidth - \plannerGridMonthNamesWidth}
+% 37 columns. 1/37 = 0.027. Max week shift is 6 = Sunday. 31 days + 6 = 37.
+\setlength{\plannerGridColXShift}{0.027\@tmp@a}
+
+\setlength{\@tmp@a}{\plannerGridCalendarHeight - 2\plannerGridDayHeadingsHeight}
+% 12 rows. 1/12 = 0.0833
+\setlength{\plannerGridRowYShift}{0.0833\@tmp@a}
+
+\newcounter{verticalCount}
+
+\tikzstyle{year planner landscape grid days}=[
+ month list,
+ day xshift=\plannerGridColXShift,
+ month yshift=\plannerGridRowYShift,
+ day text={\plannerGridDayFmt \%d-},
+ every day/.append style={anchor=base, yshift=-12pt, inner xsep=0pt},
+ execute at begin day scope={%
+ % White fill to cover the page background color
+ \node (cell) [
+ rectangle,
+ fill = white,
+ minimum height = \plannerGridRowYShift - 1pt,
+ minimum width = \plannerGridColXShift - 1pt,
+ xshift = -0.5\plannerGridColXShift,
+ yshift = 4.5pt,
+ ] {};%
+ %
+ \ifdate{Monday}{%
+ \node (a) [above left = 15pt and -3.5pt of cell.west] {};
+ \node (b) [below left = 15pt and -3.5pt of cell.west] {};
+ \node (c) [right = 10pt of cell.west] {};
+ \path [on layer = one, fill = pagebgcolor] (a.south) -- (b.north) -- (c.west) -- (a.south);%
+ }{}%
+ %
+ \ifdate{Sunday}{%
+ \node (a) [above left = 15pt and {-3.5pt + 1pt} of cell.east] {};
+ \node (b) [below left = 15pt and {-3.5pt + 1pt} of cell.east] {};
+ \node (c) [right = {10pt - 1pt} of cell.east] {};
+ \path [on layer = two, fill = white] (a.south) -- (b.north) -- (c.west) -- (a.south);%
+ }{}%
+ %
+ \plannerGridBeginDayScopeHook%
+ },
+]
+
+\newcommand\plannerMarksDayTextCSV{\@wall@eventsCsv}
+\newcommand\plannerMarksNoteCSV{\@wall@eventsCsv}
+\newcommand\plannerMarkDefaultsCsv{}
+
+\newcommand\@wall@plm[1]{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+monthMarksDayText(\luastring{#1}, nil, \luastring{\plannerMarksDayTextCSV})
+tex.sprint(';')
+}}
+
+\newcommand\@wall@plmYear{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+yearMarksDayText(tonumber(\CalendarYear), nil, \luastring{\plannerMarksDayTextCSV})
+tex.sprint(';')
+}}
+
+\newcommand\@wall@plNotes{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+yearMarksNote(tonumber(\CalendarYear), nil, \luastring{\plannerMarksNoteCSV}, \luastring{\plannerMarkDefaultsCsv}, false)
+}}
+
+\newcommand\@wall@plNotesOneCalendar{%
+\luadirect{
+require("wallcalendar-helpers.lua")
+yearMarksNote(tonumber(\CalendarYear), nil, \luastring{\plannerMarksNoteCSV}, \luastring{\plannerMarkDefaultsCsv}, true)
+}}
+
+\newcommand\plannerEvents{%
+\parseYearEvents[filter pred = hasNote]%
+}
+
+\newcommand\YearPlannerPortrait{%
+\@wall@useDefaultMoons%
+\begin{tikzpicture}[every calendar/.style={year planner portrait}]%
+ \matrix[column sep=1.5em, row sep=5mm] {
+ \calendar(cal01)[dates=\CalendarYear-01-01 to \CalendarYear-01-last] \@wall@plm{January}; \pgfmatrixnextcell
+ \calendar(cal02)[dates=\CalendarYear-02-01 to \CalendarYear-02-last] \@wall@plm{February}; \pgfmatrixnextcell
+ \calendar(cal03)[dates=\CalendarYear-03-01 to \CalendarYear-03-last] \@wall@plm{March}; \\
+ \calendar(cal04)[dates=\CalendarYear-04-01 to \CalendarYear-04-last] \@wall@plm{April}; \pgfmatrixnextcell
+ \calendar(cal05)[dates=\CalendarYear-05-01 to \CalendarYear-05-last] \@wall@plm{May}; \pgfmatrixnextcell
+ \calendar(cal06)[dates=\CalendarYear-06-01 to \CalendarYear-06-last] \@wall@plm{June}; \\
+ \calendar(cal07)[dates=\CalendarYear-07-01 to \CalendarYear-07-last] \@wall@plm{July}; \pgfmatrixnextcell
+ \calendar(cal08)[dates=\CalendarYear-08-01 to \CalendarYear-08-last] \@wall@plm{August}; \pgfmatrixnextcell
+ \calendar(cal09)[dates=\CalendarYear-09-01 to \CalendarYear-09-last] \@wall@plm{September}; \\
+ \calendar(cal10)[dates=\CalendarYear-10-01 to \CalendarYear-10-last] \@wall@plm{October}; \pgfmatrixnextcell
+ \calendar(cal11)[dates=\CalendarYear-11-01 to \CalendarYear-11-last] \@wall@plm{November}; \pgfmatrixnextcell
+ \calendar(cal12)[dates=\CalendarYear-12-01 to \CalendarYear-12-last] \@wall@plm{December}; \\
+ };
+ \@wall@plNotes
+\end{tikzpicture}%
+}
+
+\newcommand\YearPlannerLandscape{%
+\@wall@usePlannerMoons%
+\begin{tikzpicture}%
+ \calendar (cal) [
+ year planner landscape,
+ dates=\CalendarYear-01-01 to \CalendarYear-12-31,
+ ] \@wall@plmYear;
+ \@wall@plNotesOneCalendar
+\end{tikzpicture}%
+}
+
+\newcommand\YearPlannerLandscapeGrid{%
+\@wall@usePlannerMoons%
+\begin{tikzpicture}
+
+ % Background frame
+
+ \node (bg) [
+ rectangle,
+ inner sep = 0pt,
+ minimum width = \plannerGridCalendarWidth,
+ minimum height = \plannerGridCalendarHeight,
+ ] {};
+
+ \foreach \x/\m in {1/\xJanShort, 2/\xFebShort, 3/\xMarShort, 4/\xAprShort,
+ 5/\xMayShort, 6/\xJunShort, 7/\xJulShort, 8/\xAugShort, 9/\xSepShort,
+ 10/\xOctShort, 11/\xNovShort, 12/\xDecShort}
+ {
+ \setlength{\@tmp@a}{\x\plannerGridRowYShift + \plannerGridDayHeadingsHeight}
+
+ % Month labels
+
+ \node [
+ below = \@tmp@a of bg.north west,
+ yshift = 0.5\plannerGridRowYShift,
+ xshift = 0.5\plannerGridColXShift - 2pt,
+ anchor = base,
+ rotate = 90,
+ ] {\plannerGridMonthFmt\MakeUppercase{\textls*{\m}}};
+
+ % Horizontal lines
+
+ \addtolength{\@tmp@a}{-\plannerGridRowYShift}
+
+ \node (h-a-\x) [below = \@tmp@a of bg.north west] {};
+ \node (h-b-\x) [below = \@tmp@a of bg.north east] {};
+ \draw [gridcolor] (h-a-\x) -- (h-b-\x);
+ }
+
+ % 13th line
+ \setlength{\@tmp@a}{12\plannerGridRowYShift + \plannerGridDayHeadingsHeight}
+ \node (h-a-13) [below = \@tmp@a of bg.north west] {};
+ \node (h-b-13) [below = \@tmp@a of bg.north east] {};
+ \draw [gridcolor] (h-a-13) -- (h-b-13);
+
+ % Year number in the corner
+ \node [
+ right = 0pt of bg.north west,
+ xshift = 0.5\plannerGridMonthNamesWidth,
+ yshift = -0.5\plannerGridDayHeadingsHeight - 5pt,
+ anchor = base,
+ ] {\plannerGridYearNumberFmt\CalendarYear};
+
+ \setcounter{verticalCount}{1}
+
+ \foreach \i in {0,1,2,3,4,5} {
+ \foreach \j/\d in {
+ 0/\xMondayDayLetter,
+ 1/\xTuesdayDayLetter,
+ 2/\xWednesdayDayLetter,
+ 3/\xThursdayDayLetter,
+ 4/\xFridayDayLetter,
+ 5/\xSaturdayDayLetter,
+ 6/\xSundayDayLetter}
+ {
+ \addtocounter{verticalCount}{1}
+ \ifnumgreater{\value{verticalCount}}{38}{\relax}{
+ \setlength{\@tmp@a}{7\plannerGridColXShift}
+ \setlength{\@tmp@a}{\i\@tmp@a + \j\plannerGridColXShift + \plannerGridMonthNamesWidth}
+
+ % Day headings (top and bottom)
+
+ \node [
+ right = \@tmp@a of bg.north west,
+ xshift = 0.5\plannerGridColXShift + 4pt,
+ yshift = -0.5\plannerGridDayHeadingsHeight - 5pt,
+ anchor = base,
+ ] {\plannerGridDateDayFmt \d};
+
+ \node [
+ right = \@tmp@a of bg.south west,
+ xshift = 0.5\plannerGridColXShift + 4pt,
+ yshift = 0.5\plannerGridDayHeadingsHeight - 5pt,
+ anchor = base,
+ ] {\plannerGridDateDayFmt \d};
+
+ % % Vertical lines
+
+ % \node (v-a-\i-\j) [right = \@tmp@a of bg.north west] {};
+ % \node (v-b-\i-\j) [right = \@tmp@a of bg.south west] {};
+ % \draw [gridcolor] (v-a-\i-\j) -- (v-b-\i-\j);
+ }
+ }
+ }
+
+ \calendar (cal) [
+ year planner landscape grid days,
+ dates=\CalendarYear-01-01 to \CalendarYear-12-31,
+ below right = 0pt and 0pt of bg.north west,
+ anchor = north west,
+ yshift = -\plannerGridDayHeadingsHeight - 3mm,
+ xshift = \plannerGridMonthNamesWidth + 0.5\plannerGridColXShift + 4pt,
+ ] \@wall@plmYear;
+
+ \@wall@plNotesOneCalendar
+
+\end{tikzpicture}%
+}
+
+\newcommand{\YearPlannerLandscapeGridPage}{%
+\pagecolor{pagebgcolor}%
+\AddToShipoutPictureFG*{\put(\LenToUnit{\@wall@leftMargin},\LenToUnit{\@wall@bottomMargin})%
+{\begin{minipage}[b]{\plannerGridCalendarWidth}%
+\YearPlannerLandscapeGrid
+
+\begin{minipage}[b][10mm][c]{\plannerGridCalendarWidth}%
+\plannerGridNotesFmt
+\hspace*{2mm}%
+\parseYearEvents[%
+ filter pred = hasNote,
+ format cmd = {\textsuperscript{\eIdx}~\eMonthShort~\eDay:~\textit{\eNote}\ifnumless{\eIdx}{\eMaxIdx}{,\space}{.}},
+]%
+\end{minipage}%
+\end{minipage}%
+}}}
+
+% Load internal translations
+\InputIfFileExists{i18n/wallcalendar-\@wall@calendarLanguage.tex}{}%
+{\ClassError{wallcalendar}{File Not Found: i18n/wallcalendar-\@wall@calendarLanguage.tex}{}}
+
+% Load user translations if the option was set and translationsAutoload is true
+
+\newcommand\LoadTranslations{%
+\InputIfFileExists{\@wall@translationsInputFile}{}%
+{\ClassWarning{wallcalendar}{File Not Found: \@wall@translationsInputFile}{}}}
+
+\notblank{\@wall@translationsInputFile}{%
+\iftranslationsAutoload \LoadTranslations \fi}
+
+\newcommand*\@tr@monthNumName[1]{%
+\ifcase#1 \relax\or \xJanuary\or \xFebruary\or \xMarch\or \xApril\or \xMay\or \xJune\or
+\xJuly\or \xAugust\or \xSeptember\or \xOctober\or \xNovember\or \xDecember\fi}
+
+\newcommand*\@tr@dayLetter[1]{%
+\ifcase#1 \xMondayDayLetter\or \xTuesdayDayLetter\or \xWednesdayDayLetter\or
+\xThursdayDayLetter\or \xFridayDayLetter\or \xSaturdayDayLetter\or \xSundayDayLetter\fi}
+
+\newcommand*{\monthToNum}[1]{%
+\luadirect{
+ local monthToNum = {
+ january = '01',
+ february = '02',
+ march = '03',
+ april = '04',
+ may = '05',
+ june = '06',
+ july = '07',
+ august = '08',
+ september = '09',
+ october = '10',
+ november = '11',
+ december = '12',
+ }
+ local key = string.lower('#1')
+ tex.sprint(monthToNum[key])
+}}
+
+\newcommand*\monthName[1]{%
+% \ifcase might be just fine here
+\luadirect{
+ local monthName = {
+ 'January', 'February', 'March', 'April', 'May', 'June', 'July',
+ 'August', 'September', 'October', 'November', 'December',
+ }
+ local key = tonumber('#1')
+ tex.sprint(monthName[key])
+}}
+
+% End of wallcalendar.cls
diff --git a/macros/luatex/latex/wallcalendar/wallcalendar.pdf b/macros/luatex/latex/wallcalendar/wallcalendar.pdf
new file mode 100644
index 0000000000..2ee862c318
--- /dev/null
+++ b/macros/luatex/latex/wallcalendar/wallcalendar.pdf
Binary files differ