BibTeX, biblatex and biberCiting chapter in book

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
Yeats
Posts: 62
Joined: Fri Nov 07, 2008 12:29 pm

Citing chapter in book

Post by Yeats »

Ok I have one book that has lets say 20 chapters from the same author but I need to cite them separately and yet keep only one book in the Bibliography.

Code: Select all

Doe, John: The Book Title, Publisher (Place), Chapter 1: Chapter name, Page
or just:

Code: Select all

Doe, John: The Book Title, Publisher (Place), Ch. 1 , Page
I tried using inbook but thats not what my mentor wants. With inbook he puts every single chapter of that book at the end in bibliography as a separate entry. I need him to have only this one entry at the end:

Code: Select all

Doe, John: The Book Title, Publisher (Place), Year
Anyone has an idea how to do that?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Citing chapter in book

Post by localghost »

What about using the optional argument for the \cite command?

Code: Select all

\cite[Ch.\ 1, p.\ 6]{key}

Best regards
Thorsten
Yeats
Posts: 62
Joined: Fri Nov 07, 2008 12:29 pm

Citing chapter in book

Post by Yeats »

localghost wrote:What about using the optional argument for the \cite command?

Code: Select all

\cite[Ch.\ 1, p.\ 6]{key}

Best regards
Thorsten
Well that would be an option but than he puts one P. in front of it. It looks like this:

Doe, John: The Book Title, Publisher (Place), P. Ch. 1, P. 6

He adds that P. automatically cause he expects number in brackets
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Citing chapter in book

Post by localghost »

It's not clear to me what you really want. At the moment it seems that you want a single entry in the bibliography with the cited chapters and pages listed behind it. My idea was based on a usual bibliography entry with a reference to chapter and page in the text itself. This would be done by the following example.

Code: Select all

\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}

\parindent0em

\begin{document}
  \cite[Ch.\ 4, p. 69ff]{lamport94}

  \begin{thebibliography}{99}
    \bibitem{lamport94} L.\ Lamport: \textsl{\LaTeX\ - A Document Preparations System}. User's Guide and Reference Manual. Second Edition. Addison-Wesley, 1994.
  \end{thebibliography}
\end{document}
Doing this with a database file and BibTeX would work in the same way. Please explain by means of a minimal working example (MWE) how references in the text and the bibliography entry should look like.

You could additionally take a look at the backref option of the hyperref package or directly at the backref package.
Yeats
Posts: 62
Joined: Fri Nov 07, 2008 12:29 pm

Citing chapter in book

Post by Yeats »

localghost wrote:It's not clear to me what you really want. At the moment it seems that you want a single entry in the bibliography with the cited chapters and pages listed behind it.
This is exactly what I want!
localghost wrote:My idea was based on a usual bibliography entry with a reference to chapter and page in the text itself. This would be done by the following example.

Code: Select all

\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}

\parindent0em

\begin{document}
  \cite[Ch.\ 4, p. 69ff]{lamport94}

  \begin{thebibliography}{99}
    \bibitem{lamport94} L.\ Lamport: \textsl{\LaTeX\ - A Document Preparations System}. User's Guide and Reference Manual. Second Edition. Addison-Wesley, 1994.
  \end{thebibliography}
\end{document}
Doing this with a database file and BibTeX would work in the same way. Please explain by means of a minimal working example (MWE) how references in the text and the bibliography entry should look like.

You could additionally take a look at the backref option of the hyperref package or directly at the backref package.
Ok here is mine MWE:

Code: Select all

\documentclass[12pt,a4paper]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{jurabib}
\usepackage{brechtbib}


\begin{document}
 text text text text \footcite[Ch.\ 4, p. 69ff]{lamport94}
\bibliographystyle{jurabib}
\bibliography{bibliography}
\end{document}
Bib entry would be:

Code: Select all

@book{lamport94,
	Address = {London},
	Author = {Leslie Lamport},
	Date-Added = {2009-08-13 05:27:16 +0200},
	Date-Modified = {2009-08-13 05:30:59 +0200},
	Publisher = {Addison-Wesley Professional},
	Title = {LaTeX - A Document Preparations System},
	Year = {1994}}
Now when I use \footcite[Ch.\ 4, p. 69ff]{lamport94} this is what I get:
Lamport, Leslie: LaTeX - A Document Preparations System. London: Addison-Wesley Professional, 1994, S. Ch. 4, p. 69ff.
and this is how I want it to look:
Lamport, Leslie: LaTeX - A Document Preparations System. London: Addison-Wesley Professional, 1994, Ch. 4, p. 69ff.
The S. that I marked with red color is what I dont want there. Its added there because Latex recognizes [Ch.\ 4, p. 69ff] as same as he would recognize [69] so he adds S. in front of it (S. is for german "Seite" in english it would be P. for Page).
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Citing chapter in book

Post by localghost »

Yeats wrote:[...] (S. is for german "Seite" in english it would be P. for Page).
Of course I know what this »S« stands for in this case. Take a short look to the right at my location.

The only thing I can offer is a workaround. Just swap page and chapter in your reference.

Code: Select all

\footcite[69, Kap.\ 4]{lamport94}
Perhaps that is something you can live with.
Yeats
Posts: 62
Joined: Fri Nov 07, 2008 12:29 pm

Citing chapter in book

Post by Yeats »

localghost wrote:
Yeats wrote:[...] (S. is for german "Seite" in english it would be P. for Page).
Of course I know what this »S« stands for in this case. Take a short look to the right at my location.

The only thing I can offer is a workaround. Just swap page and chapter in your reference.

Code: Select all

\footcite[69, Kap.\ 4]{lamport94}
Perhaps that is something you can live with.
I know your location very well. I wrote what S. means mostly for the other people that are reading forum. You once said to me that the point of having this forum is that other members should benefit from the posts too, so thats why i explained it like that. :D

As for the chapter/side switch I dont think my mentor will accept that... it seams that Latex has his limitations too. This one should be corrected though.

For now I will have to use /myfootnote and enter text manually in those cases. :(
Post Reply