Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge #38

Open
wants to merge 75 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
32cbbfb
Conversion from old format to markdown
DavidResin Apr 5, 2019
2c7f9e0
md bugfix
DavidResin Apr 5, 2019
fd12362
md bugfix 2
DavidResin Apr 5, 2019
2609302
md tutorial
DavidResin Apr 5, 2019
7871428
Song refactoring done
DavidResin Apr 6, 2019
82676b0
Create LICENSE.md
DavidResin Apr 6, 2019
7f6eb56
Rename LICENSE.md to LICENSE
DavidResin Apr 6, 2019
342430f
Update README.md
DavidResin Apr 6, 2019
9fc56a3
Add lauluwiki.dat
Apr 7, 2019
18b1467
Fix conflict with master
DavidResin Apr 8, 2019
37fc70f
Progress in dev
DavidResin Apr 8, 2019
e21d82a
move scrape.py to tools
Apr 8, 2019
5163aea
Merge pull request #17 from DavidResin/lauluwiki_scraper
DavidResin Apr 8, 2019
0e7a004
Use regex for consistent song formatting
Apr 8, 2019
697d6da
Add comments to end of the line
Apr 8, 2019
a7bc028
Merge pull request #19 from DavidResin/lauluwiki_scraper
DavidResin Apr 8, 2019
5b238a2
Progress on song + req.txt
DavidResin May 29, 2019
9daf185
More progress towards completing 0.3
DavidResin May 30, 2019
e3638b6
Further progress
DavidResin May 30, 2019
f3b329c
Start work on sh to python
DavidResin May 31, 2019
626b9be
Start work on sh to python
DavidResin May 31, 2019
02507be
Update en.md
DavidResin Jun 2, 2019
c6c0fc1
Update en.md
DavidResin Jun 2, 2019
e7be281
Tiny fixes
DavidResin Jun 4, 2019
ca0636a
Update en.md
DavidResin Jun 5, 2019
cacb9dd
Progress
DavidResin Jun 8, 2019
c640a9d
Merge branch 'dev' of github.com:DavidResin/sitsitex into dev
DavidResin Jun 8, 2019
98d1e4c
fixes
Jun 8, 2019
2e18b18
Fixed gitignore
Jun 9, 2019
b480695
0.3 RC
Jun 9, 2019
64054df
Progress for RC
Jun 9, 2019
b246b0c
Progress for RC
Jun 9, 2019
c1ef29b
RC2
Jun 9, 2019
430f8d8
Fix
Jun 10, 2019
e908a98
Fix
Jun 10, 2019
d8fa96d
Progress on new song format
Jun 11, 2019
86eae34
Restore to working state
DavidResin Jun 11, 2019
39338a5
Progress
Jun 19, 2019
02dc273
Progress
Jun 23, 2019
c619b5f
Merge branch 'feature/songbank' of github.com:DavidResin/sitsitex int…
Jun 23, 2019
44ea523
Progress
Jul 4, 2019
f592c12
Nearing completion on new format
Jul 10, 2019
556e5a9
Progress
Jul 16, 2019
cc27570
Progress
Jul 16, 2019
bc62003
Fix merge
Jul 16, 2019
b369383
Added old songs.sty
Jul 16, 2019
bb46970
Setup bugfix section
Jul 16, 2019
b85853a
Fixed bugs, only song spacing missing
Jul 26, 2019
2dc6001
All bugs fixed!
Jul 26, 2019
c6e42c8
Progress
Jul 29, 2019
a152f24
0.3 RC1, working version but still bulky
Aug 1, 2019
ef57784
0.3 RC1, working version but still bulky
Aug 1, 2019
30df99b
Merge pull request #28 from DavidResin/feature/songbank
DavidResin Aug 1, 2019
9d18bb1
Progress
Aug 8, 2019
a5651b8
Add missing requirement
Sep 17, 2019
d697643
Add songs
Sep 17, 2019
1c9169e
Update gitignore
Sep 17, 2019
f376bc4
just a bunch of more songs
Sep 19, 2019
bdea205
Progress
Jan 6, 2020
c5135ea
No more latexmk, now using Python equivalent
Jan 8, 2020
8bfc90e
No more latexmk, now using Python equivalent
Jan 8, 2020
ca9404c
Fix?
Jan 8, 2020
6b70145
Fix?
Jan 8, 2020
bd6b7ed
Fix?
Jan 8, 2020
63410df
Merge pull request #31 from DavidResin/sylfix
DavidResin Jan 8, 2020
7d69615
0.3 progress
Jan 10, 2020
d8b8ed4
Progress
Jan 12, 2020
feeed65
Getting close
Jan 20, 2020
fd729ee
Update example.md
DavidResin Jan 20, 2020
8a1edcd
Test candidate
Jan 20, 2020
e200cbc
Fixed merge
Jan 20, 2020
57a26a5
Fixed merge
Jan 20, 2020
fdea671
Fixed merge
Jan 20, 2020
35dce65
merign WIP
Apr 30, 2020
a8aa052
Merge branch 'dev' of github.com:DavidResin/sitsitex into dev
Apr 30, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/.gitignore → .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
aux_files/*
!aux_files/.gitkeep
outputs/*
!outputs/_example*
!outputs/_example*

.DS_*
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# SitsiTeX
## What is SitsiTeX?
Tired of reinventing the wheel many times over, I started developing this for my personal use in order to easily generate good-looking songbooks for Sitsits. Later, I then decided I would share it with other songmasters in order to simplify the process and make the result more elegant using the power of LaTeX. This comes with the added benefit of being able to share a common song library for all users, further spreading the love for one of our favorite activities.

## Information for contributors
Please make all your pull requests to `dev`, not `master`. I will apply changes to `master` from `dev` myself once I have made a changelog and tested everything sticks together nicely.

## Packages needed
SitsiTeX relies on a specific package, [`songs.sty`](http://songs.sourceforge.net/), for most of the formatting. Please use the installed version.
# SitsiTeX
## What is SitsiTeX?
In regular need to make new songbooks and tired of reinventing the wheel many times over, I started developing this for my personal use in order to easily generate good-looking songbooks for Sitsits. I then decided I might as well share it with other songmasters in order to simplify the process and make the result more elegant using the power of Latex. This comes with the added benefit of being able to share a common song library for all users, further spreading the love for one of our favorite activities.e all your pull requests to `dev`, not `master`. I will apply changes to `master` from `dev` myself once I have made a changelog and tested everything fits together nicely.

## Packages needed
SitsiTeX relies on a specific package, [`songs.sty`](http://songs.sourceforge.net/), for most of the formatting. Please use version 3.0, as the latest 3.1 has a bug that prevents normal operation of this package.
15 changes: 15 additions & 0 deletions docs/bugfixes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
A number of bugs encountered as well as their fixes are listed here:

# LaTeX
## Extra else error
Latex might freak out saying there is an extra `\else` at line 44 the `songs.py`. It seems some installations do not like version 3.1 of this package. You should manually replace the package with the one provided here (version 3.0).

## Font expansion error
Some installations of pdfTeX will fail on compilation saying "auto expansion is only possible with scalable fonts". It seems using `\include{lmodern}` fixes this problem. This is done in `songbook.sty`.

## Overfull \hbox
The tabular used in the `\license` function contains large elements which go beyond the padding of the cells. To prevent the warning, we put `@{}` at the start and end of the tabular column definition to remove the default `\tabcolsep` that are there.

## WIP: Overfull \vbox

## WIP: Underfull \hbox
68 changes: 68 additions & 0 deletions docs/song_structure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
This is the example file for creating your own song banks. We use Markdown as it allows us to have a clean visualization of our song banks while keeping our data easily compilable for the songbooks.

Here is the standard format for a song:

## Title
#### Subtitle
###### codeofthesong

Comments (just preceed with 4 spaces)
More comments

> Special line
Verse 1 Verse 1 Verse 1 Verse 1
Verse 1 Verse 1 Verse 1 Verse 1
Verse 1 Verse 1 **Important Words**
Verse 1 Verse 1 **Important Words**

_(Special bit)_ Verse 2 Verse 2 Verse 2 Verse 2
_(Special bit)_ Verse 2 Verse 2 Verse 2 Verse 2
Verse 2 Verse 2 Verse 2 Verse 2
Verse 2 Verse 2 Verse 2 Verse 2

:;: Repeat Repeat Repeat :;:
Repeat More Repeat More (x3)

Absence of a **_title_** and a **_code_** will prevent your song from being used!

- The **title**, which must be preceeded by `##` (2 times).

- The **subtitle**, which must be preceeded by `####` (4 times). The typical use case is:

#### To the tune of "Other Song Name"

- The **code**, which must be preceeded by `######` (6 times). **This code is very important**, as it will allow you to select the song for use in the songbook. Using the following syntax will allow you to pretty print it in the registry :

SongCode_VersionName_VersionNumber

Thus when you write :

## Title
###### mysong_fun_3

in file `xy.md`, this will appear in the registry:

<Song Title> - Fun Version 3
Code: xy_mysong_fun_3

- **Comments**, where each line must be preceeded by 4 spaces. Warning: this feature is not well supported currently and will be lost when running the script. Comments will **NOT** appear on the songbook.

- **Special lines**, which indicate instructions for the songs. They are surrounded by `_` which make them appear in italic. Parentheses should be used within. The typical use cases are:

> Songmaster solo:
> Everyone:

- **Special bits**, when a small instruction applies to just one line. Same format as above, but within a line. Here we wrote `___(Special bit)___`. The typical use cases are:

___(Solo:)___
___(All:)___

- **Repeat segments**, when a section of the song must be repeated. If it is just one repetition, `:;:` must be put before and after the section. This can cover multiple lines. If more repetitions are needed, simply add `(x3)`, `(x4)`, etc at the end of the line. Use a **Special line** instead if a whole paragraph needs to be sung more than twice.

- Any text can be made _ITALIC_, **BOLD** or even **_BOTH AT ONCE_** by wrapping it in 1, 2 or 3 asterisks (`*`) respectively. Underscores (`_`) can also be used instead. Use this sparingly, though. Here are all possibilities:

- `*ITALIC*` or `_ITALIC_`
- `**BOLD**` or `__BOLD__`
- `***BOTH AT ONCE***` or `___BOTH AT ONCE___`

- **Double spaces are needed** at the end of each line. Some markdown viewers will not break those lines otherwise. The compilation script is a nice fellow and will fix your song bank where double spaces are missing. When in doubt, just run it once!
Loading