Why my .bib file is not recognized by Overleaf compiler in ApJ template?Biblatex-chicago endnotes instead of...

How does one write from a minority culture? A question on cultural references

Hilchos Shabbos English Sefer

Explanation of a regular pattern only occuring for prime numbers

What happens when the wearer of a Shield of Missile Attraction is behind total cover?

Why do we have to make "peinlich" start with a capital letter and also end with -s in this sentence?

What will happen if Parliament votes "no" on each of the Brexit-related votes to be held on the 12th, 13th and 14th of March?

Square Root Distance from Integers

Has Britain negotiated with any other countries outside the EU in preparation for the exit?

How do you funnel food off a cutting board?

Premature ending of generator in list comprehension

Non-Cancer terminal illness that can affect young (age 10-13) girls?

Why do neural networks need so many training examples to perform?

Decision problem that can be verified but not run in n^2 time

What language shall they sing in?

Play Zip, Zap, Zop

Which communication protocol is used in AdLib sound card?

Why does photorec keep finding files after I have filled the disk free space as root?

Short story where statues have their heads replaced by those of carved insect heads

Eww, those bytes are gross

Is a new boolean field better than null reference when a value can be meaningfully absent?

Removing whitespace between consecutive numbers

What is the difference between rolling more dice versus fewer dice?

Why is Agricola named as such?

Changing the laptop's CPU. Should I reinstall Linux?



Why my .bib file is not recognized by Overleaf compiler in ApJ template?


Biblatex-chicago endnotes instead of footnotes with autociteToo many commas in name: Using Jabref and Texmakerbib file is not recognizedTitle not showig in bibliography due to modification of .bst fileNatbib citation errorProblem with brackets when typesetting Latex when cite used, when removed, problem with bibtex - undefined!.bib file from zotoro not being recognized by latexmnras bibliography style - all citations showing up as question marksciteauthor and citeyear not working correct with multibib and natbibProblem with adding references to my file













2















I am writing a paper on overleaf supposedly in ApJ (Astrophysical Journal) format. I have my .bib file independently made utilizing JabRef on ADS website and uploaded to the project in Overleaf. But it seems that in-text citations do not appear in the final version after compiling. In particular, here is my short version of the code:



documentclass[twocolumn,trackchanges]{aastex61}

usepackage{natbib}

usepackage{graphicx}
usepackage{latexsym}
usepackage{amssymb}
usepackage{longtable}
usepackage{epsf}

begin{document}
.
.
.
section{Methodology and Analyses} label{Section 2}
....This includes absorbers selected for the presence of ion{C}{4}
$lambda lambda1548.1,1550.7$, ion{Mg}{2} $lambdalambda2796.3,2803.5$
resonance-line doublets and Lyman limit absorption, which do not also
qualify as DLA systems. For a complete review on the subject refer to
citet{2005ARA&A..43..861W}.

bibliographystyle{ApJ}
bibliography{my_References}
.
.
.
end{document}


Here is the Error Message:




(no line number): This is BibTeX, Version 0.99d (TeX Live 2016/Debian)
Capacity: max_strings=100000, hash_size=100000, hash_prime=85009 The
top-level auxiliary file: sim_DLA_Paper.aux I couldn't open style file
ApJ.bst
---line 126 of file sim_DLA_Paper.aux : bibstyle{ApJ : } I'm skipping whatever remains of this command I found no style
file---while reading file sim_DLA_Paper.aux You've used 46 entries,
0 wiz_defined-function locations,
178 strings with 2287 characters, and the built_in function-call counts, 0 in all, are:
= -- 0




-- 0 < -- 0
+ -- 0
- -- 0
* -- 0 := -- 0 add.period$ -- 0 call.type$ -- 0 change.case$ -- 0 chr.to.int$ -- 0 cite$ -- 0 duplicate$ -- 0 empty$ -- 0 format.name$
-- 0 if$ -- 0 int.to.chr$ -- 0 int.to.str$ -- 0 missing$ -- 0 newline$ -- 0 num.names$ -- 0 pop$ -- 0 preamble$ -- 0 purify$ -- 0 quote$ -- 0 skip$ -- 0 stack$ -- 0 substring$ -- 0 swap$ -- 0 text.length$ -- 0
text.prefix$ -- 0 top$ -- 0 type$ -- 0 warning$ -- 0 while$ -- 0
width$ -- 0 write$ -- 0 (There were 2 error messages)
./sim_DLA_Paper.tex:75: Package natbib Warning: Citation
2005ARA&A..43..861W' on page 2 undefined on i nput line 75.
./sim_DLA_Paper.tex:80: Package natbib Warning: Citation
2003MNRAS.342..962S' on page 2 undefined on i nput line 80.




Package natbib Warning: Citation `2003JApA...24...51G' on page 2
undefined on i nput line 80.



Package natbib Warning: Citation `2005MNRAS.356..778S' on page 2
undefined on i nput line 80.



