Re: Citations in Captions

2008-03-26 Thread Jean-Marc Lasgouttes
rgheck <[EMAIL PROTECTED]> writes: >> Something like this should work. >> > Hmm. Now, as JMarc said, I'm not seeing this. Note that my (old) latex docs mention that \cite is fragile, and thus \protect is the right thing to do. I do not know what happens with natbib, though. JMarc

Re: Citations in Captions

2008-03-26 Thread rgheck
Jean-Marc Lasgouttes wrote: rgheck <[EMAIL PROTECTED]> writes: Should that work? It doesn't, unless you manually protect the citation. See the attached. Something like this should work. Hmm. Now, as JMarc said, I'm not seeing this. rh

Re: Citations in Captions

2008-03-26 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: > Jean-Marc Lasgouttes wrote: >> Something like this should work. > > looks sensible. Put it in, if it works. I do not see the bug without the protect. Richard, I'll let you check and handle it. JMarc

Re: Citations in Captions

2008-03-26 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > Something like this should work. looks sensible. Put it in, if it works. Jürgen

Re: Citations in Captions

2008-03-26 Thread Jean-Marc Lasgouttes
rgheck <[EMAIL PROTECTED]> writes: > Should that work? It doesn't, unless you manually protect the > citation. See the attached. Something like this should work. JMarc svndiff src/insets/ Index: src/insets/InsetCitation.cpp === --

Re: Citations in Captions

2008-03-26 Thread rgheck
Jürgen Spitzmüller wrote: rgheck wrote: No, it doesn't. Of course, it's not obvious you really want to do this. The citation then shows up in the list of figures. Sure, but we shouldn't bail out with an error either (and people can use short titles for the LOF). OK. I've bugzill

Re: Citations in Captions

2008-03-26 Thread Jürgen Spitzmüller
rgheck wrote: > No, it doesn't. Of course, it's not obvious you really want to do this. > The citation then shows up in the list of figures. Sure, but we shouldn't bail out with an error either (and people can use short titles for the LOF). Jürgen

Re: Citations in Captions

2008-03-26 Thread rgheck
Jürgen Spitzmüller wrote: rgheck wrote: Should that work? It doesn't, unless you manually protect the citation. See the attached. If it doesn't, we should make it work, IMHO. No, it doesn't. Of course, it's not obvious you really want to do this. The citation then shows up in the

Re: Citations in Captions

2008-03-26 Thread Jürgen Spitzmüller
rgheck wrote: > Should that work? It doesn't, unless you manually protect the citation. > See the attached. If it doesn't, we should make it work, IMHO. Jürgen

Citations in Captions

2008-03-26 Thread rgheck
Should that work? It doesn't, unless you manually protect the citation. See the attached. rh test.lyx Description: application/lyx