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
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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Re: Combining class book(memoir) with sectioned bibliography
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
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