Jürgen Spitzmüller wrote: > Richard Heck wrote: >> Longer term, something more extensive might be done. But will this do >> for now? > > Don't know. Ask Georg why he put in the assertion.
To find programming errors. If this assertion triggers then there is some error in the program logic that would result in unbalanced CJK environments. This is always a programming error, never a user error since the user has no direct control over the output of CJK environments. Since the LaTeX export code is quite complicated I could not verify that this case never occurs by auditing it. IMHO this assert is very useful and should stay. The real problem should be solved instead of removing it. Georg