[tex-live] Potential bug in galician language support
Mourelos Martínez Jacob
jacob.mourelos at gmail.com
Tue Sep 22 01:24:19 CEST 2015
Hi all,
I am trying to use Lyx 2.1.3 to create a small document using galician as
language. I am using Arch Linux and texlive-core 2015.37554-1. The
generation of the PDF fails with the following error (from the log):
! LaTeX Error: Missing \begin{document}.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type H <return> for immediate help.
> ...
> l.25 \select at language{galician}
> You're in trouble here. Try typing <return> to proceed.
> If that doesn't work, type X <return> to quit.
> ! Extra }, or forgotten \endgroup.
> \extrasgalician ...*xtbefore {na p\'axina anterior}*
> \def \reftextcurrent {nest...
> l.25 \select at language{galician}
Looking into /usr/share/texmf-dist/tex/latex/tools/varioref.sty I noticed
the following lines in the galician section:
\let\reftextafter {na p\'axina seguinte}%
> \let\refte*xtbefore {na p\'axina anterior}*%
I do not know any TeX, but I observed that for all the other languages
either "def" is used instead of "let" for the equivalent lines or, if "let"
is used, is assigned to a "def" assignment. Based on this I replaced both
"let"s by "def"s in the previously mentioned lines of the galician section
and, after that, Lyx was able to generate the PDF.
It looks to me like a bug, but due to my limited knowledge I considered
that others should evaluate it.
The source to generate the sty file is this dtx:
http://ctan.space-pro.be/tex-archive/macros/latex/required/tools/varioref.
dtx
Please, let me know if you need any additional information.
Regards,
Jacob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20150922/81abd603/attachment.html>
More information about the tex-live
mailing list