Page Layoutbibliography for each chapter at the end of the book

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
nicr
Posts: 16
Joined: Mon Apr 28, 2008 1:30 pm

bibliography for each chapter at the end of the book

Post by nicr »

Hi Everyone :-)

I would like to have the bibliographies of the chapters of my book at its end.
I did succeed to do it one year ago, but I'm no longer able to do it.

Meanwhile I updated MikeTex, Biber and Texniccenter yesterday.

With Texniccenter:
I can compile a first time (with pdflatex) but not a second time with biber. In the past I used to clic on bibtex to do this but it is gray, that is to say unavailable.

Without Texniccenter:
I can compile a first time (with pdflatex) through the black window of Windows 7.
I can compile a second time (with biber) through this window.
I can compile a third time (with pdflatex) through this window.
I can compile a fourth time (with pdflatex) through this window.
But it is as if I only compiled a first time, since nothing changes in the pdf after the second, third and fourth compiling.

Here is what I'm compiling:

Code: Select all

Code, edit and compile here:
\begin{filecontents}{nicrgolatex2.bib}
@BOOKLET{Aarts2004,
title = {The {I}nternal and the {E}xternal: {T}he {H}ouse of {S}aud's {R}esilience
explained},
author = {Aarts, Paul},
howpublished = {European University Institute; EUI Working Paper RSCAS No. 2004/33},
address = {San Domenico di Fiesole},
year = {2004},
url = {http://cadmus.iue.it/dspace/retrieve/1937/04_33.pdf},
urldate = {17.05.05}
}
@INCOLLECTION{Aarts2005,
author = {Aarts, Paul},
title = {Events versus Trends: The Role of Energy and Security in Sustaining
the US-Saudi Relationship},
editor = {Aarts, Paul and Nonneman, Gerd},
booktitle = {Saudi Arabia in the Balance},
publisher = {New York University Press},
address = {New York},
year = {2005},
pages = {399--429},
timestamp = {2007.07.09}
}
\end{filecontents}
\documentclass[bibliography=totoc]{scrartcl}
\usepackage{selinput}
\SelectInputMappings{
udieresis={ü}
}
\usepackage[ngerman]{babel}
\usepackage[backend=biber,
style=numeric,
]{biblatex}
\addbibresource{nicrgolatex2.bib}
\begin{document}
\section{Grunnlaget}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
I also attached the pdf that I receive.
Please could you help me to be able to compile orderly with Texniccenter and with the black window?
Thereafter I would be very happy, if you could help me to produce a pdf with the bibliographies of all chapters at the end.
Attachments
mic.pdf
(67.08 KiB) Downloaded 375 times

Recommended reading 2024:

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

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

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

bibliography for each chapter at the end of the book

Post by Johannes_B »

Hi nicr,

»the black window« is called a comand line interface and is very important.

I have a question though: What do you expect to see in the final pdf file after compiling the steps you described? I am asking, because the generated pdf looks just like it is supposed to look.

You don't see a change between the different runs of pdflatex because you did this multiple times by now (i'm sure) and the bbl file (generated by biber) is present in your folder. f you delete it and run pdflatex again, you will see a difference and need to run biber again.

Please keep my signature in mind as well (the german signature is similar). Keep calm, take a break once in a while.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
nicr
Posts: 16
Joined: Mon Apr 28, 2008 1:30 pm

Re: bibliography for each chapter at the end of the book

Post by nicr »

Thank you very much Johannes for your answer.
There are three bibliographies in the pdf that I've uploaded for you: One after each chapter (let's call them Bibli I and Bibli II) and one normal at the end (let's call it Bibli). So we have now in the pdf mic:
Chapter I
Bibli I
Chapter II
Bibli II
Bibli
I would like the two first ones at the end and no normal bibliography:
Chapter I
Chapter II
Bibli I
Bibli II
I would be very happy if you could help me :-)
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

bibliography for each chapter at the end of the book

Post by Johannes_B »

Instead of TexnicCenter i suggest to use texstudio, a free and multiplatform LaTeX editor.

Code: Select all

Code, edit and compile here:
\begin{filecontents}{nicrgolatex2.bib}
@BOOKLET{Aarts2004,
title = {The {I}nternal and the {E}xternal: {T}he {H}ouse of {S}aud's {R}esilience
explained},
author = {Aarts, Paul},
howpublished = {European University Institute; EUI Working Paper RSCAS No. 2004/33},
address = {San Domenico di Fiesole},
year = {2004},
url = {http://cadmus.iue.it/dspace/retrieve/1937/04_33.pdf},
urldate = {2005-05-17}
}
@INCOLLECTION{Aarts2005,
author = {Aarts, Paul},
title = {Events versus Trends: The Role of Energy and Security in Sustaining
the US-Saudi Relationship},
editor = {Aarts, Paul and Nonneman, Gerd},
booktitle = {Saudi Arabia in the Balance},
publisher = {New York University Press},
address = {New York},
year = {2005},
pages = {399--429},
timestamp = {2007-07-09}
}
\end{filecontents}
\documentclass[bibliography=totoc]{scrartcl}
\usepackage{selinput}
\SelectInputMappings{
udieresis={ü}
}
\usepackage[ngerman]{babel}
\usepackage[backend=biber,
style=numeric,
]{biblatex}
\addbibresource{nicrgolatex2.bib}
\begin{document}
\section{Grunnlaget}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Attachments
nicr.pdf
(63.87 KiB) Downloaded 370 times
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
nicr
Posts: 16
Joined: Mon Apr 28, 2008 1:30 pm

bibliography for each chapter at the end of the book

Post by nicr »

Thank you very much Johannes! That is what I am looking for. :-)

