RE: Cross-references within an Appendix

2006-07-05 Thread Curtis Osterhoudt




From: Curtis Osterhoudt [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Cross-references within an Appendix
Date: Wed, 05 Jul 2006 23:51:15 +


Hi, all,

   I have several figures, tables, etc. within various appendices in a 
document. I've been writing the appendices as separate LyX files, then 
INCLUDEing them in a master document, with (in ERT) an \appendixmore 
before each of the included files. Because of this, my appendices are named 
Appendix A, Appendix B, and so on (which I want).
  When I reference (say) a figure in Appendix C, either from within the 
main text, or from within Appendix C itself, the figure is referred to as 
Figure C, though the figure label itself is OK as Figure C.2 (or 
whatever). How may I fix this?


   Thanks!




  OK, so I'm going to at least partially respond to my own question.
  At least part of my problem has to do with the fact that most of my 
figures use the \caption[short caption]{ A possibly much longer caption 
here} format. The ones which do this have the (unwanted) cut off version 
of the cross-reference when they're referred to, but have the (correct) 
short captions shown in the TOC, and the long captions shown near the 
figures themselves. So I guess my original question should be amended to 
say: How can I get proper cross-references AND short captions in the TOC 
(without too much work :)  )?

   Thanks again!




RE: Cross-references within an Appendix

2006-07-05 Thread Curtis Osterhoudt




From: Curtis Osterhoudt [EMAIL PROTECTED]
To: [EMAIL PROTECTED], lyx-users@lists.lyx.org
Subject: RE: Cross-references within an Appendix
Date: Thu, 06 Jul 2006 00:01:18 +




From: Curtis Osterhoudt [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Cross-references within an Appendix
Date: Wed, 05 Jul 2006 23:51:15 +


Hi, all,

   I have several figures, tables, etc. within various appendices in a 
document. I've been writing the appendices as separate LyX files, then 
INCLUDEing them in a master document, with (in ERT) an \appendixmore 
before each of the included files. Because of this, my appendices are 
named Appendix A, Appendix B, and so on (which I want).
  When I reference (say) a figure in Appendix C, either from within the 
main text, or from within Appendix C itself, the figure is referred to as 
Figure C, though the figure label itself is OK as Figure C.2 (or 
whatever). How may I fix this?


   Thanks!




  OK, so I'm going to at least partially respond to my own question.
  At least part of my problem has to do with the fact that most of my 
figures use the \caption[short caption]{ A possibly much longer caption 
here} format. The ones which do this have the (unwanted) cut off version 
of the cross-reference when they're referred to, but have the (correct) 
short captions shown in the TOC, and the long captions shown near the 
figures themselves. So I guess my original question should be amended to 
say: How can I get proper cross-references AND short captions in the TOC 
(without too much work :)  )?

   Thanks again!




 Aha.
  I *knew* that I'd find an answer after posting all this junk.
  My problem was twofold (I think):
   1. I had the figure label BEFORE the \caption command. This, 
according to http://www.tex.ac.uk/cgi-bin/texfaq2html?label=crossref, is a 
no-no.
   2. I *suspect* that after changing the stuff in point 1., I 
should have saved and closed, then reopened the LyX file. Sometimes I have 
to do this to get things to reliably update.


Once I took care of both of the points, I got cross-references to behave as 
I think they should.


  Cheers! Hopefully these posts won't count as spam, but might help 
future searchers of the list (including, sadly, myself).





RE: Cross-references within an Appendix

2006-07-05 Thread Curtis Osterhoudt




From: Curtis Osterhoudt [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Cross-references within an Appendix
Date: Wed, 05 Jul 2006 23:51:15 +


Hi, all,

   I have several figures, tables, etc. within various appendices in a 
document. I've been writing the appendices as separate LyX files, then 
INCLUDEing them in a master document, with (in ERT) an \appendixmore 
before each of the included files. Because of this, my appendices are named 
Appendix A, Appendix B, and so on (which I want).
  When I reference (say) a figure in Appendix C, either from within the 
main text, or from within Appendix C itself, the figure is referred to as 
Figure C, though the figure label itself is OK as Figure C.2 (or 
whatever). How may I fix this?


   Thanks!




  OK, so I'm going to at least partially respond to my own question.
  At least part of my problem has to do with the fact that most of my 
figures use the \caption[short caption]{ A possibly much longer caption 
here} format. The ones which do this have the (unwanted) cut off version 
of the cross-reference when they're referred to, but have the (correct) 
short captions shown in the TOC, and the long captions shown near the 
figures themselves. So I guess my original question should be amended to 
say: How can I get proper cross-references AND short captions in the TOC 
(without too much work :)  )?

   Thanks again!




RE: Cross-references within an Appendix

2006-07-05 Thread Curtis Osterhoudt




From: Curtis Osterhoudt [EMAIL PROTECTED]
To: [EMAIL PROTECTED], lyx-users@lists.lyx.org
Subject: RE: Cross-references within an Appendix
Date: Thu, 06 Jul 2006 00:01:18 +




