Jürgen Spitzmüller wrote:
But this will fail for sections and if the title contains for instance french and Japanese.
You're right.
Here's my test document and the resulting PDF. Looks correct to me. The ERT looks more complicated than what we'll need in the output finally.
It worked fine for me, too. Koji