Re: confusing cross-references

2010-11-15 Thread Julien Rioux
On 15/11/2010 12:40 PM, Jack Tanner wrote: One more thing I can't figure out. Formatted Reference always gives me "figure 3 on page foo". How can I make it give me just "figure 3"? In the preamble: \newrefformat{fig}{figure~\ref{#1}} and if you use hyperlinks and want "figure 3" to be clickabl

Re: confusing cross-references

2010-11-15 Thread Uwe Stöhr
Am 15.11.2010 07:04, schrieb Jack Tanner: In other words, instead of using the figure number, it's using the section number. Is this to be expected? Yes, because your label is not in the caption. For other references like \vref this is not a problem, but prettyref is special and has also some

Re: confusing cross-references

2010-11-15 Thread Jack Tanner
On 11/15/2010 12:24 PM, Jack Tanner wrote: On 11/15/2010 8:11 AM, stephen's mailinglist account wrote: What you are getting for your float is the section number and similarly for your figure because it is not after the caption. You're completely right. One more thing I can't figure out. Forma

Re: confusing cross-references

2010-11-15 Thread stephen's mailinglist account
using http://en.wikibooks.org/wiki/LaTeX/Labels_and_Cross-referencing as a reference. "When a label is declared within a float environment, the \ref{...} will return the respective fig/table number, but it must occur after the caption. When declared outside, it will give the section number. To be

Re: confusing cross-references

2010-11-15 Thread stephen's mailinglist account
On 15 November 2010 06:04, Jack Tanner wrote: > Something is really screwy with the references in this simple document under > LyX 1.6.7. > > The key sentence should get rendered in PDF (via pdflatex) as > > here be a formatted reference to  figure 1, which lives in section 2: Figure > 1 on page 1

confusing cross-references

2010-11-14 Thread Jack Tanner
Something is really screwy with the references in this simple document under LyX 1.6.7. The key sentence should get rendered in PDF (via pdflatex) as here be a formatted reference to figure 1, which lives in section 2: Figure 1 on page 1. and here be a reference to the float label: 1 Inste