Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
Binary file added tests/tex-output/bugs/fix-1725/fix-1725.pdf
Binary file not shown.
19 changes: 19 additions & 0 deletions tests/tex-output/bugs/fix-1725/fix-1725.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
\documentclass{article}
\usepackage[autocompile]{gregoriotex}
\setlength{\parindent}{0pt}
\setlength{\parskip}{12pt}
\gresetinitiallines{0}

\begin{document}

Test cases for issue \#1725.

The `b' is cleared and should appear to the right of `a' with a little bit of space in between.

\gabcsnippet{a(gg)<clear>b(g) c(g)}

\verb|\grechangedim{interwordspacenotes}{1in}{scalable}|
\grechangedim{interwordspacenotes}{1in}{scalable}
\gabcsnippet{a(gg)<clear>b(g) c(g)}

\end{document}
Binary file added tests/tex-output/syllable-rewriting/fix-1719.pdf
Binary file not shown.
38 changes: 38 additions & 0 deletions tests/tex-output/syllable-rewriting/fix-1719.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
\documentclass{article}
\usepackage[autocompile]{gregoriotex}
\usepackage{fontspec}

\setlength{\parindent}{0pt}
\setlength{\parskip}{12pt}
\gresetinitiallines{0}

\setmainfont[Path=../../../fonts/,Extension=.otf]{Gatometrix}

\begin{document}

Test cases for issue \#1719.

\verb|maximumspacewithoutdash=0pt| \\
\verb|syllablerewriting=auto|
\gabcsnippet{(c4) San(fg/hf/ggf~)ctus,(f.)}

\grechangedim{maximumspacewithoutdash}{1in}{scalable}
\verb|maximumspacewithoutdash=1in| \\
\verb|syllablerewriting=auto| \\
The `n' should not jump to the second syllable:
\gabcsnippet{(c4) San(fg/hf/ggf~)ctus,(f.)}

\grechangedim{maximumspacewithoutdash}{0in}{scalable}

\verb|maximumspacewithoutdash=0pt| \\
\verb|syllablerewriting=off|
\gresetsyllablerewriting{off}
\gabcsnippet{(c3) San(g)ctus,(gf..)}

\verb|maximumspacewithoutdash=0pt| \\
\verb|syllablerewriting=auto| \\
This font has an `an' ligature, which should not be broken:
\gresetsyllablerewriting{auto}
\gabcsnippet{(c3) San(g)ctus,(gf..)}

\end{document}
Binary file modified tests/tex-output/syllable-rewriting/syllable-rewriting.pdf
Binary file not shown.
7 changes: 7 additions & 0 deletions tests/tex-output/syllable-rewriting/syllable-rewriting.tex
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,11 @@
\gresetsyllablerewriting{auto}
\gregorioscore[a]{syllable-rewriting}

\vskip 1cm
with point-and-click enabled:

\gresetsyllablerewriting{auto}
\gresetpointandclick{on}
\gregorioscore[a]{syllable-rewriting}

\end{document}