Cross-references work in exactly the same way as usually in LyX: you first insert a label (choosing Insert-->Label from the menu), then insert a cross-reference at a point of your choice (choosing Insert-->Cross-reference from the menu). BUT: You can't cross-reference anything! Although it is certainly possible in LyX, it will not work when exported to SGML: you will get the error
xref to ANCHOR unsupported |
See Chapter 6 for a discussion of this error. For the moment, just remember that the only cross-references that work for our purposes are cross-references to
chapters, sections, subsections, subsubsections
figures
tables
but that's quite enough for cross-referencing.
![]() |
Always set labels! |
|---|---|
|
Labels of chapters and sections will become the HTML filenames of the files that contain them. Choose them wisely and make it a habit to always create a label for your new chapter and section as soon as you write down their titles! See Section 5.15 for more tips on this important issue. |
| Last updated Mon Sep 24 01:19:25 CEST 2007 | Permalink: http://www.karakas-online.de/mySGML/lyx-cross-references.html | All contents © 2002-2007 Chris Karakas |