Printed book version:
Smith, Julius O. Mathematics of the Discrete Fourier Transform (DFT) with Audio Applications, Second Edition, W3K Publishing, http://books.w3k.org/, 2007, ISBN 978-0-9745607-4-8.
Web version:
Smith, J.O. Mathematics of the Discrete Fourier Transform (DFT) with Audio Applications, Second Edition, http://ccrma.stanford.edu/~jos/mdft/, online book, 2007 edition, accessed <date>.
Specific page citation example:
Smith, J.O. "Fourier Theorems for the DFT", in Mathematics of the Discrete Fourier Transform (DFT) with Audio Applications, Second Edition, http://ccrma.stanford.edu/~jos/mdft/Fourier_Theorems_DFT.html, online book, 2007 edition, accessed <date>.
Raw HTML example:
Smith, J.O. Mathematics of the Discrete Fourier Transform (DFT) with Audio Applications, Second Edition, <A HREF="http://ccrma.stanford.edu/~jos/mdft/"> <tt>http://ccrma.stanford.edu/~jos/mdft/</tt></A>, online book, 2007 edition, accessed <date>.
BibTeX example (requires \usepackage{html} where html.sty comes from the latex2html distribution):
@BOOK{MDFT07, AUTHOR = "Julius O. Smith", TITLE = "Mathematics of the Discrete Fourier Transform (DFT)", PUBLISHER = "W3K Publishing", ADDRESS = "\htmladdnormallink{http://www.w3k.org/books/}{http://www.w3k.org/books/}", YEAR = 2007, ISBN = " 978-0-9745607-4-8" }
BibTeX Web-citation example:
@BOOK{MDFTWEB07, AUTHOR = "Julius O. Smith", TITLE = "Mathematics of the Discrete Fourier Transform (DFT)", PUBLISHER = "\htmladdnormallink{\texttt{http:}}{http://ccrma.stanford.edu/~jos/mdft/}\texttt{//\-ccrma.stanford.edu/\-\~{}jos/\-mdft/}", YEAR = "accessed (date accessed)", NOTE = "online book, 2007 edition" }
LaTeX citation example:
I normally cite the book in the usual way and add a footnote to the
specific page, e.g.,
\cite{MDFT07}\footnote{\texttt{http://ccrma.stanford.edu/\~{}jos/mdft/Complex\_Basics.html}}Or, if you want live links in the HTML version of your own material,
\cite{MDFT07}\footnote{\htmladdnormallink{\texttt{% http://ccrma.stanford.edu/\~{}jos/mdft/Complex\_Basics.html}}{% http://ccrma.stanford.edu/\~{}jos/mdft/Complex\_Basics.html}}
Smith, Julius O. Mathematics of the Discrete Fourier Transform (DFT), W3K Publishing, http://books.w3k.org/, 2003, ISBN 0-9745607-0-7.