Skip to content

Commit

Permalink
Merge branch 'release-5.0' into hyphen_height
Browse files Browse the repository at this point in the history
* release-5.0:
  Remove note about luaotfload bug
  Prevented the change of \gre@diment@lastglyphwidth by a custos alteration. Fixes gregorio-project#1379.
  Added note about package ordering as related to microtype. Fixes gregorio-project#1364.
  Switched to tex.sprint since it's not the last tex print call in the function.
  Opened auto-compiled gabc files in TeX so opening is recorded correctly. Fixes gregorio-project#1367.
  Update references to gna.org
  • Loading branch information
rpspringuel committed Nov 26, 2017
2 parents 94f9ea2 + 593a989 commit 79d18f8
Show file tree
Hide file tree
Showing 15 changed files with 40 additions and 17 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ All notable changes to this project will be documented in this file.
As of v3.0.0 this project adheres to [Semantic Versioning](http://semver.org/). It follows [some conventions](http://keepachangelog.com/).

## [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
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ You can report a bug and request a new feature on the [bug tracker](https://gith

Please search for existing issues before reporting a new one.

Please do not use the issue tracker for personal support requests, instead use the mailing-list (https://gna.org/mail/?group=gregorio) or IRC: #gregorio on freenode.
Please do not use the issue tracker for personal support requests, instead use the mailing-list (https://groups.google.com/forum/#!forum/gregorio-users) or IRC: #gregorio on freenode.

### Report a bug

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
2 changes: 1 addition & 1 deletion contrib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ under Windows).
After that you can insert a render frame using Gregorio, and simply
typing gabc (`right-click->edit sources`).

For more details see [the website](http://home.gna.org/gregorio/scribus).
For more details see [the website](http://gregorio-project.github.io/introduction-scribus.html).

## Syllabation checker

Expand Down
2 changes: 1 addition & 1 deletion contrib/system-setup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ echo.
echo system-setup.log created and saved in a temporary location.
echo Upon exiting this script, the log will be opened in Notepad for you.
echo Please save the file to a convenient location and email it to
echo gregorio-users@gna.org as part of your bug report.
echo gregorio-users@googlegroups.com as part of your bug report.
echo.
echo You can also create an issue at
echo http://github.org/gregorio-project/gregorio/issues
Expand Down
4 changes: 2 additions & 2 deletions contrib/system-setup.command
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ echo "" >> $OUTPUT
echo ""
echo ""
echo "system-setup.log created and saved the working directory from which you"
echo "ran this script. Please email it to gregorio-users@gna.org as part of"
echo "your bug report."
echo "ran this script. Please email it to gregorio-users@googlegroups.com as"
echo "part of your bug report."
echo ""
echo "You can also create an issue at "
echo "http://github.org/gregorio-project/gregorio/issues"
Expand Down
2 changes: 1 addition & 1 deletion debian/build-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# it can be useful.

DEBFULLNAME='Gregorio Builder'
DEBEMAIL='gregorio-devel@gna.org'
DEBEMAIL='gregorio-devel@googlegroups.com'
DEBVERSION='UNRELEASED'

until [ -z "$1" ]; do
Expand Down
2 changes: 1 addition & 1 deletion debian/manpage.xml
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ and docbook-xsl in your Build-Depends control field.
<refsect1>
<title>SEE ALSO</title>

<para>http://home.gna.org/gregorio for a complete description of the formats.</para>
<para>http://gregorio-project.github.io/index.html for a complete description of the formats.</para>

</refsect1>
</refentry>
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
7 changes: 7 additions & 0 deletions doc/Command_Index_internal.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1439,6 +1439,10 @@ \section{Gregorio\TeX{} Controls}
& note & the current syllable is a note syllable.\\
\end{argtable}
\macroname{\textbackslash gre@read@temp}{}{gregoriotex-main.tex}
File handle used to mark auto-compiled gabc files as dependencies for tools
like latexmk.
\subsection{Auxiliary File}
Gregorio\TeX\ creates its own auxiliary file (extension \texttt{gaux}) which it uses to store information between successive typesetting runs. This allows for such features as the dynamic interline spacing. The following functions are used to interact with that auxiliary file.
Expand Down Expand Up @@ -1709,6 +1713,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
2 changes: 1 addition & 1 deletion examples/PopulusSion.gabc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ style: modern;

%%

% The syntax in this part is called gabc. Please refer to http://home.gna.org/gregorio/gabc/#basis
% The syntax in this part is called gabc. Please refer to http://gregorio-project.github.io/gabc/index.html

Pó(c3eh/hi)pu(h)lus(h) Si(hi)on,(hgh.) *(;) ec(hihi)ce(e.) Dó(e.f!gwhhi)mi(h){n}us(h) vé(hi)ni(ig//ih)et(h.) (,) ad(iv./hig) sal(fe~)ván(ghg)das(fg) gen(e_f_e_)tes(e.) :(:)

Expand Down
3 changes: 3 additions & 0 deletions tex/gregoriotex-main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@
%% basic start
%%%%%%%%%%%%%%%

% Used for marking a gabc file read as a dependency
\newread\gre@read@temp

\def\gre@pitch@a{3}%
\def\gre@pitch@b{4}%
\def\gre@pitch@c{5}%
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 @@ -2404,7 +2411,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
2 changes: 2 additions & 0 deletions tex/gregoriotex.lua
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,8 @@ local function include_score(input_file, force_gabccompile, allow_deprecated)
-- open the gabc file for reading so that LuaTeX records input from it
-- when the -recorder option is used; do this here so that this happens
-- on every run
tex.sprint(catcode_at_letter, string.format(
[[\openin\gre@read@temp=%s\relax\closein\gre@read@temp]], gabc_file))
local gabc = io.open(gabc_file, 'r')
if gabc == nil then
err("\n Unable to open %s", gabc_file)
Expand Down
2 changes: 1 addition & 1 deletion windows/gregorio.iss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SolidCompression=yes
LicenseFile=../COPYING.md
AppCopyright=Copyright (C) 2006-2017 The Gregorio Project
AppComments=Software for engraving Gregorian Chant scores.
AppContact=gregorio-devel@gna.org
AppContact=gregorio-devel@googlegroups.com
AppPublisher=The Gregorio Project
AppPublisherURL=https://github.com/gregorio-project/gregorio
AppReadmeFile=https://github.com/gregorio-project/gregorio
Expand Down

0 comments on commit 79d18f8

Please sign in to comment.