]> git.lyx.org Git - features.git/commit
Fix second part of #5386.
authorGünter Milde <milde@lyx.org>
Thu, 24 Jan 2019 13:40:19 +0000 (14:40 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 12:39:57 +0000 (14:39 +0200)
commit612825dca78633200afd73cc62f6d08178e4627c
tree94d7229ace4e06924999f7a227d383313749b057
parent5ec18f7bc0de1f3abd3cd4a57e57ff3606a82495
Fix second part of #5386.

A \clearpage command issued right before \end{CJK} is recommended by the
package author to prevent any un-processed CJK chars outside the
\begin{CJK} and \end{CJK} scope. Otherwise, TOC, header, footer,
and may contain CJK chars but get processed outside the CJK environment scope.

Tha new dedicated export test fails without the fix.
autotests/export/latex/CJK/zh_CN-toc.lyx [new file with mode: 0644]
src/output_latex.cpp