References from bib file are not included in pdf file

Bug #257582 reported by vansteen

This bug report was converted into a question: question #42076: References from bib file are not included in pdf file.

4
Affects Status Importance Assigned to Milestone
moderncv
Invalid
Undecided
Xavier Danaux

Bug Description

Dear package maintainer,

I like the style of the moderncv package very much. So I tried to create my cv with the package.

However, for some reason unknown to me I seem to be unable to include bibtex references in the resulting PDF file. Even when I use the "./moderncv/template_en.tex" file, which is included in the package, this problem persists.

The file "./moderncv/template_en.tex" contains the lines:

"""% Publications from a BibTeX file
%\nocite{*}
\bibliographystyle{plain}
\bibliography{/home/nerd/modernsv/publications1} % 'publications' is the name of a BibTeX file"""

So the references should get included in the resulting pdf file, as they are in e.g. the files "./moderncv/template_en_classic_green.pdf" and "./moderncv/template_en_casual_blue.pdf", which are included in the package as well.

Yet, when I issue the command "pdflatex template_en.tex" a file called "template_en.pdf" is produced without any references included.

On the internet I came across some downloadable "template_en.pdf" files, which show the same problem as mine has. (e.g. http://www.tlhiv.com/tmp/moderncv/template_en.pdf)

The log file (attached below) does not seem to report any problems.

I use Ubuntu Hardy and I installed "texlive-latex-extra texlive-fonts-recommended lmodern".

Guido van Steen

Revision history for this message
vansteen (gvsteen) wrote :
Revision history for this message
Xavier Danaux (xdanaux) wrote : Re: [Bug 257582] Re: References from bib file are not included in pdf file

Hi Guido,

Is it possible you forgot to run BibTex in the compilation loop? In
case you haven't, here is what to do and why:
- run (pdf)latex to have (pdf)latex create an auxiliary file
mentioning all the bibliographic references used
- run bibtex to analyse the auxiliary file and produce a file with the
corresponding bibliographic entries
- re-run (pdf)latex to include the file bibtex produced

Hope this solves the problem. Otherwise, there is a bug :-)

Cheers,

Xavier

On Wed, Aug 13, 2008 at 4:17 PM, vansteen <email address hidden> wrote:
>
> ** Attachment added: "template_en.log"
> http://launchpadlibrarian.net/16741252/template_en.log
>
> --
> References from bib file are not included in pdf file
> https://bugs.launchpad.net/bugs/257582
> You received this bug notification because you are the registrant for
> moderncv.
>

--
Xavier Danaux
Rue Van Campenhout, 19
1000 Brussels, Belgium
tel: + 32 477 480 136
e-mail: <email address hidden>

Xavier Danaux (xdanaux)
Changed in moderncv:
assignee: nobody → xdanaux
Revision history for this message
vansteen (gvsteen) wrote :

Dear Xavier,

Thank you for your quick answer. It is not bug indeed.

Thank you very much for your wonderful package!

Guido

Changed in moderncv:
status: New → Invalid
Revision history for this message
Xavier Danaux (xdanaux) wrote :

You're welcome :-)

On Wed, Aug 13, 2008 at 5:48 PM, vansteen <email address hidden> wrote:
> Dear Xavier,
>
> Thank you for your quick answer. It is not bug indeed.
>
> Thank you very much for your wonderful package!
>
> Guido
>
> ** Changed in: moderncv
> Status: New => Invalid
>
> ** bug changed to question:
> https://answers.launchpad.net/moderncv/+question/42076
>
> --
> References from bib file are not included in pdf file
> https://bugs.launchpad.net/bugs/257582
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Xavier Danaux
Rue Van Campenhout, 19
1000 Brussels, Belgium
tel: + 32 477 480 136
e-mail: <email address hidden>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.