Browse Source

Keep backward compatibility with .sg songs

pull/174/head
Oliverpool 9 years ago
parent
commit
7ee17760cd
  1. 3
      patacrep/songs/latex/__init__.py
  2. 4
      test/test_compilation/datadir.tex.control
  3. 0
      test/test_compilation/datadir_datadir/songs/datadir2.sg

3
patacrep/songs/latex/__init__.py

@ -52,6 +52,9 @@ SONG_RENDERERS = {
"tsg": {
'tis': Latex2LatexSong,
'tsg': Latex2LatexSong,
# For backward compatibility
'sg': Latex2LatexSong,
},
}

4
test/test_compilation/datadir.tex.control

@ -139,9 +139,9 @@ Chordpro}[
\endsong
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% songs/./datadir2.tsg
%% songs/./datadir2.sg
\import{@TEST_FOLDER@/datadir_datadir/songs/}{datadir2.tsg}
\import{@TEST_FOLDER@/datadir_datadir/songs/}{datadir2.sg}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% songs/./relative.csg

0
test/test_compilation/datadir_datadir/songs/datadir2.tsg → test/test_compilation/datadir_datadir/songs/datadir2.sg

Loading…
Cancel
Save