I do no know much about hyperref, but these hanges look strange to me.
Can someone comment?

> +     // since LyX uses unicode, also set the PDF strings to unicode strings 
> with the
> +     // hyperref option "unicode"
> +     opt += "unicode=true,\n ";

What happens when the output is _not_ unicode? What does this option
do exactly?

> +     // try to extract author and title from document when none is
> +     // explicitely given
> +     if (title.empty() && author.empty())
> +             opt += "pdfusetitle,\n ";

Why do this even if the author did not ask for it? Shouldn't it be an
additional option?

In general, adding options behind the user's back looks bad to me.

JMarc

Reply via email to