Hi,
how exactly does the self-defining work?
I found something like that in the documentation:
\newrefformat{sec}{Section \ref{#1} on page \pageref{#1}}
but is there a way to define different ways to reference e.g. a section?
And if so, how do I chose which one I want?
Toby
-------- Original Message --------
Subject: Re: want to add new format options to cross-reference
From: Richard Heck <[EMAIL PROTECTED]>
To: nooj <[EMAIL PROTECTED]>
Date: Fri Dec 07 2007 17:52:57 GMT+0100
nooj wrote:
I'm using 1.5.2, and I have cross references in my document. There
are four options for the output format:
<reference>
(<reference>)
<page>
on page <page>
<reference> on page <page>
Formatted reference
First of all, I spent hours testing and rereading the documentation
trying to figure out why my "Formatted reference"s didn't behave like
my "<reference> on page <page>", until I waded through the latex code
outputted by LyX and noticed one uses \prettyref and one uses \vref.
Then I had to track down where the hell those commands came from, and
eventually read both the varioref and prettyref manuals.
Someone please document somewhere reasonable that "Formatted
reference" uses prettyref.sty, but the others use varioref.sty. I
use LyX so I
won't have to read or write LaTeX code any more. Apparently that's
not possible.
You might add this request to bugzilla. And, better still, attach a
patch with a draft of the documentation you'd like to see. I agree
that what's there now is pretty unclear. It would be nice if it were
explained in the docs how to create these "self-defined" reference
formats.
Richard