[Tuglist] Please help with \ref

Manoj K N tuglist@tug.org.in
Fri, 24 May 2002 14:04:29 +0530


On Fri, May 24, 2002 at 10:50:57AM +0530, Dr. Dinesh Karia wrote:

>     Thanks for your reply. But you are making another question and it does
> not solve my problem. Well, I need to change the numbering scheme in my
> document. I prefer (a) (b) .... at some places and (1) (2) ..... at other.
> So, I have to change this environment. But my question still stands. When in
> dvi file an item is listed as (i) (ii).. etc how is it that its reference
> appears as (1) (2) etc....? This is what is happening in my sample listed in
> my mail. I am not curtailing this mail so that ppl can refer to my sample.

I do *not* know that goes on with \ref command, but it *appears* that it
does something like \theenumi which is defined in
$TEXMF/tex/latex/base/article.cls as \@arabic\c@enumi. Therefore changing
\labelenumi does not affect the way the counter is printed in \ref.

Can someone confirm this?

Thanks.

With regards,
Manoj.

-- 
Manoj K N,
Texas Instruments India Limited, 
Wind Tunnel Road, Bangalore. PIN: 560017.
Karnataka, India.

Ph: +91-80-5099894

12 Deg 58 Min N, 77 Deg 39 Min E