Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

This is a bit related to my earlier post:

Getting correct section numbering for Appendix in a large document

I'm building a thesis with separate articles. I have a file main.tex and an introduction file intro.tex, and 2 articles article1.tex and article2.tex. I'm showing here below the main.tex with the intro and article 1 only:

\begin{document}
some codes for the first few pages
\include{intro}

some code for some intermediate pages

\begingroup

\renewcommand{\appendix}{%
  \par
  \setcounter{section}{0}%
 \renewcommand{\thesection}{\thechapter.\Alph{section}}%
}

\include{article1}

\endgroup
\end{document}

In intro.tex, I have at the end:

\bibliography{lic}
\bibliographystyle{unsrt}

and in article1.tex, I have at the end:

\bibliography{mybibs1}
\bibliographystyle{unsrt}

The compilation is fine but I see that after article 1 in the pdf file, that the Bibliography lic appears instead of mybibibs1. Intro is followed by Bibliography lic as expected but to my surprise, I get Bibliiography lic also after article 1. And of course I'm getting [?] at every referencing throughout article 1.

What's going wrong here?

share|improve this question
3  
You probably want to look into the multibib package. ctan.org/tex-archive/help/Catalogue/entries/multibib.html –  Willie Wong Oct 23 '10 at 18:50
    
Thanks but I don't need new names to replace "Bibliography" as the example given on page 4 of the multibib manual. –  yCalleecharan Oct 23 '10 at 18:59
    
I have different bibliography files: 1 for introduction, 1 for article 1, etc.. –  yCalleecharan Oct 23 '10 at 19:01
add comment

1 Answer

up vote 1 down vote accepted

I put \usepackage{chapterbib} and now it works fine. Any other solutions are welcomed also. Could we do that with multibib also?

I'm accepting my own answer in absence of other answers.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.
http://tex.stackexchange.com/questions/4462/disappearing-bibliography?answertab=oldest
tex.stackexchange.com
crawl=CC-MAIN-2014-15
68339
application/http; msgtype=response
sha1:A4OSOYP2E4XIPSTZLSGKN2QQFTWE2AFK
<urn:uuid:d0e721a0-8275-4b48-8f8c-841ffd553fa1>
2014-04-19T07:24:14Z
198.252.206.140
sha1:IZQERJRT7JDEKN4PSCVDT6EKXZD3QL6O
<urn:uuid:ea851551-f13b-4d2c-9c4e-1d8f0788ee78>
http://tex.stackexchange.com/questions/4462/disappearing-bibliography?answertab=oldest
response
<urn:uuid:2b36b2d3-1ce7-487b-b77c-8585186aa5dd>
robots: classic
hostname: ip-10-147-4-33.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2014-15
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for April 2014
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf