Skip to content

Commit

Permalink
Merge branch 'release-4.1'
Browse files Browse the repository at this point in the history
* release-4.1:
  more dependencies
  small fixes
  first attempt to build ctan zip
  small changes to TeX installation as suggested by Karl
  Rename `deprecated` in CHANGELOG and UPGRADE.
  • Loading branch information
rpspringuel committed Apr 19, 2016
2 parents d0f6494 + 671b1ad commit 267ad12
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ See GregorioRef.pdf for full details.
- `\gresethyphen{force}` forces GregorioTeX to put a hyphen between each syllable in a polysyllabic word. `\gresethyphen{auto}` restores behavior to normal.
- Support for custom vowel centering rules. Put a file called `gregorio-vowels.dat` into your project directory or into a directory accessible from TEXMF and add the header `language: name;` to your gabc file. The `gregorio-vowels.dat` file describes how vowels are to be located in the *name* language. See GregorioRef for details.
- `\gresetlinecolor` takes a named color as an argument. As a result, the red staff lines can be made consistent with the text, even when the user changes `gregoriocolor` with `\gresetlinecolor{gregoriocolor}`. Addresses [#21787 on the old tracker](https://gna.org/bugs/index.php?21787).
- Package option `deprecated=false`. Causes all deprecated commands to raise an error and halt TeX.
- Package option `allowdeprecated=false`. Causes all deprecated commands to raise an error and halt TeX.
- The ability to add LilyPond-like point-and-click textedit links into the PDF file to aid with debugging scores. This must be explicitly enabled and **should be turned off** when producing files for distribution as it embeds path information into the output. To enable this, you must pass the `-p` option to gregorio when compiling gabc files and add `\gresetpointandclick{on}` before including the score. It may be toggled back off with `\gresetpointandclick{off}`. See GregorioRef for details (for the change request, see [#528](https://github.com/gregorio-project/gregorio/issues/528)).
- New score fonts with glyphs unique to Dominican chant. These fonts replace the epiphonus and the augmented liquescents with corresponding figures from Dominican liturgical books. To use the new fonts, pass the `[op]` option to the `\gresetgregoriofont` command (i.e., `\gresetgregoriofont[op]{greciliae}`). See GregorioRef for details (for the change request, see [#1](https://github.com/gregorio-project/gregorio/issues/1)).
- Support for "punctum cavum inclinatum" and "punctum cavum inclinatum auctus" figures. The gabc for these are `(Gr)` and `(Gr<)`, where `G` is the capitalized pitch letter.
Expand Down
8 changes: 7 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 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
Expand Down Expand Up @@ -28,3 +28,9 @@ make-fonts:
make -C fonts fonts

export TOP_LEVEL_MAKE = true

gregoriotex.tds.zip: dist install-gtex.sh
./install-gtex.sh tds

ctan: dist gregoriotex.tds.zip build-ctan.sh
./build-ctan.sh
2 changes: 1 addition & 1 deletion UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Old command names should still work for now, but will raise a deprecation warnin

- `\grescaledim`: This function now takes two arguments. The second should be `yes`, `true`, `on`, or `scalable` to acheive the old behavior.

Additionally a new package option has been added. This option, `deprecated=false`, is helpful if you wish to ensure that your TeX file is compliant with the new naming system. This option causes all deprecated commands to raise an error, halting TeX, thus allowing you to actively find all deprecated commands and update them in your TeX file.
Additionally a new package option has been added. This option, `allowdeprecated=false`, is helpful if you wish to ensure that your TeX file is compliant with the new naming system. This option causes all deprecated commands to raise an error, halting TeX, thus allowing you to actively find all deprecated commands and update them in your TeX file.

### Barred letters

Expand Down
42 changes: 42 additions & 0 deletions build-ctan.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#! /usr/bin/env bash

# Script to be executed by make ctan-dist

VERSION=`head -1 .gregorio-version`
FILEVERSION=`echo $VERSION | sed 's/\./_/g'`

rm -rf ctan
mkdir -p ctan/gregoriotex/
cp gregoriotex.tds.zip ctan/gregoriotex.tds.zip
cp gregorio-$VERSION.tar.bz2 ctan/gregoriotex/
cd ctan/gregoriotex
tar xf gregorio-$VERSION.tar.bz2
rm gregorio-$VERSION.tar.bz2
cp ../../*.md .
cd gregorio-$VERSION
mv doc/ ../
mv tex/ ../
mv fonts/ ../
mv examples/ ../doc/
rm -rf macosx debian
cd ..
rm doc/Makefile*
rm doc/examples/Makefile*
rm doc/examples/debugging.tex
rm tex/Makefile*
mkdir tex/lualatex
mkdir tex/luatex
mv tex/*.sty tex/lualatex
mv tex/*.* tex/luatex
rm fonts/Makefile*
mkdir fonts/sources/
mkdir fonts/truetype/
mv fonts/*.ttf fonts/truetype
mv fonts/*.* fonts/sources
cd gregorio-$VERSION
zip -r ../gregorio-$VERSION.zip * --exclude=*.DS_Store*
cd ..
rm -rf gregorio-$VERSION
cd ..
zip -r ../gregoriotex.zip gregoriotex gregoriotex.tds.zip
cd ..
17 changes: 13 additions & 4 deletions install-gtex.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Copyright (C) 2015 The Gregorio Project (see CONTRIBUTORS.md)
#
#
# This file is part of Gregorio.
#
# Gregorio is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -57,17 +57,24 @@
# Creates a TDS-ready archive named gregoriotex.tds.zip
#

TEXFILES=(tex/*.tex tex/gregorio*.sty tex/*.lua tex/*.dat)
VERSION=`head -1 .gregorio-version`
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
gresgmodern.ttf)
DOCFILES=(fonts/README.md)
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
greextra.sfd squarize.py convertsfdtottf.py gregall.sfd
gresgmodern.sfd)
gresgmodern.sfd README.md)

NAME=${NAME:-gregoriotex}
FORMAT=${FORMAT:-luatex}
LATEXFORMAT=${LATEXFORMAT:-lualatex}
TEXHASH=${TEXHASH:-texhash}
KPSEWHICH=${KPSEWHICH:-kpsewhich}
CP=${CP:-cp}
Expand Down Expand Up @@ -140,8 +147,10 @@ function install_to {

echo "Installing in '${TEXMFROOT}'."
install_to "${TEXMFROOT}/tex/${FORMAT}/${NAME}" "${TEXFILES[@]}"
install_to "${TEXMFROOT}/tex/${LATEXFORMAT}/${NAME}" "${LATEXFILES[@]}"
install_to "${TEXMFROOT}/fonts/truetype/public/${NAME}" "${TTFFILES[@]}"
install_to "${TEXMFROOT}/doc/${FORMAT}/${NAME}" "${DOCFILES[@]}"
install_to "${TEXMFROOT}/doc/${FORMAT}/${NAME}/examples" "${EXAMPLEFILES[@]}"
install_to "${TEXMFROOT}/fonts/source/${NAME}" "${FONTSRCFILES[@]}"

if [ "$arg" = 'tds' ]
Expand Down

0 comments on commit 267ad12

Please sign in to comment.