Re: Cross-reference figure X using newref in lyx 2.0 - newref command ignored - no figure in the pdf - example from the manual

2012-08-30 Thread Tim Meke
2012/7/26 Richard Heck rgh...@lyx.org

  On 07/26/2012 01:05 PM, Tim Meke wrote:


 2012/7/26 Richard Heck rgh...@lyx.org

  On 07/25/2012 03:08 PM, Tim Meke wrote:

 Hello,

 I would like to use crossreferences like That statistics leads to see
 the same conclusion (figure 3).
 The word figure should be included automatically. I read the manual
 and tried the formatted cross-reference.


 The example from the German manual (EmbeddedObjects, 3.4.1) is, which is
 my whole preamble :

 \newref{abb}{refcmd={Bild auf Seite \pageref{#1}}}

The problem is the abb, I think. The label on your figure is
 fig:whatever, not abb:whatever. They have to match.

 Richard


Hello,

I tried it with figure now in the preamble:

\newref{figure}{refcmd={Bild auf Seite \pageref{#1}}}


The document language is English. But it does not work either.


Btw., did you notice we did not write to the mailing list for the last
messages?

What do I need to do?


Re: Cross-reference figure X using newref in lyx 2.0 - newref command ignored - no figure in the pdf - example from the manual

2012-08-30 Thread Tim Meke
2012/7/26 Richard Heck rgh...@lyx.org

  On 07/26/2012 01:05 PM, Tim Meke wrote:


 2012/7/26 Richard Heck rgh...@lyx.org

  On 07/25/2012 03:08 PM, Tim Meke wrote:

 Hello,

 I would like to use crossreferences like That statistics leads to see
 the same conclusion (figure 3).
 The word figure should be included automatically. I read the manual
 and tried the formatted cross-reference.


 The example from the German manual (EmbeddedObjects, 3.4.1) is, which is
 my whole preamble :

 \newref{abb}{refcmd={Bild auf Seite \pageref{#1}}}

The problem is the abb, I think. The label on your figure is
 fig:whatever, not abb:whatever. They have to match.

 Richard


Hello,

I tried it with figure now in the preamble:

\newref{figure}{refcmd={Bild auf Seite \pageref{#1}}}


The document language is English. But it does not work either.


Btw., did you notice we did not write to the mailing list for the last
messages?

What do I need to do?


Re: Cross-reference "figure X" using newref in lyx 2.0 - newref command ignored - no "figure" in the pdf - example from the manual

2012-08-30 Thread Tim Meke
2012/7/26 Richard Heck 

>  On 07/26/2012 01:05 PM, Tim Meke wrote:
>
>
> 2012/7/26 Richard Heck 
>
>>  On 07/25/2012 03:08 PM, Tim Meke wrote:
>>
>>> Hello,
>>>
>>> I would like to use crossreferences like "That statistics leads to see
>>> the same conclusion (figure 3)."
>>> The word "figure" should be included automatically. I read the manual
>>> and tried the formatted cross-reference.
>>>
>>>
>>> The example from the German manual (EmbeddedObjects, 3.4.1) is, which is
>>> my whole preamble :
>>>
>>> \newref{abb}{refcmd={Bild auf Seite \pageref{#1}}}
>>>
>>>The problem is the "abb", I think. The label on your figure is
> "fig:whatever", not "abb:whatever". They have to match.
>
> Richard
>
>
Hello,

I tried it with "figure" now in the preamble:

\newref{figure}{refcmd={Bild auf Seite \pageref{#1}}}


The document language is English. But it does not work either.


Btw., did you notice we did not write to the mailing list for the last
messages?

What do I need to do?


Re: Cross-reference figure X using newref in lyx 2.0 - newref command ignored - no figure in the pdf - example from the manual

2012-07-25 Thread Richard Heck

On 07/25/2012 03:08 PM, Tim Meke wrote:

Hello,

I would like to use crossreferences like That statistics leads to see 
the same conclusion (figure 3).
The word figure should be included automatically. I read the manual 
and tried the formatted cross-reference.



The example from the German manual (EmbeddedObjects, 3.4.1) is, which 
is my whole preamble :


\newref{abb}{refcmd={Bild auf Seite \pageref{#1}}}


The shortcut I refer to is within the caption of the figure. I use a 
formatted reference.



In the document preferences I have checked Use refstyle (instead of 
prettyref)


But in the pdf in just says (3.1).

Tested in lyx 2.0.0 and 2.0.4 using Ubuntu 11.10.


How can I accomplish this?

Please post a stripped down, minimal file exhibiting the problem. E.g, 
one figure, one cross-reference, not much else.


rh




Re: Cross-reference figure X using newref in lyx 2.0 - newref command ignored - no figure in the pdf - example from the manual

2012-07-25 Thread Richard Heck

On 07/25/2012 03:08 PM, Tim Meke wrote:

Hello,

I would like to use crossreferences like That statistics leads to see 
the same conclusion (figure 3).
The word figure should be included automatically. I read the manual 
and tried the formatted cross-reference.



The example from the German manual (EmbeddedObjects, 3.4.1) is, which 
is my whole preamble :


\newref{abb}{refcmd={Bild auf Seite \pageref{#1}}}


The shortcut I refer to is within the caption of the figure. I use a 
formatted reference.



In the document preferences I have checked Use refstyle (instead of 
prettyref)


But in the pdf in just says (3.1).

Tested in lyx 2.0.0 and 2.0.4 using Ubuntu 11.10.


How can I accomplish this?

Please post a stripped down, minimal file exhibiting the problem. E.g, 
one figure, one cross-reference, not much else.


rh




Re: Cross-reference "figure X" using newref in lyx 2.0 - newref command ignored - no "figure" in the pdf - example from the manual

2012-07-25 Thread Richard Heck

On 07/25/2012 03:08 PM, Tim Meke wrote:

Hello,

I would like to use crossreferences like "That statistics leads to see 
the same conclusion (figure 3)."
The word "figure" should be included automatically. I read the manual 
and tried the formatted cross-reference.



The example from the German manual (EmbeddedObjects, 3.4.1) is, which 
is my whole preamble :


\newref{abb}{refcmd={Bild auf Seite \pageref{#1}}}


The shortcut I refer to is within the caption of the figure. I use a 
formatted reference.



In the document preferences I have checked "Use refstyle (instead of 
prettyref)...".


But in the pdf in just says "(3.1)".

Tested in lyx 2.0.0 and 2.0.4 using Ubuntu 11.10.


How can I accomplish this?

Please post a stripped down, minimal file exhibiting the problem. E.g, 
one figure, one cross-reference, not much else.


rh