LaTeX forum ⇒ LyXFinding cross-references

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Paul Richards
Posts: 13
Joined: Mon Jan 31, 2011 5:16 pm

Finding cross-references

Postby Paul Richards » Wed Jan 16, 2013 12:20 am

Is there a way in LyX to find all the cross-references to a particular label? I use child documents.

I have to restructure my thesis, and two chapters are being merged into one. That means the chapters will become sections, and the sections sub-sections, and so on.
  • Therefore, references to chapter 7 will become section 6.2.
  • Also, my subsubsections will have to be dealt with since I can't have 5 levels of subdivision in my thesis. For example, subsection 7.1.1 will become subsubsection 6.2.1.1. This will happen automatically as a result of demoting the chapter. However, subsubsection 7.1.1.1 will be converted to an un-numbered paragraph, and any references to it will need to be altered to refer to its parent (subsubsection 6.2.1.1 in the new document).

Tags:

scottkosty
Site Moderator
Posts: 531
Joined: Sat Sep 01, 2012 6:38 am

Postby scottkosty » Mon Jan 28, 2013 6:23 am

Paul Richards wrote:Is there a way in LyX to find all the cross-references to a particular label? I use child documents.

I have to restructure my thesis, and two chapters are being merged into one. That means the chapters will become sections, and the sections sub-sections, and so on.
  • Therefore, references to chapter 7 will become section 6.2.
  • Also, my subsubsections will have to be dealt with since I can't have 5 levels of subdivision in my thesis. For example, subsection 7.1.1 will become subsubsection 6.2.1.1. This will happen automatically as a result of demoting the chapter. However, subsubsection 7.1.1.1 will be converted to an un-numbered paragraph, and any references to it will need to be altered to refer to its parent (subsubsection 6.2.1.1 in the new document).


I don't know of a way to do this in LyX. Sometimes in these situations a plain text editor is useful. LyX's file format is stored as plain text. So find/replace works fine. You do have to be careful though. If you find yourself doing this often, take a look at:
http://wiki.lyx.org/Examples/FindAmpReplaceLyXFormat

Scott


Return to “LyX”

Who is online

Users browsing this forum: No registered users and 3 guests