Skip to content

Commit

Permalink
Merge pull request #108 from henryso/fix-804
Browse files Browse the repository at this point in the history
Added/updated tests/expectations for hyphen fix.
  • Loading branch information
henryso committed Jan 22, 2016
2 parents e819f60 + 8b45bc6 commit 2f2d2b4
Show file tree
Hide file tree
Showing 9 changed files with 59 additions and 8 deletions.
52 changes: 50 additions & 2 deletions tests/gabc-dump/eol.dump
Original file line number Diff line number Diff line change
Expand Up @@ -944,10 +944,14 @@
=====================================================================
type 5 (GRE_SYLLABLE)
position 4 (WORD_ONE_SYLLABLE)
---------------------------------------------------------------------
character t
---------------------------------------------------------------------
character h
---------------------------------------------------------------------
beginning of style ST_CENTER
---------------------------------------------------------------------
character a
character e
---------------------------------------------------------------------
end of style ST_CENTER
---------------------------------------------------------------------
Expand All @@ -964,6 +968,28 @@
position 4 (WORD_ONE_SYLLABLE)
---------------------------------------------------------------------
beginning of style ST_CENTER
---------------------------------------------------------------------
character e
---------------------------------------------------------------------
end of style ST_CENTER
---------------------------------------------------------------------
character n
---------------------------------------------------------------------
character d
---------------------------------------------------------------------
type 3 (GRE_ELEMENT)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
type 2 (GRE_GLYPH)
glyph_type 16 (G_PUNCTUM)
- - - - - - - - - - - - - - - - - - - - - - -
type 1 (GRE_NOTE)
pitch f
shape 1 (S_PUNCTUM)
=====================================================================
type 5 (GRE_SYLLABLE)
position 4 (WORD_ONE_SYLLABLE)
---------------------------------------------------------------------
beginning of style ST_CENTER
---------------------------------------------------------------------
character o
---------------------------------------------------------------------
Expand All @@ -977,7 +1003,29 @@
glyph_type 16 (G_PUNCTUM)
- - - - - - - - - - - - - - - - - - - - - - -
type 1 (GRE_NOTE)
pitch f
pitch h
shape 1 (S_PUNCTUM)
=====================================================================
type 5 (GRE_SYLLABLE)
position 4 (WORD_ONE_SYLLABLE)
---------------------------------------------------------------------
character t
---------------------------------------------------------------------
character h
---------------------------------------------------------------------
beginning of style ST_CENTER
---------------------------------------------------------------------
character e
---------------------------------------------------------------------
end of style ST_CENTER
---------------------------------------------------------------------
type 3 (GRE_ELEMENT)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
type 2 (GRE_GLYPH)
glyph_type 16 (G_PUNCTUM)
- - - - - - - - - - - - - - - - - - - - - - -
type 1 (GRE_NOTE)
pitch j
shape 1 (S_PUNCTUM)
=====================================================================
type 5 (GRE_SYLLABLE)
Expand Down
2 changes: 1 addition & 1 deletion tests/gabc-dump/eol.gabc
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ This(e) is(d) a(h) test(f) of(h) z-(g) (::z-)
This(e) is(d) a(h) test(f) of(h) Z(g) (::Z)
This(e) is(d) a(h) test(f) of(h) Z<v>+</v>(g) (::Z+)
This(e) is(d) a(h) test(f) of(h) Z-(g) (::Z-)
This(e) is(d) a(h) of(f) test(g) (::)
This(e) is(d) the(h) end(f) of(h) the(j) test(g) (::)
4 changes: 2 additions & 2 deletions tests/gabc-gabc/eol.exp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: eol;
generated-by: gregorio 4.0.1-fix-800-97edb51-2966;
generated-by: gregorio 4.0.1-fix-800-ec84e43-2975;
%%
(c4)This(e) is(d) a(h) test(f) of (h) z(g) (::z) This(e) is(d) a(h) test(f) of(h) z<v>+</v>(g) (::z+) This(e) is(d) a(h) test(f) of(h) z<v>\GreForceHyphen</v>(g) (::z-) This(e) is(d) a(h) test(f) of(h) Z(g) (::Z) This(e) is(d) a(h) test(f) of(h) Z<v>+</v>(g) (::Z+) This(e) is(d) a(h) test(f) of(h) Z<v>\GreForceHyphen</v>(g) (::Z-) This(e) is(d) a(h) of(f) test(g) (::)
(c4)This(e) is(d) a(h) test(f) of (h) z(g) (::z) This(e) is(d) a(h) test(f) of(h) z<v>+</v>(g) (::z+) This(e) is(d) a(h) test(f) of(h) z<v>\GreForceHyphen</v>(g) (::z-) This(e) is(d) a(h) test(f) of(h) Z(g) (::Z) This(e) is(d) a(h) test(f) of(h) Z<v>+</v>(g) (::Z+) This(e) is(d) a(h) test(f) of(h) Z<v>\GreForceHyphen</v>(g) (::Z-) This(e) is(d) the(h) end(f) of(h) the(j) test(g) (::)
6 changes: 3 additions & 3 deletions tests/gabc-gtex/bugs/fix-42-a.tex
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
% File generated by gregorio 4.0.1-fix-756-7fb5812-2890
% File generated by gregorio 4.0.1-fix-800-ad76337-2976
\GregorioTeXAPIVersion{4.0.1}%
\GreBeginHeaders %
\GreEndHeaders %
\GreBeginScore{cf8950f122d803854d1a40485f0c1868a05f3af5}{6}{5}{0}{0}{}{4}%
\GreBeginScore{856cb22bf55824979ab51348fc3ec9286c523cdc}{6}{5}{0}{0}{}{4}%
\GreScoreOpening{%
}{%
\GreSetInitialClef{c}{4}{3}{c}{0}{3}%
}{\GreSyllable}{\GreSetFirstSyllableText{A}{}{}{{}{\GreFirstWord{}}{}}{{}{\GreFirstWord{\GreFirstSyllable{\GreFirstSyllableInitial{A}}}}{}}{\GreForceHyphen}}{}{\GreFirstWord}{0}{\GreSetNextSyllable{\GreFirstWord{m}}{\GreFirstWord{e}}{\GreFirstWord{n}}{\GreFirstWord{m}}{\GreFirstWord{e}\GreFirstWord{n}}}{}{0}{}{%
}{\GreSyllable}{\GreSetFirstSyllableText{A}{}{}{{}{\GreFirstWord{}}{}}{{}{\GreFirstWord{\GreFirstSyllable{\GreFirstSyllableInitial{A}}}}{}}{\GreEmptyFirstSyllableHyphen}}{}{\GreFirstWord}{0}{\GreSetNextSyllable{\GreFirstWord{m}}{\GreFirstWord{e}}{\GreFirstWord{n}}{\GreFirstWord{m}}{\GreFirstWord{e}\GreFirstWord{n}}}{}{0}{}{%
\GreGlyph{\GreCPPunctum}{5}{5}{0}%
{%
\GreGlyphHeights{5}{5}%
Expand Down
3 changes: 3 additions & 0 deletions tests/gabc-output/bugs/fix-804.gabc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
name:fix-804;
%%
(c3) Hy-(g)phen-(h)a-(i) (::Z) tion.(j)
Binary file added tests/gabc-output/bugs/fix-804.pdf
Binary file not shown.
Binary file modified tests/gabc-output/eol-reverse.pdf
Binary file not shown.
Binary file modified tests/gabc-output/eol.pdf
Binary file not shown.
Binary file modified tests/gabc-output/slurs.pdf
Binary file not shown.

0 comments on commit 2f2d2b4

Please sign in to comment.