Bibliografie

Jaromír Kuben kuben at scova.vabo.cz
Wed Jul 13 08:47:35 CEST 2005


Petr Be(lský napsal(a):

>Dobry den,
>omlouvam se predne za dotazy, ktere asi pro znalce TeXu budou dost trivialni .
>Potrebuji, aby mi LaTeX vypsal seznam bibliografie, tedy to co uvedu mezi  \begin{thebibliography}   a   \end{thebibliography} ,  bez nazvu titulu "Literatura" a tez aby polozku "Literatura" nevlozil do obsahu. Jde o to, ze chci literaturu rozdelit n
>Tedy:
>
>\chapter{Literatura}
>
>\section{Citovana literatura}
> \begin{thebibliography}
>...
>\end{thebibliography}
>
>\section{Publikace autora}
> \begin{thebibliography}
>...
>\end{thebibliography}
>
>
>Krome toho bych chtel, aby nadpis Literatura byl ve stylu kapitoly, ale bez cisla, a stejne tak s temi dvema sekcemi. A samozrejme aby kapitola Literatura s obema sekcemi byly v obsahu.  Jak to lze udelat?
>
>Predem dekuji
>
>Petr Belsky
>
>  
>
Dobry den.
Asi nejschudnejsi je predefinovat okoli thebibliography. Muze to vypadat 
takto:

\documentclass{report}
\usepackage{czech}

\makeatletter

\renewenvironment{thebibliography}[1]
{%\chapter*{\bibname %tento a dva nasledujici radky se z puvodni 
definice vyradi
%\@mkboth{\bibname}{\bibname}}%
%\addcontentsline{toc}{chapter}{\bibname}
\list{\@biblabel{\@arabic\c at enumiv}}%
{\settowidth\labelwidth{\@biblabel{#1}}%
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\@openbib at code
\usecounter{enumiv}%
\let\p at enumiv\@empty
\renewcommand\theenumiv{\@arabic\c at enumiv}}%
\sloppy
\clubpenalty4000
\@clubpenalty \clubpenalty
\widowpenalty4000%
\sfcode`\.\@m}
{\def\@noitemerr
{\@latex at warning{Empty `thebibliography' environment}}%
\endlist}

\makeatother

\begin{document}

\tableofcontents

\chapter*{Literatura}
\addcontentsline{toc}{chapter}{Literatura}

\section*{Citovana literatura}
\addcontentsline{toc}{section}{Citovana literatura}

\begin{thebibliography}{1}
\bibitem{A1} Autor1
\end{thebibliography}

\section*{Publikace autora}
\addcontentsline{toc}{section}{Publikace autora}

\begin{thebibliography}{1}
\bibitem{A2} Autor2
\end{thebibliography}

\end{document}

Pokud byste chtel neco dat do hlavicek, muselo by se to osetrit pomoci 
prikazu
\markboth a \markright.

Zdravi
Jaromir Kuben




More information about the csTeX mailing list