General ⇒ References warnings
-
- Posts: 8
- Joined: Wed Nov 21, 2007 9:10 am
References warnings
The references tab in the navigator is showing 3 warnings for my bibliography, though bibtex itself does not give any errors. Is there any way to find out what it is TeXnicCenter is seeing wrong?
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
References warnings
Could you please post a minimal working example (MWE) that shows this behaviour? Without any code example it is not easy to figure out what's going wrong. Or post excerpts of the displayed error message (or warning).
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
-
- Posts: 8
- Joined: Wed Nov 21, 2007 9:10 am
Re: References warnings
A minimum example of the warning message is:
@BOOK{key,
author = {blah},
title = {blah, blah}
Under the references tab in the navigator, it says "bib.bib (1 entries, 1 warnings)". Obviously, in this case bibtex would also print a detailed error in the output, but in my 129 entry long bibliography, there are 3 warnings, but no errors from bibtex itself when building the output. What is TeXnicCenter basing these warnings on and how can I find out what entry caused the warning?
@BOOK{key,
author = {blah},
title = {blah, blah}
Under the references tab in the navigator, it says "bib.bib (1 entries, 1 warnings)". Obviously, in this case bibtex would also print a detailed error in the output, but in my 129 entry long bibliography, there are 3 warnings, but no errors from bibtex itself when building the output. What is TeXnicCenter basing these warnings on and how can I find out what entry caused the warning?
-
- Posts: 8
- Joined: Wed Nov 21, 2007 9:10 am
Re: References warnings
I forgot to mention that this bib file must be referenced in a tex file that is the main file of a TeXnicCenter project.
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
Re: References warnings
You didn't really understand what I was meaning. Follow the link in my last post and provide code keeping these guidelines.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
-
- Posts: 8
- Joined: Wed Nov 21, 2007 9:10 am
Re: References warnings
I can't follow those guidelines, because TeXnicCenter doesn't recognize a biliography included with \begin{filecontents}. To duplicate, create a tex file with the following:
\documentclass{article}
\bibliography{bib}
Save that file and use it as the main file for a project. Then create a bib file with the following:
@BOOK{key,
author = {blah},
title = {blah, blah}
Save the file as bib.bib and if you click the references tab, it will say "bib.bib (1 entries, 1 warnings)". I just want to know where these warnings come from and how I can find out exactly what the warning is. I don't want to go through all 129 of my entries to figure out which 3 are causing the warnings.
\documentclass{article}
\bibliography{bib}
Save that file and use it as the main file for a project. Then create a bib file with the following:
@BOOK{key,
author = {blah},
title = {blah, blah}
Save the file as bib.bib and if you click the references tab, it will say "bib.bib (1 entries, 1 warnings)". I just want to know where these warnings come from and how I can find out exactly what the warning is. I don't want to go through all 129 of my entries to figure out which 3 are causing the warnings.
Re: References warnings
What are the warnings?
-
- Posts: 8
- Joined: Wed Nov 21, 2007 9:10 am
Re: References warnings
That is exactly what I want to know.
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
References warnings
jamesmusik wrote: I can't follow those guidelines, because TeXnicCenter doesn't recognize a biliography included with \begin{filecontents}. […]
Obviously, you have to do some reading about LaTeX basics. I recommend lshort and l2tabu. Of course it works. And that's not a problem related to TeXnicCenter. You only have to do it the right way.
Code: Select all
\begin{filecontents*}{testbib.bib}
@BOOK{texbook,
author = {Donald Ervin Knuth},
title = {The \TeX book},
year = {1984},
publisher = {Addison-Wesley}
}
@BOOK{latexbook,
author = {Leslie Lamport},
title = {\LaTeX: A Document Preparation System},
year = {1994},
publisher = {Addison-Wesley}
}
\end{filecontents*}
\documentclass[12pt]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage{blindtext}
\begin{document}
\blindtext\cite{texbook}
\medskip
\blindtext\cite{latexbook}
\bibliographystyle{unsrt}
\bibliography{testbib}
\end{document}
Code: Select all
@BOOK{key,
author = {blah},
title = {blah, blah}
jamesmusik wrote: […] I don't want to go through all 129 of my entries to figure out which 3 are causing the warnings.
You should be aware of the fact that your initiative is demanded and not that of others to solve your problem.
Best regards
Thorsten
Last edited by localghost on Fri Nov 23, 2007 10:13 pm, edited 4 times in total.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
-
- Posts: 8
- Joined: Wed Nov 21, 2007 9:10 am
Re: References warnings
You obviously aren't paying attention at all to what I'm saying. I'm not talking about bibtex errors or anything outside of TeXnicCenter at all. I know how to make proper bib entries and I'm not here asking you to help me make my bib file. There is a feature in TeXnicCenter where, under the references tab in the navigator (next to Structure, Objects, and Files), it lists all the .bib files used in a project. Next to the file's name it says how many entries there are and when TeXnicCenter (completely independently from latex or bibtex) finds errors in it, it displays how many warnings. I want to know, how does TeXnicCenter determine there is a warning and where can I see a more descriptive warning, if at all?