Guy Hindell wrote:
Sorry if I'm asking a question to which there is an obvious answer...
How can I get LyX to use \prettyref from the prettyref.sty package
rather than the usual \ref when I export to latex? I have
\usepackage{prettyref} in the preamble, but that doesn't seem to be
enough.
guy
Ah, OK, I was missing the obvious - choosing "Formatted Reference" as
the format in the Cross-reference dialog does the job. However, after
all that I suspect I really want the \autoref command from the
hyperref.sty package. The reason is that I am editing material from
different authors together into a single document, so I want to be free
to rearrange things without having to review the text which accompanies
the use of cross references.
So my question should have been - how can I get lyx to always export
using \autoref rather than \ref, or alternatively, is there any magic I
can use in the preamble to achieve the same result?
guy