summaryrefslogtreecommitdiff
path: root/Build/source/texk/gregorio/gregorio-src/contrib/900_gregorio.xml
blob: 72d9c438f28a69def29d26053cfab7b76138b3cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
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>