[MiKTeX] problems with \include and bibtex
MiKTeX source code moved to GitHub
Brought to you by:
csc
From: Carlo F. <c.f...@ls...> - 2004-01-15 17:15:45
|
Dear All, I have a problem processing a Latex document with bibliographic = references using \include instead of \input.=20 A version of it, with \input and \bibliography works fine (both in = citations within text and in producing references at the end of the = file). The other one, with \include (+ \includeonly) and \bibliography = does not produce the citation to the bibliography in the text (although = it produces references correctly at the end of the file). I paste the = files below. The only thing I did was to replace \input with \include. The main problem seems to me that with the \include command the aux file = does not get the citations but I do not know how to solve the problem. = In both cases I run several times bibtex and than compile the document = with LaTeX. I also looked at the issue on the internet but found no help. Can = anybody give me a hint? Many thanks in advance. best wishes Carlo %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% FILE THAT WORKS (does produce citation in text) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass[12pt,a4paper]{iopthsis}=20 \usepackage{alltt,float}=20 \usepackage{chapterbib} % Define included files %\includeonly{LitIneqDec/LitIneqDec,dfl/dfl}=20 % Bibliography package \usepackage{natbib} \begin{document} %%%%% Main Body %%%%% % Chapters \input{LitIneqDec/LitIneqDec}=20 \input{dfl/dfl}=20 \bibliographystyle{apalike}=20 \bibliography{/MyDocuments/projects/Biblio/Thesis} \end{document} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% FILE THAT does NOT WORK (does not produce citation in the text) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass[12pt,a4paper]{iopthsis}=20 \usepackage{alltt,float}=20 \usepackage{chapterbib} % Define included files %\includeonly{dfl/dfl}=20 % Bibliography package \usepackage{natbib} \begin{document} %%%%% Main Body %%%%% % Chapters \include{LitIneqDec/LitIneqDec}=20 \include{dfl/dfl}=20 \bibliographystyle{apalike}=20 \bibliography{/MyDocuments/projects/Biblio/Thesis} \end{document} |