From 1e488b26eca2756bc7d7b2da2e7cbc509b260367 Mon Sep 17 00:00:00 2001 From: Louis Date: Sun, 17 Apr 2016 07:37:52 +0200 Subject: [PATCH] [WIP] Special chars, and TODO --- test/test_song/latex.tsg | 0 test/test_song/{latex.csg => special.csg} | 0 .../{latex.csg.source => special.csg.source} | 1 + test/test_song/special.tsg | 21 +++++++++++++++++++ .../{latex_special.yaml => special.yaml} | 2 +- .../songs/special.csg | 0 6 files changed, 23 insertions(+), 1 deletion(-) delete mode 100644 test/test_song/latex.tsg rename test/test_song/{latex.csg => special.csg} (100%) rename test/test_song/{latex.csg.source => special.csg.source} (94%) create mode 100644 test/test_song/special.tsg rename test/test_songbook/{latex_special.yaml => special.yaml} (90%) rename test/test_songbook/{latex_special_datadir => special_datadir}/songs/special.csg (100%) diff --git a/test/test_song/latex.tsg b/test/test_song/latex.tsg deleted file mode 100644 index e69de29b..00000000 diff --git a/test/test_song/latex.csg b/test/test_song/special.csg similarity index 100% rename from test/test_song/latex.csg rename to test/test_song/special.csg diff --git a/test/test_song/latex.csg.source b/test/test_song/special.csg.source similarity index 94% rename from test/test_song/latex.csg.source rename to test/test_song/special.csg.source index bbe53f98..128cfa98 100644 --- a/test/test_song/latex.csg.source +++ b/test/test_song/special.csg.source @@ -1,3 +1,4 @@ +TODO url ? {title: & $ % # _ \} \{ ~ ^ \\} {artist: & $ % # _ \} \{ ~ ^ \\} {album: & $ % # _ \} \{ ~ ^ \\} diff --git a/test/test_song/special.tsg b/test/test_song/special.tsg new file mode 100644 index 00000000..aa42a9cc --- /dev/null +++ b/test/test_song/special.tsg @@ -0,0 +1,21 @@ +\selectlanguage{english} + +\beginsong{\& \$ \% \# \_ \} \{ \textasciitilde{} \textasciicircum{} \textbackslash{}}[ + by={ + \& \$ \% \# \_ \} \{ \textasciitilde{} \textasciicircum{} \textbackslash{} }, + album={\& \$ \% \# \_ \} \{ \textasciitilde{} \textasciicircum{} \textbackslash{}}, +] + + + + +\begin{verse} + \& \$ \% \# \_ \} \{ \textasciitilde{} \textasciicircum{} \textbackslash{} +\end{verse} + + +\begin{chorus} + \& \$ \% \# \_ \} \{ \textasciitilde{} \textasciicircum{} \textbackslash{} +\end{chorus} + +\endsong diff --git a/test/test_songbook/latex_special.yaml b/test/test_songbook/special.yaml similarity index 90% rename from test/test_songbook/latex_special.yaml rename to test/test_songbook/special.yaml index 206bea46..895b838c 100644 --- a/test/test_songbook/latex_special.yaml +++ b/test/test_songbook/special.yaml @@ -1,6 +1,6 @@ book: datadir: - - latex_special_datadir + - special_datadir template: default.tex: diff --git a/test/test_songbook/latex_special_datadir/songs/special.csg b/test/test_songbook/special_datadir/songs/special.csg similarity index 100% rename from test/test_songbook/latex_special_datadir/songs/special.csg rename to test/test_songbook/special_datadir/songs/special.csg