Re: Problems with program listings and captions/labels

2008-03-20 Thread Dominik Böhm
On Thu, Mar 20, 2008 at 4:00 AM, Bob Lounsbury [EMAIL PROTECTED] wrote: Hopefully someone with more knowledge will respond soon. LyX 1.6 is still in svn, so I can't open you're lyx file and importing the tex file makes it more confusing. It's not only an LyX 1.6.0 issue, just tried it with

Re: Problems with program listings and captions/labels

2008-03-20 Thread Bo Peng
As you can see, the \label-command is inside the caption definition. The listings package doesn't seem to like it that way. I see the problem now. Will fix soon. Bo

Re: Problems with program listings and captions/labels

2008-03-20 Thread Dominik Böhm
On Thu, Mar 20, 2008 at 3:17 PM, Bo Peng [EMAIL PROTECTED] wrote: As you can see, the \label-command is inside the caption definition. The listings package doesn't seem to like it that way. I see the problem now. Will fix soon. That's great, thanks! Dominik

Re: Problems with program listings and captions/labels

2008-03-20 Thread Dominik Böhm
On Thu, Mar 20, 2008 at 4:00 AM, Bob Lounsbury [EMAIL PROTECTED] wrote: Hopefully someone with more knowledge will respond soon. LyX 1.6 is still in svn, so I can't open you're lyx file and importing the tex file makes it more confusing. It's not only an LyX 1.6.0 issue, just tried it with

Re: Problems with program listings and captions/labels

2008-03-20 Thread Bo Peng
As you can see, the \label-command is inside the caption definition. The listings package doesn't seem to like it that way. I see the problem now. Will fix soon. Bo

Re: Problems with program listings and captions/labels

2008-03-20 Thread Dominik Böhm
On Thu, Mar 20, 2008 at 3:17 PM, Bo Peng [EMAIL PROTECTED] wrote: As you can see, the \label-command is inside the caption definition. The listings package doesn't seem to like it that way. I see the problem now. Will fix soon. That's great, thanks! Dominik

Re: Problems with program listings and captions/labels

2008-03-20 Thread Dominik Böhm
On Thu, Mar 20, 2008 at 4:00 AM, Bob Lounsbury <[EMAIL PROTECTED]> wrote: > > Hopefully someone with more knowledge will respond soon. LyX 1.6 is > still in svn, so I can't open you're lyx file and importing the tex > file makes it more confusing. It's not only an LyX 1.6.0 issue, just tried

Re: Problems with program listings and captions/labels

2008-03-20 Thread Bo Peng
> As you can see, the \label-command is inside the caption definition. > The listings package doesn't seem to like it that way. I see the problem now. Will fix soon. Bo

Re: Problems with program listings and captions/labels

2008-03-20 Thread Dominik Böhm
On Thu, Mar 20, 2008 at 3:17 PM, Bo Peng <[EMAIL PROTECTED]> wrote: > > As you can see, the \label-command is inside the caption definition. > > The listings package doesn't seem to like it that way. > > I see the problem now. Will fix soon. That's great, thanks! Dominik

Problems with program listings and captions/labels

2008-03-19 Thread Dominik Böhm
Hello, I would like to have a program listing's caption beneath the listing. Therefore I tried to add \lstset{captionpos=b} to the preamble, tried to put captionpos=b into the text layout area, tried to call \lstset{captionpos=b} in an ERT before the listing. The command positions the caption

Re: Problems with program listings and captions/labels

2008-03-19 Thread Bob Lounsbury
On Wed, Mar 19, 2008 at 2:02 PM, Dominik Böhm [EMAIL PROTECTED] wrote: Hello, I would like to have a program listing's caption beneath the listing. Therefore I tried to add \lstset{captionpos=b} to the preamble, tried to put captionpos=b into the text layout area, tried to call

Re: Problems with program listings and captions/labels

2008-03-19 Thread Dominik Böhm
On Wed, Mar 19, 2008 at 10:23 PM, Bob Lounsbury [EMAIL PROTECTED] wrote: On Wed, Mar 19, 2008 at 2:02 PM, Dominik Böhm [EMAIL PROTECTED] wrote: I would like to have a program listing's caption beneath the listing. Therefore I tried to add \lstset{captionpos=b} to the preamble, tried

