[tex-live] clash between babel (french), hyperref and \cite on keys with a colon character

Zdenek Wagner zdenek.wagner at gmail.com
Mon Sep 22 19:00:03 CEST 2014


2014-09-22 18:39 GMT+02:00 Vincent Lefevre <vincent at vinc17.net>:
> On 2014-09-22 16:34:21 +0100, Robin Fairbairns wrote:
>> Vincent Lefevre <vincent at vinc17.net> wrote:
>> > On 2014-09-22 15:55:24 +0100, Robin Fairbairns wrote:
>> >
>> > > it is a feature because it's insoluble when using tex or latex.
>> >
>> > Why insoluble? What's the problem with redefining \cite?
>>
>> it's trivial, of course.  except that there are quite a few definitions
>> of \cite, and you need to know which properties are needed by each use
>> of each version.
>
> OK, I didn't think about that. There's still the question whether
> it could be an hyperref bug (see jfbu's answer).
>
>> and indeed, what's wrong with switching off active status before use of
>> a punctuation mark in a macro?
>>
>> imo, the only _real_ solution involves switching to a "cleverer"
>> tex-like processor.
>
> I've just tried lualatex (to compare), but the PDF bookmarks are
> displayed as if ISO-8859-1 were used, while the source is in UTF-8.
>
If I remember it well, you must explicitly specify the unicode option
in lualatex but must not specify it in xelatex.

> And xelatex seems fine.
>
> Now, perhaps the use of pdflatex should be discouraged in a visible
> way.
>
It should be discouraged but you cannot just take an old document and
compile it with a modern engine, you may get into problems. I think
that pdflatex will continue to live many years. I have too many boks
prepared within past years in pdflatex and I have to compile them
again, and there are certainly others who need exactly that. If you
have the option to use XeLaTeX and polyglossia instead of babel, it is
a better solution but some publishers will not accept it.

> --
> Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



More information about the tex-live mailing list