Skip to content

Commit

Permalink
updates to EES Tools
Browse files Browse the repository at this point in the history
  • Loading branch information
skafdasschaf committed Dec 15, 2021
1 parent f650ea5 commit 7dda0c9
Show file tree
Hide file tree
Showing 27 changed files with 13,985 additions and 15,158 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/engrave-and-release.yaml
@@ -0,0 +1,10 @@
name: Release engraved scores

on:
push:
tags:
- "v*.*.*"

jobs:
engrave_scores:
uses: edition-esser-skala/ees-tools/.github/workflows/engrave-and-release.yaml@main
15 changes: 9 additions & 6 deletions .gitignore
@@ -1,14 +1,17 @@
final/*
manuscript/*
out/*
*.zip
master.pdf
tmp/*
front_matter/critical_report.pdf
*.midi
main.pdf
*.aux
*.log
*.bbl
*.blg
*.toc
*.fdb_latexmk
*.fls
*.log
*.macros
*.midi
*.out
*.ps
*.ref
*.toc
14 changes: 14 additions & 0 deletions CHANGELOG.md
@@ -0,0 +1,14 @@
# Changelog

## 2.0.0 - 2021-12-15

### Changed

- uses EES Tools and new editorial guidelines


## 1.0 - 2020-07-10

### Added

- initial release
427 changes: 427 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

63 changes: 1 addition & 62 deletions Makefile
@@ -1,62 +1 @@
# (c) 2020 by Wolfgang Esser-Skala.
# This file is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
# To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/.


# change the following variables according to your project
project = Bachschmid_Stabat_mater
notes = vl1 vl2 vla S A T B org
scores = full_score vl1 vl2 vla coro b org

# general definitions
zipname = $(project:%=%_engraving_files)
.DEFAULT_GOAL := info
CPU_CORES = `cat /proc/cpuinfo | grep -m1 "cpu cores" | sed s/".*: "//`
LILY_CMD = lilypond -ddelete-intermediate-files \
-dno-point-and-click -djob-count=$(CPU_CORES)

# dependencies of scores:
# (a) individual scores (e.g., `make full_score')
$(scores): %: out/%.pdf
$(scores:%=out/%.pdf): out/%.pdf: scores/%.ly $(notes:%=notes/%.ly) definitions.ly
mkdir -p out
$(LILY_CMD) -o out $<

# (b) all scores (`make scores')
.PHONY: scores
scores: $(scores)


# dependencies of final scores (i.e., front matter + notes):
# (a) individual final scores (e.g., `make final/full_score'):
$(scores:%=final/%): %: %.pdf
$(scores:%=final/%.pdf): final/%.pdf: front_matter/critical_report.tex out/%.pdf
mkdir -p final
for i in 1 2; do \
cd front_matter; \
lualatex -output-directory=../final -jobname=$* critical_report.tex $* ;\
done
rm final/$*.aux
rm final/$*.log

# (b) all final scores (`make final/scores'):
.PHONY: final/scores
final/scores: $(scores:%=final/%)

archive:
zip $(zipname).zip README.md Makefile *.ly \
notes/*.ly scores/*.ly \
front_matter/byncsaeu.pdf front_matter/ees_logo.pdf front_matter/*.tex

space := $(subst ,, )
sep := ", "
info:
@color=`tput setaf 6; tput bold`; \
reset=`tput sgr0`; \
echo "Specify one of the following $${color}targets$${reset} to create:\n" \
"* $${color}$(subst $(space),$(sep),$(scores))$${reset}: individual scores (LilyPond output only)\n" \
"* $${color}$(subst $(space),$(sep),$(scores:%=final/%))$${reset}: individual final scores (LilyPond output + front matter)\n" \
"* $${color}scores$${reset}: all scores\n" \
"* $${color}final/scores$${reset}: all final scores\n" \
"* $${color}archive$${reset}: ZIP file with all sources\n" \
"* $${color}info$${reset}: prints this message"
include $(EES_TOOLS_PATH)/ees.mk
39 changes: 5 additions & 34 deletions README.md
@@ -1,42 +1,13 @@
# Anton Adam Bachschmid: Stabat mater
# Description

Engraving files for LilyPond 2.18.0

First version, July 2020
Source files for scores published by Edition Esser-Skala.


## Requirements

* LilyPond >= 2.18.0
* LuaLaTeX >= 1.10.0
* GNU Make >= 4.1
* The Source Sans and Fredericka the Great fonts from Google Fonts


## Build instructions

Use `make` for building scores:
* `make final/scores` generates all publication-ready scores in folder `final/`.
* `make info` lists other available build targets.

Alternatively, the file *master.ly* allows you to work with a text editor (e.g., Atom):
Change the included scores file in this script to generate files *master.pdf* and *master.midi*.


## Files

* *definitions.ly* – contains general definitions
* *Makefile* – configuration file for `make`
* *master.ly* – allows building scores without using `make`
* *README.md* – this file
* *front_matter/* – LuaLaTeX files and images for typesetting front matter
* *notes/* – LY files containing individual voices
* *scores/* – LY files containing score definitions

[EES Tools](https://github.com/edition-esser-skala/ees-tools) and their dependencies. For consistent results, use the Docker image [ees-tools](https://ghcr.io/edition-esser-skala/ees-tools).

## Copyright

(c) 2020 by Wolfgang Esser-Skala.
## Further information

This file is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/.
Consult the readme of [EES Tools](https://github.com/edition-esser-skala/ees-tools).

0 comments on commit 7dda0c9

Please sign in to comment.