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/, 2007, online book, 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, 2007, online book, 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>, 2007, online book, accessed <date>.
BibTeX book-citation example (assuming \usepackage{html} in LaTeX):
@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"
}
where the \htmladdnormallink{} macro is defined in the LaTeX
input-file html.sty, distributed with
LaTeX2HTML.
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"
}
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.