On Tue, Oct 20, 2015 at 05:53:46PM +0200, Abbazia Mater Ecclesiae wrote:
> 2015-10-18 8:30 GMT+02:00 Abbazia Mater Ecclesiae <
> sangiulioinferme...@gmail.com>:
> 
> > I only have TeXLive 2014, but it works for me fine.
> >> Attached is what I get.  You haven't posted a corresponding main *.tex
> >> file,
> >> so it is hard to find out what might be wrong.
> >
> >
> Here's the main file with its complete output, I attach also the log file
> (maybe it can help...? I can't understand all that words...).

I don't have the fonts you're using, so I've changed it to use a different
font, and don't have any but the first *.gabc you are using.
After applying following patch replacing your fonts with something I have
around and commenting out the extra scores, I'm still getting reasonable
output.
Can you check if in the GregorioNabc*.pdf manual you have the neumes on the
title page properly typeset, instead of getting all the same glyphs
everywhere?
Can you try main-lualatex.tex from the examples (the FactusEst CO has
neumes on it)?

For debugging what is going wrong, you could e.g. try attached patch,
which forces it not to use the gregall font, but instead a normal text font,
and instead of printing the characters prints char12345 where 12345 is the
decimal value of the character it prints (in smaller font size).

There are of course also ways to debug the lua processing by adding log
messages into the *.lua file.

--- Antifone-Ecce-tests.tex     2015-10-20 18:04:35.264613526 +0200
+++ Antifone-Ecce-tests.tex     2015-10-20 18:02:25.000000000 +0200
@@ -11,9 +11,9 @@
        \changefontsizes{13pt}
 \usepackage{fontspec}
        \defaultfontfeatures{Ligatures={TeX}}
-       \setmainfont[Numbers={Proportional,OldStyle}]{Arno Pro}
+       \setmainfont[Numbers={Proportional,OldStyle}]{Junicode}
 
-\newfontfamily\integrativo{APIntegrativo}
+\newfontfamily\integrativo{Junicode}
 \newcommand{\integchar}[1]{{\integrativo\char#1}}%
 \newcommand{\myAbar}{{\color{red}\integchar{8449}}}%
 \newcommand{\myRbar}{{\color{red}\integchar{8479}}}%
@@ -25,13 +25,13 @@
 \newfontfamily\commentfont[%
        Color=red,%
        Numbers={Proportional,OldStyle},%
-       ItalicFont=ArnoPro-ItalicSmText%
-       ]{ArnoPro-SmText}
+       ItalicFont=Junicode%
+       ]{Junicode}
 
 \def\gretextformat#1{%
-{\fontsize{12,5}{12,5}\fontspec{ArnoPro-Regular}#1}%
+{\fontsize{12,5}{12,5}\fontspec{Junicode}#1}%
 }
-\grechangestyle{initial}{\fontsize{39}{39}\fontspec{ArnoPro-Display}}
+\grechangestyle{initial}{\fontsize{39}{39}\fontspec{Junicode}}
 
 \def\GreStar{%
   {\color{red}{*}}%
@@ -57,9 +57,9 @@
 \raggedbottom
 
 \includeant{Ecce rex veniet}{a--ecce-rex-veniet}{\myAbarsm\ ii*\ }{b}{}
-\includeant{Ecce veniet … princeps}{a--ecce-veniet-_-princeps}{\myAbarsm\ ii*\ 
}{b}{}
-\includeant{Ecce veniet propheta}{a--ecce-veniet-propheta}{\myAbarsm\ ii*\ 
}{b}{}
-\includeant{Ecce veniet … ut sedeat}{a--ecce-veniet-_-ut-sedeat}{\myAbarsm\ 
ii*\ }{b}{1 Sam 2, 8}
+%\includeant{Ecce veniet … princeps}{a--ecce-veniet-_-princeps}{\myAbarsm\ 
ii*\ }{b}{}
+%\includeant{Ecce veniet propheta}{a--ecce-veniet-propheta}{\myAbarsm\ ii*\ 
}{b}{}
+%\includeant{Ecce veniet … ut sedeat}{a--ecce-veniet-_-ut-sedeat}{\myAbarsm\ 
ii*\ }{b}{1 Sam 2, 8}
 
 
 \end{document}
\ No newline at end of file


        Jakub
--- gregoriotex-nabc.lua        2015-09-29 12:18:31.000000000 +0200
+++ gregoriotex-nabc.lua        2015-10-20 18:13:49.747600573 +0200
@@ -75,7 +75,7 @@ local function gregallreadfont(font_id)
     local g = fontdata.characters[value]
     local name = key:gsub("B", ">"):gsub("N", "-"):gsub("E", "!"):gsub("T", 
"~")
     if g and (value >= 0xe400) and (value < 0xf000) then
-      tab[name] = "\\char" .. value
+      tab[name] = "char" .. value
       metrics[name] = { width = g.width, height = g.height, depth = (g.depth 
and g.depth or 0) }
     end
   end
--- gregoriotex-nabc.tex        2015-09-29 12:18:31.000000000 +0200
+++ gregoriotex-nabc.tex        2015-10-20 18:17:31.678393455 +0200
@@ -41,7 +41,8 @@
   \begingroup %
     \catcode`\~=12{}%
     \catcode`\@=11{}%
-    \gre@font@nabc %
+    \fontsize{2.5}{4}\selectfont%
+%    \gre@font@nabc %
     \gre@style@nabc %
     \grenabccharno{#1}{\gre@nabcfontname}{1}%
     \endgre@style@nabc%
_______________________________________________
Gregorio-users mailing list
Gregorio-users@gna.org
https://mail.gna.org/listinfo/gregorio-users

Reply via email to