gls and lualatex

gls gives me very weird bug when running with lualatex. I don’t have such a problem with pdflatex.

It turns out that I simply can’t include \gls inside \section

But the error is extremely weird. It is complaining that an upper case glossary entry missing. I defined

\newglossaryentry{fg}{
  name={factor graph},
  description ={}
}
But it complains that FG entry is missing. It took me at least an hour to figure out this crazy bug.
btw, I also need to include
\usepackage{shellesc}
so that makeglossaries will work with lualatex

Leave a Reply

Your email address will not be published. Required fields are marked *