Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
893 views
in Technique[技术] by (71.8m points)

cross referencing - Two bibliography, first as section and second as chapter - TeX - LaTeX Stack Exchange


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

You could use xpatch to replace the chapter in the definition of thebibliography by section. If you do this within a group {...}, it won't effect the rest of the document.

Please note that the thebibliography environment has a mandatory argument for the widest label.

documentclass[oneside,a4paper,12pt]{book}
usepackage{inputenc}
usepackage[pdfspacing]{classicthesis}

usepackage{xpatch}

egin{document}

ableofcontents

section{Main document chapter 1}
Main document that cites cite{farias2016estudo} 

section{Introduction}
Inside example that cites cite{roque2012historia} and ends

{
xpatchcmd{hebibliography}{chapter*{ibname}}{section*{ibname}}{}{}
egin{thebibliography}{9}
        ibitem{roque2012historia} T. Roque, História da matemática, Zahar, (2012).
    end{thebibliography}
}
    
section{Main document chapter 2}
Main document citting cite{Paulo}

egin{thebibliography}{9}
        ibitem{farias2016estudo} D. G. d. Farias, {em Um estudo do ensino de n{'u}meros primos na Educa{c{c}}{~a}o B{'a}sica}, Universidade Federal de Alagoas (2016). 
    
        quad hfill url{http://www.repositorio.ufal.br/handle/riufal/2433}
        
        ibitem{Paulo} P. Ribenboim, The little book of bigger primes, Springer Science & Business Media, (2004).
    end{thebibliography}

end{document}

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...