やはり参考文献は全部必要ということに。
でも書籍とサイトが混ざると見難くてしょうがない。
でも参考文献の参照をコンピューターにさせたいから
thebibliographyとbibitemの使用は欠かせない。
しかしthebibliographyを使用すると自動で「参考文献」というチャプターがついてしまう。(jsbookだからちゃんと参考文献となっている)
この自動出力を止めたいと思って探してみると・・・。
以下をプリアンブルに書き込めばいいそうだ。(コメントアウトしてる部分ももしかしたらなのでつけておく)
\makeatletter \renewenvironment{thebibliography}[1]{% \global\let\presectionname\relax \global\let\postsectionname\relax % \chapter*{\bibname}\@mkboth{\bibname}{}% % \addcontentsline{toc}{chapter}{\bibname}% \list{\@biblabel{\@arabic\c@enumiv}}% {\settowidth\labelwidth{\@biblabel{#1}}% \leftmargin\labelwidth \advance\leftmargin\labelsep \@openbib@code \usecounter{enumiv}% \let\p@enumiv\@empty \renewcommand\theenumiv{\@arabic\c@enumiv}}% \sloppy \clubpenalty4000 \@clubpenalty\clubpenalty \widowpenalty4000% \sfcode`\.\@m} {\def\@noitemerr {\@latex@warning{Empty `thebibliography' environment}}% \endlist} \makeatother
これでチャプターが自動でつかず、目次にも追加されない。
後は自分で
\chapter*{参考文献} \addcontentsline{toc}{chapter}{参考文献} \section*{書籍} \addcontentsline{toc}{section}{書籍} ... \section*{Webサイト} \addcontentsline{toc}{section}{Webサイト} ...
とでもすれば完成である。