Mr. Cook, I. Gregorio installation Verify
- launch a term session (commad + space, then write term and launch the
terminal application)
- in the terminal, write grego then hit tab button : if the command is
completed, then Gregorio is correctly installed and accessible for every other
program
- if not : send a mail to the list
- close the treminal session (commad + q)
II. Texworks settings
Texworks is the packaged editor coming with MacText (and TexLive). It si not
realy sexy nor sophisticated. But it is ok to compile GABC files (scores) and
LaTex files (books/article).
- launch Texworks from the launchpad or from the search tool (as for the
terminal)
- Go to menu Texworks / Preferences
- Go to tab composition
- In the 2nd part of the window, select "Lualatex" and get it up to the top of
the list using arrows
- Select "Lualatex" as the default under the list
- If you do not have Lualatex in the list :
* click "+" button
* fills form as this :
. Name : Lualatex
. program : lualatex (.exe on MS Windows)
. Arguments :
$synctexoption
$fullname
. check "See PDF"
. click "OK"
- click "+" button
- fills form as this :
* Name : Gregorio
* program : gregorio
* Arguments : $fullname
* Do not check "See PDF"
* click "OK"
- Get Gregorio up to the 2nd place, just under "Lualatex"
With this setting, you will be able to edit GABC scores and compiled into tex
files them as editing Latex files to get your pdf final files.
III. Example
For example, I've joined Kyrie I score in GABC format.
Create new folder as a working directory and save the file in.
On the gabc file with Texworks, choose gregorio in the list in the upper left
and click the arrow.
The kirie_I.tex will be generated in your working directory.
Save the 2nd file livret-kyrie1.tex in the same directory and open it with
Texworks. Take time to look after the "\begin{document}" how to include a score.
To compile the Latex file, the kyrie_I.tex file must be in the same directory
as the livret-kire1.tex.
Then choose "Lualatex" and click the arrow to get the pdf file with your score
which will be opend in a new texworks windows.
UdP,
Boris Maire
----- Mail original -----
De: "Conor Cook" <[email protected]>
À: "Boris Maire" <[email protected]>
Cc: [email protected], "Gabriel Billecocq" <[email protected]>
Envoyé: Jeudi 24 Avril 2014 13:37:05
Objet: Re: [Gregorio-users] installation...
Of course, this looks like a much more thorough and natively-spoken reply.
Still, I’m here if needed.
~Conor Cook
On Apr 24, 2014, at 3:56 AM, Boris Maire <[email protected]> wrote:
> M. l'Abbé,
>
>
> I. Vérification du fonctionnement de Gregorio
>
> - lancer un terminal (commade+espace puis taper term et lancer l'application
> qui se présente)
> - dans le terminal, taper grego puis tabulation : si la commande est
> complétée, alors Gregorio est correctement installé et accessible depuis
> n'importe quel programme
> - sinon : renvoyer un message sur la mailing liste
> - fermer le terminal (commade + q)
>
>
> II. Paramétrer Texworks
>
> Texworks est l'éditeur livré/installé en standard avec MacTeX. Ce n'est pas
> très sexy ni très élaboré. Mais il permet de compiler facilement des fichiers
> GABC (partitions) et TeX (livret/feuillet)
>
> - Lancez Texworks soit via le launchpad soit en le cherchant (comme pour le
> terminal)
> - Aller dans le Menu Texworks / Préférences
> - Aller dans l'onglet composition
> - dans la partie "Outils de traitement", sélectionner Lualatex et avec les
> flèches le remonter en haut de la liste
> - sélectionner également Lualatex dans la section "par défaut" en-dessous de
> la liste
> - si Lualatex n'existe pas :
> * cliquer sur "+"
> * remplir les champs suivants :
> . Nom : Lualatex
> . programme : lualatex
> . Arguments :
> $synctexoption
> $fullname
> . cocher la case "Voir le PDF après exécution"
> . cliquer "OK"
>
> - cliquer sur "+"
> - remplir les champs suivants :
> * Nom : Gregorio
> * programme : gregorio
> * Arguments : $fullname
> * ne pas cocher la case "Voir le PDF après exécution"
> * cliquer "OK"
> - faire remonter Gregorio dans la liste pour le mettre en 2e position,
> en-dessous de Lualatex
>
> Avec ce paramétrage, vous pourrez éditer des fichiers de partition GABC et
> les compiler pour en faire des fichiers TeX que vous pourrez insérer dans des
> ficheirs LaTeX plus complets
>
>
> III. Mise en pratique
>
> Avez-vous édité un fichier GABC ?
>
> Je vous joins à titre d'exemple le fichier correspondant à la partition du
> Kyrie I.
> Créez un répertoire de travail et placez le fichier dedans.
> Ouvrez-le avec Texworks. Dans le menu déroulant en haut à gauche,
> sélectionnez "Gregorio" puis cliquez sur la flèche verte. La partition sera
> compilée et un fichier kyrie_I.tex sera créé dans votre répertoire de travail.
>
> Enregistrez le fichier livret-kyrie1.tex dans le même répertoire et ouvrez-le
> avec Texworks. Prenez le temps de lire la partie après "\begin{document}"
> pour observer comment insérer une ligne founie par gregorio et une partition
> déjà compilée.
> Il est très important que votre fichier kyrie_I.tex (partition compilée) soit
> dans le même répertoire que le fichier livret-kyrie1.tex (livret)
> Vérifier que le menu déroulant est positionné sur "Lualatex" (normalement par
> défaut) et compilez avec la flèche verte.
>
> Normalement, le fichier PDF généré s'affiche dans une nouvelle fenêtre
> Texworks.
>
> UdP,
> Boris Maire
>
>
> ----- Mail original -----
> De: "Gabriel Billecocq" <[email protected]>
> À: [email protected]
> Envoyé: Mardi 22 Avril 2014 14:21:11
> Objet: [Gregorio-users] installation...
>
> Monsieur,
>
> Je ne suis pas très doué en informatique. J'ai un mac (version 10.6.8).
> J'ai téléchargé xcode, mactex, et gregorio. Mais je n'arrive pas à mettre en
> route. Je ne sais pas ce que je dois faire. Je crains bien qu'il faudrait me
> guider pas à pas.
> Si ce n'était pas trop vous demander, je vous saurai gré de m'aider.
> Soyez remercié d'avance.
>
> Gabriel Billecocq+
>
>
> _______________________________________________
> Gregorio-users mailing list
> [email protected]
> https://mail.gna.org/listinfo/gregorio-users
> <kyrie_I.gabc><livret-kyrie1.tex>_______________________________________________
> Gregorio-users mailing list
> [email protected]
> https://mail.gna.org/listinfo/gregorio-users
_______________________________________________
Gregorio-users mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-users
kyrie_I.gabc
Description: Binary data
% !TEX TS-program = lualatex
% !TEX encoding = UTF-8
% This is a simple template for a LuaLaTeX document using gregorio scores.
\documentclass[12pt,twoside]{book} % use larger type; default would be 10pt
% usual packages loading:
\usepackage{luatextra}
\usepackage{graphicx} % support the \includegraphics command and options
\usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots.
\geometry{a5paper} % or letterpaper (US) or a5paper or....
\usepackage{gregoriotex} % for gregorio score inclusion
%\usepackage{fullpage} % to reduce the margins
% choose the language of the document here
\usepackage[latin]{babel}
% use the two following package for using normal TeX fonts
\usepackage[T1]{fontenc}
\usepackage[utf8]{luainputenc}
% If you use usual TeX fonts, here is a starting point:
\usepackage{times}
% to change the font to something better, you can install the kpfonts package (if not already installed). To do so
% go open the "TeX Live Manager" in the Menu Start->All Programs->TeX Live 2010
% here we begin the document
\usepackage{libertine}
\usepackage{vmargin}
\usepackage{aeguill}
\usepackage{lettrine}
\usepackage{yfonts}
\usepackage{color}
\usepackage{fancyhdr}
\usepackage{parallel}
\usepackage{graphicx}
\usepackage{lipsum}
\usepackage{pdfcolmk}
\setmarginsrb{2cm}{1cm}{2cm}{1cm}{0.5cm}{15pt}{0.5cm}{0cm}
%\renewcommand{\headheight}{13pt}
%\renewcommand{\headrulewidth}{0pt}
%%% Mettre les R/, V/ et + en rouge
\let\oldrbar\gothRbar
\let\oldvbar\gothVbar
\let\oldgrecross\grecross
\let\oldgrestar\grestar
\let\oldgredagger\gredagger
\renewcommand{\Rbar}{\textbf{\color{rougeliturgique}\oldrbar}}
\renewcommand{\Vbar}{\textbf{\color{rougeliturgique}\oldvbar}}
\renewcommand{\grecross}{\textbf{\color{rougeliturgique}\oldgrecross}}
\renewcommand{\grestar}{\textbf{\color{rougeliturgique}\oldgrestar}}
\renewcommand{\gredagger}{\textbf{\color{rougeliturgique}\oldgredagger}}
\pagestyle{empty}
\definecolor{rougeliturgique}{rgb}{0.828,0.218,0.07}
\begin{document}
%\setgrefactor{20}% Solesmes = 17
\setspaceafterinitial{2.2mm plus 0em minus 0em}
\setspacebeforeinitial{2.2mm plus 0em minus 0em}
\font\gregoriansymbolfont=gresym at 12pt
\def\greinitialformat#1{%
{\fontsize{33}{33}\selectfont #1}%
}
\def\grebiginitialformat#1{%
{\fontsize{73}{73}\selectfont #1}%
}
\begin{center}
\gresep{4}{40}\\
\vspace{1cm}
\textbf{\Huge Kyriale I}
\end{center}
\gresetfirstlineaboveinitial{\small \textsc{8 }}{\small \textsc{8 }}
\includescore{kyrie_I.tex}
\end{document}_______________________________________________ Gregorio-users mailing list [email protected] https://mail.gna.org/listinfo/gregorio-users

