Open kohlhase opened 1 year ago
This error is being cause by an \inputref[smglom/grammar]{mod/BNF.en}
at a position where ?BNF
is already in context. As a result, in the \inputref
the module BNF
is instantiated anew, but none of the symbol declarations do anything since the symbols already exist, resulting in (at \end{smodule}
) a new, but empty ?BNF
overwriting the old one.
This should be fixed by making sure that declarations that already exist properly overwrite the existing ones.
When I format
MiKoMH/AI/source/course/notes/notes-part1.tex
, then I get the errors:they are in
MiKoMH/AI/source/prereq/slides/aibnf.en.tex
which works fine when formatted separately. And I have no idea why this is not loaded. The only thing that I can see is thatBNF.en.tex
is loaded three times: the usual two times for the dependencies and one more time directly before the errors are thrown.Interestingly no other module give me these problems, ...