Hi everyone,
I'm currently writing a PhD thesis and I'm running into a problem:
I'm trying to combine the book(memoir) document with sectioned bibliographies, and that seems to cause a problem, which I do not truly understand. I hope someone can help. I'm using Lyx 2.0.2 beta on both win7x64 and ubuntux32&64, because I also want to use an opentype font for my document, but I left that out because the problem does not seem to depend on that.
The error I get is: ! LaTeX Error: No counter 'NAT@ctr' defined.
Can anyone take a look?
Thanks,
Victor
LyX ⇒ Combining class book(memoir) with sectioned bibliography
-
- Posts: 12
- Joined: Thu Dec 16, 2010 2:09 pm
Combining class book(memoir) with sectioned bibliography
Last edited by victorclaessen on Sun Dec 19, 2010 6:34 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

Re: Combining class book(memoir) with sectioned bibliography
1. Cite a reference.
2. Document > Settings > Bibliography > Natbib > Numerical.
3. Compile the document.
2. Document > Settings > Bibliography > Natbib > Numerical.
3. Compile the document.
-
- Posts: 12
- Joined: Thu Dec 16, 2010 2:09 pm
Re: Combining class book(memoir) with sectioned bibliography
Yes that's solved it!
I'd tried selecting natbib before, but I guess the important step that I forgot was your step 1! Apparently, just selecting "list all references" is not enough, I've actually got to cite something or I suppose that counter doesn't get initialized...
I got so hung up trying to minimalize the example that I forgot to add a citation
And I was trying everything with the example, and not with the production file (a thesis chapter) that had my citations in the text. The chapter also works great now.
Thanks! Seriously: thanks a lot!!! I wish I'd asked this earlier, I already spent many hours trying stuff and googling around for issues with memoir/sectioned bibliography/natbib/xetex combinations, but no luck. (And this is just my second week using Lyx.)
Thanks again!
Kind regards,
Victor
I'd tried selecting natbib before, but I guess the important step that I forgot was your step 1! Apparently, just selecting "list all references" is not enough, I've actually got to cite something or I suppose that counter doesn't get initialized...
I got so hung up trying to minimalize the example that I forgot to add a citation

Thanks! Seriously: thanks a lot!!! I wish I'd asked this earlier, I already spent many hours trying stuff and googling around for issues with memoir/sectioned bibliography/natbib/xetex combinations, but no luck. (And this is just my second week using Lyx.)
Thanks again!
Kind regards,
Victor