Spanish style of babel system provides some user options for fine
settings or special conflicts prevention.

When I check the hyperref support in LyX document setting, the
spanish.ldf user options don't work. babel is loaded before.

However, if I insert manually hyperref in the LyX latex preamble,
spanish user commands work now. babel is loaded after.

Do you think that is right? Is there any mistake in either of the
packages or in LyX?

Thanks in advance
Ignacio García

Here is the relevant latex output in both cases:

Hyperref loaded in LyX document setting:

 \documentclass[spanish]{article}
 \usepackage[T1]{fontenc}
 \usepackage[latin9]{inputenc}
 \usepackage{babel}

 \usepackage[unicode=true, pdfusetitle,
  bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
  breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false]
  {hyperref}

 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
 \def\spanishoptions{es-minimal}

 \begin{document}

Hyperref loaded in LyX latex preamble:

 \documentclass[spanish]{article}
 \usepackage[T1]{fontenc}
 \usepackage[latin9]{inputenc}

 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
 \def\spanishoptions{es-minimal}
 \usepackage[unicode=true, pdfusetitle,
  bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
  breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false]
  {hyperref}

 \usepackage{babel}

 \begin{document}

Reply via email to