From b88c62d0e255bcffae13d2379b74cd828011cd42 Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Thu, 28 Apr 2016 17:08:51 -0400 Subject: [PATCH 01/30] Cherry pick b5b6095 (modified) --- CHANGELOG.md | 2 +- UPGRADE.md | 15 ++++++++++++++- doc/Command_Index_User.tex | 6 +++--- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 647a13dee..82caa1d78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ 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] +## [Unreleased][unreleased] ## [4.1.1] - 2016-03-10 diff --git a/UPGRADE.md b/UPGRADE.md index 5520c67f8..a0a949bfd 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -2,7 +2,20 @@ This file contains instructions to upgrade to a new release of Gregorio. -## Unreleased +## 4.1.2 + +### Changes to texmf tree + +To better comply with the TeXLive directory structure, the location of `gregoriotex.sty` and `gregoriosyms.sty` have changed. + +*Linux and other users installing from source:* You will need to manually remove the old versions of these files to avoid version conflicts. `install-gtex.sh` will be modified in a future beta to do this for you. + +*Mac users installing via pkg:* Please run Uninstall-Gregorio.pkg before installing 4.2. + +*Windows users:* Your installer already should remove old versions of GregorioTeX before installing the new ones. Please file a bug report if you have a problem with this process. + + +## 4.1.1 ### Vertical spacings diff --git a/doc/Command_Index_User.tex b/doc/Command_Index_User.tex index 4c7380a69..24b858cee 100644 --- a/doc/Command_Index_User.tex +++ b/doc/Command_Index_User.tex @@ -719,7 +719,7 @@ \subsubsection{Styling} \footnotemark[1]\textit{Special:} By default, \texttt{additionalstafflines} inherits its properties from \texttt{normalstafflines}. To decouple these environments, you must manually change \texttt{additionalstafflines} using \texttt{\textbackslash grechangestyle}. \renewcommand{\thefootnote}{\arabic{footnote}}\breakabletrue -\macroname{\textbackslash grechangestyle}{\{\#1\}\{\#2\}[\#3]}{gregoriotex.sty \textup{and} gregoriotex.tex} +\macroname{\textbackslash grechangestyle}{\{\#1\}\{\#2\}[\optional{\#3}]}{gregoriotex.sty \textup{and} gregoriotex.tex} Command to change styling of a score element. \begin{argtable} @@ -749,7 +749,7 @@ \subsubsection{Styling} \subsubsection{Text Elements} While the gabc headers provide support for some of the text elements commonly found on chant scores, Gregorio\TeX\ provides the following functions to allow you to enter and control those elements with a greater degree of precision than the gabc headers. -\macroname{\textbackslash greannotation}{[\#1]\{\#2\}}{gregoriotex-main.tex} +\macroname{\textbackslash greannotation}{[\optional{\#1}]\{\#2\}}{gregoriotex-main.tex} Macro to add annotations (the text which appears above the initial) to a score. While a single call of the function does not support multiple lines, successive calls to the function will be added to the annotation as a new line below what is already there. \begin{argtable} @@ -761,7 +761,7 @@ \subsubsection{Text Elements} \textbf{Nota Bene:} The first argument does not affect the alignment of lines already in the annotation, only the way the new line aligns with the existing lines as a whole. -\macroname{\textbackslash grecommentary}{[\optional{\#2}]\{\#1\}}{gregoriotex-main.tex} +\macroname{\textbackslash grecommentary}{[\optional{\#1}]\{\#2\}}{gregoriotex-main.tex} Macro to add commentary (the text flush right at the top, usually a scripture reference) to a score. While a single call of this function does not support multiple lines, successive calls to the function will add a new line to the commentary directly below the previous. \begin{argtable} From 7177cc29a671edf106df7d8aad461e826e672f33 Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Thu, 28 Apr 2016 17:10:00 -0400 Subject: [PATCH 02/30] Cherry pick 26a3294 (modified) --- tex/gregoriotex-main.tex | 6 +++--- tex/gregoriotex-nabc.tex | 4 ++-- tex/gregoriotex-syllable.tex | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tex/gregoriotex-main.tex b/tex/gregoriotex-main.tex index 3344a56ed..27ade2f42 100644 --- a/tex/gregoriotex-main.tex +++ b/tex/gregoriotex-main.tex @@ -68,7 +68,7 @@ }% -\def\gre@nothing{} +\def\gre@nothing{}% \AtBeginDocument{\IfStrEq{\gre@debug}{}{}{\directlua{gregoriotex.set_debug_string([[\gre@debug]])}\typeout{GregorioTeX is in debug mode}\typeout{\gre@debug\space messages will be printed to the log.}}}% @@ -725,7 +725,7 @@ \newbox\gre@box@commentary -\def\grecommentary{\@ifnextchar[{\gre@commentary}{\gre@commentary[0pt]}} +\def\grecommentary{\@ifnextchar[{\gre@commentary}{\gre@commentary[0pt]}}% \def\gre@commentary[#1]#2{% % we initialize commentarytrueraise here, but will only calculate it's final value just before placing the commentary so that we make sure we have the correct values for the distances which go into it @@ -1840,7 +1840,7 @@ % 0 = never compile (default) % 1 = auto compile (compile outdated scores and those lacking a compiled version) % 2 = compile all scores -\def\gre@compilegabc{0} +\def\gre@compilegabc{0}% % User macro to change compilation behavior \def\gresetcompilegabc#1{% diff --git a/tex/gregoriotex-nabc.tex b/tex/gregoriotex-nabc.tex index 25ebe0b84..2a0991a2b 100644 --- a/tex/gregoriotex-nabc.tex +++ b/tex/gregoriotex-nabc.tex @@ -23,8 +23,8 @@ \gre@declarefileversion{gregoriotex-nabc.tex}{4.1.1}% GREGORIO_VERSION -\xdef\gre@nabcfontname{gregall} -\xdef\gre@nabcfontsize{8} +\xdef\gre@nabcfontname{gregall}% +\xdef\gre@nabcfontsize{8}% \def\gresetnabcfont#1#2{% \xdef\gre@nabcfontname{#1}% diff --git a/tex/gregoriotex-syllable.tex b/tex/gregoriotex-syllable.tex index 2c3a9e08f..e1d369f6d 100644 --- a/tex/gregoriotex-syllable.tex +++ b/tex/gregoriotex-syllable.tex @@ -511,7 +511,7 @@ \gre@gabcforcecenterstrue% \def\gresetgabcforcecenters#1{% - \ifcase\gre@lyriccentering\or + \ifcase\gre@lyriccentering\or% \gre@warning{\protect\gresetgabcforcecenters\space has no effect when lyrics are centered on the vowels}% \fi% \IfStrEqCase{#1}{% From dd3ec9cd4012d672341c641059892734c9480476 Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Thu, 28 Apr 2016 17:16:09 -0400 Subject: [PATCH 03/30] Cherry pick a04eaf7 (modified) --- windows/gregorio.iss | 18 +++++++++++++++++- windows/install.lua | 1 + 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/windows/gregorio.iss b/windows/gregorio.iss index 1d01757b8..389084adf 100644 --- a/windows/gregorio.iss +++ b/windows/gregorio.iss @@ -34,6 +34,8 @@ Name: "{app}\texmf" Name: "{app}\texmf\tex" Name: "{app}\texmf\tex\luatex" Name: "{app}\texmf\tex\luatex\gregoriotex" +Name: "{app}\texmf\tex\lualatex" +Name: "{app}\texmf\tex\lualatex\gregoriotex" Name: "{app}\texmf\fonts" Name: "{app}\texmf\fonts\truetype" Name: "{app}\texmf\fonts\truetype\public" @@ -43,6 +45,7 @@ Name: "{app}\texmf\fonts\source\gregoriotex" Name: "{app}\texmf\doc" Name: "{app}\texmf\doc\luatex" Name: "{app}\texmf\doc\luatex\gregoriotex" +Name: "{app}\texmf\doc\luatex\gregoriotex\examples" [Files] Source: "../src/gregorio.exe"; DestDir: "{app}\bin"; @@ -57,20 +60,33 @@ Source: "../UPGRADE.md"; DestDir: "{app}"; ; PARSE_VERSION_FILE_NEXTLINE Source: "../doc/GregorioRef-4_1_1.pdf"; DestDir: "{app}"; ; PARSE_VERSION_FILE_NEXTLINE +Source: "../doc/GregorioRef-4_1_1.pdf"; DestDir: "{app}\texmf\doc\luatex\gregoriotex"; +; PARSE_VERSION_FILE_NEXTLINE Source: "../doc/GregorioNabcRef-4_1_1.pdf"; DestDir: "{app}"; +; PARSE_VERSION_FILE_NEXTLINE +Source: "../doc/GregorioNabcRef-4_1_1.pdf"; DestDir: "{app}\texmf\doc\luatex\gregoriotex"; Source: "../COPYING.md"; DestDir: "{app}"; Source: "../contrib/system-setup.bat"; DestDir: "{app}"; Source: "../contrib/*"; DestDir: "{app}\contrib"; Excludes: "Makefile*,TeXShop\*,*.command"; Source: "../examples/*.gabc"; DestDir: "{app}\examples"; +Source: "../examples/*.gabc"; DestDir: "{app}\texmf\doc\luatex\gregoriotex\examples"; Source: "../examples/*.tex"; DestDir: "{app}\examples"; +Source: "../examples/*.tex"; DestDir: "{app}\texmf\doc\luatex\gregoriotex\examples"; Source: "../tex/*.tex"; DestDir: "{app}\texmf\tex\luatex\gregoriotex"; -Source: "../tex/*.sty"; DestDir: "{app}\texmf\tex\luatex\gregoriotex"; +Source: "../tex/*.sty"; DestDir: "{app}\texmf\tex\lualatex\gregoriotex"; Source: "../tex/*.lua"; DestDir: "{app}\texmf\tex\luatex\gregoriotex"; Source: "../tex/gregorio-vowels.dat"; DestDir: "{app}\texmf\tex\luatex\gregoriotex"; Source: "../fonts/*.ttf"; DestDir: "{app}\texmf\fonts\truetype\public\gregoriotex"; Source: "../fonts/*.sfd"; DestDir: "{app}\texmf\fonts\source\gregoriotex"; Source: "../fonts/*.py"; DestDir: "{app}\texmf\fonts\source\gregoriotex"; +Source: "../fonts/README.md"; DestDir: "{app}\texmf\fonts\source\gregoriotex"; Source: "../README.md"; DestDir: "{app}\texmf\doc\luatex\gregoriotex"; +Source: "../doc/Appendix*.tex"; DestDir: "{app}\texmf\doc\luatex\gregoriotex"; +Source: "../doc/Command*.tex"; DestDir: "{app}\texmf\doc\luatex\gregoriotex"; +Source: "../doc/Gabc.tex"; DestDir: "{app}\texmf\doc\luatex\gregoriotex"; +Source: "../doc/*Ref.tex"; DestDir: "{app}\texmf\doc\luatex\gregoriotex"; +Source: "../doc/*Ref.lua"; DestDir: "{app}\texmf\doc\luatex\gregoriotex"; +Source: "../doc/*.gabc"; DestDir: "{app}\texmf\doc\luatex\gregoriotex"; [InstallDelete] Type: files; Name: "{app}\gregorio.exe" diff --git a/windows/install.lua b/windows/install.lua index 212066843..959227d38 100644 --- a/windows/install.lua +++ b/windows/install.lua @@ -126,6 +126,7 @@ local old_base_dirs = { fixpath(texmflocal.."fonts/ovf/gregoriotex"), fixpath(texmflocal.."fonts/map/gregoriotex"), fixpath(texmflocal.."tex/luatex/gregoriotex"), + fixpath(texmflocal.."tex/lualatex/gregoriotex"), fixpath(texmflocal.."fonts/truetype/public/gregoriotex"), fixpath(texmflocal.."fonts/source/gregoriotex"), fixpath(texmflocal.."doc/luatex/gregoriotex"), From cba62e058f1415f568ecb268d9daca909d995b4d Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Thu, 28 Apr 2016 20:57:05 -0400 Subject: [PATCH 04/30] Another doc fix. --- doc/Command_Index_User.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Command_Index_User.tex b/doc/Command_Index_User.tex index 24b858cee..d7b137996 100644 --- a/doc/Command_Index_User.tex +++ b/doc/Command_Index_User.tex @@ -680,7 +680,7 @@ \subsubsection{Special Characters} \textbf{Nota Bene:} The same rules apply for \#1 as in \verb=\gresetspecial=. \macroname{\textbackslash gretilde}{}{gregoriotex-main.tex} -Macro to print $\sim$. This macro is set using the above for \texttt{~}. +Macro to print $\sim$. This macro is set using the above for \texttt{$\sim$}. From 168f973195c9696ae0ce41f716f1a6e381f6ed9e Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Thu, 28 Apr 2016 21:10:10 -0400 Subject: [PATCH 05/30] Remove `lualatex` directory --- macosx/douninstall.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/macosx/douninstall.sh b/macosx/douninstall.sh index fd1186cc9..4b451abfa 100755 --- a/macosx/douninstall.sh +++ b/macosx/douninstall.sh @@ -14,6 +14,7 @@ writelog 6 "Uninstalling Gregorio Components" GRETEXDIR=`$KPSEWHICH gregoriotex.tex` GRETEXDIR="${GRETEXDIR%/gregoriotex.tex}" +GRELATEXDIR="${GRETEXDIR/luatex/lualatex}" TEXMFLOCAL="${GRETEXDIR%/tex/luatex/gregoriotex}" GREFONTDIR="$TEXMFLOCAL/fonts/truetype/public/gregoriotex" GREFONTSOURCE="$TEXMFLOCAL/source/gregoriotex" @@ -23,6 +24,7 @@ rm "$BINDIR/gregorio" rm "$PKGCONFIGDIR/gregorio.pc" rm -rf "$GREINCLUDEDIR" rm -rf "$GRETEXDIR" +rm -rf "$GRELATEXDIR" rm -rf "$GREFONTDIR" rm -rf "$GREFONTSOURCE" rm -rf "$GREDOCDIR" From 0ef826022554b6f25b197b45a522bb85c6c2b563 Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Thu, 28 Apr 2016 21:10:26 -0400 Subject: [PATCH 06/30] Couple of bug fixes --- macosx/douninstall.sh | 2 +- macosx/postflight.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/macosx/douninstall.sh b/macosx/douninstall.sh index 4b451abfa..583be914d 100755 --- a/macosx/douninstall.sh +++ b/macosx/douninstall.sh @@ -17,7 +17,7 @@ GRETEXDIR="${GRETEXDIR%/gregoriotex.tex}" GRELATEXDIR="${GRETEXDIR/luatex/lualatex}" TEXMFLOCAL="${GRETEXDIR%/tex/luatex/gregoriotex}" GREFONTDIR="$TEXMFLOCAL/fonts/truetype/public/gregoriotex" -GREFONTSOURCE="$TEXMFLOCAL/source/gregoriotex" +GREFONTSOURCE="$TEXMFLOCAL/fonts/source/gregoriotex" GREDOCDIR="$TEXMFLOCAL/doc/luatex/gregoriotex" rm "$BINDIR/gregorio" diff --git a/macosx/postflight.sh b/macosx/postflight.sh index f7b397979..c053828e2 100755 --- a/macosx/postflight.sh +++ b/macosx/postflight.sh @@ -34,5 +34,6 @@ chmod -R 777 examples/ chmod -R 777 doc/ chmod +x contrib/TeXShop/auto-configure.command chmod +x contrib/config-texworks-mac.command +chmod +x contrib/system-setup.command writelog 6 "Installation Complete" From 13c1945a731ad908e11a8cb36deb00971e6dc2ed Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Thu, 28 Apr 2016 21:48:42 -0400 Subject: [PATCH 07/30] Remove `Makefile`s more thoroughly --- macosx/create_package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/create_package.sh b/macosx/create_package.sh index b318e96eb..e65a9b7e7 100755 --- a/macosx/create_package.sh +++ b/macosx/create_package.sh @@ -78,7 +78,7 @@ else cp doc/*.md $EXTRASDIR/doc/ cp doc/*.gabc $EXTRASDIR/doc/ cp -r contrib/ $EXTRASDIR/contrib - rm $EXTRASDIR/contrib/Makefile* + find $EXTRASDIR/contrib -name 'Makefile*' -delete cp examples/*.tex $EXTRASDIR/examples/ cp examples/*.gabc $EXTRASDIR/examples/ cp *.md $EXTRASDIR From edffcf0213911452b28899cfb2b3759399a4dc8b Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Sat, 30 Apr 2016 11:43:16 -0400 Subject: [PATCH 08/30] Cherry pick 13d8eb9 (modified) --- windows/gregorio.iss | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/windows/gregorio.iss b/windows/gregorio.iss index 389084adf..0df33ec05 100644 --- a/windows/gregorio.iss +++ b/windows/gregorio.iss @@ -58,13 +58,9 @@ Source: "../README.md"; DestDir: "{app}"; Source: "../CONTRIBUTORS.md"; DestDir: "{app}"; Source: "../UPGRADE.md"; DestDir: "{app}"; ; PARSE_VERSION_FILE_NEXTLINE -Source: "../doc/GregorioRef-4_1_1.pdf"; DestDir: "{app}"; +Source: "../doc/Gregorio*Ref-4_1_1.pdf"; DestDir: "{app}"; ; PARSE_VERSION_FILE_NEXTLINE -Source: "../doc/GregorioRef-4_1_1.pdf"; DestDir: "{app}\texmf\doc\luatex\gregoriotex"; -; PARSE_VERSION_FILE_NEXTLINE -Source: "../doc/GregorioNabcRef-4_1_1.pdf"; DestDir: "{app}"; -; PARSE_VERSION_FILE_NEXTLINE -Source: "../doc/GregorioNabcRef-4_1_1.pdf"; DestDir: "{app}\texmf\doc\luatex\gregoriotex"; +Source: "../doc/Gregorio*Ref-4_1_1.pdf"; DestDir: "{app}\texmf\doc\luatex\gregoriotex"; Source: "../COPYING.md"; DestDir: "{app}"; Source: "../contrib/system-setup.bat"; DestDir: "{app}"; Source: "../contrib/*"; DestDir: "{app}\contrib"; Excludes: "Makefile*,TeXShop\*,*.command"; From f8b332b3adf9ebdd0441044ef688239437505ca9 Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Sat, 30 Apr 2016 14:07:31 -0400 Subject: [PATCH 09/30] Removing files which should no longer be in the texmf tree --- install-gtex.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/install-gtex.sh b/install-gtex.sh index b9faee7ed..5b6d9d424 100755 --- a/install-gtex.sh +++ b/install-gtex.sh @@ -71,6 +71,10 @@ EXAMPLEFILES=(examples/FactusEst.gabc examples/PopulusSion.gabc examples/main-lu FONTSRCFILES=(gregorio-base.sfd parmesan-base.sfd greciliae-base.sfd greextra.sfd squarize.py convertsfdtottf.py gregall.sfd gresgmodern.sfd README.md) +# Files which have been eliminated, or whose installation location have been +# changed. We will remove existing versions of these files before installing. +LEGACYFILES=(gregoriotex.sty gregoriosyms.sty gregoriotex-ictus.tex + gregsmodern.ttf parmesan.ttf parmesan-op.ttf) NAME=${NAME:-gregoriotex} FORMAT=${FORMAT:-luatex} @@ -78,6 +82,7 @@ LATEXFORMAT=${LATEXFORMAT:-lualatex} TEXHASH=${TEXHASH:-texhash} KPSEWHICH=${KPSEWHICH:-kpsewhich} CP=${CP:-cp} +RM=${RM:-rm} TTFFILES=("${TTFFILES[@]/#/fonts/}") FONTSRCFILES=("${FONTSRCFILES[@]/#/fonts/}") @@ -145,6 +150,16 @@ function install_to { $CP "$@" "$dir" || die } +function find_and_remove { + for files in $1; do + target=`${KPSEWHICH} -all "$files"` + $RM -f "$target" + done +} + +echo "Removing old files" +find_and_remove "${LEGACYFILES}" + echo "Installing in '${TEXMFROOT}'." install_to "${TEXMFROOT}/tex/${FORMAT}/${NAME}" "${TEXFILES[@]}" install_to "${TEXMFROOT}/tex/${LATEXFORMAT}/${NAME}" "${LATEXFILES[@]}" From 1073def3f980509798a0ebb484a9132fe4baef88 Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Sat, 30 Apr 2016 14:21:57 -0400 Subject: [PATCH 10/30] We only want to remove files if they are in the texmf tree we are targeting. --- install-gtex.sh | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/install-gtex.sh b/install-gtex.sh index 5b6d9d424..01f57f357 100755 --- a/install-gtex.sh +++ b/install-gtex.sh @@ -72,9 +72,13 @@ FONTSRCFILES=(gregorio-base.sfd parmesan-base.sfd greciliae-base.sfd greextra.sfd squarize.py convertsfdtottf.py gregall.sfd gresgmodern.sfd README.md) # Files which have been eliminated, or whose installation location have been -# changed. We will remove existing versions of these files before installing. -LEGACYFILES=(gregoriotex.sty gregoriosyms.sty gregoriotex-ictus.tex - gregsmodern.ttf parmesan.ttf parmesan-op.ttf) +# changed. We will remove existing versions of these files in the target texmf +# tree before installing. +LEGACYFILES=(tex/luatex/gregoriotex/gregoriotex.sty + tex/luatex/gregoriotex/gregoriosyms.sty + tex/luatex/gregoriotex/gregoriotex-ictus.tex + fonts/truetype/public/gregoriotex/parmesan.ttf + fonts/truetype/public/gregoriotex/parmesan-op.ttf) NAME=${NAME:-gregoriotex} FORMAT=${FORMAT:-luatex} @@ -152,13 +156,15 @@ function install_to { function find_and_remove { for files in $1; do - target=`${KPSEWHICH} -all "$files"` - $RM -f "$target" + target="${TEXMFROOT}/${files}" + if [ -e "$target" ]; then + $RM -f "$target" + fi done } echo "Removing old files" -find_and_remove "${LEGACYFILES}" +find_and_remove "${LEGACYFILES[@]}" echo "Installing in '${TEXMFROOT}'." install_to "${TEXMFROOT}/tex/${FORMAT}/${NAME}" "${TEXFILES[@]}" From 3808662bd88157ba0d2b2e7b6de0d25526f87efe Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Sat, 30 Apr 2016 14:24:04 -0400 Subject: [PATCH 11/30] Forgot the parmesan source file --- install-gtex.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install-gtex.sh b/install-gtex.sh index 01f57f357..323a3a558 100755 --- a/install-gtex.sh +++ b/install-gtex.sh @@ -78,7 +78,8 @@ LEGACYFILES=(tex/luatex/gregoriotex/gregoriotex.sty tex/luatex/gregoriotex/gregoriosyms.sty tex/luatex/gregoriotex/gregoriotex-ictus.tex fonts/truetype/public/gregoriotex/parmesan.ttf - fonts/truetype/public/gregoriotex/parmesan-op.ttf) + fonts/truetype/public/gregoriotex/parmesan-op.ttf + fonts/source/gregoriotex/parmesan-base.sfd) NAME=${NAME:-gregoriotex} FORMAT=${FORMAT:-luatex} From a9370fff8f1fceba0100884e5631eb577d77c5ad Mon Sep 17 00:00:00 2001 From: "Henry So, Jr" Date: Fri, 15 Apr 2016 22:26:13 -0400 Subject: [PATCH 12/30] Cherry pick 9cc4021 (modified) --- CHANGELOG.md | 2 ++ UPGRADE.md | 4 ++++ contrib/system-setup.bat | 4 ++-- contrib/system-setup.command | 4 ++-- debian/copyright | 2 +- doc/Appendix_Font_Tables.tex | 16 ++++++++-------- doc/Command_Index_User.tex | 4 ++-- doc/Command_Index_internal.tex | 6 +++--- doc/GregorioRef.lua | 12 ++++++------ doc/GregorioRef.tex | 4 ++-- fonts/Makefile.am | 6 +++--- .../{parmesan-base.sfd => granapadano-base.sfd} | 6 +++--- fonts/{parmesan.json => granapadano.json} | 0 install-gtex.sh | 6 +++--- 14 files changed, 41 insertions(+), 35 deletions(-) rename fonts/{parmesan-base.sfd => granapadano-base.sfd} (99%) rename fonts/{parmesan.json => granapadano.json} (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 82caa1d78..a9f2b7939 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ 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] +### Changed +- The parmesan font is now called granapadano. If you were using `\gresetgregoriofont{parmesan}`, you should now use `\gresetgregoriofont{granapadano}`. See [#1075](https://github.com/gregorio-project/gregorio/issues/1075). ## [4.1.1] - 2016-03-10 diff --git a/UPGRADE.md b/UPGRADE.md index a0a949bfd..186af50dd 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -15,6 +15,10 @@ To better comply with the TeXLive directory structure, the location of `gregorio *Windows users:* Your installer already should remove old versions of GregorioTeX before installing the new ones. Please file a bug report if you have a problem with this process. +### Parmesan font renamed to Grana Padano + +To avoid conflicts with the LilyPond Parmesan font, the Gregorio Parmesan font is now called Grana Padano. If you were using `\gresetgregoriofont{parmesan}`, you should now use `\gresetgregoriofont{granapadano}`. + ## 4.1.1 ### Vertical spacings diff --git a/contrib/system-setup.bat b/contrib/system-setup.bat index 892708076..0d10be992 100644 --- a/contrib/system-setup.bat +++ b/contrib/system-setup.bat @@ -113,8 +113,8 @@ greextra.ttf ^ gregorio.ttf ^ gregorio-op.ttf ^ gresym.ttf ^ -parmesan.ttf ^ -parmesan-op.ttf ^ +granapadano.ttf ^ +granapadano-op.ttf ^ gregall.ttf ^ gregsmodern.ttf diff --git a/contrib/system-setup.command b/contrib/system-setup.command index 3280154b3..65f313de6 100755 --- a/contrib/system-setup.command +++ b/contrib/system-setup.command @@ -141,8 +141,8 @@ greextra.ttf gregorio.ttf gregorio-op.ttf gresym.ttf -parmesan.ttf -parmesan-op.ttf +granapadano.ttf +granapadano-op.ttf gregall.ttf gregsmodern.ttf" diff --git a/debian/copyright b/debian/copyright index b86d8a68c..56ff5380c 100644 --- a/debian/copyright +++ b/debian/copyright @@ -11,7 +11,7 @@ Files: fonts/gregorio* Copyright: 2008-2015 The Gregorio Project License: GPL-3font+ -Files: fonts/parmesan* +Files: fonts/granapadano* Copyright: 2008-2015 Juergen Reuter, the Gregorio Project License: GPL-3font+ diff --git a/doc/Appendix_Font_Tables.tex b/doc/Appendix_Font_Tables.tex index 110fbfa6c..1b15e5059 100644 --- a/doc/Appendix_Font_Tables.tex +++ b/doc/Appendix_Font_Tables.tex @@ -7,7 +7,7 @@ \section{Font Glyph Tables}\label{glyphtable} \subsection{Score Font Glyphs} The following table lists all of the score glyphs available in the greciliae, -gregorio, and parmesan fonts, and any variant glyphs contained within. If a +gregorio, and granapadano fonts, and any variant glyphs contained within. If a variant glyph is unavailable in a given font, it will be listed as {\itshape\small N/A} under the appropriate column. Some of the glyphs listed are representative of sets of glyphs differentiated by the ambitus of the @@ -28,11 +28,11 @@ \subsection{Score Font Glyphs} {\scriptsize\bfseries Sample gabc}&% {\scriptsize\bfseries greciliae}&% {\scriptsize\bfseries gregorio}&% - {\scriptsize\bfseries parmesan}&% + {\scriptsize\bfseries granapadano}&% {\scriptsize\bfseries Name}&% {\scriptsize\bfseries greciliae}&% {\scriptsize\bfseries gregorio}&% - {\scriptsize\bfseries parmesan}\\ + {\scriptsize\bfseries granapadano}\\ \hline \endfirsthead &&&&&\multicolumn{4}{c}{\bfseries Variants}\\ @@ -41,25 +41,25 @@ \subsection{Score Font Glyphs} {\scriptsize\bfseries Sample gabc}&% {\scriptsize\bfseries greciliae}&% {\scriptsize\bfseries gregorio}&% - {\scriptsize\bfseries parmesan}&% + {\scriptsize\bfseries granapadano}&% {\scriptsize\bfseries Name}&% {\scriptsize\bfseries greciliae}&% {\scriptsize\bfseries gregorio}&% - {\scriptsize\bfseries parmesan}\\ + {\scriptsize\bfseries granapadano}\\ \hline \endhead \directlua{GregorioRef.emit_score_glyphs(#1)} \end{longtable} }% -\ScoreFontTable{'greciliae','gregorio','parmesan'} +\ScoreFontTable{'greciliae','gregorio','granapadano'} \subsection{Dominican Score Font Glyphs} The following table lists all of the score glyphs available in the Dominican -versions of the greciliae, gregorio, and parmesan fonts in the same vein as +versions of the greciliae, gregorio, and granapadano fonts in the same vein as the prior table. -\ScoreFontTable{'greciliaeOp','gregorioOp','parmesanOp'} +\ScoreFontTable{'greciliaeOp','gregorioOp','granapadanoOp'} \subsection{Extra Glyphs}\label{subsec:greextra} diff --git a/doc/Command_Index_User.tex b/doc/Command_Index_User.tex index d7b137996..a78f17976 100644 --- a/doc/Command_Index_User.tex +++ b/doc/Command_Index_User.tex @@ -381,7 +381,7 @@ \subsubsection{Staff Lines} \subsubsection{Score Font} -Gregorio\TeX\ currently supports 3 different fonts for the glyphs in a score (neumes, clefs, alterations, \etc): Greciliae (a customized version of Caeciliae by Fr.\ Matthew Spencer, OSJ), Gregorio, and Parmesan (developed for Lilypond by Juergen Reuter). +Gregorio\TeX\ currently supports 3 different fonts for the glyphs in a score (neumes, clefs, alterations, \etc): Greciliae (a customized version of Caeciliae by Fr.\ Matthew Spencer, OSJ), Gregorio, and Grana Padano (née Parmesan, developed for Lilypond by Juergen Reuter). \macroname{\textbackslash gresetgregoriofont}{[\optional{\#1}]\{\#2\}}{gregoriotex-main.tex} Set the font used for the neumes. The optional argument \texttt{[\#1]} @@ -395,7 +395,7 @@ \subsubsection{Score Font} & \texttt{op} & Use the alternate Dominican font/rule set.\\ \#2 & \texttt{greciliae} & Use the Greciliae font (default).\\ & \texttt{gregorio} & Use the Gregorio font.\\ - & \texttt{parmesan} & Use the Parmesan font.\\ + & \texttt{granapadano} & Use the Grana Padano font.\\ \end{argtable} \macroname{\textbackslash gresetgregoriofontscaled}{[\optional{\#1}]\{\#2\}\{\#3\}}{gregoriotex-main.tex} diff --git a/doc/Command_Index_internal.tex b/doc/Command_Index_internal.tex index 6aa2afc59..e4aae155d 100644 --- a/doc/Command_Index_internal.tex +++ b/doc/Command_Index_internal.tex @@ -1076,7 +1076,7 @@ \section{Gregorio\TeX{} Controls} & \texttt{op} & Use the alternate Dominican font/rule set.\\ \#2 & \texttt{greciliae} & Use the Greciliae font (default).\\ & \texttt{gregorio} & Use the Gregorio font.\\ - & \texttt{parmesan} & Use the Parmesan font.\\ + & \texttt{granapadano} & Use the Grana Padano font.\\ \end{argtable} \macroname{\textbackslash gre@syllable@end}{\#1\#2\#3}{gregoriotex-syllable.tex} @@ -1179,7 +1179,7 @@ \section{Gregorio\TeX{} Controls} & \texttt{op} & Use the alternate Dominican font/rule set.\\ \#2 & \texttt{greciliae} & Use the Greciliae font (default).\\ & \texttt{gregorio} & Use the Gregorio font.\\ - & \texttt{parmesan} & Use the Parmesan font.\\ + & \texttt{granapadano} & Use the Grana Padano font.\\ \#3 & integer & the scaling factor\\ \end{argtable} @@ -1253,7 +1253,7 @@ \subsection{Fonts} The font for the default initial format in Plain \TeX. \macroname{\textbackslash gre@fontfactor@...}{}{gregoriotex-main.tex} -Macro holding the factor at which the font is loaded. There is one of these macros for each chant font which has been loaded with the ending of the macro name being the name of the chant font (gregorio, parmesan, \etc). +Macro holding the factor at which the font is loaded. There is one of these macros for each chant font which has been loaded with the ending of the macro name being the name of the chant font (gregorio, granapadano, \etc). \subsection{Character Reference Aliases} diff --git a/doc/GregorioRef.lua b/doc/GregorioRef.lua index a846f99a7..bcc35a9bb 100644 --- a/doc/GregorioRef.lua +++ b/doc/GregorioRef.lua @@ -234,11 +234,11 @@ local LIQUESCENCE = { GregorioRef = {} -function GregorioRef.emit_score_glyphs(cs_greciliae, cs_gregorio, cs_parmesan) +function GregorioRef.emit_score_glyphs(cs_greciliae, cs_gregorio, cs_granapadano) local common_glyphs = {} local greciliae = {} local gregorio = {} - local parmesan = {} + local granapadano = {} local function index_font(csname, variants, common) local glyphs = font.fonts[font.id(csname)].resources.unicodes @@ -264,7 +264,7 @@ function GregorioRef.emit_score_glyphs(cs_greciliae, cs_gregorio, cs_parmesan) index_font(cs_greciliae, greciliae, common_glyphs) index_font(cs_gregorio, gregorio) - index_font(cs_parmesan, parmesan) + index_font(cs_granapadano, granapadano) local function maybe_emit_glyph(csname, variants, name, variant) local cp = variants[name] @@ -307,10 +307,10 @@ function GregorioRef.emit_score_glyphs(cs_greciliae, cs_gregorio, cs_parmesan) end tex.sprint(string.format( [[{\scriptsize %s{\bfseries %s}{\itshape %s}%s%s}&{\ttfamily\small %s}&{\%s\char%d}&{\%s\char%d}&{\%s\char%d}&]], - fusion, shape, ambitus, debilis, liquescence, gabc or '', cs_greciliae, char, cs_gregorio, char, cs_parmesan, char + fusion, shape, ambitus, debilis, liquescence, gabc or '', cs_greciliae, char, cs_gregorio, char, cs_granapadano, char )) local emitted = false, i, variant - for i, variant in ipairs(sort_unique_keys{greciliae[name], gregorio[name], parmesan[name]}) do + for i, variant in ipairs(sort_unique_keys{greciliae[name], gregorio[name], granapadano[name]}) do if emitted then tex.sprint([[\nopagebreak&&&&&]]) else @@ -319,7 +319,7 @@ function GregorioRef.emit_score_glyphs(cs_greciliae, cs_gregorio, cs_parmesan) tex.sprint(string.format([[{\scriptsize %s}]], variant)) maybe_emit_glyph('greciliae', greciliae, name, variant) maybe_emit_glyph('gregorio', gregorio, name, variant) - maybe_emit_glyph('parmesan', parmesan, name, variant) + maybe_emit_glyph('granapadano', granapadano, name, variant) tex.print([[\\]]) end if not emitted then diff --git a/doc/GregorioRef.tex b/doc/GregorioRef.tex index 5253fd8c8..de8638e23 100644 --- a/doc/GregorioRef.tex +++ b/doc/GregorioRef.tex @@ -107,10 +107,10 @@ % for the character tables \font\greciliae = {name:greciliae} at 1000000 sp\relax \font\gregorio = {name:gregorio} at 1000000 sp\relax -\font\parmesan = {name:parmesan} at 1000000 sp\relax +\font\granapadano = {name:granapadano} at 1000000 sp\relax \font\greciliaeOp = {name:greciliae-op} at 1000000 sp\relax \font\gregorioOp = {name:gregorio-op} at 1000000 sp\relax -\font\parmesanOp = {name:parmesan-op} at 1000000 sp\relax +\font\granapadanoOp = {name:granapadano-op} at 1000000 sp\relax \font\greextra = {name:greextra} at 12 pt\relax \newcommand{\excluded}[1]{{\tiny\itshape #1}} diff --git a/fonts/Makefile.am b/fonts/Makefile.am index 7e5d31b3d..166d9ef0e 100644 --- a/fonts/Makefile.am +++ b/fonts/Makefile.am @@ -18,10 +18,10 @@ # You should have received a copy of the GNU General Public License # along with Gregorio. If not, see . -TTFFILES = gregorio.ttf greciliae.ttf parmesan.ttf \ - gregorio-op.ttf greciliae-op.ttf parmesan-op.ttf \ +TTFFILES = gregorio.ttf greciliae.ttf granapadano.ttf \ + gregorio-op.ttf greciliae-op.ttf granapadano-op.ttf \ greextra.ttf gregall.ttf gresgmodern.ttf -SOURCEFILES = gregorio-base.sfd parmesan-base.sfd greciliae-base.sfd \ +SOURCEFILES = gregorio-base.sfd granapadano-base.sfd greciliae-base.sfd \ greextra.sfd gregall.sfd gresgmodern.sfd EXTRA_DIST = $(TTFFILES) $(SOURCEFILES) squarize.py stemsschemas.py convertsfdtottf.py README.md simplify.py diff --git a/fonts/parmesan-base.sfd b/fonts/granapadano-base.sfd similarity index 99% rename from fonts/parmesan-base.sfd rename to fonts/granapadano-base.sfd index 0e8ec0f61..dc36aea19 100644 --- a/fonts/parmesan-base.sfd +++ b/fonts/granapadano-base.sfd @@ -1,7 +1,7 @@ SplineFontDB: 3.0 -FontName: parmesan -FullName: parmesan -FamilyName: parmesan +FontName: granapadano +FullName: granapadano +FamilyName: granapadano Weight: Medium Copyright: LilyPond's pretty-but-neat music font, adapted to the Gregorio Project.\nCopyright (C) 2002-2006 Juergen Reuter \nCopyright (C) 2007-2015 The Gregorio Project (see CONTRIBUTORS.md)\nThis file is part of Gregorio.\n\n<> UComments: "2007-4-12: Created." diff --git a/fonts/parmesan.json b/fonts/granapadano.json similarity index 100% rename from fonts/parmesan.json rename to fonts/granapadano.json diff --git a/install-gtex.sh b/install-gtex.sh index 323a3a558..eb414dd67 100755 --- a/install-gtex.sh +++ b/install-gtex.sh @@ -62,13 +62,13 @@ FILEVERSION=`echo $VERSION | sed 's/\./_/g'` TEXFILES=(tex/gregoriotex*.tex tex/gsp-default.tex tex/gregoriotex*.lua tex/*.dat) LATEXFILES=(tex/gregorio*.sty) -TTFFILES=(gregorio.ttf greciliae.ttf parmesan.ttf gregorio-op.ttf - greciliae-op.ttf parmesan-op.ttf greextra.ttf gregall.ttf +TTFFILES=(gregorio.ttf greciliae.ttf granapadano.ttf gregorio-op.ttf + greciliae-op.ttf granapadano-op.ttf greextra.ttf gregall.ttf gresgmodern.ttf) DOCFILES=(doc/Appendix*.tex doc/Command*.tex doc/Gabc.tex doc/*Ref.tex doc/*Ref.lua doc/*.gabc doc/Gregorio*Ref-$FILEVERSION.pdf) EXAMPLEFILES=(examples/FactusEst.gabc examples/PopulusSion.gabc examples/main-lualatex.tex) -FONTSRCFILES=(gregorio-base.sfd parmesan-base.sfd greciliae-base.sfd +FONTSRCFILES=(gregorio-base.sfd granapadano-base.sfd greciliae-base.sfd greextra.sfd squarize.py convertsfdtottf.py gregall.sfd gresgmodern.sfd README.md) # Files which have been eliminated, or whose installation location have been From 17d55bef98c054ba78b8185825cb5f845823b60c Mon Sep 17 00:00:00 2001 From: "Henry So, Jr" Date: Sat, 16 Apr 2016 08:34:40 -0400 Subject: [PATCH 13/30] Substituted granapadano for parmesan, with deprecation warning. Fixes #1075. --- tex/gregoriotex-main.tex | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/tex/gregoriotex-main.tex b/tex/gregoriotex-main.tex index 27ade2f42..b52e5ebed 100644 --- a/tex/gregoriotex-main.tex +++ b/tex/gregoriotex-main.tex @@ -1719,17 +1719,22 @@ }% \def\gre@setgregoriofontscaled[#1]#2#3{% - \if\relax\detokenize{#1}\relax % - \xdef\gre@gregoriofontname{#2}% - \expandafter\xdef\csname gre@fontfactor@#2\endcsname{#3}% - \gre@loadgregoriofont% - \gdef\GreCPVirgaReversaAscendensOnDLine##1{##1}% - \else % - \xdef\gre@gregoriofontname{#2-#1}% - \expandafter\xdef\csname gre@fontfactor@#2-#1\endcsname{#3}% - \gre@loadgregoriofont% - \gdef\GreCPVirgaReversaAscendensOnDLine##1{\GreCPVirgaReversaLongqueueAscendens}% - \fi % + \IfStrEq{#2}{parmesan}{%%% DEPRECATED for removal in 5.0 + \gre@deprecated{parmesan font}{granapadano font}%%% DEPRECATED for removal in 5.0 + \gre@setgregoriofontscaled[#1]{granapadano}{#3}%%% DEPRECATED for removal in 5.0 + }{%%% DEPRECATED for removal in 5.0 + \if\relax\detokenize{#1}\relax % + \xdef\gre@gregoriofontname{#2}% + \expandafter\xdef\csname gre@fontfactor@#2\endcsname{#3}% + \gre@loadgregoriofont% + \gdef\GreCPVirgaReversaAscendensOnDLine##1{##1}% + \else % + \xdef\gre@gregoriofontname{#2-#1}% + \expandafter\xdef\csname gre@fontfactor@#2-#1\endcsname{#3}% + \gre@loadgregoriofont% + \gdef\GreCPVirgaReversaAscendensOnDLine##1{\GreCPVirgaReversaLongqueueAscendens}% + \fi % + }%%% DEPRECATED for removal in 5.0 \relax % }% From a199f798946ab95ec1efc3d76f22e4d3667c1e5f Mon Sep 17 00:00:00 2001 From: "Henry So, Jr" Date: Sat, 16 Apr 2016 10:53:20 -0400 Subject: [PATCH 14/30] Added quotes per @rpspringuel. Fixes #1075. --- tex/gregoriotex-main.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tex/gregoriotex-main.tex b/tex/gregoriotex-main.tex index b52e5ebed..411585010 100644 --- a/tex/gregoriotex-main.tex +++ b/tex/gregoriotex-main.tex @@ -1720,7 +1720,7 @@ \def\gre@setgregoriofontscaled[#1]#2#3{% \IfStrEq{#2}{parmesan}{%%% DEPRECATED for removal in 5.0 - \gre@deprecated{parmesan font}{granapadano font}%%% DEPRECATED for removal in 5.0 + \gre@deprecated{'parmesan' font}{'granapadano' font}%%% DEPRECATED for removal in 5.0 \gre@setgregoriofontscaled[#1]{granapadano}{#3}%%% DEPRECATED for removal in 5.0 }{%%% DEPRECATED for removal in 5.0 \if\relax\detokenize{#1}\relax % From 9cc7a48e38eb37e52e2d942000ea673bed6b2037 Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Sat, 30 Apr 2016 15:01:47 -0400 Subject: [PATCH 15/30] Adding debugging.tex to be installed in examples --- install-gtex.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-gtex.sh b/install-gtex.sh index eb414dd67..c46f2ea4e 100755 --- a/install-gtex.sh +++ b/install-gtex.sh @@ -67,7 +67,7 @@ TTFFILES=(gregorio.ttf greciliae.ttf granapadano.ttf gregorio-op.ttf gresgmodern.ttf) DOCFILES=(doc/Appendix*.tex doc/Command*.tex doc/Gabc.tex doc/*Ref.tex doc/*Ref.lua doc/*.gabc doc/Gregorio*Ref-$FILEVERSION.pdf) -EXAMPLEFILES=(examples/FactusEst.gabc examples/PopulusSion.gabc examples/main-lualatex.tex) +EXAMPLEFILES=(examples/FactusEst.gabc examples/PopulusSion.gabc examples/main-lualatex.tex examples/debugging.tex) FONTSRCFILES=(gregorio-base.sfd granapadano-base.sfd greciliae-base.sfd greextra.sfd squarize.py convertsfdtottf.py gregall.sfd gresgmodern.sfd README.md) From 8af32a88f296f6347bb637966691d665437197dc Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Sun, 1 May 2016 16:16:13 -0400 Subject: [PATCH 16/30] Update font version check To account for the changes in the font loader in LuaTeX in 2016, it's necessary to change the way that the version check for the font files is done. --- tex/gregoriotex.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tex/gregoriotex.lua b/tex/gregoriotex.lua index 4f94d1a1f..6832322fd 100644 --- a/tex/gregoriotex.lua +++ b/tex/gregoriotex.lua @@ -696,10 +696,9 @@ local function check_font_version() local gregoriofont = get_font_by_name('gre@font@music') if gregoriofont then local fontversion = gregoriofont.shared.rawdata.metadata.version - if fontversion ~= internalversion then + if fontversion and string.match(fontversion, "%d+%.%d+%.%d+") ~= string.match(internalversion, "%d+%.%d+%.%d+") then local fontname = gregoriofont.shared.rawdata.metadata.fontname - local fontfile = gregoriofont.shared.rawdata.metadata.origname - err("\nUncoherent file versions!\ngregoriotex.tex is version %s\nwhile %s.ttf is version %s\nplease update file\n%s", internalversion, fontname, fontversion, fontfile) + err("\nUncoherent file versions!\ngregoriotex.tex is version %s\nwhile %s.ttf is version %s\nplease reinstall one so that the\nversions match", string.match(internalversion, "%d+%.%d+%.%d+"), fontname, string.match(fontversion, "%d+%.%d+%.%d+")) end end end From bba039033a9bb49bb0519b4520c7f63ca851b832 Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Mon, 2 May 2016 14:00:37 -0400 Subject: [PATCH 17/30] Cherry pick d0b19af (modified) --- tex/gregoriotex-main.tex | 39 ++++++++++++++++++++++++++++++++++-- tex/gregoriotex-signs.tex | 6 +++--- tex/gregoriotex-syllable.tex | 4 ++-- tex/gregoriotex.lua | 4 ++-- 4 files changed, 44 insertions(+), 9 deletions(-) diff --git a/tex/gregoriotex-main.tex b/tex/gregoriotex-main.tex index 411585010..5af557e4b 100644 --- a/tex/gregoriotex-main.tex +++ b/tex/gregoriotex-main.tex @@ -27,6 +27,10 @@ \gre@error{Error: this document must be compiled with LuaTeX (lualatex)}% \fi% +%%%%%%%%% +%% Debugging +%%%%%%%%% + \def\gre@debugmsg#1#2{% \IfStrEq{\gre@debug}{}{}% %false @@ -72,9 +76,14 @@ \AtBeginDocument{\IfStrEq{\gre@debug}{}{}{\directlua{gregoriotex.set_debug_string([[\gre@debug]])}\typeout{GregorioTeX is in debug mode}\typeout{\gre@debug\space messages will be printed to the log.}}}% -% Depending on version of TeX / LaTeX, some primitives may or may not have a -% luatex prefix, so we need to check and handle either +%%%%%%%%%%%%%%% +%% Backwards Compatibility +%%%%%%%%%%%%%%% +% Depending on version of LuaTeX / LaTeX, some primitives have different names +% We define local aliases for this eventuality, using \ifdefined to determine which +% version of the primative is available. In all cases the 'true' branch should be the +% more recent version. \ifdefined\localleftbox% \let\gre@localleftbox\localleftbox% \else% @@ -85,6 +94,32 @@ \else% \let\gre@localrightbox\luatexlocalrightbox% \fi% +\ifdefined\pdfextension% + \def\gre@startlink{\pdfextension startlink }% + \def\gre@endlink{\pdfextension endlink\relax}% +\else% + \let\gre@startlink\pdfstartlink% + \let\gre@endlink\pdfendlink% +\fi% +\ifdefined\savepos% + \let\gre@savepos\savepos% +\else% + \let\gre@savepos\pdfsavepos% +\fi% +\ifdefined\lastxpos% + \let\gre@lastxpos\lastxpos% +\else% + \let\gre@lastxpos\pdflastxpos% +\fi% +\ifdefined\lastypos% + \let\gre@lastypos\lastypos% +\else% + \let\gre@lastypos\pdflastypos% +\fi% + +%%%%%%%%%%%%%%% + + % an attribute we put on the text nodes. % if it is 1, it means that there may be a dash here if this syllable is at the end of a line % if it is 2, it means that it's never useful to typeset a dash diff --git a/tex/gregoriotex-signs.tex b/tex/gregoriotex-signs.tex index 36ffb0a23..fe3afe682 100644 --- a/tex/gregoriotex-signs.tex +++ b/tex/gregoriotex-signs.tex @@ -918,18 +918,18 @@ \ifgre@boxing\else % \ifcase#2 % 0 \gre@debugmsg{general}{save case 0}% - \pdfsavepos % + \gre@savepos % \or % 1 \setbox\gre@box@temp@sign=\hbox{\gre@fontchar@punctum}% \kern-\wd\gre@box@temp@sign % - \pdfsavepos % + \gre@savepos % \kern\wd\gre@box@temp@sign % \or % 2 \gre@debugmsg{general}{save case 2}% \setbox\gre@box@temp@sign=\hbox{\gre@fontchar@punctum}% \gre@dimen@temp@five=\wd\gre@box@temp@sign % \kern-.5\wd\gre@box@temp@sign % - \pdfsavepos % + \gre@savepos % \kern.5\wd\gre@box@temp@sign % \fi % \directlua{gregoriotex.var_brace_note_pos(#1, #3)}% diff --git a/tex/gregoriotex-syllable.tex b/tex/gregoriotex-syllable.tex index e1d369f6d..1f7b8c64a 100644 --- a/tex/gregoriotex-syllable.tex +++ b/tex/gregoriotex-syllable.tex @@ -74,12 +74,12 @@ #1% \else % \ifnum\gre@generate@pointandclick=1\relax % - \pdfstartlink user{% + \gre@startlink user{% /Subtype/Link/Border[0 0 0]% /A<>% }% #1% - \pdfendlink % + \gre@endlink % \else % #1% \fi % diff --git a/tex/gregoriotex.lua b/tex/gregoriotex.lua index 6832322fd..4ce1f20c3 100644 --- a/tex/gregoriotex.lua +++ b/tex/gregoriotex.lua @@ -880,7 +880,7 @@ local function adjust_line_height(inside_discretionary) end local function var_brace_note_pos(brace, start_end) - tex.print(string.format([[\luatexlatelua{gregoriotex.late_brace_note_pos('%s', %d, %d, \number\pdflastxpos)}]], cur_score_id, brace, start_end)) + tex.print(catcode_at_letter, string.format([[\luatexlatelua{gregoriotex.late_brace_note_pos('%s', %d, %d, \number\gre@lastxpos)}]], cur_score_id, brace, start_end)) end local function late_brace_note_pos(score_id, brace, start_end, pos) @@ -911,7 +911,7 @@ local function var_brace_len(brace) end local function save_pos(index, which) - tex.print(string.format([[\pdfsavepos\luatexlatelua{gregoriotex.late_save_pos('%s', %d, %d, \number\pdflastxpos, \number\pdflastypos)}]], cur_score_id, index, which)) + tex.print(catcode_at_letter, string.format([[\gre@savepos\luatexlatelua{gregoriotex.late_save_pos('%s', %d, %d, \number\gre@lastxpos, \number\gre@lastypos)}]], cur_score_id, index, which)) end local function late_save_pos(score_id, index, which, xpos, ypos) From 0cdc19629550e8e1d593df189261c1f6423adbad Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Mon, 2 May 2016 14:03:45 -0400 Subject: [PATCH 18/30] Add distribution directory to ignore list (prevents status clutter when a distribution build fails part way through) --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index aaee5b90c..6cee0394a 100644 --- a/.gitignore +++ b/.gitignore @@ -120,3 +120,4 @@ macosx/build macosx/Resources res.txt *.rc +gregorio-* From 3eafd6c7b5081f62da18d6a48d62a22171543462 Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Mon, 2 May 2016 16:41:08 -0400 Subject: [PATCH 19/30] Add ctan directory to ignore list --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 6cee0394a..feecd06b5 100644 --- a/.gitignore +++ b/.gitignore @@ -121,3 +121,4 @@ macosx/Resources res.txt *.rc gregorio-* +ctan From fa9e133ad9cdf795257f70b4bfc743c80541dfa3 Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Mon, 2 May 2016 20:07:54 -0400 Subject: [PATCH 20/30] Exclude .DS_Store files from ctan zip --- build-ctan.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-ctan.sh b/build-ctan.sh index 75a20e24a..2462eb2bb 100755 --- a/build-ctan.sh +++ b/build-ctan.sh @@ -38,5 +38,5 @@ zip -r ../gregorio-$VERSION.zip * --exclude=*.DS_Store* cd .. rm -rf gregorio-$VERSION cd .. -zip -r ../gregoriotex.zip gregoriotex gregoriotex.tds.zip +zip -r ../gregoriotex.zip gregoriotex gregoriotex.tds.zip --exclude=*.DS_Store* cd .. From e3febe8e64b35dda874f11bda3ac17a3706eb742 Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Tue, 3 May 2016 17:26:01 -0400 Subject: [PATCH 21/30] Correction to comment indicating the target name in can build script --- build-ctan.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-ctan.sh b/build-ctan.sh index 2462eb2bb..6a8d8e983 100755 --- a/build-ctan.sh +++ b/build-ctan.sh @@ -1,6 +1,6 @@ #! /usr/bin/env bash -# Script to be executed by make ctan-dist +# Script to be executed by make ctan VERSION=`head -1 .gregorio-version` FILEVERSION=`echo $VERSION | sed 's/\./_/g'` From ec9fe0f3ec24d08441ae5162d5bfa88824d6fb45 Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Tue, 3 May 2016 17:26:33 -0400 Subject: [PATCH 22/30] Make zip to be uploaded to ctan easier to identify --- build-ctan.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-ctan.sh b/build-ctan.sh index 6a8d8e983..723ba1919 100755 --- a/build-ctan.sh +++ b/build-ctan.sh @@ -38,5 +38,5 @@ zip -r ../gregorio-$VERSION.zip * --exclude=*.DS_Store* cd .. rm -rf gregorio-$VERSION cd .. -zip -r ../gregoriotex.zip gregoriotex gregoriotex.tds.zip --exclude=*.DS_Store* +zip -r ../gregoriotex.ctan.zip gregoriotex gregoriotex.tds.zip --exclude=*.DS_Store* cd .. From e453eb906af4905e472363a134eaa009b1707b07 Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Tue, 3 May 2016 17:27:17 -0400 Subject: [PATCH 23/30] Remove intermediate files so that only ctan target remains --- build-ctan.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-ctan.sh b/build-ctan.sh index 723ba1919..1a2955c4c 100755 --- a/build-ctan.sh +++ b/build-ctan.sh @@ -40,3 +40,6 @@ rm -rf gregorio-$VERSION cd .. zip -r ../gregoriotex.ctan.zip gregoriotex gregoriotex.tds.zip --exclude=*.DS_Store* cd .. +rm -rf ctan +rm gregorio-$VERSION.tar.bz2 +rm gregorio.tds.zip From eedfa4cb5f648451b7b4f97c7d63572178ae1d7e Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Thu, 5 May 2016 21:49:31 -0400 Subject: [PATCH 24/30] Controlling line length. --- install-gtex.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/install-gtex.sh b/install-gtex.sh index c46f2ea4e..bfacd37d7 100755 --- a/install-gtex.sh +++ b/install-gtex.sh @@ -60,14 +60,17 @@ VERSION=`head -1 .gregorio-version` FILEVERSION=`echo $VERSION | sed 's/\./_/g'` -TEXFILES=(tex/gregoriotex*.tex tex/gsp-default.tex tex/gregoriotex*.lua tex/*.dat) +TEXFILES=(tex/gregoriotex*.tex tex/gsp-default.tex tex/gregoriotex*.lua + tex/*.dat) LATEXFILES=(tex/gregorio*.sty) TTFFILES=(gregorio.ttf greciliae.ttf granapadano.ttf gregorio-op.ttf greciliae-op.ttf granapadano-op.ttf greextra.ttf gregall.ttf gresgmodern.ttf) DOCFILES=(doc/Appendix*.tex doc/Command*.tex doc/Gabc.tex - doc/*Ref.tex doc/*Ref.lua doc/*.gabc doc/Gregorio*Ref-$FILEVERSION.pdf) -EXAMPLEFILES=(examples/FactusEst.gabc examples/PopulusSion.gabc examples/main-lualatex.tex examples/debugging.tex) + doc/*Ref.tex doc/*Ref.lua doc/*.gabc + doc/Gregorio*Ref-$FILEVERSION.pdf) +EXAMPLEFILES=(examples/FactusEst.gabc examples/PopulusSion.gabc + examples/main-lualatex.tex examples/debugging.tex) FONTSRCFILES=(gregorio-base.sfd granapadano-base.sfd greciliae-base.sfd greextra.sfd squarize.py convertsfdtottf.py gregall.sfd gresgmodern.sfd README.md) From fd38cd4ccdd4cd284ed152a22d3f5b188121e3b9 Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Fri, 6 May 2016 09:16:00 -0400 Subject: [PATCH 25/30] Cherry pick c772493 (modified) --- UPGRADE.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/UPGRADE.md b/UPGRADE.md index 186af50dd..11bf3892e 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -8,11 +8,13 @@ This file contains instructions to upgrade to a new release of Gregorio. To better comply with the TeXLive directory structure, the location of `gregoriotex.sty` and `gregoriosyms.sty` have changed. -*Linux and other users installing from source:* You will need to manually remove the old versions of these files to avoid version conflicts. `install-gtex.sh` will be modified in a future beta to do this for you. +*Linux and other users installing from source:* `install-gtex.sh` should remove the old versions before installing the new one. -*Mac users installing via pkg:* Please run Uninstall-Gregorio.pkg before installing 4.2. +*Mac users installing via pkg installer:* The installer does not attempt to remove the old versions before installing the new ones. Please run Uninstall-Gregorio.pkg before installing 4.2 to ensure that the old versions don't cause any problems. -*Windows users:* Your installer already should remove old versions of GregorioTeX before installing the new ones. Please file a bug report if you have a problem with this process. +*Windows users:* Your installer already should remove old versions of GregorioTeX before installing the new ones. + +As always, please file a bug report if you have any problems with the update process. ### Parmesan font renamed to Grana Padano From 11e0d11cc6feef3794ddd295bbe417bb22adfae6 Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Sun, 8 May 2016 13:36:24 -0400 Subject: [PATCH 26/30] Typo TDS file is named `gregoriotex.tds.zip` not `gregorio.tds.zip` --- build-ctan.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-ctan.sh b/build-ctan.sh index 1a2955c4c..020f1d608 100755 --- a/build-ctan.sh +++ b/build-ctan.sh @@ -42,4 +42,4 @@ zip -r ../gregoriotex.ctan.zip gregoriotex gregoriotex.tds.zip --exclude=*.DS_St cd .. rm -rf ctan rm gregorio-$VERSION.tar.bz2 -rm gregorio.tds.zip +rm gregoriotex.tds.zip From 2b299d75d048df0f16d1c5334b13e3e79d0a1480 Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Thu, 14 Apr 2016 17:17:24 -0400 Subject: [PATCH 27/30] Manifest adjustment This modification to the manifests will prevent the `.DS_Store` (and other hidden files) from the `contrib/TeXShop` folder from appearing in the distribution tarballs --- contrib/Makefile.am | 4 +++- contrib/TeXShop/Makefile.am | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 contrib/TeXShop/Makefile.am diff --git a/contrib/Makefile.am b/contrib/Makefile.am index d4919a81f..fbccca9ca 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am @@ -15,4 +15,6 @@ # You should have received a copy of the GNU General Public License # along with Gregorio. If not, see . -EXTRA_DIST = gprocess gabc.xml gabc.lang gabc.vim 900_gregorio.xml gregorio-scribus.lua gregorio.png gabc-syntax.plist README.md TeXShop system-setup.command system-setup.bat config-texworks.command +SUBDIRS = TeXShop + +EXTRA_DIST = gprocess gabc.xml gabc.lang gabc.vim 900_gregorio.xml gregorio-scribus.lua gregorio.png gabc-syntax.plist README.md system-setup.command system-setup.bat config-texworks.command diff --git a/contrib/TeXShop/Makefile.am b/contrib/TeXShop/Makefile.am new file mode 100644 index 000000000..ea3b5da6e --- /dev/null +++ b/contrib/TeXShop/Makefile.am @@ -0,0 +1,18 @@ +# Copyright (C) 2006-2015 The Gregorio Project (see CONTRIBUTORS.md) +# +# This file is part of Gregorio. +# +# Gregorio is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Gregorio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Gregorio. If not, see . + +EXTRA_DIST = auto-configure.command LuaLaTeX+se.engine From 29c8320ac43ed8cebe08c9cf827ccc513407ce77 Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Thu, 14 Apr 2016 20:11:54 -0400 Subject: [PATCH 28/30] Tell configure about the new Makefile --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 6a8dde28b..7793eb7ef 100644 --- a/configure.ac +++ b/configure.ac @@ -105,6 +105,7 @@ AC_CONFIG_FILES([ src/Makefile examples/Makefile contrib/Makefile + contrib/TeXShop/Makefile doc/Makefile tex/Makefile fonts/Makefile From 0b2c1cb95c58a9259569c794d631bc869e9bc5ed Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Sun, 8 May 2016 14:47:01 -0400 Subject: [PATCH 29/30] Documentation --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a9f2b7939..617241ed4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ As of v3.0.0 this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased][unreleased] ### Changed - The parmesan font is now called granapadano. If you were using `\gresetgregoriofont{parmesan}`, you should now use `\gresetgregoriofont{granapadano}`. See [#1075](https://github.com/gregorio-project/gregorio/issues/1075). +- GregorioTeX is now compatible with TeXLive 2016 ## [4.1.1] - 2016-03-10 From c10ea121808cc82b814848357e0c7fd16d096c6d Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Sun, 8 May 2016 15:30:52 -0400 Subject: [PATCH 30/30] Update Version number --- .gregorio-version | 2 +- CHANGELOG.md | 2 +- configure.ac | 4 ++-- doc/GregorioRef.tex | 2 +- fonts/squarize.py | 2 +- macosx/Gregorio.pkgproj | 2 +- tex/gregoriosyms.sty | 4 ++-- tex/gregoriotex-chars.tex | 2 +- tex/gregoriotex-main.tex | 2 +- tex/gregoriotex-nabc.lua | 2 +- tex/gregoriotex-nabc.tex | 2 +- tex/gregoriotex-signs.lua | 2 +- tex/gregoriotex-signs.tex | 2 +- tex/gregoriotex-spaces.tex | 2 +- tex/gregoriotex-syllable.tex | 2 +- tex/gregoriotex-symbols.lua | 2 +- tex/gregoriotex-symbols.tex | 2 +- tex/gregoriotex.lua | 6 +++--- tex/gregoriotex.sty | 2 +- tex/gregoriotex.tex | 2 +- windows/gregorio-resources.rc | 8 ++++---- windows/gregorio.iss | 6 +++--- 22 files changed, 31 insertions(+), 31 deletions(-) diff --git a/.gregorio-version b/.gregorio-version index f121aa4e0..7c7713ed9 100644 --- a/.gregorio-version +++ b/.gregorio-version @@ -1,4 +1,4 @@ -4.1.1 +4.1.2 *** Do not modify this file. *** Use VersionManager.py to change the version. diff --git a/CHANGELOG.md b/CHANGELOG.md index 617241ed4..7a2f8733b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ 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] +## [4.1.2] - 2016-05-08 ### Changed - The parmesan font is now called granapadano. If you were using `\gresetgregoriofont{parmesan}`, you should now use `\gresetgregoriofont{granapadano}`. See [#1075](https://github.com/gregorio-project/gregorio/issues/1075). - GregorioTeX is now compatible with TeXLive 2016 diff --git a/configure.ac b/configure.ac index 7793eb7ef..1b31cc4cc 100644 --- a/configure.ac +++ b/configure.ac @@ -16,8 +16,8 @@ dnl dnl You should have received a copy of the GNU General Public License dnl along with Gregorio. If not, see . -AC_INIT([gregorio],[4.1.1],[https://github.com/gregorio-project/gregorio/issues],[gregorio],[http://gregorio-project.github.io/]) -FILENAME_VERSION="4_1_1" +AC_INIT([gregorio],[4.1.2],[https://github.com/gregorio-project/gregorio/issues],[gregorio],[http://gregorio-project.github.io/]) +FILENAME_VERSION="4_1_2" AC_SUBST(FILENAME_VERSION) AC_DEFINE_UNQUOTED(FILENAME_VERSION, "$FILENAME_VERSION", [version suitable for file names]) MK="" diff --git a/doc/GregorioRef.tex b/doc/GregorioRef.tex index de8638e23..176f880b6 100644 --- a/doc/GregorioRef.tex +++ b/doc/GregorioRef.tex @@ -152,7 +152,7 @@ \vspace{1cm} - \large Version \textbf{4.1.1}, 10 March 2016 %% PARSE_VERSION_DATE + \large Version \textbf{4.1.2}, 8 May 2016 %% PARSE_VERSION_DATE \vspace{1.5cm} \end{center} diff --git a/fonts/squarize.py b/fonts/squarize.py index 2f42bfca7..a7196ceb9 100644 --- a/fonts/squarize.py +++ b/fonts/squarize.py @@ -78,7 +78,7 @@ 5: 'Five', } -GREGORIO_VERSION = '4.1.1' +GREGORIO_VERSION = '4.1.2' # The unicode character at which we start our numbering: # U+E000 is the start of the BMP Private Use Area diff --git a/macosx/Gregorio.pkgproj b/macosx/Gregorio.pkgproj index e1ffa84f4..e23128ae5 100755 --- a/macosx/Gregorio.pkgproj +++ b/macosx/Gregorio.pkgproj @@ -564,7 +564,7 @@ OVERWRITE_PERMISSIONS VERSION - 4.1.1 + 4.1.2 UUID 74692645-8112-42EB-8FFC-2CBE2CEDE9FB diff --git a/tex/gregoriosyms.sty b/tex/gregoriosyms.sty index 622f3b147..7b7d3d607 100644 --- a/tex/gregoriosyms.sty +++ b/tex/gregoriosyms.sty @@ -19,7 +19,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{gregoriosyms} - [2016/03/10 v4.1.1 GregorioTeX symbols only.]% PARSE_VERSION_DATE_LTX + [2016/05/08 v4.1.2 GregorioTeX symbols only.]% PARSE_VERSION_DATE_LTX % If gregoriotex has been loaded, then we need to abort the loading process of this package here in order to avoid some conflicts. \ifcsname gregoriotex@symbols@loaded\endcsname\endinput\fi% @@ -38,7 +38,7 @@ % The version of gregorio. All gregoriotex*.tex files must have the same. % All gtex files must also have the same version. -\xdef\gre@gregorioversion{4.1.1}% GREGORIO_VERSION - VersionManager.py +\xdef\gre@gregorioversion{4.1.2}% GREGORIO_VERSION - VersionManager.py \providecommand{\gre@declarefileversion}[2]{\relax} diff --git a/tex/gregoriotex-chars.tex b/tex/gregoriotex-chars.tex index 25bbe59a2..fae4a6f15 100644 --- a/tex/gregoriotex-chars.tex +++ b/tex/gregoriotex-chars.tex @@ -18,7 +18,7 @@ % along with Gregorio. If not, see . \gre@debugmsg{general}{Loading gregoriotex-chars.tex}% -\gre@declarefileversion{gregoriotex-chars.tex}{4.1.1}% GREGORIO_VERSION +\gre@declarefileversion{gregoriotex-chars.tex}{4.1.2}% GREGORIO_VERSION \def\gre@char@fuse@punctum@one{\GreFuseTwo{\GreCPLeadingPunctumOne}{\GreCPPunctum}}% \def\gre@char@fuse@quilisma@one{\GreFuseTwo{\GreCPLeadingQuilismaOne}{\GreCPPunctum}}% diff --git a/tex/gregoriotex-main.tex b/tex/gregoriotex-main.tex index 5af557e4b..ecaf7aadb 100644 --- a/tex/gregoriotex-main.tex +++ b/tex/gregoriotex-main.tex @@ -143,7 +143,7 @@ % The version of gregorio. All gregoriotex*.tex files must have the same. % All gtex files must also have the same version. -\xdef\gre@gregorioversion{4.1.1}% GREGORIO_VERSION - VersionManager.py +\xdef\gre@gregorioversion{4.1.2}% GREGORIO_VERSION - VersionManager.py % first some macros to allow checks for version: % Tests that all gregoriotex files are of the same version. diff --git a/tex/gregoriotex-nabc.lua b/tex/gregoriotex-nabc.lua index 659502e7d..589c29155 100644 --- a/tex/gregoriotex-nabc.lua +++ b/tex/gregoriotex-nabc.lua @@ -20,7 +20,7 @@ -- this file contains lua functions used by GregorioTeX St. Gall ancient -- neume support when called with LuaTeX. --- GREGORIO_VERSION 4.1.1 +-- GREGORIO_VERSION 4.1.2 local catcode_at_letter = luatexbase.catcodetables['gre@atletter'] diff --git a/tex/gregoriotex-nabc.tex b/tex/gregoriotex-nabc.tex index 2a0991a2b..8a2b90b75 100644 --- a/tex/gregoriotex-nabc.tex +++ b/tex/gregoriotex-nabc.tex @@ -20,7 +20,7 @@ % this file contains macros for St. Gall ancient neume support \gre@debugmsg{general}{Loading gregoriotex-nabc.tex}% -\gre@declarefileversion{gregoriotex-nabc.tex}{4.1.1}% GREGORIO_VERSION +\gre@declarefileversion{gregoriotex-nabc.tex}{4.1.2}% GREGORIO_VERSION \xdef\gre@nabcfontname{gregall}% diff --git a/tex/gregoriotex-signs.lua b/tex/gregoriotex-signs.lua index 0acb9789e..d7064f22f 100644 --- a/tex/gregoriotex-signs.lua +++ b/tex/gregoriotex-signs.lua @@ -19,7 +19,7 @@ -- this file contains lua functions to support signs used by GregorioTeX. --- GREGORIO_VERSION 4.1.1 +-- GREGORIO_VERSION 4.1.2 local err = gregoriotex.module.err local warn = gregoriotex.module.warn diff --git a/tex/gregoriotex-signs.tex b/tex/gregoriotex-signs.tex index fe3afe682..697bc6c93 100644 --- a/tex/gregoriotex-signs.tex +++ b/tex/gregoriotex-signs.tex @@ -23,7 +23,7 @@ \def\grebarbracewidth{.58879}% \gre@debugmsg{general}{Loading gregoriotex-signs.tex}% -\gre@declarefileversion{gregoriotex-signs.tex}{4.1.1}% GREGORIO_VERSION +\gre@declarefileversion{gregoriotex-signs.tex}{4.1.2}% GREGORIO_VERSION \def\gre@usestylecommon{% \ifgre@usestylefont\else % diff --git a/tex/gregoriotex-spaces.tex b/tex/gregoriotex-spaces.tex index dab25f220..d5c1b8224 100644 --- a/tex/gregoriotex-spaces.tex +++ b/tex/gregoriotex-spaces.tex @@ -20,7 +20,7 @@ % this file contains definitions of spaces \gre@debugmsg{general}{Loading gregoriotex-spaces.tex}% -\gre@declarefileversion{gregoriotex-spaces.tex}{4.1.1}% GREGORIO_VERSION +\gre@declarefileversion{gregoriotex-spaces.tex}{4.1.2}% GREGORIO_VERSION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% macros for tuning penalties diff --git a/tex/gregoriotex-syllable.tex b/tex/gregoriotex-syllable.tex index 1f7b8c64a..b95e3c5a0 100644 --- a/tex/gregoriotex-syllable.tex +++ b/tex/gregoriotex-syllable.tex @@ -20,7 +20,7 @@ % this file contains definitions of the glyphs and the syllables \gre@debugmsg{general}{Loading gregoriotex-syllable.tex}% -\gre@declarefileversion{gregoriotex-syllable.tex}{4.1.1}% GREGORIO_VERSION +\gre@declarefileversion{gregoriotex-syllable.tex}{4.1.2}% GREGORIO_VERSION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% macros for the typesetting of the different glyphs diff --git a/tex/gregoriotex-symbols.lua b/tex/gregoriotex-symbols.lua index bf8bbe404..1b8416053 100644 --- a/tex/gregoriotex-symbols.lua +++ b/tex/gregoriotex-symbols.lua @@ -19,7 +19,7 @@ -- this file contains lua functions to support signs used by GregorioTeX. --- GREGORIO_VERSION 4.1.1 +-- GREGORIO_VERSION 4.1.2 local err = gregoriotex.module.err local warn = gregoriotex.module.warn diff --git a/tex/gregoriotex-symbols.tex b/tex/gregoriotex-symbols.tex index 79edaf7ad..be08adea3 100644 --- a/tex/gregoriotex-symbols.tex +++ b/tex/gregoriotex-symbols.tex @@ -23,7 +23,7 @@ \def\gregoriotex@symbols@loaded{}% \gre@debugmsg{general}{Loading gregoriotex-symbols.tex}% -\gre@declarefileversion{gregoriotex-symbols.tex}{4.1.1}% GREGORIO_VERSION +\gre@declarefileversion{gregoriotex-symbols.tex}{4.1.2}% GREGORIO_VERSION \RequireLuaModule{gregoriotex}% diff --git a/tex/gregoriotex.lua b/tex/gregoriotex.lua index 4ce1f20c3..72775a0a8 100644 --- a/tex/gregoriotex.lua +++ b/tex/gregoriotex.lua @@ -24,13 +24,13 @@ local hpack, traverse, traverse_id, has_attribute, count, remove, insert_after, gregoriotex = gregoriotex or {} local gregoriotex = gregoriotex -local internalversion = '4.1.1' -- GREGORIO_VERSION (comment used by VersionManager.py) +local internalversion = '4.1.2' -- GREGORIO_VERSION (comment used by VersionManager.py) local err, warn, info, log = luatexbase.provides_module({ name = "gregoriotex", - version = '4.1.1', -- GREGORIO_VERSION + version = '4.1.2', -- GREGORIO_VERSION greinternalversion = internalversion, - date = "2016/03/10", -- GREGORIO_DATE_LTX + date = "2016/05/08", -- GREGORIO_DATE_LTX description = "GregorioTeX module.", author = "The Gregorio Project (see CONTRIBUTORS.md)", copyright = "2008-2015 - The Gregorio Project", diff --git a/tex/gregoriotex.sty b/tex/gregoriotex.sty index aadc23ec9..4a8cd01fb 100644 --- a/tex/gregoriotex.sty +++ b/tex/gregoriotex.sty @@ -19,7 +19,7 @@ \NeedsTeXFormat{LaTeX2e}% \ProvidesPackage{gregoriotex}% - [2016/03/10 v4.1.1 GregorioTeX system.]% PARSE_VERSION_DATE_LTX + [2016/05/08 v4.1.2 GregorioTeX system.]% PARSE_VERSION_DATE_LTX % If gregoriosyms has been loaded then there are going to be some conflicts in the definitions made in that package and this one. In order to provide for a more informative error message, we check for that conflict right away \ifcsname gregoriotex@symbols@loaded\endcsname\gre@error{Loading gregoriotex after\MessageBreak gregoriosyms is not supported. Please remove the\MessageBreak loading of gregoriosyms (its contents are loaded\MessageBreak by gregoriotex)}\fi% diff --git a/tex/gregoriotex.tex b/tex/gregoriotex.tex index ca9bf2533..982e6a17a 100644 --- a/tex/gregoriotex.tex +++ b/tex/gregoriotex.tex @@ -21,7 +21,7 @@ % This file needs to be marked with the version number. For now I've done this with the following comment, but we should check to see if PlainTeX has something similar to the version declaration of LaTeX and use that if it does. -% [2016/03/10 v4.1.1 GregorioTeX system.]% PARSE_VERSION_DATE_LTX +% [2016/05/08 v4.1.2 GregorioTeX system.]% PARSE_VERSION_DATE_LTX \edef\greoldcatcode{\the\catcode`@} diff --git a/windows/gregorio-resources.rc b/windows/gregorio-resources.rc index 6970073a7..c979a0f3c 100644 --- a/windows/gregorio-resources.rc +++ b/windows/gregorio-resources.rc @@ -1,7 +1,7 @@ IDI_ICON1 ICON DISCARDABLE "gregorio.ico" 1 VERSIONINFO -FILEVERSION 4,1,1,30 -PRODUCTVERSION 4,1,1,30 +FILEVERSION 4,1,2,30 +PRODUCTVERSION 4,1,2,30 BEGIN BLOCK "StringFileInfo" BEGIN @@ -9,12 +9,12 @@ BEGIN BEGIN VALUE "CompanyName", "Gregorio project" VALUE "FileDescription", "Gregorio" - VALUE "FileVersion", "4.1.1" + VALUE "FileVersion", "4.1.2" VALUE "InternalName", "gregorio" VALUE "LegalCopyright", "See COPYING in the installation directory." VALUE "OriginalFilename", "gregorio.exe" VALUE "ProductName", "Gregorio" - VALUE "ProductVersion", "4.1.1" + VALUE "ProductVersion", "4.1.2" END END diff --git a/windows/gregorio.iss b/windows/gregorio.iss index 0df33ec05..d597eaa27 100644 --- a/windows/gregorio.iss +++ b/windows/gregorio.iss @@ -1,6 +1,6 @@ [Setup] AppName=gregorio -AppVersion=4.1.1 +AppVersion=4.1.2 DefaultDirName={pf}\gregorio DefaultGroupName=gregorio SetupIconFile=gregorio.ico @@ -58,9 +58,9 @@ Source: "../README.md"; DestDir: "{app}"; Source: "../CONTRIBUTORS.md"; DestDir: "{app}"; Source: "../UPGRADE.md"; DestDir: "{app}"; ; PARSE_VERSION_FILE_NEXTLINE -Source: "../doc/Gregorio*Ref-4_1_1.pdf"; DestDir: "{app}"; +Source: "../doc/Gregorio*Ref-4_1_2.pdf"; DestDir: "{app}"; ; PARSE_VERSION_FILE_NEXTLINE -Source: "../doc/Gregorio*Ref-4_1_1.pdf"; DestDir: "{app}\texmf\doc\luatex\gregoriotex"; +Source: "../doc/Gregorio*Ref-4_1_2.pdf"; DestDir: "{app}\texmf\doc\luatex\gregoriotex"; Source: "../COPYING.md"; DestDir: "{app}"; Source: "../contrib/system-setup.bat"; DestDir: "{app}"; Source: "../contrib/*"; DestDir: "{app}\contrib"; Excludes: "Makefile*,TeXShop\*,*.command";