70 reputation
7
bio website
location Toulouse, France
age
visits member for 2 years, 5 months
seen Aug 15 at 19:55

May
23
awarded  Teacher
May
23
answered Texstudio: modify size of line numbers
Jun
18
accepted How to redefine \label, \ref and \pageref in a way compatible with varioref?
Jun
16
comment How to redefine \label, \ref and \pageref in a way compatible with varioref?
@HeikoOberdiek: Ok, now I am working with TeXLive 2012. The MWE with your patch compile. \vref works perfectly but \vpageref{fig} has the same output as page~\pageref{fig}. Loading package varioref in block \AtBeginDocument make \vpageref works properly. But when I add babel for french language, Bada Boum ! Missing \endcsname inserted. <to be read again> \penalty l.47 Example 1: figure~\vref{fig:example1} ?! Extra \endcsname. \@ifundefined ...dafter \ifx \csname #1\endcsname \relax \expandafter \@firs...
Jun
15
comment How to redefine \label, \ref and \pageref in a way compatible with varioref?
@Heiko Oberdiek: I get Missing \endcsname inserted. <to be read again> :. According to egreg: "The problem is that varioref and cref don't like babel shorthands in the labels." Putting \shorthandoff{:} in \AtBeginDocument is another solution.
Jun
15
comment How to redefine \label, \ref and \pageref in a way compatible with varioref?
There is problem too with babel for french language. Replacing the active character ':' in labels with '-', or \usepackage[babel,kerning=true]{microtype} solve the problem.
Jun
15
comment How to redefine \label, \ref and \pageref in a way compatible with varioref?
Thanks, but :-) the MWE does not compile with hyperref package. I replaced \let by \LetLtxMacro as you said here. But at compile time, I get: TeX Warning: Reference 'global:global:fig:example1' on page 1 undefined on in put line 44.
Jun
14
revised How to redefine \label, \ref and \pageref in a way compatible with varioref?
typo
Jun
14
asked How to redefine \label, \ref and \pageref in a way compatible with varioref?
Jun
11
awarded  Informed
Mar
13
awarded  Scholar
Mar
13
awarded  Supporter
Mar
13
accepted Incorrect vertical spacing inside a mdframed environment
Mar
5
awarded  Student
Mar
5
awarded  Editor
Mar
5
revised Incorrect vertical spacing inside a mdframed environment
Remove unnecessary package in the example
Mar
5
asked Incorrect vertical spacing inside a mdframed environment
Aug
19
awarded  Analytical