Skip to content

Commit

Permalink
feat: Add a non-chords first songbook leadsheet
Browse files Browse the repository at this point in the history
  • Loading branch information
ioanlucut committed Dec 23, 2024
1 parent 048b7b3 commit 730b878
Show file tree
Hide file tree
Showing 116 changed files with 1,993 additions and 3,132 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ insert_final_newline = true

[{*.js,*.ts(x)}]
insert_final_newline = true

[*.tex]
insert_final_newline = false
19 changes: 0 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ jobs:
runs-on: ubuntu-latest
outputs:
rcOutput: ${{ steps.filter.outputs.rcImportsHaveChanged }}
texOutput: ${{ steps.filter.outputs.texFilesHaveChanged }}
steps:
- name: Clone repository
uses: actions/checkout@v3
Expand All @@ -22,7 +21,6 @@ jobs:
- 'temp-runners/rc_authors_to_process.txt'
- 'temp-runners/rc_ids_to_ignore.txt'
- 'temp-runners/rc_ids_to_process.txt'
texFilesHaveChanged: 'LaTeX/**/*.tex'
Build:
needs: ChangedCodePathsFilter
Expand Down Expand Up @@ -119,20 +117,3 @@ jobs:
env:
CI: true
FORCE_COLOR: 2

CompileLaTeX:
needs: [ ChangedCodePathsFilter, Build ]
runs-on: ubuntu-latest
if: needs.ChangedCodePathsFilter.outputs.texOutput == 'true'
steps:
- name: Clone repository
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: Compile BES Conduct LaTeX doc
uses: xu-cheng/latex-action@v3
with:
root_file: BES_Conduct_Afisaj.tex
working_directory: LaTeX/conduct/
latexmk_shell_escape: true
61 changes: 61 additions & 0 deletions .github/workflows/latex_songbook_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: 'LaTeX Songbook (no chords))'

on:
push:
branches:
- leadsheets-without-chords
# paths:
# - 'verified/trupe_lauda_si_inchinare/**'
workflow_dispatch:

jobs:
LaTeXSongbookRelease:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: Install Fonts
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends ttf-mscorefonts-installer
sudo fc-cache -fv # Refresh the font cache
- name: Verify Font Installation
run: |
fc-list | grep -i "georgia"
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x

- name: Run Build songbook TEX
run: |
npm i && npm run songbook:convert
env:
CI: true

- name: Compile BES Songbook LaTeX doc
uses: xu-cheng/latex-action@v3
with:
root_file: bes-songbook.tex
working_directory: LaTeX/songbook/
latexmk_shell_escape: true
latexmk_use_xelatex: true

- name: Generate Release Tag
id: tag
run: echo "{name}={release_tag::BES_Conduct_$(date +"%Y.%m.%d_%H-%M")}" >> $GITHUB_OUTPUT

- name: Release
uses: softprops/action-gh-release@v1
with:
files: 'LaTeX/songbook/bes-songbook.pdf'
tag_name: ${{ steps.tag.outputs.release_tag }}
fail_on_unmatched_files: true
draft: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14 changes: 9 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/.idea/aws.xml
/.idea/cssdialects.xml
/.idea/nx-console.xml
/.idea/git_toolbox_blame.xml
/.idea/git_toolbox_prj.xml
/.idea/webResources.xml
node_modules/
**/*.aux
**/*.fdb_latexmk
Expand All @@ -9,8 +15,6 @@ node_modules/
**/*.out
**/*.thm
**/*.xdv
**/*.bes-songbook.tex
target-tex-common-songbook
/.idea/aws.xml
/.idea/cssdialects.xml
/.idea/nx-console.xml
bes-songbook.tex
bes-songbook.pdf
target-tex
4 changes: 1 addition & 3 deletions .idea/bes-lyrics.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/git_toolbox_blame.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions .idea/git_toolbox_prj.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 22 additions & 2 deletions .idea/watcherTasks.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/webResources.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .run/Run_ [Temp] add songs from rc by authors.run.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Run: [Temp] add songs from rc by authors" type="NodeJSConfigurationType" node-parameters="--loader ts-node/esm --no-warnings=ExperimentalWarning" path-to-js-file="temp-runners/importSongsFromRcByAuthors.ts" working-dir="$PROJECT_DIR$">
<configuration default="false" name="Run: [Temp] add songs from rc by authors" type="NodeJSConfigurationType" node-parameters="--loader ts-node/esm --no-warnings=ExperimentalWarning" path-to-js-file="import-songs-temp-runners/importSongsFromRcByAuthors.ts" working-dir="$PROJECT_DIR$">
<method v="2" />
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/Run_ [Temp] cherry pick songs we have in church.run.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Run: [Temp] cherry pick songs we have in church" type="NodeJSConfigurationType" node-parameters="--loader ts-node/esm --no-warnings=ExperimentalWarning" path-to-js-file="temp-runners/moveExistingWorshipSongsToDir.ts" working-dir="$PROJECT_DIR$">
<configuration default="false" name="Run: [Temp] cherry pick songs we have in church" type="NodeJSConfigurationType" node-parameters="--loader ts-node/esm --no-warnings=ExperimentalWarning" path-to-js-file="import-songs-temp-runners/moveExistingWorshipSongsToDir.ts" working-dir="$PROJECT_DIR$">
<method v="2" />
</configuration>
</component>
</component>
Binary file added LaTeX/conduct/BES_Conduct_Afisaj.pdf
Binary file not shown.
Loading

0 comments on commit 730b878

Please sign in to comment.