diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2017-04-15 21:00:07 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2017-04-15 21:00:07 +0000 |
commit | 0dc292de52a3c273ade8e8eb97aa078ac2ea705f (patch) | |
tree | 3a093e56006d8fa644f364264293ec69b261aef4 /Build/source/texk/gregorio/gregorio-src/contrib | |
parent | 974de1d33abc6e3305f29e3f9e9ccf63809be26a (diff) |
gregorio-5.0.0
git-svn-id: svn://tug.org/texlive/trunk@43809 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/gregorio/gregorio-src/contrib')
4 files changed, 24 insertions, 3 deletions
diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/LuaLaTeX+se.engine b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/LuaLaTeX+se.engine index a1fb7c72d06..2c2642dd8c4 100644 --- a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/LuaLaTeX+se.engine +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/LuaLaTeX+se.engine @@ -1,4 +1,8 @@ -#!/bin/tcsh +#!/bin/bash -set path= ($path /usr/texbin /usr/local/bin) +if [[ -n ${2:+x} ]]; then + echo "I will add $2 to the input path" + export TEXINPUTS="$2//:" + export LUAINPUTS="$2//:" +fi lualatex --shell-escape -file-line-error -synctex=1 "$1" diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/LuaTeX+se.engine b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/LuaTeX+se.engine new file mode 100644 index 00000000000..6da782ed7b4 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/LuaTeX+se.engine @@ -0,0 +1,8 @@ +#!/bin/bash + +if [[ -n ${2:+x} ]]; then + echo "I will add $2 to the input path" + export TEXINPUTS="$2//:" + export LUAINPUTS="$2//:" +fi +luatex --shell-escape -file-line-error -synctex=1 "$1" diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Makefile.am b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Makefile.am index 9ca1bdb5f9d..60a7212ad88 100644 --- a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Makefile.am +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Makefile.am @@ -15,4 +15,4 @@ # You should have received a copy of the GNU General Public License # along with Gregorio. If not, see <http://www.gnu.org/licenses/>. -EXTRA_DIST = auto-configure.command LuaLaTeX+se.engine +EXTRA_DIST = auto-configure.command LuaLaTeX+se.engine LuaTeX+se.engine diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/auto-configure.command b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/auto-configure.command index 758b3d010c7..065871932ee 100644 --- a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/auto-configure.command +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/auto-configure.command @@ -29,6 +29,15 @@ else echo "Please try running the Gregorio intaller again" exit 1 fi +SOURCE="/Users/Shared/Gregorio/contrib/TeXShop/LuaTeX+se.engine" +if [ -e "$SOURCE" ]; then + echo "Copying LuaTeX+se.engine into TeXShop configuration" + cp "$SOURCE" "$ENGINEDIR" +else + echo "Cannot find LuaTeX+se.engine" + echo "Please try running the Gregorio intaller again" + exit 1 +fi echo "Configuration complete" exit 0 |