I have a main.tex file, an appendix.tex file and a ref.bib file.
My main page has references from the bib file, and I want the references in the appendix to be also referring to the ref.bib file without showing the references at the end.
Also if I add \bibliography{ref} to my appendix.tex the references shows at the end and not in the references of main.tex. (I want all the references to be shown at the end of main.tex.)
Now I know there may be similar questions like:
use the same bibliography bib file for two latex source (main and appendix) But the answer is vague. It says use the xc package. Unclear instructions. Tried adding the code and failed.
What should I do?
\bibliography{...}command at the end of your main file before the appendix, and any citations in the appendix will appear there too. – Alan Munn Jul 22 '20 at 03:07\bibliographycommand at the end of the main text not at the end of the appendix. – Alan Munn Jul 23 '20 at 04:42