LaTeX forum ⇒ LyXFinding Unused Citations - How?

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Posts: 8
Joined: Mon Jan 17, 2011 9:20 pm

Finding Unused Citations - How?

Postby BenBBB » Sun Jan 05, 2014 11:42 pm

Dear Friends,

could you help me with the following?

I need to eliminate unused citations from my references.
But how do I identify those that are indeed unused over those
that are not?

Is there any facile way to do this?
The manual method is quite inconvenient due to the long list
of refs. The options under 'navigate' display the used citations,
but otherwise help me no further. Is there maybe an inbuilt function
in Lyx I have so far overseen or a nice add-on that does the job?

Vice versa - is there a way I could find citation marks within in my
text that no longer possess there respective entry in the ref list?

Thank you very much in advance!

Best wishes,


User avatar
Site Moderator
Posts: 3582
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Mon Jan 06, 2014 9:34 am

The LaTeX default is to only use cited entries in the bibliography. You can print them all by adding \nocite{*} in your document. I guess that this line in somewhere in your LyX-file.

New Features in LyX 1.6: Bernhard Reiter implemented support for both, \nocite{<key>} (in the citation dialog) for adding specific entries to the bibliography without citing, and \nocite{*} (in the bibtex inset dialog) for citing all entries of specific bibtex databases.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Posts: 8
Joined: Mon Jan 17, 2011 9:20 pm

Postby BenBBB » Mon Jan 06, 2014 1:27 pm

Dear Johannes,

have many thanks for your fast reply!

I have neither manually put the \nocite{*} into my document,
nor does it appear anywhere within the source code of my document.

Could it be that this command is somewhere hidden in the document type
file? I use book{memoir}
(I unfortunately can only use this document type.)



Posts: 8
Joined: Mon Jan 17, 2011 9:20 pm

Postby BenBBB » Mon Jan 06, 2014 7:16 pm

I searched the source files for the memoir class, yet did not
find any nocite command. Also I switched the class / document type
yet still all references appeared in the compiled document disregarding
their actual usage.

Is there any other place where the command might be hiding?

Any additional suggestions?



Posts: 89
Joined: Fri Jan 24, 2014 12:42 am

Postby StarValkyrie » Sat Jan 25, 2014 7:21 am

It could be in your .bst file. Have you checked that yet?

Return to “LyX”

Who is online

Users browsing this forum: No registered users and 3 guests