Am 06.04.2017 um 14:12 schrieb Marek Klein: > 2017-04-06 11:34 GMT+02:00 Dr. Martin Senftleben > <[email protected] <mailto:[email protected]>>: > > I just encountered a hyphen inserted into the text by gregorio at the > end of the line, and I don't know how to get rid of it. The gabc is: > > {auf}-(f){er}-(e){stan}-(c){den}(e) {von}(g) {den}(f) > {To}-(ge){ten}(f.g.) > > > Hello, > could you send a minimal working example (full gabc file). > I have tried to render following without wrong hyphen: > > %% > (c4){auf}-(f){er}-(e){stan}-(c){den}(e) {von}(g) {den}(f) > {To}-(ge){ten}(f.g.) >
ok, I attach two files, tex and gabc (tex contains the header data and calls the gabc file). I'm very new to this stuff, so it may be that I introduced some mistakes. Thanks for looking into it. Martin
% !TEX TS-program = LuaLaTeX+se % !TEX root = main-lualatex.tex % The first part of the score is called the header, you can input some useful informations here: name: Wohl dem; office-part: Antiphon; occasion: Ostern; date: ; commentary: ; transcriber: Martin Senftleben; transcription-date: 2017; style: modern; % Then, when gregorio encounters the following line (%%), it switches to the score, where you input the notes %% % The syntax in this part is called gabc. Please refer to http://home.gna.org/gregorio/gabc/#basis (c4)H{al}-(c){le}-(d){lu}-(dh){ja}!(hixi) *(,) {Der}(hg) {Herr}(ghg) {ist}(e) {auf}-(f){er}-(e){stan}-(c){den}(e) {von}(g) {den}(f) {To}-(ge){ten}(f.g.) (;) {Hal}-(e){le}-(c) {lu}-(e){ja},(g) {Hal}-(e){le}-(fe){lu}-(d.){ja.}(dd) (::)
% This is a simple template for a LuaLaTeX document using gregorio scores.
\documentclass[12pt]{article} % use larger type; default would be 10pt
% usual packages loading:
\usepackage{fontspec}
\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
\usepackage{libertine} % Decent (free) font for Gregorian, but should be changed if you have high standards
%\def\gretextformat#1{%
% {\fontsize{20}{20}\selectfont #1\relax}%
%}
\begin{document}
%\setgrefactor{20}
% The title:
\begin{center}\begin{huge}\textsc{Antiphon zu Ostern}\end{huge}\end{center}
% Here we set the space around the initial.
% Please report to http://gregorio-project.github.io/gregoriotex/details.html for more details and options
\grechangestaffsize{12}
\gresettranslationcentering{center}
\grechangedim{beforeinitialshift}{2.2mm}{scalable}
\grechangedim{afterinitialshift}{0.5mm}{scalable}
\grechangedim{spacelinestext}{0.6cm}{scalable}
% Here we set the initial font. Change 43 if you want a bigger initial.
\grechangestyle{initial}{\fontsize{43}{43}\selectfont}%
% We set red lines here, comment it if you want black ones.
%\gresetlinecolor{gregoriocolor}
% We set II above the initial manually
%\grechangestyle{annotation}{\small\bfseries}
%\greannotation{Intr.}
\greannotation{\textsc{i}}
% We use the "commentary" field of the score in the top right corner:
\gresetheadercapture{commentary}{grecommentary}{string}
% and finally we include the scores. The file must be in the same directory as this one.
\gregorioscore[a]{Antiphon_Ostern}
%\bigskip
%\begin{center}\begin{huge}\textsc{Factus Est}\end{huge}\end{center}
%\gregorioscore[a]{FactusEst}
\end{document}
<<attachment: drmartinus.vcf>>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Gregorio-users mailing list [email protected] https://mail.gna.org/listinfo/gregorio-users

