Skip to content

PDF file when using XeLaTeX and bibtex is missing references. #70

@martisak

Description

@martisak

Problem

The content of the PDF file in the root directory is incorrect, it is missing references.

Skärmavbild 2020-02-20 kl  20 11 16

The PDF file in latex.out is correct.

Skärmavbild 2020-02-20 kl  20 11 10

Minimum working example

Compile with ./latexrun --latex-cmd xelatex --bibtex-cmd bibtex --debug mwe.tex.

\documentclass{article}

\begin{filecontents}{\jobname.bib}
    @article{einstein,
        author = {Albert Einstein},
        title = {the true about tree},
        journaltitle = {Annalen der Physik},
        year = {1905},
        volume = {322},
        number = {10},
        pages = {891--921}
    }
\end{filecontents}
\bibliographystyle{plain}

\begin{document}

Lorem ipsum~\cite{einstein}.

\bibliography{mwe}
\end{document}

Log output

creating new database
task latex::mwe.tex: unstable (changed: never run)
task latex::mwe.tex: running
running ['xelatex', '-interaction', 'nonstopmode', '-recorder', '-output-directory', 'latex.out', 'mwe.tex']
hashing /usr/local/texlive/2019/texmf-dist/tex/latex/base/article.cls
hashing /usr/local/texlive/2019/texmf-dist/web2c/texmf.cnf
hashing /usr/local/texlive/2019/texmf.cnf
hashing /usr/local/texlive/2019/texmf-dist/tex/latex/base/ts1cmr.fd
hashing /usr/local/texlive/2019/texmf-dist/tex/latex/base/size10.clo
hashing mwe.tex
hashing /usr/local/texlive/2019/texmf-var/web2c/xetex/xelatex.fmt
hashing /usr/local/texlive/2019/texmf-dist/tex/latex/l3backend/l3backend-xdvipdfmx.def
hashing latex.out/mwe.log
hashing latex.out/mwe.bib
hashing latex.out/mwe.fls
hashing latex.out/mwe.aux
committing database
task latex_commit::mwe.tex: unstable (changed: never run)
task latex_commit::mwe.tex: running
commiting latex.out/mwe.pdf to mwe.pdf
hashing latex.out/mwe.pdf
hashing mwe.pdf
committing database
scanning for bib commands in latex.out/mwe.aux
task bibtex::mwe.tex: unstable (changed: never run)
task bibtex::mwe.tex: running
running ['bibtex', 'mwe.aux'] in latex.out
hashing filtered aux file latex.out/mwe.aux
hashing /usr/local/texlive/2019/texmf-dist/bibtex/bst/base/plain.bst
hashing latex.out/mwe.bbl
hashing latex.out/mwe.blg
committing database
task latex::mwe.tex: unstable (changed: file('latex.out/mwe.aux',))
task latex::mwe.tex: pre-hashing latex.out/mwe.log
task latex::mwe.tex: pre-hashing latex.out/mwe.bib
task latex::mwe.tex: pre-hashing latex.out/mwe.fls
task latex::mwe.tex: pre-hashing latex.out/mwe.aux
task latex::mwe.tex: running
running ['xelatex', '-interaction', 'nonstopmode', '-recorder', '-output-directory', 'latex.out', 'mwe.tex']
hashing latex.out/mwe.log
hashing latex.out/mwe.fls
hashing latex.out/mwe.aux
committing database
task latex_commit::mwe.tex: stable
scanning for bib commands in latex.out/mwe.aux
hashing filtered aux file latex.out/mwe.aux
task bibtex::mwe.tex: stable
task latex::mwe.tex: unstable (changed: file('latex.out/mwe.aux',))
task latex::mwe.tex: pre-hashing latex.out/mwe.log
task latex::mwe.tex: pre-hashing latex.out/mwe.fls
task latex::mwe.tex: pre-hashing latex.out/mwe.aux
task latex::mwe.tex: running
running ['xelatex', '-interaction', 'nonstopmode', '-recorder', '-output-directory', 'latex.out', 'mwe.tex']
hashing latex.out/mwe.log
hashing latex.out/mwe.fls
hashing latex.out/mwe.aux
committing database
task latex_commit::mwe.tex: stable
scanning for bib commands in latex.out/mwe.aux
hashing filtered aux file latex.out/mwe.aux
task bibtex::mwe.tex: stable
task latex::mwe.tex: stable
fixed-point reached
mwe.tex: warning: File `mwe.bib' already exists on the system
latex.out/./mwe.bib:5: warning: empty journal in einstein

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions