Code: Select all
\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{hyperref}
\begin{document}
\clearpage
\pdfbookmark[1]{\contentsname}{toc}
\tableofcontents
\section{A}
BLABLABLA
\section{B}
BLABLABLABLABLABLA
\subsection{B.1}
BLABLABLA
\clearpage
\appendix
\section{a}BLABLABLA
\section{c}BLABLABLA
\clearpage
\section{BIBLIOGRAPHY}
\renewcommand\refname{BIBLIOGRAPHY}
\bibliographystyle{plain}
\nocite{*}
\bibliography{ref}
\end{document}
Code: Select all
@BOOK{cobb2004,
title = {Cryptography for Dummies},
publisher = {Wiley Pub},
year = {2004},
pages {2--500},
author = {Cobb, Chey},
address = {Indianapolis},
isbn = {9780764541889}
}
1-why the page numbers are not shown in the reference?
2-how do i show the "BIBLIOGRAPHY" in the toc correctly?
now, if i use \section{BIBLIOGRAPHY}, it's shown as appendix C
without that, it dose not shown in toc(and bookmarks)
Thanks.
casper