Skip to content

Commit

Permalink
Merge pull request gregorio-project#1386 from henryso/develop
Browse files Browse the repository at this point in the history
Merged release-5.0 into develop.
  • Loading branch information
henryso authored Nov 21, 2017
2 parents 4e8d40d + 75c8505 commit bbd6e25
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 7 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ As of v3.0.0 this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased][unreleased]
- Fixed issue with Tex Live 2017 latexmk not detecting auto-compiled gabc files as dependencies (see [#1367](https://github.com/gregorio-project/gregorio/issues/1367)).
- Added note about loading microtype after gregoriotex (see [#1364](https://github.com/gregorio-project/gregorio/issues/1364)).
- Fixed issue where an altered note (glyph) throws off the position of an episema in the glyph that immediately precedes it (see [#1379](https://github.com/gregorio-project/gregorio/issues/1379)).

## [5.0.2] - 2017-05-24
- Worked around an issue discovered during the TeX Live 2017 pre-test. See [#1362](https://github.com/gregorio-project/gregorio/issues/1362).
Expand Down
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ You can also try it online [here](http://dev.illuminarepublications.com/gregorio

You need a recent and working [TeXLive](https://www.tug.org/texlive/), on top of which you just need to install latest [Gregorio release](https://github.com/gregorio-project/gregorio/releases). See [the website](http://gregorio-project.github.io/installation.html) for more details.

**Note:** Due to a bug in the v2.7-fix-3 release of `luaotfload` the documentation cannot be built against TeXLive 2016 if you have that version of `luaotfload` (see [#1188](https://github.com/gregorio-project/gregorio/issues/1188)). The result is that users should do one of the following:

- Install from the distribution tar ball where the documentation is already built (recommended for those installing a stable release).
- Switch to TeXLive 2015 (which uses an earlier version of `luaotfload`) to build the docs.
- Upgrade your `luaotfload` to a more recent version (v2.8 or later).

## Building for inclusion in TeXLive

When building gregorio for inclusion in TeXLive, the gregorio executable must not have the version number suffix that is used for other builds. To make this happen, run `configure` with the `--disable-version-in-exe` option, and the generated Makefile will create a gregorio executable without the version number suffix (i.e., the executable will simply be named `gregorio`).
Expand Down
6 changes: 6 additions & 0 deletions doc/Command_Index_User.tex
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ \subsection{Using the Package}

If you only need the special symbols which Gregorio\TeX\ contains, and not the ability to include scores or musical glyphs, then you can load \texttt{gregoriosyms} instead of \texttt{gregoriotex}. It supports all of the above options except those specifically related to scores. \textbf{You should not try to load both packages}.

\subsubsection{Gregorio\TeX{} and \texttt{microtype}}

If you are using the \texttt{microtype} package or a package that itself uses
\texttt{microtype}, please load it after \texttt{gregoriotex}. If you load
\texttt{microtype} before \texttt{gregoriotex}, you may receive an error about
an ``undefined control sequence'' if you use certain Gregorio\TeX{} features.

\subsection{Commands}

Expand Down
3 changes: 3 additions & 0 deletions doc/Command_Index_internal.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1716,6 +1716,9 @@ \subsection{Flags}
\macroname{\textbackslash gre@insidediscretionary}{}{gregoriotex-signs.tex}
Macro which indicates whether we are currently inside a discretionary (\texttt{1}) or not (\texttt{0}). Cannot be converted to a \TeX\ boolean because it’s value needs to be passed to Lua.
\macroname{\textbackslash ifgre@in@custos}{}{gregoriotex-signs.tex}
Boolean which indicates whether typesetting is currently in the context of a custos.
\macroname{\textbackslash ifgre@isonaline}{}{gregoriotex-syllable.tex}
Boolean which indicates whether the current note is on a line or not (used to adjust the height of some symbols so they won’t print on a line).
Expand Down
11 changes: 10 additions & 1 deletion tex/gregoriotex-signs.tex
Original file line number Diff line number Diff line change
Expand Up @@ -451,10 +451,14 @@
\gre@trace@end%
}%

\newif\ifgre@in@custos %
\gre@in@custosfalse %

% custos just typesets a custos, useful for before the key changes for example
% #1 is the height
\def\GreCustos#1#2{%
\gre@trace{GreCustos{#1}{#2}}%
\gre@in@custostrue %
\GreNoBreak %
\ifdim\gre@skip@bar@lastskip=0pt\else % we're after a bar:
\kern-\gre@skip@bar@lastskip %
Expand Down Expand Up @@ -505,6 +509,7 @@
\fi %
\directlua{gregoriotex.adjust_line_height(\gre@insidediscretionary)}%
\relax %
\gre@in@custosfalse %
\gre@trace@end%
}%

Expand All @@ -522,6 +527,7 @@
\edef\gre@nextcustosalteration{}%
\def\GreNextCustos#1#2{%
\gre@trace{GreNextCustos{#1}{#2}}%
\gre@in@custostrue %
\gre@debugmsg{custos}{nextcustos = #1,#2}%
\ifnum\gre@insidediscretionary=0\relax %
\gre@debugmsg{custos}{not discretionary}%
Expand Down Expand Up @@ -561,6 +567,7 @@
\fi %
\fi %
\relax%
\gre@in@custosfalse %
\gre@trace@end%
}%

Expand Down Expand Up @@ -2464,7 +2471,9 @@
\ifnum#4=0\relax %
\gre@newglyphcommon %
\fi %
\global\gre@dimen@lastglyphwidth=\wd\gre@box@temp@width %
\ifgre@in@custos\else\relax %
\global\gre@dimen@lastglyphwidth=\wd\gre@box@temp@width %
\fi %
% the three next lines are a trick to get the additional lines below the glyphs
\gre@skip@temp@one = \gre@dimen@lastglyphwidth\relax%
\kern\gre@skip@temp@one %
Expand Down

0 comments on commit bbd6e25

Please sign in to comment.