Le 27/03/2014 19:14, Br. Samuel Springuel a écrit :
> Okay, so luatextra should be replaced by fontspec. Testing that on my
> own system and things still work. But that's just switched the package
> dependency from luatextra to fontspec.
Well, I have to get used to the fact that I shouldn't give you "just
working" answers, but the whole details, which is good :)
> My point is that if gregoriotex is dependent on a package (i.e. it won't
> work without it) then gregoriotex should load it automatically.
Indeed, and this is precisely what's happening at the very beginning of
gregoriotex.tex[1], where you have the following lines:
\RequirePackage{ifluatex}
\RequirePackage{graphicx}% for \resizebox
\RequirePackage{luatexbase}
\RequirePackage{luaotfload}
so GregorioTeX depends on these packages. Luaotfload is a low-level font
management package for LuaTeX, it is used by Gregorio directly. Fontspec
also uses (and requires) luaotfload, but also offers many high-level
simple commands.
> On my
> system, at least, fontspec (or the outdated luatextra) is required (and
> must be loaded first) for a document that uses gregoriotex to compile.
> Is that what's supposed to happen?
No, GregorioTeX should work independently of fontspec. are you sure your
errors come from the inclusion of gregorio scores? Can you send a
minimal example of a file that doesn't use any of the fontspec commands
but doesn't compile if fontspec isn't there?
Thank you!
[1]
http://svn.gna.org/viewcvs/gregorio/trunk/tex/gregoriotex.tex?revision=1284&view=markup
--
Elie
_______________________________________________
Gregorio-devel mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-devel