Monthadar Al Jaberi wrote:
Hi!

Thank you for your replies.

I still can't see the name of the section when I make a cross-reference.

I have LyX 1.6.1 on Windows 2000
Document class: book
I made a label on section 2 in chapter 2.

The formats that I have available <=> result:
<reference> <=> "2.2"
(<reference>) <=> (2.2)
<page> <=> "5"
on page <page> <=> "on page 5"
<reference> on page <page> <=> "2.2 on page 5"
formatted reference <=> "Section 2.2"

So none of them writes out the name of the section.

That's right. LyX can't do that right now.

And I don't know how to write in ERT. Can you give me some guideness?

You'll need to put "\usepackage{nameref}" into your preamble, under Document>Settings, and then do: \nameref(LABEL}, in ERT where you want it.

Thank you!

P.S. I don't know how to answer back to the mailing list without
making it a new thread.

Just hit "reply to all".

rh

Reply via email to