Debian Codegraph @

texk/gregorio/gregorio-src/contrib/900_gregorio.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <!--
3 XML file for using gregorio inside scribus.
4 Copyright (C) 2009 Pierre Couderc <[email protected]>.
5 Copyright (C) 2010 Elie Roux <[email protected]>
6 Copyright (C) 2015-2025 The Gregorio Project (see CONTRIBUTORS.md)
7
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License along
19 with this program; if not, write to the Free Software Foundation, Inc.,
20 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21
22 See the different comments in the file to change the default configuration.
23 -->
24 <editorsettings description="gregorio" icon="gregorio.png">
25 <executable command="lualatex --shell-escape --interaction nonstopmode" />
26 <imagefile extension=".pdf"/>
27 <highlighter>
28 <rule name="gabc header" regex="[a-zA-Z]+:" color="blue" minimal="true"/>
29 <rule name="gabc delimiter" regex="%%" color="green" minimal="true"/>
30 <rule name="gabc notes" regex="\([^)]*\)" color="red" minimal="true"/>
31 </highlighter>
32 <empty-frame-text>
33 name: myscore;
34 %%
35 (c3) Pó(eh/hi)pu(h)lus(h) Si(hi)on,(hgh.)
36 </empty-frame-text>
37 <!-- you can change the basic headers here -->
38 <preamble>
39 \documentclass[$scribus_grefontsize$]{extarticle}
40 \usepackage[paperwidth=$scribus_realwidth$ pt, paperheight=$scribus_realheight$ pt, left=0cm,top=0cm,right=0cm,bottom=0cm,nohead,nofoot]{geometry}
41 \usepackage[autocompile]{gregoriotex}
42 \title{Scribus-Latex-File}
43 $scribus_additionalgreheaders$
44 \author{Scribus}
45 \pagestyle{empty}
46 \setlength{\textwidth}{$scribus_realwidth$ pt}
47
48 \begin{filecontents*}[overwrite]{\jobname-score.gabc}
49 </preamble> <!-- this line's indentation is purposefully off because of the way that scribus interprets the preamble section -->
50 <postamble>
51 \end{filecontents*}
52
53 \begin{document}
54 $scribus_greconf$
55 \gregorioscore{\jobname-score.gabc}
56 \end{document}
57 </postamble>
58 <tab type="settings">
59 <title>
60 <i18n>
61 <en>Headers</en>
62 <fr>En-tête</fr>
63 </i18n>
64 </title>
65 <list name="grefontsize" default="11pt">
66 <title>
67 <i18n>
68 <en>Fontsize:</en>
69 <de>Schriftgröße:</de>
70 <fr>Taille police :</fr>
71 <pl>Stopień pisma:</pl>
72 <ru>Кегль шрифт:</ru>
73 </i18n>
74 </title>
75 <option value="8pt">8pt</option>
76 <option value="9pt">9pt</option>
77 <option value="10pt">10pt</option>
78 <option value="11pt">11pt</option>
79 <option value="12pt">12pt</option>
80 <option value="14pt">14pt</option>
81 <option value="17pt">17pt</option>
82 <option value="20pt">20pt</option>
83 </list>
84 <text name="additionalgreheaders" type="long" default="\usepackage{fontspec}
85 \usepackage{libertine}">
86 <i18n>
87 <en>Additional LaTeX Headers:</en>
88 <de>Zusätzliche LaTeX Header:</de>
89 <fr>En-tête LaTeX additionnel :</fr>
90 </i18n>
91 </text>
92 </tab>
93 <tab type="settings">
94 <title>
95 <i18n>
96 <en>Gregorio Options</en>
97 <fr>Conf. gregorio</fr>
98 </i18n>
99 </title>
100 <comment>
101 <i18n>
102 <en>Input here your additional gregorio-specific TeX commands.</en>
103 <fr>Ajoutez ici vos commandes additionelles pour GregorioTeX.</fr>
104 </i18n>
105 </comment>
106 <text name="greconf" type="long" default="\grechangestaffsize{17}"></text>
107 </tab>
108 </editorsettings>