diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-12-09 22:20:21 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-12-09 22:20:21 +0000 |
commit | fbfb4e16cc7761a5aefcae7cacf662fec7092c92 (patch) | |
tree | 0a1f90f31434d7c8fc766c97df33cb3e2456ef75 /Build/source/texk/gregorio/gregorio-src/contrib | |
parent | b4c906f1397a603ffc06957cb835ddd687c8fe2b (diff) |
Import Gregorio-4.0.0.
git-svn-id: svn://tug.org/texlive/trunk@39063 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/gregorio/gregorio-src/contrib')
54 files changed, 1459 insertions, 0 deletions
diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/900_gregorio.xml b/Build/source/texk/gregorio/gregorio-src/contrib/900_gregorio.xml new file mode 100644 index 00000000000..72d9c438f28 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/900_gregorio.xml @@ -0,0 +1,95 @@ +<?xml version="1.0"?> +<!-- + + XML file for using gregorio inside scribus. + Copyright (C) 2009 Pierre Couderc <pierre@couderc.eu>. + + This program 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 2 of the License, or + (at your option) any later version. + + This program 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 this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + See the different comments in the file to change the default configuration. +--> +<editorsettings description="gregorio" icon="gregorio.png"> + <!-- change the path to gregorio-scribus.lua here. --> + <executable command='texlua /usr/share/scribus/editorconfig/gregorio-scribus.lua "%file" "%dir"'/> + <imagefile extension=".pdf"/> + <highlighter> + <rule name="gabc header" regex="[a-zA-Z]+:" color="blue" minimal="true"/> + <rule name="gabc delimiter" regex="%%" color="green" minimal="true"/> + <rule name="gabc notes" regex="\([^)]*\)" color="red" minimal="true"/> + </highlighter> + <empty-frame-text> +name: myscore; +%% +(c3) Pó(eh/hi)pu(h)lus(h) Si(hi)on,(hgh.) + </empty-frame-text> + <!-- you can change the basic headers there --> + <preamble> +\documentclass[a4paper,$scribus_grefontsize$]{extarticle} +\usepackage[left=0cm,top=0cm,right=0cm,bottom=0cm,nohead,nofoot]{geometry} +\usepackage{color} +\title{Scribus-Latex-gregorio-File} +$scribus_additionalgreheaders$ +\usepackage{gregoriotex} +\author{Scribus} +\pagestyle{empty} +\setlength{\textwidth}{$scribus_realwidth$ pt} +\begin{document} +$scribus_greconf$ +</preamble> +<postamble> +</postamble> + <tab type="settings"> + <title><i18n> + <en>Headers</en> + <fr>En-tête</fr> + </i18n></title> + <list name="grefontsize" default="11pt"> + <title><i18n> + <en>Fontsize:</en> + <de>Schriftgröße:</de> + <fr>Taille police :</fr> + <pl>Stopień pisma:</pl> + <ru>Кегль шрифт:</ru> + </i18n></title> + <option value="8pt">8pt</option> + <option value="9pt">9pt</option> + <option value="10pt">10pt</option> + <option value="11pt">11pt</option> + <option value="12pt">12pt</option> + <option value="14pt">14pt</option> + <option value="17pt">17pt</option> + <option value="20pt">20pt</option> + </list> + <text name="additionalgreheaders" type="long" default="\usepackage[utf8]{luainputenc} +\usepackage[T1]{fontenc} +\usepackage{times}"><i18n> + <en>Additional LaTeX Headers:</en> + <de>Zusätzliche LaTeX Header:</de> + <fr>En-tête LaTeX additionnel :</fr> + </i18n></text> + </tab> + <tab type="settings"> + <title><i18n> + <en>Gregorio Options</en> + <fr>Conf. gregorio</fr> + </i18n></title> + <comment><i18n> + <en>Input here your additional gregorio-specific TeX commands. +</en><fr>Ajoutez ici vos commandes additionelles pour GregorioTeX. +</fr> + </i18n></comment> + <text name="greconf" type="long" default="\grechangestaffsize{17}"></text> + </tab> +</editorsettings> diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/Makefile.am b/Build/source/texk/gregorio/gregorio-src/contrib/Makefile.am new file mode 100644 index 00000000000..86279d62983 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/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 <http://www.gnu.org/licenses/>. + +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.sh system-setup.bat diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/README.md b/Build/source/texk/gregorio/gregorio-src/contrib/README.md new file mode 100644 index 00000000000..c4e43da23f9 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/README.md @@ -0,0 +1,60 @@ +# Third party scripts + +This repository contains various small scripts or modules for third-party softwares to use Gregorio. + +## Scribus + +Gregorio can be used in [Scribus](http://wiki.scribus.net/canvas/Scribus) using three files: + + * `gregorio-scribus.lua` + * `gregorio.png` + * `900_gregorio.xml` + +To install Gregorio support in Scribus: + + * copy the three files in the editorconfig folder of scribus (`/usr/share/scribus/editorconfig` under Linux, `C:\Program Files\Scribus\share\editorconfig` +under Windows). + * read the comments in `900_gregorio.xml` and change some variables accordingly + * in Scribus: + * go in `File->Preferences->External Tools` + * click `Add` in the `Render Frames` + * select the file `900_gregorio.xml` + +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). + +## Kde editors (Kate, Kedit) + +You can use `gabc.xml` for syntax highlighting in kate (and Kedit, etc.). To +install it, copy the file in `/usr/share/apps/katepart/syntax`. This path +may vary according to your distribution. + +## Gnome editors (Gedit) + +You can use `gabc.lang` for syntax highlighting in GtkSourceView (Gedit, etc.). To +install it, copy the file in `/usr/share/gtksourceview-3.0/language-specs`. This path +may vary according to your distribution. + +## Emacs + +To use gregorio in [Emacs](https://www.gnu.org/software/emacs/), see [this script](https://github.com/cajetanus/gregorio-mode.el). + +## Vim + +To get gabc syntax highlighting in [Vim](http://www.vim.org/): + + * copy `gabc.vim` in `/usr/share/vim/vimcurrent/syntax` + * add the line `au BufNewFile,BufRead *.gabc setf gabc` +somewhere near lines of the same type (near line 100 for example) in +`/usr/share/vim/vimcurrent/filetype.vim`. This will autodetect the filetypes. + +## BBedit and TextWrangler (OSX only) + +To get gabc syntax highlight in [BBedit](http://www.barebones.com/products/bbedit/) or [TextWrangler](http://www.barebones.com/products/textwrangler/), copy `gabc-syntax.plist` into `~/Library/Application Support/TextWrangler/Language Modules/` and restart BBEdit or TextWrangler. + +## Script to process gabc score + +`gprocess` is a perl script to instantly compile and show the result of a gabc +file. You can modify some variables directly into the script. diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/._.DS_Store b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/._.DS_Store Binary files differnew file mode 100644 index 00000000000..09fa6bdda3a --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/._.DS_Store diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/._Configure TeXShop.app b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/._Configure TeXShop.app Binary files differnew file mode 100644 index 00000000000..705c71abe4f --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/._Configure TeXShop.app diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Info.plist b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Info.plist new file mode 100644 index 00000000000..e3b8bce04cd --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Info.plist @@ -0,0 +1,86 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>AMIsApplet</key> + <true/> + <key>AMStayOpen</key> + <false/> + <key>BuildMachineOSBuild</key> + <string>14D49</string> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleDocumentTypes</key> + <array> + <dict> + <key>CFBundleTypeExtensions</key> + <array> + <string>*</string> + </array> + <key>CFBundleTypeName</key> + <string>Automator workflow file</string> + <key>CFBundleTypeOSTypes</key> + <array> + <string>****</string> + </array> + <key>CFBundleTypeRole</key> + <string>Viewer</string> + </dict> + </array> + <key>CFBundleExecutable</key> + <string>Application Stub</string> + <key>CFBundleIconFile</key> + <string>AutomatorApplet</string> + <key>CFBundleIdentifier</key> + <string>com.apple.automator.Configure TeXShop</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>Configure TeXShop</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleShortVersionString</key> + <string>1.2</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleURLTypes</key> + <array/> + <key>CFBundleVersion</key> + <string>409.2</string> + <key>DTCompiler</key> + <string>com.apple.compilers.llvm.clang.1_0</string> + <key>DTPlatformBuild</key> + <string>6D97u</string> + <key>DTPlatformVersion</key> + <string>GM</string> + <key>DTSDKBuild</key> + <string>14D42</string> + <key>DTSDKName</key> + <string>macosx10.10internal</string> + <key>DTXcode</key> + <string>0630</string> + <key>DTXcodeBuild</key> + <string>6D97u</string> + <key>LSMinimumSystemVersion</key> + <string>10.5</string> + <key>LSMinimumSystemVersionByArchitecture</key> + <dict> + <key>x86_64</key> + <string>10.6</string> + </dict> + <key>LSUIElement</key> + <true/> + <key>NSAppleScriptEnabled</key> + <string>YES</string> + <key>NSMainNibFile</key> + <string>ApplicationStub</string> + <key>NSPrincipalClass</key> + <string>NSApplication</string> + <key>NSServices</key> + <array/> + <key>UTExportedTypeDeclarations</key> + <array/> + <key>UTImportedTypeDeclarations</key> + <array/> +</dict> +</plist> diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/MacOS/Application Stub b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/MacOS/Application Stub Binary files differnew file mode 100644 index 00000000000..5cba5b5569c --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/MacOS/Application Stub diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/AutomatorApplet.icns b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/AutomatorApplet.icns Binary files differnew file mode 100644 index 00000000000..1e1593e8aaf --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/AutomatorApplet.icns diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/Dutch.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/Dutch.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..d1d3946fec5 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/Dutch.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/English.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/English.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..80dce3747f0 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/English.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/French.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/French.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..de88db65ae0 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/French.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/German.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/German.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..9a210d835a8 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/German.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/Italian.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/Italian.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..7a78b2ea03b --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/Italian.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/Japanese.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/Japanese.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..9703dcf05a4 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/Japanese.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/Spanish.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/Spanish.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..9bc20f088a7 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/Spanish.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/ar.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/ar.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..bd164ff8d67 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/ar.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/ca.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/ca.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..e4a0be7c24a --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/ca.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/cs.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/cs.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..1d4bc4617ec --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/cs.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/da.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/da.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..59483548dee --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/da.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/el.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/el.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..68c8a8b9b66 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/el.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/es_MX.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/es_MX.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..0536c591da8 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/es_MX.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/fi.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/fi.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..8b559394d00 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/fi.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/he.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/he.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..0a8a78dabde --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/he.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/hr.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/hr.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..02217857418 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/hr.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/hu.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/hu.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..ee2318940ee --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/hu.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/id.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/id.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..f5e0ac1ab0d --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/id.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/ko.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/ko.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..a7b39bf8c5a --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/ko.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/ms.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/ms.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..f1ccd79b049 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/ms.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/no.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/no.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..fefd799e132 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/no.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/pl.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/pl.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..2d3f738b72b --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/pl.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/pt.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/pt.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..a0fd885091a --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/pt.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/pt_PT.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/pt_PT.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..df40ec20a50 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/pt_PT.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/ro.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/ro.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..df641210966 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/ro.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/ru.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/ru.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..b7b01428652 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/ru.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/sk.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/sk.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..b257fe88d07 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/sk.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/sv.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/sv.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..f8e64aa5482 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/sv.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/th.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/th.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..e6149ef9deb --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/th.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/tr.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/tr.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..fef396d076c --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/tr.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/uk.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/uk.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..78a188987a1 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/uk.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/vi.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/vi.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..a2c647fcef3 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/vi.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/zh_CN.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/zh_CN.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..f361cf638f8 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/zh_CN.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/zh_TW.lproj/ApplicationStub.nib b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/zh_TW.lproj/ApplicationStub.nib Binary files differnew file mode 100644 index 00000000000..1cf50bc1cc6 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/Resources/zh_TW.lproj/ApplicationStub.nib diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/document.wflow b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/document.wflow new file mode 100644 index 00000000000..1cf10ff6517 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/Configure TeXShop.app/Contents/document.wflow @@ -0,0 +1,365 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>AMApplicationBuild</key> + <string>409.2</string> + <key>AMApplicationVersion</key> + <string>2.5</string> + <key>AMDocumentVersion</key> + <string>2</string> + <key>actions</key> + <array> + <dict> + <key>action</key> + <dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <true/> + <key>Types</key> + <array> + <string>com.apple.cocoa.path</string> + </array> + </dict> + <key>AMActionVersion</key> + <string>2.1.1</string> + <key>AMApplication</key> + <array> + <string>Finder</string> + </array> + <key>AMParameterProperties</key> + <dict> + <key>itemType</key> + <dict/> + <key>predicate</key> + <dict/> + <key>searchPath</key> + <dict> + <key>isPathPopUp</key> + <true/> + <key>variableUUIDsInMenu</key> + <array/> + </dict> + </dict> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array> + <string>com.apple.cocoa.path</string> + </array> + </dict> + <key>AMRequiredResources</key> + <array/> + <key>AMSelectedInputType</key> + <string>com.apple.cocoa.path</string> + <key>AMSelectedOutputType</key> + <string>com.apple.cocoa.path</string> + <key>ActionBundlePath</key> + <string>/System/Library/Automator/Find Finder Items 2.action</string> + <key>ActionName</key> + <string>Find Finder Items</string> + <key>ActionParameters</key> + <dict> + <key>itemType</key> + <string>com.apple.cocoa.path</string> + <key>predicate</key> + <data> + YnBsaXN0MDDUAQIDBAUGbm9YJHZlcnNpb25Y + JG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGG + oK8QFgcIDxQcJicpMTU6O0BESk9QVV1iZ2lV + JG51bGzTCQoLDA0OXxAXTlNDb21wb3VuZFBy + ZWRpY2F0ZVR5cGVfEA9OU1N1YnByZWRpY2F0 + ZXNWJGNsYXNzEAGAAoAV0hALERNaTlMub2Jq + ZWN0c6ESgAOAFNQLFRYXGBkaG18QEU5TUmln + aHRFeHByZXNzaW9uXxAQTlNMZWZ0RXhwcmVz + c2lvbl8QE05TUHJlZGljYXRlT3BlcmF0b3KA + E4AOgASAEdUdHh8gCyEiIyQlWU5TT3BlcmFu + ZF5OU1NlbGVjdG9yTmFtZV8QEE5TRXhwcmVz + c2lvblR5cGVbTlNBcmd1bWVudHOABoAFEAOA + CIANXHZhbHVlRm9yS2V5OtIfCwwogAfSKiss + LVokY2xhc3NuYW1lWCRjbGFzc2VzXxAQTlNT + ZWxmRXhwcmVzc2lvbqMuLzBfEBBOU1NlbGZF + eHByZXNzaW9uXE5TRXhwcmVzc2lvblhOU09i + amVjdNIQCzI0oTOACYAM0wsfNjc4OVlOU0tl + eVBhdGiACxAKgApUbmFtZdIqKzw9XxAcTlNL + ZXlQYXRoU3BlY2lmaWVyRXhwcmVzc2lvbqM+ + PzBfEBxOU0tleVBhdGhTcGVjaWZpZXJFeHBy + ZXNzaW9uXE5TRXhwcmVzc2lvbtIqK0FCXk5T + TXV0YWJsZUFycmF5o0FDMFdOU0FycmF50ior + RUZfEBNOU0tleVBhdGhFeHByZXNzaW9upEdI + STBfEBNOU0tleVBhdGhFeHByZXNzaW9uXxAU + TlNGdW5jdGlvbkV4cHJlc3Npb25cTlNFeHBy + ZXNzaW9u00sfC0xNTl8QD05TQ29uc3RhbnRW + YWx1ZYAPEACAEF8QEkx1YUxhVGVYK3NlLmVu + Z2luZdIqK1FSXxAZTlNDb25zdGFudFZhbHVl + RXhwcmVzc2lvbqNTVDBfEBlOU0NvbnN0YW50 + VmFsdWVFeHByZXNzaW9uXE5TRXhwcmVzc2lv + btULVldYWVpNWyNcWk5TTW9kaWZpZXJYTlNO + ZWdhdGVZTlNPcHRpb25zXk5TT3BlcmF0b3JU + eXBlgBIIEATSKiteX18QG05TRXF1YWxpdHlQ + cmVkaWNhdGVPcGVyYXRvcqNgYTBfEBtOU0Vx + dWFsaXR5UHJlZGljYXRlT3BlcmF0b3JfEBNO + U1ByZWRpY2F0ZU9wZXJhdG9y0iorY2RfEBVO + U0NvbXBhcmlzb25QcmVkaWNhdGWjZWYwXxAV + TlNDb21wYXJpc29uUHJlZGljYXRlW05TUHJl + ZGljYXRl0iorQ2iiQzDSKitqa18QE05TQ29t + cG91bmRQcmVkaWNhdGWjbG0wXxATTlNDb21w + b3VuZFByZWRpY2F0ZVtOU1ByZWRpY2F0ZV8Q + D05TS2V5ZWRBcmNoaXZlctFwcVRyb290gAEA + CAARABoAIwAtADIANwBQAFYAXQB3AIkAkACS + AJQAlgCbAKYAqACqAKwAtQDJANwA8gD0APYA + +AD6AQUBDwEeATEBPQE/AUEBQwFFAUcBVAFZ + AVsBYAFrAXQBhwGLAZ4BqwG0AbkBuwG9Ab8B + xgHQAdIB1AHWAdsB4AH/AgMCIgIvAjQCQwJH + Ak8CVAJqAm8ChQKcAqkCsALCAsQCxgLIAt0C + 4gL+AwIDHgMrAzYDQQNKA1QDYwNlA2YDaANt + A4sDjwOtA8MDyAPgA+QD/AQIBA0EEAQVBCsE + LwRFBFEEYwRmBGsAAAAAAAACAQAAAAAAAABy + AAAAAAAAAAAAAAAAAAAEbQ== + </data> + <key>searchPath</key> + <string>/Users/Shared</string> + </dict> + <key>BundleIdentifier</key> + <string>com.apple.Automator.Find_Finder_Items_2</string> + <key>CFBundleVersion</key> + <string>2.1.1</string> + <key>CanShowSelectedItemsWhenRun</key> + <false/> + <key>CanShowWhenRun</key> + <true/> + <key>Category</key> + <array> + <string>AMCategoryFilesAndFolders</string> + </array> + <key>Class Name</key> + <string>Find_Finder_Items_2</string> + <key>InputUUID</key> + <string>CACAEF8E-1695-469E-9B00-400A78AE643A</string> + <key>Keywords</key> + <array/> + <key>OutputUUID</key> + <string>B91AE25A-F878-4B64-963E-0B26610470EF</string> + <key>UUID</key> + <string>E4D2579F-F34B-44EC-8212-5DFDB48C3AC8</string> + <key>UnlocalizedApplications</key> + <array> + <string>Finder</string> + </array> + <key>arguments</key> + <dict> + <key>0</key> + <dict> + <key>default value</key> + <string>com.apple.cocoa.path</string> + <key>name</key> + <string>itemType</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>0</string> + </dict> + <key>1</key> + <dict> + <key>default value</key> + <string></string> + <key>name</key> + <string>searchPath</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>1</string> + </dict> + <key>2</key> + <dict> + <key>default value</key> + <data> + </data> + <key>name</key> + <string>predicate</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>2</string> + </dict> + </dict> + <key>conversionLabel</key> + <integer>0</integer> + <key>isViewVisible</key> + <true/> + <key>location</key> + <string>301.500000:412.000000</string> + <key>nibPath</key> + <string>/System/Library/Automator/Find Finder Items 2.action/Contents/Resources/Base.lproj/main.nib</string> + </dict> + <key>isViewVisible</key> + <true/> + </dict> + <dict> + <key>action</key> + <dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <false/> + <key>Types</key> + <array> + <string>com.apple.cocoa.path</string> + </array> + </dict> + <key>AMActionVersion</key> + <string>v.2.0.1</string> + <key>AMApplication</key> + <array> + <string>Finder</string> + </array> + <key>AMParameterProperties</key> + <dict> + <key>replaceExisting</key> + <dict/> + <key>toDirectory</key> + <dict> + <key>isPathPopUp</key> + <true/> + <key>selectedVariableUUID</key> + <string>36136622-5A18-42D0-A4E7-37F18EEA695E</string> + <key>variableUUIDsInMenu</key> + <array> + <string>36136622-5A18-42D0-A4E7-37F18EEA695E</string> + </array> + </dict> + </dict> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array> + <string>com.apple.cocoa.path</string> + </array> + </dict> + <key>ActionBundlePath</key> + <string>/System/Library/Automator/Copy Finder Items.action</string> + <key>ActionName</key> + <string>Copy Finder Items</string> + <key>ActionParameters</key> + <dict> + <key>replaceExisting</key> + <true/> + <key>toDirectory</key> + <string></string> + </dict> + <key>BundleIdentifier</key> + <string>com.apple.Automator.CopyFiles</string> + <key>CFBundleVersion</key> + <string>2.0.1</string> + <key>CanShowSelectedItemsWhenRun</key> + <true/> + <key>CanShowWhenRun</key> + <true/> + <key>Category</key> + <array> + <string>AMCategoryFilesAndFolders</string> + </array> + <key>Class Name</key> + <string>AMCopyFilesAction</string> + <key>InputUUID</key> + <string>DB1B2594-1D74-4C65-9BE5-EC9C37A0AA5A</string> + <key>Keywords</key> + <array> + <string>File</string> + <string>Copy</string> + </array> + <key>OutputUUID</key> + <string>27CB786B-CD13-4BBC-81FA-30BEACEFC499</string> + <key>UUID</key> + <string>281EB016-CA8F-441C-BCA0-3D2CF4E89114</string> + <key>UnlocalizedApplications</key> + <array> + <string>Finder</string> + </array> + <key>arguments</key> + <dict> + <key>0</key> + <dict> + <key>default value</key> + <string>~/Desktop</string> + <key>name</key> + <string>toDirectory</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>0</string> + </dict> + <key>1</key> + <dict> + <key>default value</key> + <false/> + <key>name</key> + <string>replaceExisting</string> + <key>required</key> + <string>0</string> + <key>type</key> + <string>0</string> + <key>uuid</key> + <string>1</string> + </dict> + </dict> + <key>conversionLabel</key> + <integer>0</integer> + <key>isViewVisible</key> + <true/> + <key>location</key> + <string>301.500000:695.000000</string> + <key>nibPath</key> + <string>/System/Library/Automator/Copy Finder Items.action/Contents/Resources/Base.lproj/main.nib</string> + </dict> + <key>isViewVisible</key> + <true/> + </dict> + </array> + <key>connectors</key> + <dict> + <key>F12D6A3B-3C4B-4667-AD73-95EC8CAACCF4</key> + <dict> + <key>from</key> + <string>E4D2579F-F34B-44EC-8212-5DFDB48C3AC8 - E4D2579F-F34B-44EC-8212-5DFDB48C3AC8</string> + <key>to</key> + <string>281EB016-CA8F-441C-BCA0-3D2CF4E89114 - 281EB016-CA8F-441C-BCA0-3D2CF4E89114</string> + </dict> + </dict> + <key>variables</key> + <array> + <dict> + <key>UUID</key> + <string>36136622-5A18-42D0-A4E7-37F18EEA695E</string> + <key>identifier</key> + <string>com.apple.Automator.Variable.Path</string> + <key>name</key> + <string>~/Library/TeXShop/Engines</string> + <key>value</key> + <string>/</string> + </dict> + </array> + <key>workflowMetaData</key> + <dict> + <key>workflowTypeIdentifier</key> + <string>com.apple.Automator.application</string> + </dict> +</dict> +</plist> 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 new file mode 100644 index 00000000000..a1fb7c72d06 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/LuaLaTeX+se.engine @@ -0,0 +1,4 @@ +#!/bin/tcsh + +set path= ($path /usr/texbin /usr/local/bin) +lualatex --shell-escape -file-line-error -synctex=1 "$1" diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/auto-configure.sh b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/auto-configure.sh new file mode 100755 index 00000000000..3025c0e44e4 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/TeXShop/auto-configure.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash + +# This script is designed to automatically configure a TeXShop distribution. + +ENGINEDIR="$HOME/Library/TeXShop/Engines" +if [ ! -d "$ENGINEDIR" ]; then + mkdir -p "$ENGINEDIR" +fi +SOURCE="/Users/Shared/Gregorio/contrib/TeXShop/LuaLaTeX+se.engine" +if [ -e "$SOURCE" ]; then + cp "$SOURCE" "$ENGINEDIR" +else + echo "Cannot find LuaLaTeX+se.engine" + echo "Please try running the Gregorio intaller again" + exit 1 +fi +defaults write TeXShop OtherTeXExtensions -array-add "gabc" diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/gabc-syntax.plist b/Build/source/texk/gregorio/gregorio-src/contrib/gabc-syntax.plist new file mode 100644 index 00000000000..39396b46089 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/gabc-syntax.plist @@ -0,0 +1,82 @@ +<!-- +GABC syntax file for BBedit and TextWrangler +Copyright Tomasz Grabowski <zzzygzak@gmail.com>, 2013 + +This program 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. + +This program 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 this program. If not, see <http://www.gnu.org/licenses/>. +--><plist version="1.0"> +<dict> +<key>BBEditDocumentType</key> + <string>CodelessLanguageModule</string> +<key>BBLMLanguageCode</key> + <string>0079</string> +<key>BBLMLanguageCode</key> + <string>GABC</string> +<key>BBLMLanguageDisplayName</key> + <string>Gregorio GABC</string> +<key>BBLMSuffixMap</key> + <array> + <dict> + <key>BBLMIsSourceKind</key> + <true/> + <key>BBLMLanguageSuffix</key> + <string>.gabc</string> + </dict> + </array> +<key>BBLMColorsSyntax</key><true/> +<key>BBLMIsCaseSensitive</key><true/> +<key>BBLMScansFunctions</key><false/> +<key>BBLMSupportsTextCompletion</key><true/> +<key>BBLMCanSpellCheckCodeRuns</key><false/> + +<key>BBLMPredefinedNameList</key> + <array> + <string>name</string> + <string>gabc-copyright</string> + <string>score-copyright</string> + <string>office-part</string> + <string>occasion</string> + <string>meter</string> + <string>commentary</string> + <string>arranger</string> + <string>gabc-version</string> + <string>author</string> + <string>date</string> + <string>manuscript</string> + <string>manuscript-reference</string> + <string>manuscript-storage-place</string> + <string>book</string> + <string>transcriber</string> + <string>transcription-date</string> + <string>gregoriotex-font</string> + <string>mode</string> + <string>initial-style</string> + <string>centering-scheme</string> + <string>user-notes</string> + <string>annotation</string> + </array> +<key>BBLMCommentLineDefault</key><string>%</string> +<key>Language Features</key> + <dict> + <key>Open Strings 1</key><string>(</string> + <key>Close Strings 1</key><string>)</string> + <key>Open Strings 2</key><string> <</string> + <key>Close Strings 2</key><string>> </string> + <key>End-of-line Ends Strings 1</key> <false/> + <key>Identifier and Keyword Characters</key> + <string>ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-</string> + <key>Open Statement Blocks</key> <string>\</string> + <key>Close Statement Blocks</key> <string>}</string> + </dict> +</dict> +</plist> diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/gabc.lang b/Build/source/texk/gregorio/gregorio-src/contrib/gabc.lang new file mode 100644 index 00000000000..08258507fc0 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/gabc.lang @@ -0,0 +1,96 @@ +<?xml version="1.0"?> +<!-- + + Author: Elie Roux <elie.roux@telecom-bretagne.fr> + Copyright (C) 2008 Elie Roux <elie.roux@telecom-bretagne.fr> + + This program 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. + + This program 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 this program. If not, see <http://www.gnu.org/licenses/>. + +--> +<language id="gabc" _name="Gabc" version="2.0" _section="Sources"> + <metadata> + <property name="globs">*.gabc</property> + </metadata> + <styles> + <style id="attribute-name" _name="Attribute Name" map-to="def:keyword"/> + <style id="text" _name="Text" map-to="def:keyword"/> + <style id="text-markups" _name="Text Markups" map-to="def:statement"/> + <style id="translation" _name="Translation" map-to="def:doc-comment-element"/> + <style id="comment" _name="Comment" map-to="def:doc-comment-element"/> + <style id="notes" _name="Notes"/> + <style id="notes-base" _name="Basic Notes" map-to="def:constant"/> + <style id="alterations" _name="Alterations" map-to="def:identifier"/> + <style id="spaces" _name="Spaces" map-to="def:special-char"/> + </styles> + <definitions> + <context id="gabc"> + <include> + <context id="header"> + <include> + <context id="attribute-name" style-ref="attribute-name"> + <match>[^:]+:|;</match> + </context> + </include> + </context> + <context id="score"> + <start>%%</start> + <end>%%</end> + <include> + <context id="text" style-ref="text"> + <match>[^\(\[<]+</match> + </context> + <context id="comment" style-ref="comment"> + <!--<start>%</start> + <end>
</end>--> + <match>\%[^%]\n</match> + </context> + <context id="translation" style-ref="translation"> + <start>\[</start> + <end>\]</end> + </context> + <context id="specials-symbol" style-ref="text-markups"> + <prefix><</prefix> + <suffix>></suffix> + <keyword>v</keyword> + <keyword>/v</keyword> + <keyword>i</keyword> + <keyword>/i</keyword> + <keyword>b</keyword> + <keyword>/b</keyword> + <keyword>tt</keyword> + <keyword>/tt</keyword> + <keyword>sp</keyword> + <keyword>/sp</keyword> + </context> + <context id="notes" style-ref="notes"> + <start>\(</start> + <end>\)</end> + <include> + <context id="notes-normal" style-ref="notes-base"> + <match>[a-mA-M]+</match> + </context> + <context id="alterations" style-ref="alterations"> + <match>[><\~xXyYvVoOwWqQ-Ss\._'1234]+</match> + </context> + <context id="spaces" style-ref="spaces"> + <match>[`,;!: /zZ]+</match> + </context> + </include> + </context> + </include> + </context> + </include> + </context> + </definitions> +</language> diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/gabc.vim b/Build/source/texk/gregorio/gregorio-src/contrib/gabc.vim new file mode 100644 index 00000000000..654c06bab90 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/gabc.vim @@ -0,0 +1,32 @@ +" Vim syntax file +" Language: Gabc gregorian chant notation +" Maintainer: Elie Roux <elie.roux@telecom-bretagne.eu> +" Last Change: 2008 Nov 29 + +" Quit when a (custom) syntax file was already loaded +if exists("b:current_syntax") + finish +endif + +syn match gabcAttributeName /^[^:]*:/ +syn match gabcAttributeNameb ";" +syn match gabcTextMarkup "</\?\w>" contained +syn match gabcTranslation "\[[^\[\(]*\]\?" contained +syn match gabcBasicNote "[a-mA-M]" contained +syn match gabcAlteration "[\<\>~xXyYvVoOwWqQ\-Ss\._'1234]" contained +syn match gabcSpace "[`,;!: /zZ]" contained +syn region gabcNotes matchgroup=gabcNote start="(" end=")" contains=gabcBasicNote,gabcAlteration,gabcSpace contained +syn region gabcText start="%%" end="%%zz" contains=gabcNotes,gabcTextMarkup,gabcTranslation + + +" Define the default highlighting. +hi def link gabcAttributeName Comment +hi def link gabcAttributeNameb Comment +hi def link gabcText Comment +hi def link gabcTextMarkup PreProc +hi def link gabcBasicNote Statement +hi def link gabcNote Type +hi def link gabcAlteration Type +hi def link gabcSpace Special + +let b:current_syntax = "gabc" diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/gabc.xml b/Build/source/texk/gregorio/gregorio-src/contrib/gabc.xml new file mode 100644 index 00000000000..e84ec8975f2 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/gabc.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- Elie Roux - elie.roux@telecom-bretagne.eu + version1.0 - 10 november 2008 --> +<language name="GABC" version="1.10" kateversion="2.4" section="Other" extensions="*.gabc" mimetype="text/plain" casesensitive="1" author="Elie Roux (elie.roux@telecom-bretagne.eu)" license="GPL"> + <highlighting> + <contexts> + <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Attribute" context="Attribute" char=":"/> + <StringDetect attribute="Separation" context="Score Text" String="%%" insensitive="FALSE"/> + </context> + <context name="Attribute" attribute="Attribute" lineEndContext="#pop"> + <DetectChar attribute="Attribute Name" context="Normal" char=";"/> + </context> + <context name="Score Text" attribute="Score Text" lineEndContext="#stay"> + <DetectChar attribute="Notes" context="Notes" char="("/> + <RangeDetect attribute="Translation" context="#stay" char="[" char1="]"/> + <RangeDetect attribute="Text Markups" context="#stay" char="<" char1=">"/> + </context> + <context name="Notes" attribute="Notes" lineEndContext="#stay"> + <DetectChar attribute="Notes" context="#pop" char=")"/> + <RegExpr attribute="Notes Base" context="#stay" String="[a-mA-M]+"/> + <RegExpr attribute="Alterations" context="#stay" String="[><\~xXyYvVoOwWqQ-Ss\._'1234]+"/> + <RegExpr attribute="Space" context="#stay" String="[`,;!: /zZ]+"/> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Attribute" defStyleNum="dsNormal" italic="true"/> + <itemData name="Separation" defStyleNum="dsNormal" bold="true"/> + <itemData name="Score Text" defStyleNum="dsNormal" bold="true"/> + <itemData name="Text Markups" defStyleNum="dsFloat" bold="true"/> + <itemData name="Translation" defStyleNum="dsNormal" italic="true"/> + <itemData name="Notes" defStyleNum="dsNormal"/> + <itemData name="Notes Base" defStyleNum="dsNormal"/> + <itemData name="Alterations" defStyleNum="dsFloat" italic="true"/> + <itemData name="Space" defStyleNum="dsString" bold="true"/> + </itemDatas> + </highlighting> +</language> diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/gprocess b/Build/source/texk/gregorio/gregorio-src/contrib/gprocess new file mode 100644 index 00000000000..dc6d3ae87c6 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/gprocess @@ -0,0 +1,183 @@ +#!/usr/bin/perl + +# gprocess +# a script for 'compiling' gregorio gabc music files +# v0.2 +# Copyright (c) 2010 Richard Chonak <chonak@yahoo.com> +# Changes in v0.2: +# -- change list of PDF viewers +# -- invoke LuaLateX instead of lamed/dvipdfm +# -- drop use of pdftk (it's not available for my system) +# -- use latin1 character set instead of utf8 +# -- update macro and variable names (with "gre" prefix) as needed +# -- add 'redlines' +# -- +# +# v0.1 +# Copyright (C) 2008 Richard Chonak <chonak@yahoo.com> +# + +# This program 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. +# +# This program 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 this program. If not, see <http://www.gnu.org/licenses/>. + + +use strict; + +## USER-MODIFIABLE COMMAND PATHS + +my $TEXCOMPILER = "lualatex --shell-escape"; + +## END OF USER-MODIFIABLE COMMAND PATHS + + +# print usage string if no command-line arg specified + +if ($#ARGV < 0) { + die "usage: $0 <gabc-file-name>\n"; +} + + +my $GABCFILE = $ARGV[0]; +my $GABCNAME = $GABCFILE; +$GABCNAME =~ s/.gabc//; +my $SCORENAME; +my $ANNOTATION; +my $REFERENCE; +my $OFFICEPART; +my $NAMEFOUND = 0; +my $KEEPSEARCHING = 1; +my $INLINE = ""; + + +my $SCOREWRAPTEX = $GABCFILE; +$SCOREWRAPTEX =~ s/.gabc$/-main.tex/; + +#### GET THE SCORE TITLE FROM THE GABC FILE #### + +if ($GABCFILE =~ m#/#) { + die "File spec must not contain slashes: $GABCFILE\n"; +}; + + +open (GABC,"<".$GABCFILE) or die "No such file: $GABCFILE\n"; +while ($KEEPSEARCHING == 1 && ($INLINE = <GABC>)) { + if ($INLINE =~ /^name/) { + $SCORENAME = $INLINE; + $SCORENAME =~ s/^.*:\s*//; + $SCORENAME =~ s/\s*;\s*$//; + }; + if ($INLINE =~ /^anotation/) { + $ANNOTATION = $INLINE; + $ANNOTATION =~ s/^.*:\s*//; + $ANNOTATION =~ s/\s*;\s*$//; + }; + if ($INLINE =~ /^reference/) { + $REFERENCE = $INLINE; + $REFERENCE =~ s/^.*:\s*//; + $REFERENCE =~ s/\s*;\s*$//; + }; + if ($INLINE =~ /^office-part/) { + $OFFICEPART = $INLINE; + $OFFICEPART =~ s/^.*:\s*//; + $OFFICEPART =~ s/\s*;\s*$//; + }; + if ($INLINE =~ /^%%/) { $KEEPSEARCHING = 0; } +} + +close (GABC); + + + +#### READ IN THE TEMPLATE #### + +my @TEMPLATELINES; + + +@TEMPLATELINES = <DATA>; + + + +#### MAKE SUBSTITUTIONS #### + +&do_subst ("XXXX-SCORENAME-XXXX", $SCORENAME); +&do_subst ("XXXX-GABCFILE-XXXX", $GABCNAME); +&do_subst ("XXXX-ANNOTATION-XXXX", $ANNOTATION); +&do_subst ("XXXX-OFFICEPART-XXXX", $OFFICEPART); +&do_subst ("XXXX-REFERENCE-XXXX", $REFERENCE); + +foreach (@TEMPLATELINES){ + s/^.*XXXX.*$//; +}; + +#### WRITE TEX WRAPPER FILE #### + +open (TEXWRAP,">".$SCOREWRAPTEX) or die "Cannot write file $SCOREWRAPTEX\n"; +print TEXWRAP @TEMPLATELINES; +close (TEXWRAP); + +#### RUN GREGORIO, LATEX, AND KPDF #### +my $PDFFILE = $SCOREWRAPTEX; +$PDFFILE =~ s/tex$/pdf/; +my $AUXFILE = $SCOREWRAPTEX; +$AUXFILE =~ s/tex$/aux/; +my $GAUXFILE = $SCOREWRAPTEX; +$GAUXFILE =~ s/tex$/gaux/; + +# remove product files so that we don't accidentally view results +# from a prior run +unlink $PDFFILE; + +do_cmd("$TEXCOMPILER $SCOREWRAPTEX"); +unlink $AUXFILE; +unlink $GAUXFILE; + +print "\n\nOutput is in $PDFFILE .\n"; + +exit; + +sub do_subst { + my $TAG = $_[0]; + my $VAL = $_[1]; + + foreach (@TEMPLATELINES) { + s/$TAG/$VAL/g; + } +}; + +sub do_cmd { + my $CMD = $_[0]; +#debugging print "Doing command: \n $CMD\n\n"; + system ($CMD) == 0 + or die "\n\nSystem command failed: $CMD : $?\n"; +}; + + +# THE LINES AFTER THIS "END" TAG ARE A TEMPLATE FOR THE TEX FILE TO BE GENERATED +__END__ + +\documentclass[12pt, letterpaper]{article} +\usepackage{fullpage} +\usepackage[T1]{fontenc} +\usepackage[utf8]{luainputenc} +\usepackage{palatino} +\usepackage[autocompile,allowdeprecated=false]{gregoriotex} +\pagestyle{empty} +\begin{document} + +\begin{center}\begin{huge}\textsc{XXXX-SCORENAME-XXXX}\end{huge}\end{center} + +\gregorioscore{XXXX-GABCFILE-XXXX} + +\end{document} + + diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/gregorio-scribus.lua b/Build/source/texk/gregorio/gregorio-src/contrib/gregorio-scribus.lua new file mode 100644 index 00000000000..0bc11aa7b1c --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/gregorio-scribus.lua @@ -0,0 +1,95 @@ +#!/usr/bin/env texlua +--[[ +Gregorio/Scribus script. +Copyright (C) 2010 Elie Roux <elie.roux@telecom-bretagne.eu> + +This program 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. + +This program 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 this program. If not, see <http://www.gnu.org/licenses/>. + +You must run this program with texlua, if possible under TeXLive 2010 (or later). +This program allows gregorio to be integrated in Scribus. +--]] + +require"lfs" + +local gregoriobin = 'gregorio' +local lualatexbin = "lualatex" + +local function basename(name) + return name and string.match(name,"^.+[/\\](.-)$") or name +end + +local f = arg[1] +local dir = arg[2] +local current = "" + +-- first we need to rebuild the arguments that are lost in pieces +for i, a in ipairs(arg) do + if a:sub(1,1) == '"' then + if a:sub(-1,-1) == '"' then + current = a:sub(2, -2) + if not f then + f = current + else + dir = current + end + else + current = a:sub(2, -1) + end + elseif a:sub(-1,-1) == '"' then + current = current..' '..a:sub(1, -2) + if not f then + f = current + else + dir = current + end + current = "" + else + current = current..' '..a + end +end + +if dir then + lfs.chdir(dir) +end + +local pathbase = basename(f) + +local fd = io.open(f, "r") +local texfile = io.open(f..".tex", "w") +local gabcfile = io.open(f.."-score.gabc", "w") +for l in fd:lines() do + if string.match(l, "^\\") then + texfile:write(l..'\n') + elseif l=="\n" then + else + gabcfile:write(l..'\n') + end +end + +local format = string.format + +texfile:write(format("\n\\gregorioscore{%s-score.gtex}\n\\end{document}\n", pathbase)) +texfile:close() +gabcfile:close() + +print(format("calling 'gregorio %s-score.gabc'\n", f)) +os.remove(format("%s-score.gtex", f)) +os.spawn(format("%s %s-score.gabc", gregoriobin, pathbase)) +if not lfs.isfile(format("%s-score.gtex", pathbase)) then + print("error: gregorio did not work as expected\n") + exit(1) +end + +print(format("calling 'lualatex --interaction nonstopmode %s.tex'\n", pathbase)) +os.spawn(format("%s --interaction=nonstopmode %s.tex", lualatexbin, pathbase)) diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/gregorio.png b/Build/source/texk/gregorio/gregorio-src/contrib/gregorio.png Binary files differnew file mode 100644 index 00000000000..d58efff6a27 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/gregorio.png diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/system-setup.bat b/Build/source/texk/gregorio/gregorio-src/contrib/system-setup.bat new file mode 100644 index 00000000000..597cd798ff3 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/system-setup.bat @@ -0,0 +1,145 @@ +@echo off
+SETLOCAL ENABLEEXTENSIONS
+
+set output="%TEMP%\system-setup.log"
+
+echo Gregorio Windows Setup Diagnostic Tool
+echo (C) 2015 The Gregorio Project.
+echo.
+echo Gregorio is free software: you can redistribute it and/or modify
+echo it under the terms of the GNU General Public License as published by
+echo the Free Software Foundation, either version 3 of the License, or
+echo (at your option) any later version.
+echo.
+echo This program is distributed in the hope that it will be useful,
+echo but WITHOUT ANY WARRANTY; without even the implied warranty of
+echo MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+echo GNU General Public License for more details.
+echo.
+echo You should have received a copy of the GNU General Public License
+echo along with this program. If not, see http://www.gnu.org/licenses/.
+echo.
+echo Creating system-setup.log...
+
+echo ### Gregorio Windows Setup Results > %output%
+echo #### Created: %date% >> %output%
+echo ----------------------------------------------------------------------------- >> %output%
+echo. >> %output%
+echo. >> %output%
+
+echo ### Windows Version >> %output%
+ver >> %output%
+echo. >> %output%
+echo. >> %output%
+echo ----------------------------------------------------------------------------- >> %output%
+echo. >> %output%
+echo. >> %output%
+
+echo ### LuaTeX Setup >> %output%
+echo #### Version >> %output%
+echo. >> %output%
+luatex -v >> %output% 2>&1
+echo. >> %output%
+echo #### Location >> %output%
+echo. >> %output%
+@for %%e in (%PATHEXT%) do @for %%i in (luatex%%e) do @if NOT "%%~$PATH:i"=="" echo %%~$PATH:i >> %output% 2>&1
+echo. >> %output%
+echo. >> %output%
+echo #### TEXMFLOCAL >> %output%
+echo. >> %output%
+for /f "delims=" %%i in ('kpsewhich --var-value TEXMFLOCAL') do set texmflocal=%%i
+echo %texmflocal% >> %output% 2>&1
+set texmflocal=%texmflocal:/=\%
+IF NOT EXIST %texmflocal% ECHO Folder does not exist >> %output% 2>&1
+echo. >> %output%
+echo #### TEXINPUTS.lualatex >> %output%
+kpsewhich --var-value=TEXINPUTS.lualatex >> %output% 2>&1
+echo. >> %output%
+echo #### LUAINPUTS.lualatex >> %output%
+kpsewhich --var-value=LUAINPUTS.lualatex >> %output% 2>&1
+echo. >> %output%
+echo #### shell_escape >> %output%
+kpsewhich --var-value=shell_escape >> %output% 2>&1
+echo. >> %output%
+echo #### Shell Escape Commands >> %output%
+kpsewhich --var-value=shell_escape_commands >> %output% 2>&1
+echo. >> %output%
+echo #### openout_any >> %output%
+kpsewhich --var-value=openout_any >> %output% 2>&1
+echo. >> %output%
+echo #### openin_any >> %output%
+kpsewhich --var-value=openin_any >> %output% 2>&1
+echo. >> %output%
+echo. >> %output%
+echo ----------------------------------------------------------------------------- >> %output%
+echo. >> %output%
+echo. >> %output%
+
+echo ### Gregorio Setup >> %output%
+echo #### Version >> %output%
+echo. >> %output%
+gregorio -V >> %output% 2>&1
+echo. >> %output%
+echo #### Location >> %output%
+echo. >> %output%
+@for %%e in (%PATHEXT%) do @for %%i in (gregorio%%e) do @if NOT "%%~$PATH:i"=="" echo %%~$PATH:i >> %output% 2>&1
+echo. >> %output%
+echo #### GregorioTeX Locations >> %output%
+echo. >> %output%
+
+set files=gregoriotex.sty ^
+gregoriosyms.sty ^
+gregoriotex.tex ^
+gregoriotex-main.tex ^
+gregoriotex-chars.tex ^
+gregoriotex-ictus.tex ^
+gregoriotex-signs.tex ^
+gregoriotex-signs.lua ^
+gregoriotex-symbols.tex ^
+gregoriotex-spaces.tex ^
+gregoriotex-syllable.tex ^
+gregoriotex-nabc.tex ^
+gregoriotex-nabc.lua ^
+gregoriotex.lua ^
+gsp-default.tex ^
+gregorio-vowels.dat ^
+greciliae.ttf ^
+greciliae-op.ttf ^
+greextra.ttf ^
+gregorio.ttf ^
+gregorio-op.ttf ^
+gresym.ttf ^
+parmesan.ttf ^
+parmesan-op.ttf ^
+gregall.ttf ^
+gregsmodern.ttf
+
+for %%G in (%files%) do (
+ echo ##### %%G >> %output%
+ kpsewhich -all %%G >> %output% 2>&1
+)
+echo. >> %output%
+echo #### kpsewhich --all -engine luatex -progname lualatex gregoriotex.sty >> %output%
+kpsewhich --all -engine luatex -progname lualatex gregoriotex.sty >> %output% 2>&1
+echo. >> %output%
+echo #### kpsewhich --all -engine luatex gregoriotex.tex >> %output%
+kpsewhich --all -engine luatex gregoriotex.tex >> %output% 2>&1
+echo. >> %output%
+echo. >> %output%
+echo ----------------------------------------------------------------------------- >> %output%
+echo. >> %output%
+echo. >> %output%
+
+echo.
+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.
+echo You can also create an issue at
+echo http://github.org/gregorio-project/gregorio/issues
+echo and copy-paste the content of this file into the description.
+echo.
+pause
+start notepad %output%
diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/system-setup.sh b/Build/source/texk/gregorio/gregorio-src/contrib/system-setup.sh new file mode 100755 index 00000000000..3c320d0927c --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/system-setup.sh @@ -0,0 +1,141 @@ +#!/usr/bin/env bash + +HERE=`pwd` +OUTPUT=$HERE/system-setup.log + +echo "Gregorio Unix Setup Diagnostic Tool" +echo "(C) 2015 The Gregorio Project." +echo "" +echo "Gregorio is free software: you can redistribute it and/or modify" +echo "it under the terms of the GNU General Public License as published by" +echo "the Free Software Foundation, either version 3 of the License, or" +echo "(at your option) any later version." +echo "" +echo "This program is distributed in the hope that it will be useful," +echo "but WITHOUT ANY WARRANTY; without even the implied warranty of" +echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the" +echo "GNU General Public License for more details." +echo "" +echo "You should have received a copy of the GNU General Public License" +echo "along with this program. If not, see http://www.gnu.org/licenses/." +echo "" +echo "Creating system-setup.log..." + +echo "### Gregorio Unix Setup Results" > $OUTPUT +echo "#### Created: `date`" >> $OUTPUT +echo "-----------------------------------------------------------------------------" >> $OUTPUT +echo "" >> $OUTPUT +echo "" >> $OUTPUT + +echo "### OS Version" >> $OUTPUT +uname -v >> $OUTPUT +echo "" >> $OUTPUT +echo "" >> $OUTPUT +echo "-----------------------------------------------------------------------------" >> $OUTPUT +echo "" >> $OUTPUT +echo "" >> $OUTPUT + +echo "### LuaTeX Setup" >> $OUTPUT +echo "#### Version" >> $OUTPUT +echo "" >> $OUTPUT +luatex -v >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "#### Location" >> $OUTPUT +echo "" >> $OUTPUT +which -a luatex >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "" >> $OUTPUT +echo "#### TEXMFLOCAL" >> $OUTPUT +echo "" >> $OUTPUT +kpsewhich --var-value TEXMFLOCAL >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "#### TEXINPUTS.lualatex" >> $OUTPUT +kpsewhich --var-value=TEXINPUTS.lualatex >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "#### LUAINPUTS.lualatex" >> $OUTPUT +kpsewhich --var-value=LUAINPUTS.lualatex >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "#### shell_escape" >> $OUTPUT +kpsewhich --var-value=shell_escape >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "#### Shell Escape Commands" >> $OUTPUT +kpsewhich --var-value=shell_escape_commands >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "#### openout_any" >> $OUTPUT +kpsewhich --var-value=openout_any >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "#### openin_any" >> $OUTPUT +kpsewhich --var-value=openin_any >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "" >> $OUTPUT +echo "-----------------------------------------------------------------------------" >> $OUTPUT +echo "" >> $OUTPUT +echo "" >> $OUTPUT + +echo "### Gregorio Setup" >> $OUTPUT +echo "#### Version" >> $OUTPUT +echo "" >> $OUTPUT +gregorio -V >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "#### Location" >> $OUTPUT +echo "" >> $OUTPUT +which -a gregorio >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "#### GregorioTeX Locations" >> $OUTPUT +echo "" >> $OUTPUT + +files="gregoriotex.sty +gregoriosyms.sty +gregoriotex.tex +gregoriotex-main.tex +gregoriotex-chars.tex +gregoriotex-ictus.tex +gregoriotex-signs.tex +gregoriotex-signs.lua +gregoriotex-symbols.tex +gregoriotex-spaces.tex +gregoriotex-syllable.tex +gregoriotex-nabc.tex +gregoriotex-nabc.lua +gregoriotex.lua +gsp-default.tex +gregorio-vowels.dat +greciliae.ttf +greciliae-op.ttf +greextra.ttf +gregorio.ttf +gregorio-op.ttf +gresym.ttf +parmesan.ttf +parmesan-op.ttf +gregall.ttf +gregsmodern.ttf" + +for f in $files +do + echo "##### $f" >> $OUTPUT + kpsewhich -all $f >> $OUTPUT 2>&1 +done + +echo "" >> $OUTPUT +echo "#### kpsewhich --all -engine luatex -progname lualatex gregoriotex.sty" >> $OUTPUT +kpsewhich --all -engine luatex -progname lualatex gregoriotex.sty >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "#### kpsewhich --all -engine luatex gregoriotex.tex" >> $OUTPUT +kpsewhich --all -engine luatex gregoriotex.tex >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "" >> $OUTPUT +echo "-----------------------------------------------------------------------------" >> $OUTPUT +echo "" >> $OUTPUT +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 "" +echo "You can also create an issue at " +echo "http://github.org/gregorio-project/gregorio/issues" +echo "and copy-paste the content of this file into the description." +echo "" |