From: Curtis Osterhoudt [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Cross-references within an Appendix
Date: Wed, 05 Jul 2006 23:51:15 +


Hi, all,

   I have several figures, tables, etc. within various appendices in a 
document. I've been writing the appendices as separate LyX files, then 
INCLUDEing them in a master document, with (in ERT) an \appendixmore 
before each of the included files. Because of this, my appendices are 
named Appendix A, Appendix B, and so on (which I want).
  When I reference (say) a figure in Appendix C, either from within the 
main text, or from within Appendix C itself, the figure is referred to as 
Figure C, though the figure label itself is OK as Figure C.2 (or 
whatever). How may I fix this?


   Thanks!




  OK, so I'm going to at least partially respond to my own question.
  At least part of my problem has to do with the fact that most of my 
figures use the \caption[short caption]{ A possibly much longer caption 
here} format. The ones which do this have the (unwanted) cut off version 
of the cross-reference when they're referred to, but have the (correct) 
short captions shown in the TOC, and the long captions shown near the 
figures themselves. So I guess my original question should be amended to 
say: How can I get proper cross-references AND short captions in the TOC 
(without too much work :)  )?

   Thanks again!




 Aha.
  I *knew* that I'd find an answer after posting all this junk.
  My problem was twofold (I think):
   1. I had the figure label BEFORE the \caption command. This, 
according to http://www.tex.ac.uk/cgi-bin/texfaq2html?label=crossref, is a 
no-no.
   2. I *suspect* that after changing the stuff in point 1., I 
should have saved and closed, then reopened the LyX file. Sometimes I have 
to do this to get things to reliably update.


Once I took care of both of the points, I got cross-references to behave as 
I think they should.


  Cheers! Hopefully these posts won't count as spam, but might help 
future searchers of the list (including, sadly, myself).





RE: Cross-references within an Appendix

2006-07-05 Thread Curtis Osterhoudt




From: "Curtis Osterhoudt" <[EMAIL PROTECTED]>
To: lyx-users@lists.lyx.org
Subject: Cross-references within an Appendix
Date: Wed, 05 Jul 2006 23:51:15 +


Hi, all,

   I have several figures, tables, etc. within various appendices in a 
document. I've been writing the appendices as separate LyX files, then 
INCLUDEing them in a master document, with (in ERT) an "\appendixmore" 
before each of the included files. Because of this, my appendices are named 
"Appendix A", "Appendix B", and so on (which I want).
  When I reference (say) a figure in Appendix C, either from within the 
main text, or from within Appendix C itself, the figure is referred to as 
"Figure C", though the figure label itself is OK as "Figure C.2" (or 
whatever). How may I fix this?


   Thanks!




  OK, so I'm going to at least partially respond to my own question.
  At least part of my problem has to do with the fact that most of my 
figures use the \caption[short caption]{ A possibly much longer caption 
here} format. The ones which do this have the (unwanted) "cut off" version 
of the cross-reference when they're referred to, but have the (correct) 
short captions shown in the TOC, and the long captions shown near the 
figures themselves. So I guess my original question should be amended to 
say: How can I get proper cross-references AND short captions in the TOC 
(without too much work :)  )?

   Thanks again!




RE: Cross-references within an Appendix

2006-07-05 Thread Curtis Osterhoudt




From: "Curtis Osterhoudt" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], lyx-users@lists.lyx.org
Subject: RE: Cross-references within an Appendix
Date: Thu, 06 Jul 2006 00:01:18 +




From: "Curtis Osterhoudt" <[EMAIL PROTECTED]>
To: lyx-users@lists.lyx.org
Subject: Cross-references within an Appendix
Date: Wed, 05 Jul 2006 23:51:15 +


Hi, all,

   I have several figures, tables, etc. within various appendices in a 
document. I've been writing the appendices as separate LyX files, then 
INCLUDEing them in a master document, with (in ERT) an "\appendixmore" 
before each of the included files. Because of this, my appendices are 
named "Appendix A", "Appendix B", and so on (which I want).
  When I reference (say) a figure in Appendix C, either from within the 
main text, or from within Appendix C itself, the figure is referred to as 
"Figure C", though the figure label itself is OK as "Figure C.2" (or 
whatever). How may I fix this?


   Thanks!




  OK, so I'm going to at least partially respond to my own question.
  At least part of my problem has to do with the fact that most of my 
figures use the \caption[short caption]{ A possibly much longer caption 
here} format. The ones which do this have the (unwanted) "cut off" version 
of the cross-reference when they're referred to, but have the (correct) 
short captions shown in the TOC, and the long captions shown near the 
figures themselves. So I guess my original question should be amended to 
say: How can I get proper cross-references AND short captions in the TOC 
(without too much work :)  )?

   Thanks again!




 Aha.
  I *knew* that I'd find an answer after posting all this junk.
  My problem was twofold (I think):
   1. I had the figure label BEFORE the \caption command. This, 
according to http://www.tex.ac.uk/cgi-bin/texfaq2html?label=crossref, is a 
no-no.
   2. I *suspect* that after changing the stuff in point 1., I 
should have saved and closed, then reopened the LyX file. Sometimes I have 
to do this to get things to reliably update.


Once I took care of both of the points, I got cross-references to behave as 
I think they should.


  Cheers! Hopefully these posts won't count as spam, but might help 
future searchers of the list (including, sadly, myself).