Am Dienstag, 7. Februar 2012 um 15:29:13, schrieb Jürgen Spitzmüller 
<sp...@lyx.org>
> Kornel Benko wrote:
> > if I try tu use cross-references like "<reference> on page <page>", the
> > created latex is not compilable.
>
> Details, please.


This is the latex output without cleveref
...

[37]

LaTeX Warning: Reference `tab:2_3 Liste-Realtime-PCR' on page 38 undefined on i
nput line 286.

! Argument of \@secondoffive has an extra }.
<inserted text>
                \par
l.286 ...PCR}\vpageref{tab:2_3 Liste-Realtime-PCR}
                                                  )
I've run across a `}' that doesn't seem to match anything.
For example, `\def\a#1{...}' and `\a}' would produce
this error. If you simply proceed now, the `\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.

Runaway argument?
! Paragraph ended before \@secondoffive was complete.
<to be read again>
                   \par
l.286 ...PCR}\vpageref{tab:2_3 Liste-Realtime-PCR}
                                                  )
I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.


Package hyperref Warning: Empty destination name,
(hyperref)                using `UNDEFINED' on input line 286.

...
With cleveref there everything looks ok
...

[35] [36] [37]

LaTeX Warning: `h' float specifier changed to `ht'.

[38]
...

> > After some googling this seems to be an effect of loading package hyperref
> > together with varioref.
> >
> > A working solution was for me to load also package cleveref
> >
> > e.g.
> >
> >         ...
> >         %
> >         \usepackge{varioref} % loaded automatically
> >         ...
> >         \usepackge[unicode=true]{hyperref} % loaded automatically
> >         ...
> >         % later in preamble
> >         \usepackge{cleveref}
> >
> >
> > Could it be added automatically too if needed?
>
> I doubt this is the correct solution.
>
> Jürgen

Maybe, I don't know better.
This is the link, where I took the idea from
        
"http://www.golatex.de/varioref-funktioniert-nicht-mit-hyperref-t4145.html";

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to