Next point: I can compile a first chapter without the code concerning biber in the (Latex-> pdflatex biber) mode with only 3 errors, but I have numerous errors when I insert in Johanne's code.
The 3 errors are:
- "Package natbib Error: Bibliography not compatible with author-year citations. ...mand\NAT@force@numbers{}\NAT@force@numbers"
- "Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `latin1'. ...em Nuclear Instruments and Methods}, 182–" and
- "Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `latin1'. microelectronique : co-diffusion de l’"

Therefore I downloaded Textstudio but I had the same three errors when I compile without the code concerning biber. Afterwards I only have these two errors:
- "Package natbib Error: Bibliography not compatible with author-year citations. ...mand\NAT@force@numbers{}\NAT@force@numbers"
- "Package inputenc Error: Keyboard character used is undefined(inputenc) in inputencoding `latin1'. ...ssisted chemical etching of silicon in hf–"

I also tried to insert my chapter in Johanne's code. Then I have approx. 12 errors.
wich are:
- "Undefined control sequence. \chapter"
- "Undefined control sequence. ...flectance pondérée $R_w$ définie en \eqref"
- "Undefined control sequence. {\centering\includegraphics"
- "Missing number, treated as zero. {\centering\includegraphics[width=\linewidth]"
- "Illegal unit of measure (pt inserted). {\centering\includegraphics[width=\linewidth]"
- "Missing $ inserted. ...includegraphics[width=\linewidth]{fig/fig_"
- "Extra }, or forgotten $. ...idth=\linewidth]{fig/fig_text/texture.png}"
- "Extra }, or forgotten $. ...dth=\linewidth]{fig/fig_text/texture.png}}"
- "Missing $ inserted. ...acté b et un autre réfléchi apparaissent.}"
- "Missing } inserted. \end{minipage}"
- "Missing } inserted. \end{minipage}"
- "Undefined control sequence. ...lambda)\frac{\text{e}\lambda}{hc}d\lambda}"

I sum up:
I have 3 errors which you can read when I compile my chapter without typical entries for biber with Texniccenter and 2 with Textstudio
I have numerous errors when I compile my chapter in Johanne's code with Texniccenter but only 12 with Textstudio.

Please how could I solve all those errors?
Furthermore, there are many books or articles in the bibliography whose author, editor, date and so on are written in red. Is this a warning of something wrong?
At last, it seems that Textstudio cannot create a pdf when a pdf with the same name already exists. Please, do you know how to solve this problem (except to throw each time manually in the gargbage)?

Here is my code without code concerning biber:

Code: Select all

Code, edit and compile here:
\input{setti}
\begin{document}
\include{texs/Texture}
\bibliography{texs/bibliog_textureb}
\bibliographystyle{alpha-fr}
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Here is Johanne's code with my chapter

Code: Select all

Code, edit and compile here:
\begin{filecontents}{nicrgolatex2.bib}
@article {backerfinch,
author = {Baker-Finch, S. C. and McIntosh, K. R.},
title = {Reflection of normally incident light from silicon solar cells with pyramidal texture},
year = {2011},
journal = {Progress in Photovoltaics: Research and Applications},
volume = {19},
pages = {406--416}
}
@book{bogen,
author = {Bogenschütz, A. F.},
title = {Ätzpraxis für Halbleiter},
year = {1967},
publisher = {Karl Hanser},
city = {München}
}
@article{bressers,
author = "Bressers, P. M. M. C. and Pagano, S. A. S. P. and Kelly, J. J.",
title = "Ferricyanide reduction as a probe for the surface chemistry of silicon in aqueous alkaline solutions",
year = "1995",
journal = "Journal of Electroanalytical Chemistry",
volume = "391",
pages = "159 - 168",
}
@article{campbell,
author = {Campbell, P. and Green, M. A.},
title = {Light trapping properties of pyramidally textured surfaces},
year = {1987},
journal = {Journal of Applied Physics},
volume = {62},
pages = {243 - 249}
}
@book{carson,
author = {Carson, J. A.},
title = {Solar Cell Research Progress},
year = {2008},
publisher = {Nova Science},
address = {New York}
}
@book{CFWL11,
author = {Chen, F. and Wang, L.},
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
I would be very happy to be helped :-)
PS_1: I am aware to ask a lot and that I don't show the chapter because it will be published.
PS_2: when I compile again my chapter in Johanne's code with Texstudio I have numerous errors.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

bibliography for each chapter at the end of the book

Post by Johannes_B »

Hi nicr, to be completely honest and frank, this isn't going to work this way. I suggest reading some basic introductory material like LaTeX for complete novices. You'll also learn how to make a minimal working example, to let helpers reproduce the code.
You are trying to use chapters in an article document (where no chapters exist), you show me an example inputting a file i have no access to. I could go on, but this and the problem reports you are giving are a clear sign of missing basic knowledge. Please read the document that i linked carefully, you will learn a lot of important stuff. You will be able to igure out some of the problems on your own and you will be able to give better problem reports (including MWEs) to let us know what is going on.

Thank you.


When using biblatex, there is no reason to load natbib as well. Both are basically doing the same thing. You need to load package graphicx. Underscores in filenames are messing up your document, try loading package grffile.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
nicr
Posts: 16
Joined: Mon Apr 28, 2008 1:30 pm

Re: bibliography for each chapter at the end of the book

Post by nicr »

Dear Johannes,

I am very very sorry.
I should have been more specific asking you for a general answer or asking you what those errors mean.
Your answers "You are trying to use chapters in an article document (where no chapters exist)" and "When using biblatex, there is no reason to load natbib as well. Both are basically doing the same thing. You need to load package graphicx. Underscores in filenames are messing up your document, try loading package grffile." are great. Thank you, thank you, thank you.
Post Reply