Re: Problems with program listings and captions/labels

2008-03-19 Thread Bob Lounsbury
On Wed, Mar 19, 2008 at 3:35 PM, Dominik Böhm [EMAIL PROTECTED] wrote: On Wed, Mar 19, 2008 at 10:23 PM, Bob Lounsbury [EMAIL PROTECTED] wrote: On Wed, Mar 19, 2008 at 2:02 PM, Dominik Böhm [EMAIL PROTECTED] wrote: I would like to have a program listing's caption beneath the listing.

Problems with program listings and captions/labels

2008-03-19 Thread Dominik Böhm
Hello, I would like to have a program listing's caption beneath the listing. Therefore I tried to add \lstset{captionpos=b} to the preamble, tried to put captionpos=b into the text layout area, tried to call \lstset{captionpos=b} in an ERT before the listing. The command positions the caption

Re: Problems with program listings and captions/labels

2008-03-19 Thread Bob Lounsbury
On Wed, Mar 19, 2008 at 2:02 PM, Dominik Böhm [EMAIL PROTECTED] wrote: Hello, I would like to have a program listing's caption beneath the listing. Therefore I tried to add \lstset{captionpos=b} to the preamble, tried to put captionpos=b into the text layout area, tried to call

Re: Problems with program listings and captions/labels

2008-03-19 Thread Dominik Böhm
On Wed, Mar 19, 2008 at 10:23 PM, Bob Lounsbury [EMAIL PROTECTED] wrote: On Wed, Mar 19, 2008 at 2:02 PM, Dominik Böhm [EMAIL PROTECTED] wrote: I would like to have a program listing's caption beneath the listing. Therefore I tried to add \lstset{captionpos=b} to the preamble, tried

Re: Problems with program listings and captions/labels

2008-03-19 Thread Bob Lounsbury
On Wed, Mar 19, 2008 at 3:35 PM, Dominik Böhm [EMAIL PROTECTED] wrote: On Wed, Mar 19, 2008 at 10:23 PM, Bob Lounsbury [EMAIL PROTECTED] wrote: On Wed, Mar 19, 2008 at 2:02 PM, Dominik Böhm [EMAIL PROTECTED] wrote: I would like to have a program listing's caption beneath the listing.

Problems with program listings and captions/labels

2008-03-19 Thread Dominik Böhm
Hello, I would like to have a program listing's caption beneath the listing. Therefore I tried to add "\lstset{captionpos=b}" to the preamble, tried to put "captionpos=b" into the text layout area, tried to call "\lstset{captionpos=b}" in an ERT before the listing. The command positions the

Re: Problems with program listings and captions/labels

2008-03-19 Thread Bob Lounsbury
On Wed, Mar 19, 2008 at 2:02 PM, Dominik Böhm <[EMAIL PROTECTED]> wrote: > Hello, > > I would like to have a program listing's caption beneath the listing. > Therefore I tried to add "\lstset{captionpos=b}" to the preamble, > tried to put "captionpos=b" into the text layout area, tried to call

Re: Problems with program listings and captions/labels

2008-03-19 Thread Dominik Böhm
On Wed, Mar 19, 2008 at 10:23 PM, Bob Lounsbury <[EMAIL PROTECTED]> wrote: > > On Wed, Mar 19, 2008 at 2:02 PM, Dominik Böhm <[EMAIL PROTECTED]> wrote: > > I would like to have a program listing's caption beneath the listing. > > Therefore I tried to add "\lstset{captionpos=b}" to the

Re: Problems with program listings and captions/labels

2008-03-19 Thread Bob Lounsbury
On Wed, Mar 19, 2008 at 3:35 PM, Dominik Böhm <[EMAIL PROTECTED]> wrote: > On Wed, Mar 19, 2008 at 10:23 PM, Bob Lounsbury <[EMAIL PROTECTED]> wrote: > > > > On Wed, Mar 19, 2008 at 2:02 PM, Dominik Böhm <[EMAIL PROTECTED]> wrote: > > > > I would like to have a program listing's caption