Closed kohlhase closed 3 years ago
I can't get sed.tex
to work either... I get Module program-execution not loaded
in GenICT/source/python/nutshell.tex. MiKoMH/TDM and MiKoMH/GenICT are up to date...
I cannot reproduce your problem. pulled/pushed all, does that help you?
I am on master BTW
pulled everything, still doesn't work though :/ Seemes also related to lstlistings though, wil investigate...
Okay, I think I've gotten to the root of the problem now, but I currently have no solution:
\lstinline
and lstlisting
-environments need to be "executed", to add required support for unicode characters.\lstinline
and lstlisting
-environments can activate math escape, in which case arbitrary macros can occur in its body, which (in smsmode) are not necessarily defined, leading to very unexpected behaviourI think the correct solution is to not allow lstlisting in smsmode after all, and instead allow for arbitrary unicode in smsmode. Will need to figure out how to do that...
I have converted to \lstinputmhlisting
and that works for me.
I have the feeling that your implementation of \lstinine
only works as \lstinline|...|
but not with \lstinline!...!
. I have also eliminated almost all of these but there is still one in .../sed.tex
with
\lstinline!.*\.html|.*\.txt!
where I cannot,.
I have the feeling that your implementation of
\lstinine
only works as\lstinline|...|
but not with\lstinline!...!
.
No, that wasn't it. I'm now working on a solution by ignoring everything lst again, and instead temporarily redefining \PackageError
(which is what inputenc uses to throw unicode errors) - not the nicest solution, but it's probably within the intended specification of smsmode...
"solved" in last push. listings are now being ignored again, but PackageError is disabled in smsmode, which should suppress the unicode errors in listings. Notably, this will also suppress sTeX errors, but that should be no problem, since these will reappear when the module being read is actually activated subsequently...
excellent, thanks.
when formatting
.../MathHub/MiKoMH/TDM/source/doccomp/en/perl.tex
, I getThe problem seems to be in import of
./sed.tex
, which contains listings, but if formatted alone, that gives no problems.