Package natbib Warning: Citation 1974A&A....32..391P' on page 2
undefined on i nput line 80. ./sim_DLA_Paper.tex:81: Package natbib
Warning: Citation
2005CSci...88.1088B' on page 2 undefined on i nput
line 81. ./sim_DLA_Paper.tex:83: Package natbib Warning: Citation
`2011MNRAS.416.1215R' on page 2 undefined on i nput line 83.



Package natbib Warning: Citation `2016A&A...596A..97D' on page 2
undefined on i nput line 83.



Package natbib Warning: Citation 2016MNRAS.460.2675R' on page 2
undefined on i nput line 83. ./sim_DLA_Paper.tex:85: Package natbib
Warning: Citation
2014MNRAS.445..581H' on page 3 undefined on i nput
line 85.




Here is the the first two entries of .bib file:



% Encoding: UTF-8

@Article{2005ARA&A..43..861W,
author = {{Wolfe}, A.~M. and {Gawiser}, E. and {Prochaska}, J.~X.},
title = {{Damped Ly {$alpha$} Systems}},
journal = {araa},
year = {2005},
volume = {43},
pages = {861-918},
month = sep,
adsnote = {Provided by the SAO/NASA Astrophysics Data System},
adsurl = {http://adsabs.harvard.edu/abs/2005ARA%26A..43..861W},
doi = {10.1146/annurev.astro.42.053102.133950},
eprint = {astro-ph/0509481},
file = {:2005ARA&A..43..861W - Damped Ly $_alpha$ Systems.pdf:PDF},
}

@Article{2005MNRAS.364.1467Z,
author = {{Zwaan}, M.~A. and {van der Hulst}, J.~M. and {Briggs}, F.~H. and {Verheijen}, M.~A.~W. and {Ryan-Weber}, E.~V.},
title = {{Reconciling the local galaxy population with damped Lyman {$alpha$} cross-sections and metal abundances}},
journal = {mnras},
year = {2005},
volume = {364},
pages = {1467-1487},
month = dec,
adsnote = {Provided by the SAO/NASA Astrophysics Data System},
adsurl = {http://adsabs.harvard.edu/abs/2005MNRAS.364.1467Z},
doi = {10.1111/j.1365-2966.2005.09698.x},
eprint = {astro-ph/0510127},
file = {:2005MNRAS.364.1467Z - Reconciling the local galaxy population with damped Lyman $_alpha$ cross-sections and metal abundances.pdf:PDF},
keywords = {surveys, galaxies: ISM, quasars: absorption lines, galaxies: statistics, radio lines: galaxies},
}


I can see that .bib file is contained citations in the form of MNRAS. I think they should instead be all ApJ. But, it is really a long file and I don't know if I need to manipulate all sources one by one. When I change the option ApJ to mnras in the following command bibliographystyle{}, in-text citations appear but why is that? Why style ApJ is not recognized?










share|improve this question




















  • 1





    Please show two bib entrys in your question and add to the MWE how you call them ...

    – Kurt
    Dec 17 '17 at 23:48











  • .bib entries are not styled at all that is the function of the bibliographystyle{ApJ} command, to instruct bibtex how to style the references. Have you run bibtex? also, why are you loading epsf

    – David Carlisle
    Dec 17 '17 at 23:51











  • I just added two entries of the bib file called my_references.bib. I just left that package since it was already in the ApJ template. To be honest, I am not sure why I left that intact.

    – Allan
    Dec 17 '17 at 23:55






  • 1





    hi, i work for AAS journals. this Overleaf template is designed to use bibliographystyle{aasjournal}, which is our Journal's current bibtex style. If you have problems running with that please let us know. If you have some reason to prefer the outdated bibliographystyle{apj} then upload this file: ads.harvard.edu/pubs/bibtex/astronat/apj/apj.bst to your Overleaf project -- as is (i.e., without renaming it anything else including no capitalization of the filename, which could be half your problem) and then use bibliographystyle{apj} (again no capitals and no need for capitals).

    – Gus
    Dec 18 '17 at 5:54






  • 1





    @Gus 7, my only reason was to submit the letter to ApJ. I have no other reason to use the outdated one. And, I tried the new version. Thanks, it has no problem.

    – Allan
    Dec 18 '17 at 6:03
















2















I am writing a paper on overleaf supposedly in ApJ (Astrophysical Journal) format. I have my .bib file independently made utilizing JabRef on ADS website and uploaded to the project in Overleaf. But it seems that in-text citations do not appear in the final version after compiling. In particular, here is my short version of the code:



documentclass[twocolumn,trackchanges]{aastex61}

usepackage{natbib}

usepackage{graphicx}
usepackage{latexsym}
usepackage{amssymb}
usepackage{longtable}
usepackage{epsf}

begin{document}
.
.
.
section{Methodology and Analyses} label{Section 2}
....This includes absorbers selected for the presence of ion{C}{4}
$lambda lambda1548.1,1550.7$, ion{Mg}{2} $lambdalambda2796.3,2803.5$
resonance-line doublets and Lyman limit absorption, which do not also
qualify as DLA systems. For a complete review on the subject refer to
citet{2005ARA&A..43..861W}.

bibliographystyle{ApJ}
bibliography{my_References}
.
.
.
end{document}


Here is the Error Message:




(no line number): This is BibTeX, Version 0.99d (TeX Live 2016/Debian)
Capacity: max_strings=100000, hash_size=100000, hash_prime=85009 The
top-level auxiliary file: sim_DLA_Paper.aux I couldn't open style file
ApJ.bst
---line 126 of file sim_DLA_Paper.aux : bibstyle{ApJ : } I'm skipping whatever remains of this command I found no style
file---while reading file sim_DLA_Paper.aux You've used 46 entries,
0 wiz_defined-function locations,
178 strings with 2287 characters, and the built_in function-call counts, 0 in all, are:
= -- 0




-- 0 < -- 0
+ -- 0
- -- 0
* -- 0 := -- 0 add.period$ -- 0 call.type$ -- 0 change.case$ -- 0 chr.to.int$ -- 0 cite$ -- 0 duplicate$ -- 0 empty$ -- 0 format.name$
-- 0 if$ -- 0 int.to.chr$ -- 0 int.to.str$ -- 0 missing$ -- 0 newline$ -- 0 num.names$ -- 0 pop$ -- 0 preamble$ -- 0 purify$ -- 0 quote$ -- 0 skip$ -- 0 stack$ -- 0 substring$ -- 0 swap$ -- 0 text.length$ -- 0
text.prefix$ -- 0 top$ -- 0 type$ -- 0 warning$ -- 0 while$ -- 0
width$ -- 0 write$ -- 0 (There were 2 error messages)
./sim_DLA_Paper.tex:75: Package natbib Warning: Citation
2005ARA&A..43..861W' on page 2 undefined on i nput line 75.
./sim_DLA_Paper.tex:80: Package natbib Warning: Citation
2003MNRAS.342..962S' on page 2 undefined on i nput line 80.




Package natbib Warning: Citation `2003JApA...24...51G' on page 2
undefined on i nput line 80.



Package natbib Warning: Citation `2005MNRAS.356..778S' on page 2
undefined on i nput line 80.



Package natbib Warning: Citation 1974A&A....32..391P' on page 2
undefined on i nput line 80. ./sim_DLA_Paper.tex:81: Package natbib
Warning: Citation
2005CSci...88.1088B' on page 2 undefined on i nput
line 81. ./sim_DLA_Paper.tex:83: Package natbib Warning: Citation
`2011MNRAS.416.1215R' on page 2 undefined on i nput line 83.



Package natbib Warning: Citation `2016A&A...596A..97D' on page 2
undefined on i nput line 83.



Package natbib Warning: Citation 2016MNRAS.460.2675R' on page 2
undefined on i nput line 83. ./sim_DLA_Paper.tex:85: Package natbib
Warning: Citation
2014MNRAS.445..581H' on page 3 undefined on i nput
line 85.




Here is the the first two entries of .bib file:



% Encoding: UTF-8

@Article{2005ARA&A..43..861W,
author = {{Wolfe}, A.~M. and {Gawiser}, E. and {Prochaska}, J.~X.},
title = {{Damped Ly {$alpha$} Systems}},
journal = {araa},
year = {2005},
volume = {43},
pages = {861-918},
month = sep,
adsnote = {Provided by the SAO/NASA Astrophysics Data System},
adsurl = {http://adsabs.harvard.edu/abs/2005ARA%26A..43..861W},
doi = {10.1146/annurev.astro.42.053102.133950},
eprint = {astro-ph/0509481},
file = {:2005ARA&A..43..861W - Damped Ly $_alpha$ Systems.pdf:PDF},
}

@Article{2005MNRAS.364.1467Z,
author = {{Zwaan}, M.~A. and {van der Hulst}, J.~M. and {Briggs}, F.~H. and {Verheijen}, M.~A.~W. and {Ryan-Weber}, E.~V.},
title = {{Reconciling the local galaxy population with damped Lyman {$alpha$} cross-sections and metal abundances}},
journal = {mnras},
year = {2005},
volume = {364},
pages = {1467-1487},
month = dec,
adsnote = {Provided by the SAO/NASA Astrophysics Data System},
adsurl = {http://adsabs.harvard.edu/abs/2005MNRAS.364.1467Z},
doi = {10.1111/j.1365-2966.2005.09698.x},
eprint = {astro-ph/0510127},
file = {:2005MNRAS.364.1467Z - Reconciling the local galaxy population with damped Lyman $_alpha$ cross-sections and metal abundances.pdf:PDF},
keywords = {surveys, galaxies: ISM, quasars: absorption lines, galaxies: statistics, radio lines: galaxies},
}


I can see that .bib file is contained citations in the form of MNRAS. I think they should instead be all ApJ. But, it is really a long file and I don't know if I need to manipulate all sources one by one. When I change the option ApJ to mnras in the following command bibliographystyle{}, in-text citations appear but why is that? Why style ApJ is not recognized?










share|improve this question




















  • 1





    Please show two bib entrys in your question and add to the MWE how you call them ...

    – Kurt
    Dec 17 '17 at 23:48











  • .bib entries are not styled at all that is the function of the bibliographystyle{ApJ} command, to instruct bibtex how to style the references. Have you run bibtex? also, why are you loading epsf

    – David Carlisle
    Dec 17 '17 at 23:51











  • I just added two entries of the bib file called my_references.bib. I just left that package since it was already in the ApJ template. To be honest, I am not sure why I left that intact.

    – Allan
    Dec 17 '17 at 23:55






  • 1





    hi, i work for AAS journals. this Overleaf template is designed to use bibliographystyle{aasjournal}, which is our Journal's current bibtex style. If you have problems running with that please let us know. If you have some reason to prefer the outdated bibliographystyle{apj} then upload this file: ads.harvard.edu/pubs/bibtex/astronat/apj/apj.bst to your Overleaf project -- as is (i.e., without renaming it anything else including no capitalization of the filename, which could be half your problem) and then use bibliographystyle{apj} (again no capitals and no need for capitals).

    – Gus
    Dec 18 '17 at 5:54






  • 1





    @Gus 7, my only reason was to submit the letter to ApJ. I have no other reason to use the outdated one. And, I tried the new version. Thanks, it has no problem.

    – Allan
    Dec 18 '17 at 6:03














2












2








2








I am writing a paper on overleaf supposedly in ApJ (Astrophysical Journal) format. I have my .bib file independently made utilizing JabRef on ADS website and uploaded to the project in Overleaf. But it seems that in-text citations do not appear in the final version after compiling. In particular, here is my short version of the code:



documentclass[twocolumn,trackchanges]{aastex61}

usepackage{natbib}

usepackage{graphicx}
usepackage{latexsym}
usepackage{amssymb}
usepackage{longtable}
usepackage{epsf}

begin{document}
.
.
.
section{Methodology and Analyses} label{Section 2}
....This includes absorbers selected for the presence of ion{C}{4}
$lambda lambda1548.1,1550.7$, ion{Mg}{2} $lambdalambda2796.3,2803.5$
resonance-line doublets and Lyman limit absorption, which do not also
qualify as DLA systems. For a complete review on the subject refer to
citet{2005ARA&A..43..861W}.

bibliographystyle{ApJ}
bibliography{my_References}
.
.
.
end{document}


Here is the Error Message:




(no line number): This is BibTeX, Version 0.99d (TeX Live 2016/Debian)
Capacity: max_strings=100000, hash_size=100000, hash_prime=85009 The
top-level auxiliary file: sim_DLA_Paper.aux I couldn't open style file
ApJ.bst
---line 126 of file sim_DLA_Paper.aux : bibstyle{ApJ : } I'm skipping whatever remains of this command I found no style
file---while reading file sim_DLA_Paper.aux You've used 46 entries,
0 wiz_defined-function locations,
178 strings with 2287 characters, and the built_in function-call counts, 0 in all, are:
= -- 0




-- 0 < -- 0
+ -- 0
- -- 0
* -- 0 := -- 0 add.period$ -- 0 call.type$ -- 0 change.case$ -- 0 chr.to.int$ -- 0 cite$ -- 0 duplicate$ -- 0 empty$ -- 0 format.name$
-- 0 if$ -- 0 int.to.chr$ -- 0 int.to.str$ -- 0 missing$ -- 0 newline$ -- 0 num.names$ -- 0 pop$ -- 0 preamble$ -- 0 purify$ -- 0 quote$ -- 0 skip$ -- 0 stack$ -- 0 substring$ -- 0 swap$ -- 0 text.length$ -- 0
text.prefix$ -- 0 top$ -- 0 type$ -- 0 warning$ -- 0 while$ -- 0
width$ -- 0 write$ -- 0 (There were 2 error messages)
./sim_DLA_Paper.tex:75: Package natbib Warning: Citation
2005ARA&A..43..861W' on page 2 undefined on i nput line 75.
./sim_DLA_Paper.tex:80: Package natbib Warning: Citation
2003MNRAS.342..962S' on page 2 undefined on i nput line 80.




Package natbib Warning: Citation `2003JApA...24...51G' on page 2
undefined on i nput line 80.



Package natbib Warning: Citation `2005MNRAS.356..778S' on page 2
undefined on i nput line 80.



Package natbib Warning: Citation 1974A&A....32..391P' on page 2
undefined on i nput line 80. ./sim_DLA_Paper.tex:81: Package natbib
Warning: Citation
2005CSci...88.1088B' on page 2 undefined on i nput
line 81. ./sim_DLA_Paper.tex:83: Package natbib Warning: Citation
`2011MNRAS.416.1215R' on page 2 undefined on i nput line 83.



Package natbib Warning: Citation `2016A&A...596A..97D' on page 2
undefined on i nput line 83.



Package natbib Warning: Citation 2016MNRAS.460.2675R' on page 2
undefined on i nput line 83. ./sim_DLA_Paper.tex:85: Package natbib
Warning: Citation
2014MNRAS.445..581H' on page 3 undefined on i nput
line 85.




Here is the the first two entries of .bib file:



% Encoding: UTF-8

@Article{2005ARA&A..43..861W,
author = {{Wolfe}, A.~M. and {Gawiser}, E. and {Prochaska}, J.~X.},
title = {{Damped Ly {$alpha$} Systems}},
journal = {araa},
year = {2005},
volume = {43},
pages = {861-918},
month = sep,
adsnote = {Provided by the SAO/NASA Astrophysics Data System},
adsurl = {http://adsabs.harvard.edu/abs/2005ARA%26A..43..861W},
doi = {10.1146/annurev.astro.42.053102.133950},
eprint = {astro-ph/0509481},
file = {:2005ARA&A..43..861W - Damped Ly $_alpha$ Systems.pdf:PDF},
}

@Article{2005MNRAS.364.1467Z,
author = {{Zwaan}, M.~A. and {van der Hulst}, J.~M. and {Briggs}, F.~H. and {Verheijen}, M.~A.~W. and {Ryan-Weber}, E.~V.},
title = {{Reconciling the local galaxy population with damped Lyman {$alpha$} cross-sections and metal abundances}},
journal = {mnras},
year = {2005},
volume = {364},
pages = {1467-1487},
month = dec,
adsnote = {Provided by the SAO/NASA Astrophysics Data System},
adsurl = {http://adsabs.harvard.edu/abs/2005MNRAS.364.1467Z},
doi = {10.1111/j.1365-2966.2005.09698.x},
eprint = {astro-ph/0510127},
file = {:2005MNRAS.364.1467Z - Reconciling the local galaxy population with damped Lyman $_alpha$ cross-sections and metal abundances.pdf:PDF},
keywords = {surveys, galaxies: ISM, quasars: absorption lines, galaxies: statistics, radio lines: galaxies},
}


I can see that .bib file is contained citations in the form of MNRAS. I think they should instead be all ApJ. But, it is really a long file and I don't know if I need to manipulate all sources one by one. When I change the option ApJ to mnras in the following command bibliographystyle{}, in-text citations appear but why is that? Why style ApJ is not recognized?










share|improve this question
















I am writing a paper on overleaf supposedly in ApJ (Astrophysical Journal) format. I have my .bib file independently made utilizing JabRef on ADS website and uploaded to the project in Overleaf. But it seems that in-text citations do not appear in the final version after compiling. In particular, here is my short version of the code:



documentclass[twocolumn,trackchanges]{aastex61}

usepackage{natbib}

usepackage{graphicx}
usepackage{latexsym}
usepackage{amssymb}
usepackage{longtable}
usepackage{epsf}

begin{document}
.
.
.
section{Methodology and Analyses} label{Section 2}
....This includes absorbers selected for the presence of ion{C}{4}
$lambda lambda1548.1,1550.7$, ion{Mg}{2} $lambdalambda2796.3,2803.5$
resonance-line doublets and Lyman limit absorption, which do not also
qualify as DLA systems. For a complete review on the subject refer to
citet{2005ARA&A..43..861W}.

bibliographystyle{ApJ}
bibliography{my_References}
.
.
.
end{document}


Here is the Error Message:




(no line number): This is BibTeX, Version 0.99d (TeX Live 2016/Debian)
Capacity: max_strings=100000, hash_size=100000, hash_prime=85009 The
top-level auxiliary file: sim_DLA_Paper.aux I couldn't open style file
ApJ.bst
---line 126 of file sim_DLA_Paper.aux : bibstyle{ApJ : } I'm skipping whatever remains of this command I found no style
file---while reading file sim_DLA_Paper.aux You've used 46 entries,
0 wiz_defined-function locations,
178 strings with 2287 characters, and the built_in function-call counts, 0 in all, are:
= -- 0




-- 0 < -- 0
+ -- 0
- -- 0
* -- 0 := -- 0 add.period$ -- 0 call.type$ -- 0 change.case$ -- 0 chr.to.int$ -- 0 cite$ -- 0 duplicate$ -- 0 empty$ -- 0 format.name$
-- 0 if$ -- 0 int.to.chr$ -- 0 int.to.str$ -- 0 missing$ -- 0 newline$ -- 0 num.names$ -- 0 pop$ -- 0 preamble$ -- 0 purify$ -- 0 quote$ -- 0 skip$ -- 0 stack$ -- 0 substring$ -- 0 swap$ -- 0 text.length$ -- 0
text.prefix$ -- 0 top$ -- 0 type$ -- 0 warning$ -- 0 while$ -- 0
width$ -- 0 write$ -- 0 (There were 2 error messages)
./sim_DLA_Paper.tex:75: Package natbib Warning: Citation
2005ARA&A..43..861W' on page 2 undefined on i nput line 75.
./sim_DLA_Paper.tex:80: Package natbib Warning: Citation
2003MNRAS.342..962S' on page 2 undefined on i nput line 80.




Package natbib Warning: Citation `2003JApA...24...51G' on page 2
undefined on i nput line 80.



Package natbib Warning: Citation `2005MNRAS.356..778S' on page 2
undefined on i nput line 80.



Package natbib Warning: Citation 1974A&A....32..391P' on page 2
undefined on i nput line 80. ./sim_DLA_Paper.tex:81: Package natbib
Warning: Citation
2005CSci...88.1088B' on page 2 undefined on i nput
line 81. ./sim_DLA_Paper.tex:83: Package natbib Warning: Citation
`2011MNRAS.416.1215R' on page 2 undefined on i nput line 83.



Package natbib Warning: Citation `2016A&A...596A..97D' on page 2
undefined on i nput line 83.



Package natbib Warning: Citation 2016MNRAS.460.2675R' on page 2
undefined on i nput line 83. ./sim_DLA_Paper.tex:85: Package natbib
Warning: Citation
2014MNRAS.445..581H' on page 3 undefined on i nput
line 85.




Here is the the first two entries of .bib file:



% Encoding: UTF-8

@Article{2005ARA&A..43..861W,
author = {{Wolfe}, A.~M. and {Gawiser}, E. and {Prochaska}, J.~X.},
title = {{Damped Ly {$alpha$} Systems}},
journal = {araa},
year = {2005},
volume = {43},
pages = {861-918},
month = sep,
adsnote = {Provided by the SAO/NASA Astrophysics Data System},
adsurl = {http://adsabs.harvard.edu/abs/2005ARA%26A..43..861W},
doi = {10.1146/annurev.astro.42.053102.133950},
eprint = {astro-ph/0509481},
file = {:2005ARA&A..43..861W - Damped Ly $_alpha$ Systems.pdf:PDF},
}

@Article{2005MNRAS.364.1467Z,
author = {{Zwaan}, M.~A. and {van der Hulst}, J.~M. and {Briggs}, F.~H. and {Verheijen}, M.~A.~W. and {Ryan-Weber}, E.~V.},
title = {{Reconciling the local galaxy population with damped Lyman {$alpha$} cross-sections and metal abundances}},
journal = {mnras},
year = {2005},
volume = {364},
pages = {1467-1487},
month = dec,
adsnote = {Provided by the SAO/NASA Astrophysics Data System},
adsurl = {http://adsabs.harvard.edu/abs/2005MNRAS.364.1467Z},
doi = {10.1111/j.1365-2966.2005.09698.x},
eprint = {astro-ph/0510127},
file = {:2005MNRAS.364.1467Z - Reconciling the local galaxy population with damped Lyman $_alpha$ cross-sections and metal abundances.pdf:PDF},
keywords = {surveys, galaxies: ISM, quasars: absorption lines, galaxies: statistics, radio lines: galaxies},
}


I can see that .bib file is contained citations in the form of MNRAS. I think they should instead be all ApJ. But, it is really a long file and I don't know if I need to manipulate all sources one by one. When I change the option ApJ to mnras in the following command bibliographystyle{}, in-text citations appear but why is that? Why style ApJ is not recognized?







bibliographies citing aastex multiple-citations






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 18 '17 at 2:27









Kurt

38.2k848162




38.2k848162










asked Dec 17 '17 at 23:44









AllanAllan

6910




6910








  • 1





    Please show two bib entrys in your question and add to the MWE how you call them ...

    – Kurt
    Dec 17 '17 at 23:48











  • .bib entries are not styled at all that is the function of the bibliographystyle{ApJ} command, to instruct bibtex how to style the references. Have you run bibtex? also, why are you loading epsf

    – David Carlisle
    Dec 17 '17 at 23:51











  • I just added two entries of the bib file called my_references.bib. I just left that package since it was already in the ApJ template. To be honest, I am not sure why I left that intact.

    – Allan
    Dec 17 '17 at 23:55






  • 1





    hi, i work for AAS journals. this Overleaf template is designed to use bibliographystyle{aasjournal}, which is our Journal's current bibtex style. If you have problems running with that please let us know. If you have some reason to prefer the outdated bibliographystyle{apj} then upload this file: ads.harvard.edu/pubs/bibtex/astronat/apj/apj.bst to your Overleaf project -- as is (i.e., without renaming it anything else including no capitalization of the filename, which could be half your problem) and then use bibliographystyle{apj} (again no capitals and no need for capitals).

    – Gus
    Dec 18 '17 at 5:54






  • 1





    @Gus 7, my only reason was to submit the letter to ApJ. I have no other reason to use the outdated one. And, I tried the new version. Thanks, it has no problem.

    – Allan
    Dec 18 '17 at 6:03














  • 1





    Please show two bib entrys in your question and add to the MWE how you call them ...

    – Kurt
    Dec 17 '17 at 23:48











  • .bib entries are not styled at all that is the function of the bibliographystyle{ApJ} command, to instruct bibtex how to style the references. Have you run bibtex? also, why are you loading epsf

    – David Carlisle
    Dec 17 '17 at 23:51











  • I just added two entries of the bib file called my_references.bib. I just left that package since it was already in the ApJ template. To be honest, I am not sure why I left that intact.

    – Allan
    Dec 17 '17 at 23:55






  • 1





    hi, i work for AAS journals. this Overleaf template is designed to use bibliographystyle{aasjournal}, which is our Journal's current bibtex style. If you have problems running with that please let us know. If you have some reason to prefer the outdated bibliographystyle{apj} then upload this file: ads.harvard.edu/pubs/bibtex/astronat/apj/apj.bst to your Overleaf project -- as is (i.e., without renaming it anything else including no capitalization of the filename, which could be half your problem) and then use bibliographystyle{apj} (again no capitals and no need for capitals).

    – Gus
    Dec 18 '17 at 5:54






  • 1





    @Gus 7, my only reason was to submit the letter to ApJ. I have no other reason to use the outdated one. And, I tried the new version. Thanks, it has no problem.

    – Allan
    Dec 18 '17 at 6:03








1




1





Please show two bib entrys in your question and add to the MWE how you call them ...

– Kurt
Dec 17 '17 at 23:48





Please show two bib entrys in your question and add to the MWE how you call them ...

– Kurt
Dec 17 '17 at 23:48













.bib entries are not styled at all that is the function of the bibliographystyle{ApJ} command, to instruct bibtex how to style the references. Have you run bibtex? also, why are you loading epsf

– David Carlisle
Dec 17 '17 at 23:51





.bib entries are not styled at all that is the function of the bibliographystyle{ApJ} command, to instruct bibtex how to style the references. Have you run bibtex? also, why are you loading epsf

– David Carlisle
Dec 17 '17 at 23:51













I just added two entries of the bib file called my_references.bib. I just left that package since it was already in the ApJ template. To be honest, I am not sure why I left that intact.

– Allan
Dec 17 '17 at 23:55





I just added two entries of the bib file called my_references.bib. I just left that package since it was already in the ApJ template. To be honest, I am not sure why I left that intact.

– Allan
Dec 17 '17 at 23:55




1




1





hi, i work for AAS journals. this Overleaf template is designed to use bibliographystyle{aasjournal}, which is our Journal's current bibtex style. If you have problems running with that please let us know. If you have some reason to prefer the outdated bibliographystyle{apj} then upload this file: ads.harvard.edu/pubs/bibtex/astronat/apj/apj.bst to your Overleaf project -- as is (i.e., without renaming it anything else including no capitalization of the filename, which could be half your problem) and then use bibliographystyle{apj} (again no capitals and no need for capitals).

– Gus
Dec 18 '17 at 5:54





hi, i work for AAS journals. this Overleaf template is designed to use bibliographystyle{aasjournal}, which is our Journal's current bibtex style. If you have problems running with that please let us know. If you have some reason to prefer the outdated bibliographystyle{apj} then upload this file: ads.harvard.edu/pubs/bibtex/astronat/apj/apj.bst to your Overleaf project -- as is (i.e., without renaming it anything else including no capitalization of the filename, which could be half your problem) and then use bibliographystyle{apj} (again no capitals and no need for capitals).

– Gus
Dec 18 '17 at 5:54




1




1





@Gus 7, my only reason was to submit the letter to ApJ. I have no other reason to use the outdated one. And, I tried the new version. Thanks, it has no problem.

– Allan
Dec 18 '17 at 6:03





@Gus 7, my only reason was to submit the letter to ApJ. I have no other reason to use the outdated one. And, I tried the new version. Thanks, it has no problem.

– Allan
Dec 18 '17 at 6:03










1 Answer
1






active

oldest

votes


















1














The error message




bibstyle{ApJ : } I'm skipping whatever remains of this command




tells you that the bibliography style is unknown to overleaf. You need to add a file apj.bst to your project, that means add it into the same directory you have your TeX file.



You can for example find a link to apj.bst on the website of aastex in section 2.13.2 Specifying Bibliographic and Citation Information.






share|improve this answer


























  • Trying to make a .bst file

    – Allan
    Dec 18 '17 at 2:36











  • Overleaf has an embedded aasjournal.bst

    – Allan
    Dec 18 '17 at 2:39











  • I don't know how to make apj.bst when it's missing in overleaf. I cannot open the content to replace it with the contents you provided in that section of aastex.

    – Allan
    Dec 18 '17 at 2:41











  • @Allan Copy the file from the given link to your computer and then upload it to overleaf ...

    – Kurt
    Dec 18 '17 at 2:42













  • I can only copy into .txt file and nothing else.

    – Allan
    Dec 18 '17 at 2:44











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f406647%2fwhy-my-bib-file-is-not-recognized-by-overleaf-compiler-in-apj-template%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














The error message




bibstyle{ApJ : } I'm skipping whatever remains of this command




tells you that the bibliography style is unknown to overleaf. You need to add a file apj.bst to your project, that means add it into the same directory you have your TeX file.



You can for example find a link to apj.bst on the website of aastex in section 2.13.2 Specifying Bibliographic and Citation Information.






share|improve this answer


























  • Trying to make a .bst file

    – Allan
    Dec 18 '17 at 2:36











  • Overleaf has an embedded aasjournal.bst

    – Allan
    Dec 18 '17 at 2:39











  • I don't know how to make apj.bst when it's missing in overleaf. I cannot open the content to replace it with the contents you provided in that section of aastex.

    – Allan
    Dec 18 '17 at 2:41











  • @Allan Copy the file from the given link to your computer and then upload it to overleaf ...

    – Kurt
    Dec 18 '17 at 2:42













  • I can only copy into .txt file and nothing else.

    – Allan
    Dec 18 '17 at 2:44
















1














The error message




bibstyle{ApJ : } I'm skipping whatever remains of this command




tells you that the bibliography style is unknown to overleaf. You need to add a file apj.bst to your project, that means add it into the same directory you have your TeX file.



You can for example find a link to apj.bst on the website of aastex in section 2.13.2 Specifying Bibliographic and Citation Information.






share|improve this answer


























  • Trying to make a .bst file

    – Allan
    Dec 18 '17 at 2:36











  • Overleaf has an embedded aasjournal.bst

    – Allan
    Dec 18 '17 at 2:39











  • I don't know how to make apj.bst when it's missing in overleaf. I cannot open the content to replace it with the contents you provided in that section of aastex.

    – Allan
    Dec 18 '17 at 2:41











  • @Allan Copy the file from the given link to your computer and then upload it to overleaf ...

    – Kurt
    Dec 18 '17 at 2:42













  • I can only copy into .txt file and nothing else.

    – Allan
    Dec 18 '17 at 2:44














1












1








1







The error message




bibstyle{ApJ : } I'm skipping whatever remains of this command




tells you that the bibliography style is unknown to overleaf. You need to add a file apj.bst to your project, that means add it into the same directory you have your TeX file.



You can for example find a link to apj.bst on the website of aastex in section 2.13.2 Specifying Bibliographic and Citation Information.






share|improve this answer















The error message




bibstyle{ApJ : } I'm skipping whatever remains of this command




tells you that the bibliography style is unknown to overleaf. You need to add a file apj.bst to your project, that means add it into the same directory you have your TeX file.



You can for example find a link to apj.bst on the website of aastex in section 2.13.2 Specifying Bibliographic and Citation Information.







share|improve this answer














share|improve this answer



share|improve this answer








edited 6 mins ago

























answered Dec 18 '17 at 2:14









KurtKurt

38.2k848162




38.2k848162













  • Trying to make a .bst file

    – Allan
    Dec 18 '17 at 2:36











  • Overleaf has an embedded aasjournal.bst

    – Allan
    Dec 18 '17 at 2:39











  • I don't know how to make apj.bst when it's missing in overleaf. I cannot open the content to replace it with the contents you provided in that section of aastex.

    – Allan
    Dec 18 '17 at 2:41











  • @Allan Copy the file from the given link to your computer and then upload it to overleaf ...

    – Kurt
    Dec 18 '17 at 2:42













  • I can only copy into .txt file and nothing else.

    – Allan
    Dec 18 '17 at 2:44



















  • Trying to make a .bst file

    – Allan
    Dec 18 '17 at 2:36











  • Overleaf has an embedded aasjournal.bst

    – Allan
    Dec 18 '17 at 2:39











  • I don't know how to make apj.bst when it's missing in overleaf. I cannot open the content to replace it with the contents you provided in that section of aastex.

    – Allan
    Dec 18 '17 at 2:41











  • @Allan Copy the file from the given link to your computer and then upload it to overleaf ...

    – Kurt
    Dec 18 '17 at 2:42













  • I can only copy into .txt file and nothing else.

    – Allan
    Dec 18 '17 at 2:44

















Trying to make a .bst file

– Allan
Dec 18 '17 at 2:36





Trying to make a .bst file

– Allan
Dec 18 '17 at 2:36













Overleaf has an embedded aasjournal.bst

– Allan
Dec 18 '17 at 2:39





Overleaf has an embedded aasjournal.bst

– Allan
Dec 18 '17 at 2:39













I don't know how to make apj.bst when it's missing in overleaf. I cannot open the content to replace it with the contents you provided in that section of aastex.

– Allan
Dec 18 '17 at 2:41





I don't know how to make apj.bst when it's missing in overleaf. I cannot open the content to replace it with the contents you provided in that section of aastex.

– Allan
Dec 18 '17 at 2:41













@Allan Copy the file from the given link to your computer and then upload it to overleaf ...

– Kurt
Dec 18 '17 at 2:42







@Allan Copy the file from the given link to your computer and then upload it to overleaf ...

– Kurt
Dec 18 '17 at 2:42















I can only copy into .txt file and nothing else.

– Allan
Dec 18 '17 at 2:44





I can only copy into .txt file and nothing else.

– Allan
Dec 18 '17 at 2:44


















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f406647%2fwhy-my-bib-file-is-not-recognized-by-overleaf-compiler-in-apj-template%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Can't compile dgruyter and caption packagesLaTeX templates/packages for writing a patent specificationLatex...

Schneeberg (Smreczany) Bibliografia | Menu...

Hans Bellmer Spis treści Życiorys | Upamiętnienie | Przypisy | Bibliografia | Linki zewnętrzne |...