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

```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/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/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?

```

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

```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?

```

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

```
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

```

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

```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?

```

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

```
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

```

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

```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?

```

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

```
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

```
{"extraction_info": {"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.9914864897727966, "perplexity": 17980.596460973033}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2022-49/segments/1669446711552.8/warc/CC-MAIN-20221209213503-20221210003503-00658.warc.gz"}