-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathexample1.sh
43 lines (41 loc) · 1.83 KB
/
example1.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/sh
# This file is a "shell copy" of corresponding python example, see it for ore info
# This file assumes the python version to be run first (creates directories, figs etc.)
dirBuild=/tmp/photocalendar-example1
dirData=$dirBuild/data
imagesDirectory=$dirData/images
imageDescriptionsFile=$dirData/imageDescriptions.dat
backgroundImagesDirectory=$dirData/backgrounds
title="PhotoCalendar 2019"
titlePageImage=$dirData/titlePageImage.png
titlePageBackground=$dirData/titlePageBackground.png
lastPageBackground=$dirData/lastPageBackground.png
notesFile=$dirData/notes.dat
nameDaysFile=$dirData/nameDays.dat
religiousHolidaysFile=$dirData/religiousHolidays.dat
publicHolidaysFile=$dirData/publicHolidays.dat
weekDayNamesFile=$dirData/weekDayNames.dat
abbrWeekDayNamesFile=$dirData/abbrWeekDayNames.dat
monthNamesFile=$dirData/monthNames.dat
abbrMonthNamesFile=$dirData/abbrMonthNames.dat
template=delphinus
photocalendar \
--output-base $dirBuild/example1-sh \
--year 2019 \
--first-weekday Tu \
--images-directory $imagesDirectory \
--image-descriptions-file $imageDescriptionsFile \
--background-images-directory $backgroundImagesDirectory \
--title "$title" \
--title-page-image $titlePageImage \
--title-page-background $titlePageBackground \
--last-page-background $lastPageBackground \
--name-days-file $nameDaysFile \
--religious-holidays-file $religiousHolidaysFile \
--public-holidays-file $publicHolidaysFile \
--notes-file $notesFile \
--week-day-names-file $weekDayNamesFile \
--abbr-week-day-names-file $abbrWeekDayNamesFile \
--month-names-file $monthNamesFile \
--abbr-month-names-file $abbrMonthNamesFile \
--template $template