LaTeX forum ⇒ GeneralMultiply defined labels

LaTeX specific issues not fitting into one of the other forums of this category.
User avatar
drpartha
Posts: 43
Joined: Wed Dec 02, 2009 1:41 am

Multiply defined labels

Postby drpartha » Mon Sep 18, 2023 7:59 am

I have a document (book class) which is built using several \input documents. When I compile this book, I get a warning/alert "There were multiply defined labels". What is the least-effort way of locating these "multiply defined labels" ?
Idem "Citation missing" alert ? I will be grateful for any clue.

Recommended reading 2021:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics
User avatar
Stefan Kottwitz
Site Admin
Posts: 10068
Joined: Mon Mar 10, 2008 9:44 pm

Multiply defined labels

Postby Stefan Kottwitz » Mon Sep 18, 2023 8:04 am

Hello,

the complete error message contains the name of the duplicate labels. They can also be found in the .aux file.

Stefan
LaTeX.org admin

User avatar
drpartha
Posts: 43
Joined: Wed Dec 02, 2009 1:41 am

Multiply defined labels

Postby drpartha » Mon Sep 18, 2023 8:29 am

I happen to use the LaTeX front-end Kile. I tried to compile via the command line, But there are too many alerts/messges. It will mean looking for a needle in the haystack. I guess I will have to explore the aux file carefully, using some text editor. Any better way to explore ?

User avatar
Stefan Kottwitz
Site Admin
Posts: 10068
Joined: Mon Mar 10, 2008 9:44 pm

Multiply defined labels

Postby Stefan Kottwitz » Mon Sep 18, 2023 8:51 am

You can read the .log file to see the warnings and the affected label names.

Stefan
LaTeX.org admin


Return to “General”

Who is online

Users browsing this forum: No registered users and 7 guests