[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#862497: texlive-lang-portuguese: Extra \endcsname



Hi,

On Mon, May 15, 2017 at 07:42:29AM +0900, Norbert Preining wrote:
> tags + 862497 moreinfo
> thanks
> 
> Dear Osamu,
> 
> thanks for your investigation and test case.

Thanks for quick reply.
 
> > Careful tracing of the bug lead me to the following minimal source case
> > and root cause pf the problem seems to be this texlive-lang-portuguese
> > package.  I suspect the file:
> >   /usr/share/texlive/texmf-dist/tex/generic/babel-portuges/portuges.ldf
> 
> Since docbook.sty is hacking around in lots of corners, and hasn't probably
> been updated to current babel, please check first whether this is a genuine
> babel bug, that is whether it happens with babel-portugues but *not* using
> third-party modules like docbook.sty/dblatex.

Thanks for your explanation.  I also realized broken pt.pdf build leaves
bogus @ at the end of line causing problem in generated PDF.
 
> I tried to dig into the dblatex code, but it is so painfully convoluted
> that I don't see the real chance to go to the bottom of it.

True.

> If you can reproduce the bug with a plain latex + babel-portugues *only*
> setup, I will forward it to the authors/babel team.

Now I wonder the root cause is something like \makeatother invoked by a
some system macro such as one from dblatex when the TeX code should
still be under \makeatletter for babel.  Probable because docbook.sty.

Maybe it is easier to make minimal dblatex example and ask dblatex
folks.  After all this bug may be coming from it.  Let me think ...

TeX is tough.

Osamu


Reply to: