Closed Josef-Friedrich closed 3 years ago
I assume this is not due to lilyglyphs
but rather an incompatibility between fontspec
and babel
(see for example http://tex.stackexchange.com/questions/30684/what-is-the-implication-of-the-warning-in-the-fontspec-manual-with-respect-to-ba).
You should in general not use babel together with Lua/XeLaTeX and fontspec, at least it is not recommended.
If you should find any further evidence pointing to an issue with lilyglyphs itself or if you find a hint how lilyglyphs could provide a built-in workaround feel free to reopen the issue.
Thank you!
Das Minimalbeispiel vom Beginn der Dokumentation fügt den Zeichen unter Luatex Boxen an. Wenn lilglyphs mit dem Paket polyglossia und deutschen Spracheinstellungen benutzt wird, kommt der obengenannte Fehler:
Argument of \language@active@arg" has an extra }
Ich arbeite mit einer aktuellen Texlive-Installation. Mit Xelatex ist der Ausdruck ok.
\documentclass{article} \usepackage{polyglossia} \setdefaultlanguage[spelling=new, babelshorthands=true]{german} \usepackage{fontspec} \usepackage{lilyglyphs} \begin{document} \flatflat{} or \clefGInline. \end{document}
You should in general not use babel together with Lua/XeLaTeX and fontspec, at least it is not recommended.
AFAIK this is not true anymore. By contrast, I have now been advised to do prefer babel
over polyglossia
. So this may have to be revisited.
Das Minimalbeispiel vom Beginn der Dokumentation fügt den Zeichen unter Luatex Boxen an.
Did you test this with the Github version or are you using a release from CTAN or TeX Live? IIRC 06aa0a6db6b1710f3a276fd36ffe2bd6688087b0 should have fixed that issue.
OTOH lilyglyphs
is undergoing major changes right now, so maybe anything discussed here will be obsolete anyway. I'm still reopening this for further inverstigation.
Hi,
For those using an older version of the package, a workaround is:
\bgroup\shorthandoff{"}\crotchetRest\egroup
So it can be assumed the version just uploaded to CTAN fixes this issue.
lilyglyphs
is incompatible with the packagebabel
. Only thebabel
optionsgerman
andngerman
are affected. Somelilyglphys
macros are working fine withbabel