rgheck <rgh...@...> writes:

> 
> On 03/20/2010 04:54 AM, Jean-Pierre Chrétien wrote:
> > rgheck<rgh...@...>  writes:

> > Then all problems due to : being active in French vanish, either coming
from the
> > use of varioref or from the use of formatted references.
> > As refstyle make the sensitivity to active characters disappear, it seems
that
> > the issue of a change of the labelling disappears as well.
> >
> >    
> Great.

I guess I got enthousiastic a bit early: my test file had hyperref checked, 
when I uncheck it, the varioref issue with ":" is back.

I understand now that I sould not have mixed varioref and prettyref in bug 6420,
these come from the same active character in labels but are really different, 
as :
 - the varioref bug, e;g. with vpageref in French babel:

! Missing \endcsname inserted.
<to be read again> 
                   :
l.14 ... section \vpageref{sec:Premier-paragraphe}

appears currently in branch and trunk (refstyle patch applied or not).

This one is solved either by adding 

\usepackage{nameref}

before

\usepackage{varioref}

in the preamble (this can only be done currently by modifying the LyX sources),
or by coding in ERT, e.g.

{\shorthandoff{:}{\vpageref{sec:Premier-paragraphe}}}

instead of

\vpageref{sec:Premier-paragraphe}

 - the prettyref bug is solved by going to refstyle, or by the \shorthandoff
command.

So the varioref bug could be retargeted to the 1.6 series (Jürgen ?), while your
refstyle patch solves the prettyref bug (and opens perspectives towards a much
wider coverage of sophisticated crossref coding).

What should I do on the bugtracker ? Open o fresh bug about varioref targeted to
1.6.6 ? Inserting \usepackage{nameref} (which is just an early loading of the
nameref and refcount packages) should not raise issues, unless it needs a format
change. And with 1.6.6svn, the UserGuide fails to open, with or without hyperref
activated.

-- 
Jean-Pierre




Reply via email to