Skip to content

Commit

Permalink
Added fix for bad \hbox, thanks to @OldClaudio.
Browse files Browse the repository at this point in the history
  • Loading branch information
henryso committed Aug 11, 2016
1 parent 22e635e commit 54bc8b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ As of v3.0.0 this project adheres to [Semantic Versioning](http://semver.org/).
[Unreleased][unreleased]
### Fixed
- When the note after an oriscus is at the same pitch, the oriscus will now point downwards by default (see [#1177](https://github.com/gregorio-project/gregorio/issues/1177)).
- With thanks to Claudio Beccari (@OldClaudio), adding a commentary no longer generates a bad `\hbox` during TeX processing (see [#1202](https://github.com/gregorio-project/gregorio/issues/1202)).



## [4.2.0-rc2] - 2016-07-05
Expand Down
2 changes: 1 addition & 1 deletion tex/gregoriotex-main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@
% we then place that box inside one of 0 width so that our cursor doesn't move when we place the commentary
\ifvoid\gre@box@commentary\else%
\gre@debugmsg{commentary}{I am printing a commentary box}%
\raise\gre@dimen@commentarytrueraise\hbox to 0pt{\hbox to \gre@dimen@linewidth{\hfill\box\gre@box@commentary}}%
\raise\gre@dimen@commentarytrueraise\hbox to 0pt{\hbox to \gre@dimen@linewidth{\hfill\box\gre@box@commentary}\hss}%
\fi%
\gre@debugmsg{annotation}{Time to calculate the true raise.}%
\gre@calculate@annotationtrueraise %
Expand Down

0 comments on commit 54bc8b8

Please sign in to comment.