I have a .bib file (bibliografia.bib) used to cite authors but I don't want to print the references. My latex document is structured as follows:
\usepackage[round]{natbib}
\bibliographystyle{plainnat}
\begin{document}
\bibliography{bibliografia.bib}
\end{document}
How can I remove the printed references?
Thanks in advance!
My attempt
This worked for me
\usepackage[round]{natbib}
\bibliographystyle{plainnat}
\begin{document}
\newsavebox\mytempbib
\savebox\mytempbib{\parbox{\textwidth}{\bibliography{bibliografia.bib}}}
\end{document}
atbegshipackage to discard (entire) pages from the PDF file. Load\usepackage{atbegshi}, then do\AtBeginShipoutNext{\AtBeginShipoutDiscard}before the page(s) you want discarded. In the next LaTeX release this function will be built into the kernel, so you can do (without packages)\AddToHook{shipout/before}{\DiscardShipoutBox}. – Phelype Oleinik Aug 28 '20 at 06:28biblatexwith natbib compatibility enabled as showed here and remove (or comment) the command\printbibliography. – Fran Aug 28 '20 at 09:37